Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-08 23:59:03.665198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 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
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
 val : 1 : upload photos already in processing! 
2025-04-09 00:00:06.020968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:00:47.371350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/41/image_06042025_05_42_06_10462.jpg', '/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_16_10411.jpg', '/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_25_9399.jpg', '/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_36_10429.jpg', '/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_45_9418.jpg', '/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_56_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/41/image_06042025_05_42_06_10462.jpg
/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_16_10411.jpg
/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_25_9399.jpg
/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_36_10429.jpg
/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_45_9418.jpg
/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_56_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671029","1350671037","1350671030","1350671027","1350671042","1350671024"],"photo_ids_order":["1350671024","1350671027","1350671029","1350671030","1350671037","1350671042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de1fed0d8e2f5a960b0109700543087a.jpg","text":"TemporaryFile(/tmp/multipartBody6621035779789951288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149709452,"filename":"image_06042025_05_42_25_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eae18a9b60a9d7d28abcefa9ce49ae77.jpg","text":"TemporaryFile(/tmp/multipartBody6868586414849811496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149709452,"filename":"image_06042025_05_42_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7ec5264fdce4ce0bd965e6915be85d4.jpg","text":"TemporaryFile(/tmp/multipartBody2840086590222406168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149709452,"filename":"image_06042025_05_42_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/4/9/cae43395e2ac93410ce37829240ca2a1.jpg","text":"TemporaryFile(/tmp/multipartBody5933622159491091807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149709452,"filename":"image_06042025_05_42_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7456958135d6ae44cadf89ee7d18b782.jpg","text":"TemporaryFile(/tmp/multipartBody6152359716431524756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149709452,"filename":"image_06042025_05_42_56_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc5ca1529fbd743f31ad9e90e59f5880.jpg","text":"TemporaryFile(/tmp/multipartBody2757642460145568073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149709452,"filename":"image_06042025_05_42_06_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671029","file1":"1350671027","file0":"1350671024","file4":"1350671037","file5":"1350671042","file3":"1350671030"},"map_files_photo_id_array":[{"photo_id":"1350671042","filename":"file5"},{"photo_id":"1350671029","filename":"file2"},{"photo_id":"1350671037","filename":"file4"},{"photo_id":"1350671027","filename":"file1"},{"photo_id":"1350671024","filename":"file0"},{"photo_id":"1350671030","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671029":["hashtag1","hashtag2"]},{"1350671037":["hashtag1","hashtag2"]},{"1350671030":["hashtag1","hashtag2"]},{"1350671027":["hashtag1","hashtag2"]},{"1350671042":["hashtag1","hashtag2"]},{"1350671024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671029, 1350671037, 1350671030, 1350671027, 1350671042, 1350671024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.986143350601196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:01:42.910593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/42/image_06042025_05_43_05_9392.jpg', '/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_15_10360.jpg', '/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_26_10399.jpg', '/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_35_9362.jpg', '/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_46_10374.jpg', '/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_56_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/42/image_06042025_05_43_05_9392.jpg
/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_15_10360.jpg
/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_26_10399.jpg
/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_35_9362.jpg
/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_46_10374.jpg
/home/pi/Desktop/images/06042025/05/43/image_06042025_05_43_56_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":["1350671067","1350671086","1350671080","1350671074","1350671077","1350671071"],"photo_ids_order":["1350671067","1350671071","1350671074","1350671077","1350671080","1350671086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8938e48ef2d3618f2b74c644dd84344b.jpg","text":"TemporaryFile(/tmp/multipartBody6286614227265832595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149764803,"filename":"image_06042025_05_43_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c827ce0155a07ddf26c8c30e5d2cc93d.jpg","text":"TemporaryFile(/tmp/multipartBody3886946931425971615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149764803,"filename":"image_06042025_05_43_56_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ee43e6f4cc1180696d7408582d30861.jpg","text":"TemporaryFile(/tmp/multipartBody421577684970913627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149764803,"filename":"image_06042025_05_43_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/4/9/80e2ea0033e3b2332ec6f17d1a384242.jpg","text":"TemporaryFile(/tmp/multipartBody6817822777062764622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149764803,"filename":"image_06042025_05_43_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/4/9/090f0547de8a2b91564ed2aec863105a.jpg","text":"TemporaryFile(/tmp/multipartBody1381123586462254407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149764803,"filename":"image_06042025_05_43_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a9b38b168e4446842ecaaf09aedac44.jpg","text":"TemporaryFile(/tmp/multipartBody8978051132867865886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149764803,"filename":"image_06042025_05_43_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671074","file1":"1350671071","file0":"1350671067","file4":"1350671080","file5":"1350671086","file3":"1350671077"},"map_files_photo_id_array":[{"photo_id":"1350671086","filename":"file5"},{"photo_id":"1350671074","filename":"file2"},{"photo_id":"1350671080","filename":"file4"},{"photo_id":"1350671071","filename":"file1"},{"photo_id":"1350671067","filename":"file0"},{"photo_id":"1350671077","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671067":["hashtag1","hashtag2"]},{"1350671086":["hashtag1","hashtag2"]},{"1350671080":["hashtag1","hashtag2"]},{"1350671074":["hashtag1","hashtag2"]},{"1350671077":["hashtag1","hashtag2"]},{"1350671071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671067, 1350671086, 1350671080, 1350671074, 1350671077, 1350671071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.783214807510376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:02:43.124628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/43/image_06042025_05_44_05_9385.jpg', '/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_16_10460.jpg', '/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_25_9468.jpg', '/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_36_10492.jpg', '/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_45_9478.jpg', '/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_56_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/43/image_06042025_05_44_05_9385.jpg
/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_16_10460.jpg
/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_25_9468.jpg
/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_36_10492.jpg
/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_45_9478.jpg
/home/pi/Desktop/images/06042025/05/44/image_06042025_05_44_56_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":["1350671115","1350671111","1350671114","1350671108","1350671117","1350671119"],"photo_ids_order":["1350671108","1350671111","1350671114","1350671115","1350671117","1350671119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b4aa288a60c37da626d72bcac8c729d.jpg","text":"TemporaryFile(/tmp/multipartBody5079358872856037188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149825032,"filename":"image_06042025_05_44_36_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f51cbb8527d33fcd643d25c0438b4099.jpg","text":"TemporaryFile(/tmp/multipartBody6523905941012187347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149825032,"filename":"image_06042025_05_44_16_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4c539c3fe9c4e06cde5154209aea164.jpg","text":"TemporaryFile(/tmp/multipartBody2022898200807350671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149825032,"filename":"image_06042025_05_44_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc24598b8c195fb83f1217ec5c7092a5.jpg","text":"TemporaryFile(/tmp/multipartBody441933318185079489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149825032,"filename":"image_06042025_05_44_05_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/765db2fe8e19963034874a9c84cb5340.jpg","text":"TemporaryFile(/tmp/multipartBody4402540374795350440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149825032,"filename":"image_06042025_05_44_45_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4d5ea114a7e0fae09275c5bd1a2345bc.jpg","text":"TemporaryFile(/tmp/multipartBody5772088505489958513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149825032,"filename":"image_06042025_05_44_56_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671114","file1":"1350671111","file0":"1350671108","file4":"1350671117","file5":"1350671119","file3":"1350671115"},"map_files_photo_id_array":[{"photo_id":"1350671119","filename":"file5"},{"photo_id":"1350671114","filename":"file2"},{"photo_id":"1350671117","filename":"file4"},{"photo_id":"1350671111","filename":"file1"},{"photo_id":"1350671108","filename":"file0"},{"photo_id":"1350671115","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671115":["hashtag1","hashtag2"]},{"1350671111":["hashtag1","hashtag2"]},{"1350671114":["hashtag1","hashtag2"]},{"1350671108":["hashtag1","hashtag2"]},{"1350671117":["hashtag1","hashtag2"]},{"1350671119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671115, 1350671111, 1350671114, 1350671108, 1350671117, 1350671119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13824248313904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:03:42.294342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/44/image_06042025_05_45_05_9355.jpg', '/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_15_10366.jpg', '/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_26_10425.jpg', '/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_35_9351.jpg', '/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_46_10365.jpg', '/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_55_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/44/image_06042025_05_45_05_9355.jpg
/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_15_10366.jpg
/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_26_10425.jpg
/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_35_9351.jpg
/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_46_10365.jpg
/home/pi/Desktop/images/06042025/05/45/image_06042025_05_45_55_9473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671151","1350671145","1350671148","1350671142","1350671139","1350671146"],"photo_ids_order":["1350671139","1350671142","1350671145","1350671146","1350671148","1350671151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eaacb00ef81bd21e86d67e9346b9431b.jpg","text":"TemporaryFile(/tmp/multipartBody1433992364500142403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149884213,"filename":"image_06042025_05_45_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/4/9/427d1c1f25f5a6b0ee6bd63939ee5e25.jpg","text":"TemporaryFile(/tmp/multipartBody1923485040858655145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149884213,"filename":"image_06042025_05_45_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/4/9/af8845e3a3973389675b7ed56b70a85c.jpg","text":"TemporaryFile(/tmp/multipartBody4443699693077022136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149884213,"filename":"image_06042025_05_45_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/4/9/56811fa398619726e7e87fa963bf335f.jpg","text":"TemporaryFile(/tmp/multipartBody5557502183131168299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149884213,"filename":"image_06042025_05_45_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/4/9/9168e15220925c3cbb0bcb5e33ce9910.jpg","text":"TemporaryFile(/tmp/multipartBody9049144398962556587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149884213,"filename":"image_06042025_05_45_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/205fb2d1de8fc9db07c0b6592cb8818e.jpg","text":"TemporaryFile(/tmp/multipartBody246994130154551628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149884213,"filename":"image_06042025_05_45_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671145","file1":"1350671142","file0":"1350671139","file4":"1350671148","file5":"1350671151","file3":"1350671146"},"map_files_photo_id_array":[{"photo_id":"1350671151","filename":"file5"},{"photo_id":"1350671145","filename":"file2"},{"photo_id":"1350671148","filename":"file4"},{"photo_id":"1350671142","filename":"file1"},{"photo_id":"1350671139","filename":"file0"},{"photo_id":"1350671146","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671151":["hashtag1","hashtag2"]},{"1350671145":["hashtag1","hashtag2"]},{"1350671148":["hashtag1","hashtag2"]},{"1350671142":["hashtag1","hashtag2"]},{"1350671139":["hashtag1","hashtag2"]},{"1350671146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671151, 1350671145, 1350671148, 1350671142, 1350671139, 1350671146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.960291147232056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:04:42.495285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/45/image_06042025_05_46_05_10356.jpg', '/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_16_10418.jpg', '/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_25_9346.jpg', '/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_36_10350.jpg', '/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_46_10368.jpg', '/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_55_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/45/image_06042025_05_46_05_10356.jpg
/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_16_10418.jpg
/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_25_9346.jpg
/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_36_10350.jpg
/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_46_10368.jpg
/home/pi/Desktop/images/06042025/05/46/image_06042025_05_46_55_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":["1350671190","1350671192","1350671180","1350671183","1350671186","1350671188"],"photo_ids_order":["1350671180","1350671183","1350671186","1350671188","1350671190","1350671192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/656e9876af7f829acaa96a9760c665da.jpg","text":"TemporaryFile(/tmp/multipartBody4580407448188732354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149944385,"filename":"image_06042025_05_46_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/4/9/5c4ab6a822528f6ff848bd66de212a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2952026782048461316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149944385,"filename":"image_06042025_05_46_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/952ee6ed73ffb3508e8b265c0a67bef9.jpg","text":"TemporaryFile(/tmp/multipartBody96098667920505191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149944385,"filename":"image_06042025_05_46_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/4/9/12733f08be2dd073a07ff8e09067e152.jpg","text":"TemporaryFile(/tmp/multipartBody2665141911818181994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149944385,"filename":"image_06042025_05_46_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e4988bea6e6a869a5861fb47c4a667e.jpg","text":"TemporaryFile(/tmp/multipartBody8761976320761969361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149944385,"filename":"image_06042025_05_46_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/4/9/cd859b5628abc7107a92a3cc026ecb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7368041756866653973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744149944385,"filename":"image_06042025_05_46_36_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671186","file1":"1350671183","file0":"1350671180","file4":"1350671190","file5":"1350671192","file3":"1350671188"},"map_files_photo_id_array":[{"photo_id":"1350671192","filename":"file5"},{"photo_id":"1350671186","filename":"file2"},{"photo_id":"1350671190","filename":"file4"},{"photo_id":"1350671183","filename":"file1"},{"photo_id":"1350671180","filename":"file0"},{"photo_id":"1350671188","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671190":["hashtag1","hashtag2"]},{"1350671192":["hashtag1","hashtag2"]},{"1350671180":["hashtag1","hashtag2"]},{"1350671183":["hashtag1","hashtag2"]},{"1350671186":["hashtag1","hashtag2"]},{"1350671188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671190, 1350671192, 1350671180, 1350671183, 1350671186, 1350671188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.841392755508423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:05:42.778455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/46/image_06042025_05_47_06_10352.jpg', '/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_16_10452.jpg', '/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_25_9445.jpg', '/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_36_10460.jpg', '/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_45_9376.jpg', '/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_56_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/46/image_06042025_05_47_06_10352.jpg
/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_16_10452.jpg
/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_25_9445.jpg
/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_36_10460.jpg
/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_45_9376.jpg
/home/pi/Desktop/images/06042025/05/47/image_06042025_05_47_56_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":["1350671220","1350671231","1350671234","1350671228","1350671224","1350671218"],"photo_ids_order":["1350671218","1350671220","1350671224","1350671228","1350671231","1350671234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ccff116fd1db872518c004cd56de4cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8593351932466090322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150004678,"filename":"image_06042025_05_47_16_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/92b61c13e10e171ebc0352923df5a640.jpg","text":"TemporaryFile(/tmp/multipartBody346866560465728628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150004678,"filename":"image_06042025_05_47_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/4/9/89c4155e04a9abeec3dd1b83acf38142.jpg","text":"TemporaryFile(/tmp/multipartBody8344551872547191712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150004678,"filename":"image_06042025_05_47_56_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8aea8b6e8669a86ee78e2a4068079f56.jpg","text":"TemporaryFile(/tmp/multipartBody5544198953859336864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150004678,"filename":"image_06042025_05_47_36_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fa3b9c97cf0e69241d7bd134825c7ff.jpg","text":"TemporaryFile(/tmp/multipartBody8680539581365022614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150004678,"filename":"image_06042025_05_47_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/4/9/bf56e1d5c099d206d1bf276b567dedc3.jpg","text":"TemporaryFile(/tmp/multipartBody4749844272877165881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150004678,"filename":"image_06042025_05_47_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671224","file1":"1350671220","file0":"1350671218","file4":"1350671231","file5":"1350671234","file3":"1350671228"},"map_files_photo_id_array":[{"photo_id":"1350671234","filename":"file5"},{"photo_id":"1350671224","filename":"file2"},{"photo_id":"1350671231","filename":"file4"},{"photo_id":"1350671220","filename":"file1"},{"photo_id":"1350671218","filename":"file0"},{"photo_id":"1350671228","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671220":["hashtag1","hashtag2"]},{"1350671231":["hashtag1","hashtag2"]},{"1350671234":["hashtag1","hashtag2"]},{"1350671228":["hashtag1","hashtag2"]},{"1350671224":["hashtag1","hashtag2"]},{"1350671218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671220, 1350671231, 1350671234, 1350671228, 1350671224, 1350671218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.34855580329895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:06:42.974286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/47/image_06042025_05_48_05_9360.jpg', '/home/pi/Desktop/images/06042025/05/48/image_06042025_05_48_15_10355.jpg', '/home/pi/Desktop/images/06042025/05/48/image_06042025_05_48_46_10417.jpg', '/home/pi/Desktop/images/06042025/05/48/image_06042025_05_48_56_10371.jpg', '/home/pi/Desktop/images/06042025/05/48/image_06042025_05_49_05_9349.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/47/image_06042025_05_48_05_9360.jpg
/home/pi/Desktop/images/06042025/05/48/image_06042025_05_48_15_10355.jpg
/home/pi/Desktop/images/06042025/05/48/image_06042025_05_48_46_10417.jpg
/home/pi/Desktop/images/06042025/05/48/image_06042025_05_48_56_10371.jpg
/home/pi/Desktop/images/06042025/05/48/image_06042025_05_49_05_9349.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_16_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":["1350671262","1350671259","1350671270","1350671264","1350671267","1350671263"],"photo_ids_order":["1350671259","1350671262","1350671263","1350671264","1350671267","1350671270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/816ff1422ea6b492f1b945bd2cf3a37f.jpg","text":"TemporaryFile(/tmp/multipartBody2070278366624416427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150064889,"filename":"image_06042025_05_48_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/4/9/0e0fb886b9aa9b60bc345649abfa9d1a.jpg","text":"TemporaryFile(/tmp/multipartBody802617133919792310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150064889,"filename":"image_06042025_05_48_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1af8d97f527ba432b68451ccc7694091.jpg","text":"TemporaryFile(/tmp/multipartBody3596257866750905832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150064889,"filename":"image_06042025_05_49_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1bf7a7cbfd609b762afe1bed10467c09.jpg","text":"TemporaryFile(/tmp/multipartBody7581397571307934152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150064889,"filename":"image_06042025_05_48_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/4/9/7bf46d27900f67ee70d2fc5aa8eb3829.jpg","text":"TemporaryFile(/tmp/multipartBody4277725096782162030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150064889,"filename":"image_06042025_05_49_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1516b62d532368316f164d4f51f9382.jpg","text":"TemporaryFile(/tmp/multipartBody7802176845052113619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150064889,"filename":"image_06042025_05_48_46_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671263","file1":"1350671262","file0":"1350671259","file4":"1350671267","file5":"1350671270","file3":"1350671264"},"map_files_photo_id_array":[{"photo_id":"1350671270","filename":"file5"},{"photo_id":"1350671263","filename":"file2"},{"photo_id":"1350671267","filename":"file4"},{"photo_id":"1350671262","filename":"file1"},{"photo_id":"1350671259","filename":"file0"},{"photo_id":"1350671264","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671262":["hashtag1","hashtag2"]},{"1350671259":["hashtag1","hashtag2"]},{"1350671270":["hashtag1","hashtag2"]},{"1350671264":["hashtag1","hashtag2"]},{"1350671267":["hashtag1","hashtag2"]},{"1350671263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671262, 1350671259, 1350671270, 1350671264, 1350671267, 1350671263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48452806472778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:07:42.189407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_25_9378.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_36_10426.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_46_10365.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_55_9357.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_50_06_10364.jpg', '/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_25_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_25_9378.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_36_10426.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_46_10365.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_55_9357.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_50_06_10364.jpg
/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_25_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8342998027801514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:08:02.806921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_25_9378.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_36_10426.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_46_10365.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_55_9357.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_50_06_10364.jpg', '/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_25_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_25_9378.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_36_10426.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_46_10365.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_55_9357.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_50_06_10364.jpg
/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_25_9422.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671334","1350671328","1350671319","1350671310","1350671315","1350671323"],"photo_ids_order":["1350671310","1350671315","1350671319","1350671323","1350671328","1350671334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e3ee0a7ea380d226bb518c73dcebfb5.jpg","text":"TemporaryFile(/tmp/multipartBody5349675032122268428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150143833,"filename":"image_06042025_05_50_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/4/9/161693196e94c4eb9f931b731b70f749.jpg","text":"TemporaryFile(/tmp/multipartBody2611098521811342881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150143833,"filename":"image_06042025_05_50_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/4/9/db73b65a92859b572022bdfede180cb9.jpg","text":"TemporaryFile(/tmp/multipartBody9067794460854286602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150143833,"filename":"image_06042025_05_49_46_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/304f884221563b882b4ca3267ed14f04.jpg","text":"TemporaryFile(/tmp/multipartBody2352061493957414401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150143833,"filename":"image_06042025_05_49_25_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69e0e45bd65be73df41943807681511c.jpg","text":"TemporaryFile(/tmp/multipartBody3512293576360008643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150143833,"filename":"image_06042025_05_49_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/4/9/a92054d568cafc03fb18c5094fcbc50d.jpg","text":"TemporaryFile(/tmp/multipartBody7851448762654236790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150143833,"filename":"image_06042025_05_49_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671319","file1":"1350671315","file0":"1350671310","file4":"1350671328","file5":"1350671334","file3":"1350671323"},"map_files_photo_id_array":[{"photo_id":"1350671334","filename":"file5"},{"photo_id":"1350671319","filename":"file2"},{"photo_id":"1350671328","filename":"file4"},{"photo_id":"1350671315","filename":"file1"},{"photo_id":"1350671310","filename":"file0"},{"photo_id":"1350671323","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671334":["hashtag1","hashtag2"]},{"1350671328":["hashtag1","hashtag2"]},{"1350671319":["hashtag1","hashtag2"]},{"1350671310":["hashtag1","hashtag2"]},{"1350671315":["hashtag1","hashtag2"]},{"1350671323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671334, 1350671328, 1350671319, 1350671310, 1350671315, 1350671323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.592806816101074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:08:42.432157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_36_10461.jpg', '/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_45_9354.jpg', '/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_56_10458.jpg', '/home/pi/Desktop/images/06042025/05/50/image_06042025_05_51_05_9360.jpg', '/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_15_10396.jpg', '/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_26_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_36_10461.jpg
/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_45_9354.jpg
/home/pi/Desktop/images/06042025/05/50/image_06042025_05_50_56_10458.jpg
/home/pi/Desktop/images/06042025/05/50/image_06042025_05_51_05_9360.jpg
/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_15_10396.jpg
/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_26_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671352","1350671354","1350671351","1350671348","1350671353","1350671350"],"photo_ids_order":["1350671348","1350671350","1350671351","1350671352","1350671353","1350671354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f2b389e1d466755a612a1b020b8af6e3.jpg","text":"TemporaryFile(/tmp/multipartBody6662502208080026575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150184341,"filename":"image_06042025_05_51_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf382d12a29b40919fcafa2c2a654fcb.jpg","text":"TemporaryFile(/tmp/multipartBody9080674406239501705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150184341,"filename":"image_06042025_05_51_26_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a8525d806615fe8d369224b511e9e91.jpg","text":"TemporaryFile(/tmp/multipartBody4194237605936377506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150184341,"filename":"image_06042025_05_50_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/4/9/0aca1d7a2f92186c1536c83b6ed3e902.jpg","text":"TemporaryFile(/tmp/multipartBody4305883300253249532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150184341,"filename":"image_06042025_05_50_36_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bd0fd0b08ee54f515355b5f142a40a66.jpg","text":"TemporaryFile(/tmp/multipartBody4999433499246799760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150184341,"filename":"image_06042025_05_51_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/4/9/2b41f275ac28004576d974559a2c0473.jpg","text":"TemporaryFile(/tmp/multipartBody9125102414967410639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150184341,"filename":"image_06042025_05_50_45_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671351","file1":"1350671350","file0":"1350671348","file4":"1350671353","file5":"1350671354","file3":"1350671352"},"map_files_photo_id_array":[{"photo_id":"1350671354","filename":"file5"},{"photo_id":"1350671351","filename":"file2"},{"photo_id":"1350671353","filename":"file4"},{"photo_id":"1350671350","filename":"file1"},{"photo_id":"1350671348","filename":"file0"},{"photo_id":"1350671352","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671352":["hashtag1","hashtag2"]},{"1350671354":["hashtag1","hashtag2"]},{"1350671351":["hashtag1","hashtag2"]},{"1350671348":["hashtag1","hashtag2"]},{"1350671353":["hashtag1","hashtag2"]},{"1350671350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671352, 1350671354, 1350671351, 1350671348, 1350671353, 1350671350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.176485538482666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:09:42.761523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_35_9358.jpg', '/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_46_10367.jpg', '/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_55_9459.jpg', '/home/pi/Desktop/images/06042025/05/51/image_06042025_05_52_06_10354.jpg', '/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_16_10340.jpg', '/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_25_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_35_9358.jpg
/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_46_10367.jpg
/home/pi/Desktop/images/06042025/05/51/image_06042025_05_51_55_9459.jpg
/home/pi/Desktop/images/06042025/05/51/image_06042025_05_52_06_10354.jpg
/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_16_10340.jpg
/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_25_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671388","1350671391","1350671395","1350671408","1350671402","1350671413"],"photo_ids_order":["1350671388","1350671391","1350671395","1350671402","1350671408","1350671413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f5da006a69a6cd398f64a5a160dc81a6.jpg","text":"TemporaryFile(/tmp/multipartBody3615103849165540269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150244652,"filename":"image_06042025_05_51_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/4/9/00f485252df8235cc24018f8b24b5890.jpg","text":"TemporaryFile(/tmp/multipartBody1471275535271416760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150244652,"filename":"image_06042025_05_51_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/4/9/9c9ca4e36bb7c1acbc2c6c68a4b58429.jpg","text":"TemporaryFile(/tmp/multipartBody3094134329731387631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150244652,"filename":"image_06042025_05_51_55_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/381826f399e8e10e1de2456117023bd4.jpg","text":"TemporaryFile(/tmp/multipartBody251686642504558513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150244652,"filename":"image_06042025_05_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/4/9/2f54aeaa3314b82177fd4604c32d7df4.jpg","text":"TemporaryFile(/tmp/multipartBody8468036240818188071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150244652,"filename":"image_06042025_05_52_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/4/9/f946795f39db0585201c1c0b9d36b21b.jpg","text":"TemporaryFile(/tmp/multipartBody209046801231162511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150244652,"filename":"image_06042025_05_52_25_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671395","file1":"1350671391","file0":"1350671388","file4":"1350671408","file5":"1350671413","file3":"1350671402"},"map_files_photo_id_array":[{"photo_id":"1350671413","filename":"file5"},{"photo_id":"1350671395","filename":"file2"},{"photo_id":"1350671408","filename":"file4"},{"photo_id":"1350671391","filename":"file1"},{"photo_id":"1350671388","filename":"file0"},{"photo_id":"1350671402","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671388":["hashtag1","hashtag2"]},{"1350671391":["hashtag1","hashtag2"]},{"1350671395":["hashtag1","hashtag2"]},{"1350671408":["hashtag1","hashtag2"]},{"1350671402":["hashtag1","hashtag2"]},{"1350671413":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671388, 1350671391, 1350671395, 1350671408, 1350671402, 1350671413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.05805158615112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:10:42.987821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_36_10450.jpg', '/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_45_9429.jpg', '/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_55_10348.jpg', '/home/pi/Desktop/images/06042025/05/52/image_06042025_05_53_06_10341.jpg', '/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_15_9333.jpg', '/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_26_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_36_10450.jpg
/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_45_9429.jpg
/home/pi/Desktop/images/06042025/05/52/image_06042025_05_52_55_10348.jpg
/home/pi/Desktop/images/06042025/05/52/image_06042025_05_53_06_10341.jpg
/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_15_9333.jpg
/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_26_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671430","1350671436","1350671441","1350671438","1350671432","1350671434"],"photo_ids_order":["1350671430","1350671432","1350671434","1350671436","1350671438","1350671441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea9a21f1b19d90492c7bb4f12d057432.jpg","text":"TemporaryFile(/tmp/multipartBody339681396559636269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150304881,"filename":"image_06042025_05_52_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/4/9/eac15ea47c40fb6af2b28ccb7baed8ad.jpg","text":"TemporaryFile(/tmp/multipartBody4589481259767627615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150304881,"filename":"image_06042025_05_53_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/4/9/9dcc95f25b94b9ac6a1deeae61b6b277.jpg","text":"TemporaryFile(/tmp/multipartBody5372488646892043275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150304881,"filename":"image_06042025_05_53_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/815a4c5bbe6fae905ed029878e370a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1542615668989080088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150304881,"filename":"image_06042025_05_53_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/4/9/bf7034592436afb6bc1b13c70f3bafa6.jpg","text":"TemporaryFile(/tmp/multipartBody3554365614621082889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150304881,"filename":"image_06042025_05_52_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/4/9/019e0d573bdadf5185e1dd4fa1947c62.jpg","text":"TemporaryFile(/tmp/multipartBody1519140300639324616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150304881,"filename":"image_06042025_05_52_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671434","file1":"1350671432","file0":"1350671430","file4":"1350671438","file5":"1350671441","file3":"1350671436"},"map_files_photo_id_array":[{"photo_id":"1350671441","filename":"file5"},{"photo_id":"1350671434","filename":"file2"},{"photo_id":"1350671438","filename":"file4"},{"photo_id":"1350671432","filename":"file1"},{"photo_id":"1350671430","filename":"file0"},{"photo_id":"1350671436","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671430":["hashtag1","hashtag2"]},{"1350671436":["hashtag1","hashtag2"]},{"1350671441":["hashtag1","hashtag2"]},{"1350671438":["hashtag1","hashtag2"]},{"1350671432":["hashtag1","hashtag2"]},{"1350671434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671430, 1350671436, 1350671441, 1350671438, 1350671432, 1350671434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47992539405823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:11:42.271922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_35_9480.jpg', '/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_45_10376.jpg', '/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_56_10426.jpg', '/home/pi/Desktop/images/06042025/05/53/image_06042025_05_54_05_9361.jpg', '/home/pi/Desktop/images/06042025/05/54/image_06042025_05_54_16_10440.jpg', '/home/pi/Desktop/images/06042025/05/54/image_06042025_05_54_35_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_35_9480.jpg
/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_45_10376.jpg
/home/pi/Desktop/images/06042025/05/53/image_06042025_05_53_56_10426.jpg
/home/pi/Desktop/images/06042025/05/53/image_06042025_05_54_05_9361.jpg
/home/pi/Desktop/images/06042025/05/54/image_06042025_05_54_16_10440.jpg
/home/pi/Desktop/images/06042025/05/54/image_06042025_05_54_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":["1350671475","1350671472","1350671465","1350671468","1350671470","1350671467"],"photo_ids_order":["1350671465","1350671467","1350671468","1350671470","1350671472","1350671475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0961770bcab22cfa23218aebec58038f.jpg","text":"TemporaryFile(/tmp/multipartBody8146264684755953742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150364177,"filename":"image_06042025_05_54_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/4/9/8e5358eda06796b035606959ad278a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4096047537711218817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150364177,"filename":"image_06042025_05_54_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/4/9/bb8c34b07a72c8b3f4d75de3cb2d2286.jpg","text":"TemporaryFile(/tmp/multipartBody1055562493672608803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150364177,"filename":"image_06042025_05_53_35_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/215de5e25c31c5348b1052527cabe1af.jpg","text":"TemporaryFile(/tmp/multipartBody8074522080340914425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150364177,"filename":"image_06042025_05_53_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/4/9/5e3c4646ee95a879649012b2f8c5a95e.jpg","text":"TemporaryFile(/tmp/multipartBody6368011558000785331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150364177,"filename":"image_06042025_05_54_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77a0b29f9dabdd28dde5cc050af14502.jpg","text":"TemporaryFile(/tmp/multipartBody1843792766149588076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150364177,"filename":"image_06042025_05_53_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671468","file1":"1350671467","file0":"1350671465","file4":"1350671472","file5":"1350671475","file3":"1350671470"},"map_files_photo_id_array":[{"photo_id":"1350671475","filename":"file5"},{"photo_id":"1350671468","filename":"file2"},{"photo_id":"1350671472","filename":"file4"},{"photo_id":"1350671467","filename":"file1"},{"photo_id":"1350671465","filename":"file0"},{"photo_id":"1350671470","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671475":["hashtag1","hashtag2"]},{"1350671472":["hashtag1","hashtag2"]},{"1350671465":["hashtag1","hashtag2"]},{"1350671468":["hashtag1","hashtag2"]},{"1350671470":["hashtag1","hashtag2"]},{"1350671467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671475, 1350671472, 1350671465, 1350671468, 1350671470, 1350671467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99809503555298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:12:42.460531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/54/image_06042025_05_54_46_10402.jpg', '/home/pi/Desktop/images/06042025/05/54/image_06042025_05_54_55_9349.jpg', '/home/pi/Desktop/images/06042025/05/54/image_06042025_05_55_06_10354.jpg', '/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_16_10371.jpg', '/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_25_9367.jpg', '/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_36_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/54/image_06042025_05_54_46_10402.jpg
/home/pi/Desktop/images/06042025/05/54/image_06042025_05_54_55_9349.jpg
/home/pi/Desktop/images/06042025/05/54/image_06042025_05_55_06_10354.jpg
/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_16_10371.jpg
/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_25_9367.jpg
/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_36_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":["1350671499","1350671510","1350671504","1350671507","1350671497","1350671501"],"photo_ids_order":["1350671497","1350671499","1350671501","1350671504","1350671507","1350671510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a9746ced30b2368d1e2f5db860bce0b.jpg","text":"TemporaryFile(/tmp/multipartBody454108344190221874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150424359,"filename":"image_06042025_05_54_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/4/9/70b03d067f2d693fb19479a257128281.jpg","text":"TemporaryFile(/tmp/multipartBody3578531259688839117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150424359,"filename":"image_06042025_05_55_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/4/9/0452533d2af8394df9efc7956ba7e3b5.jpg","text":"TemporaryFile(/tmp/multipartBody8411101183597265942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150424359,"filename":"image_06042025_05_55_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b620016968d9ea3c1e189573d3b7ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5507423719375856797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150424359,"filename":"image_06042025_05_55_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/4/9/70360fa2e9e46aefca4a848a059696c1.jpg","text":"TemporaryFile(/tmp/multipartBody1432176688861773402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150424359,"filename":"image_06042025_05_54_46_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a601626b20fefe938bf4511ea072a4e3.jpg","text":"TemporaryFile(/tmp/multipartBody82527312708203425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150424359,"filename":"image_06042025_05_55_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671501","file1":"1350671499","file0":"1350671497","file4":"1350671507","file5":"1350671510","file3":"1350671504"},"map_files_photo_id_array":[{"photo_id":"1350671510","filename":"file5"},{"photo_id":"1350671501","filename":"file2"},{"photo_id":"1350671507","filename":"file4"},{"photo_id":"1350671499","filename":"file1"},{"photo_id":"1350671497","filename":"file0"},{"photo_id":"1350671504","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671499":["hashtag1","hashtag2"]},{"1350671510":["hashtag1","hashtag2"]},{"1350671504":["hashtag1","hashtag2"]},{"1350671507":["hashtag1","hashtag2"]},{"1350671497":["hashtag1","hashtag2"]},{"1350671501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671499, 1350671510, 1350671504, 1350671507, 1350671497, 1350671501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51629900932312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:13:42.665779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_46_10372.jpg', '/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_55_9369.jpg', '/home/pi/Desktop/images/06042025/05/55/image_06042025_05_56_06_10531.jpg', '/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_15_9554.jpg', '/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_26_10485.jpg', '/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_35_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_46_10372.jpg
/home/pi/Desktop/images/06042025/05/55/image_06042025_05_55_55_9369.jpg
/home/pi/Desktop/images/06042025/05/55/image_06042025_05_56_06_10531.jpg
/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_15_9554.jpg
/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_26_10485.jpg
/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_35_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":["1350671529","1350671534","1350671528","1350671537","1350671531","1350671539"],"photo_ids_order":["1350671528","1350671529","1350671531","1350671534","1350671537","1350671539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f11811cfb55d42ac7e0895021bf0fa15.jpg","text":"TemporaryFile(/tmp/multipartBody1107057205259399851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150484573,"filename":"image_06042025_05_55_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/02052e81d72ee7beb822f6aefe2a9f43.jpg","text":"TemporaryFile(/tmp/multipartBody7767392671236540725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150484573,"filename":"image_06042025_05_56_15_9554.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/944ff6d54a0dfeaea7acb1c5bc1a085d.jpg","text":"TemporaryFile(/tmp/multipartBody7722575328138785276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150484573,"filename":"image_06042025_05_55_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2cdbec2a023f5bac2a2a5fb839d5606c.jpg","text":"TemporaryFile(/tmp/multipartBody4208862017081549528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150484573,"filename":"image_06042025_05_56_26_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f76553d4707054d2ffdff2b3e65cd0f5.jpg","text":"TemporaryFile(/tmp/multipartBody8751309844775088062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150484573,"filename":"image_06042025_05_56_06_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/83f3b92dd6b3134c993537845da56928.jpg","text":"TemporaryFile(/tmp/multipartBody1053825078911027915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150484573,"filename":"image_06042025_05_56_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671531","file1":"1350671529","file0":"1350671528","file4":"1350671537","file5":"1350671539","file3":"1350671534"},"map_files_photo_id_array":[{"photo_id":"1350671539","filename":"file5"},{"photo_id":"1350671531","filename":"file2"},{"photo_id":"1350671537","filename":"file4"},{"photo_id":"1350671529","filename":"file1"},{"photo_id":"1350671528","filename":"file0"},{"photo_id":"1350671534","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671529":["hashtag1","hashtag2"]},{"1350671534":["hashtag1","hashtag2"]},{"1350671528":["hashtag1","hashtag2"]},{"1350671537":["hashtag1","hashtag2"]},{"1350671531":["hashtag1","hashtag2"]},{"1350671539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671529, 1350671534, 1350671528, 1350671537, 1350671531, 1350671539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79249024391174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:14:42.892409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_46_10413.jpg', '/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_55_9386.jpg', '/home/pi/Desktop/images/06042025/05/56/image_06042025_05_57_06_10403.jpg', '/home/pi/Desktop/images/06042025/05/57/image_06042025_05_57_16_10426.jpg', '/home/pi/Desktop/images/06042025/05/57/image_06042025_05_57_25_9350.jpg', '/home/pi/Desktop/images/06042025/05/57/image_06042025_05_57_45_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_46_10413.jpg
/home/pi/Desktop/images/06042025/05/56/image_06042025_05_56_55_9386.jpg
/home/pi/Desktop/images/06042025/05/56/image_06042025_05_57_06_10403.jpg
/home/pi/Desktop/images/06042025/05/57/image_06042025_05_57_16_10426.jpg
/home/pi/Desktop/images/06042025/05/57/image_06042025_05_57_25_9350.jpg
/home/pi/Desktop/images/06042025/05/57/image_06042025_05_57_45_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671571","1350671565","1350671573","1350671567","1350671575","1350671569"],"photo_ids_order":["1350671565","1350671567","1350671569","1350671571","1350671573","1350671575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b6de5a0f718bf6b6ca0a8e4bb8cd1563.jpg","text":"TemporaryFile(/tmp/multipartBody249437684470398208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150544791,"filename":"image_06042025_05_57_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/4/9/1fc49cd7d5bd522983771a1b02c1ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody303720740986448530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150544791,"filename":"image_06042025_05_56_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/4/9/2087d17184ae62456e9d27fb3d0a4db9.jpg","text":"TemporaryFile(/tmp/multipartBody2111146800110006371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150544791,"filename":"image_06042025_05_57_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/4/9/38b4ea17e3fbfea9388ed0db14c93018.jpg","text":"TemporaryFile(/tmp/multipartBody1583023418834687956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150544791,"filename":"image_06042025_05_56_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/4/9/cbf1a651b2865fdf8b4520a4ad33056c.jpg","text":"TemporaryFile(/tmp/multipartBody1359043170047558334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150544791,"filename":"image_06042025_05_57_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/4/9/8933ae321c2314cc3787092d99663766.jpg","text":"TemporaryFile(/tmp/multipartBody4285744650833798412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150544791,"filename":"image_06042025_05_57_06_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671569","file1":"1350671567","file0":"1350671565","file4":"1350671573","file5":"1350671575","file3":"1350671571"},"map_files_photo_id_array":[{"photo_id":"1350671575","filename":"file5"},{"photo_id":"1350671569","filename":"file2"},{"photo_id":"1350671573","filename":"file4"},{"photo_id":"1350671567","filename":"file1"},{"photo_id":"1350671565","filename":"file0"},{"photo_id":"1350671571","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671571":["hashtag1","hashtag2"]},{"1350671565":["hashtag1","hashtag2"]},{"1350671573":["hashtag1","hashtag2"]},{"1350671567":["hashtag1","hashtag2"]},{"1350671575":["hashtag1","hashtag2"]},{"1350671569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671571, 1350671565, 1350671573, 1350671567, 1350671575, 1350671569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96212720870972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:15:43.086602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/57/image_06042025_05_57_56_10427.jpg', '/home/pi/Desktop/images/06042025/05/57/image_06042025_05_58_06_10374.jpg', '/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_15_9351.jpg', '/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_26_10399.jpg', '/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_35_9421.jpg', '/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/57/image_06042025_05_57_56_10427.jpg
/home/pi/Desktop/images/06042025/05/57/image_06042025_05_58_06_10374.jpg
/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_15_9351.jpg
/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_26_10399.jpg
/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_35_9421.jpg
/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_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":["1350671595","1350671607","1350671597","1350671603","1350671593","1350671600"],"photo_ids_order":["1350671593","1350671595","1350671597","1350671600","1350671603","1350671607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9124a8a318be761659a2d9a2b00e690.jpg","text":"TemporaryFile(/tmp/multipartBody3194010755660358466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150605043,"filename":"image_06042025_05_58_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7168de495bc5bb6c121faed4a3b4335.jpg","text":"TemporaryFile(/tmp/multipartBody4117178291671717056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150605043,"filename":"image_06042025_05_58_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/4/9/662c368fe4e2cdc5486f64ae40eb6e89.jpg","text":"TemporaryFile(/tmp/multipartBody5916961312725559085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150605043,"filename":"image_06042025_05_58_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9e729ab83c526406056453d75764cc0.jpg","text":"TemporaryFile(/tmp/multipartBody721412483210484244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150605043,"filename":"image_06042025_05_58_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/4/9/1bf5643156fc94755be0c34a5ea0b6fe.jpg","text":"TemporaryFile(/tmp/multipartBody3334427254329577134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150605043,"filename":"image_06042025_05_57_56_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/038a5f05b66a4e8674ed10a4f9c9f7fc.jpg","text":"TemporaryFile(/tmp/multipartBody8782368181483855467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150605043,"filename":"image_06042025_05_58_26_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671597","file1":"1350671595","file0":"1350671593","file4":"1350671603","file5":"1350671607","file3":"1350671600"},"map_files_photo_id_array":[{"photo_id":"1350671607","filename":"file5"},{"photo_id":"1350671597","filename":"file2"},{"photo_id":"1350671603","filename":"file4"},{"photo_id":"1350671595","filename":"file1"},{"photo_id":"1350671593","filename":"file0"},{"photo_id":"1350671600","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671595":["hashtag1","hashtag2"]},{"1350671607":["hashtag1","hashtag2"]},{"1350671597":["hashtag1","hashtag2"]},{"1350671603":["hashtag1","hashtag2"]},{"1350671593":["hashtag1","hashtag2"]},{"1350671600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671595, 1350671607, 1350671597, 1350671603, 1350671593, 1350671600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15990233421326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:16:42.363713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_56_10490.jpg', '/home/pi/Desktop/images/06042025/05/58/image_06042025_05_59_05_9343.jpg', '/home/pi/Desktop/images/06042025/05/59/image_06042025_05_59_26_10365.jpg', '/home/pi/Desktop/images/06042025/05/59/image_06042025_05_59_35_9351.jpg', '/home/pi/Desktop/images/06042025/05/59/image_06042025_05_59_46_10373.jpg', '/home/pi/Desktop/images/06042025/05/59/image_06042025_05_59_55_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_56_10490.jpg
/home/pi/Desktop/images/06042025/05/58/image_06042025_05_59_05_9343.jpg
/home/pi/Desktop/images/06042025/05/59/image_06042025_05_59_26_10365.jpg
/home/pi/Desktop/images/06042025/05/59/image_06042025_05_59_35_9351.jpg
/home/pi/Desktop/images/06042025/05/59/image_06042025_05_59_46_10373.jpg
/home/pi/Desktop/images/06042025/05/59/image_06042025_05_59_55_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671637","1350671634","1350671628","1350671624","1350671626","1350671629"],"photo_ids_order":["1350671624","1350671626","1350671628","1350671629","1350671634","1350671637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/599c83a611f5f6500bd269f7d4292bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3421233049456678639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150664553,"filename":"image_06042025_05_59_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/4/9/0c4270db52edfdcb116a4a975d69690e.jpg","text":"TemporaryFile(/tmp/multipartBody970306329607176734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150664553,"filename":"image_06042025_05_59_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/4/9/0bbd153d9c3e9b71dd7cdf64348ec19d.jpg","text":"TemporaryFile(/tmp/multipartBody1471648718682317456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150664553,"filename":"image_06042025_05_59_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0fd27f0927b875edcc27dc55cf6148e1.jpg","text":"TemporaryFile(/tmp/multipartBody5657540949848461670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150664553,"filename":"image_06042025_05_58_56_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a967074b4a862bbf148f06f82b2f794a.jpg","text":"TemporaryFile(/tmp/multipartBody7643193551562811193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150664553,"filename":"image_06042025_05_59_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/4/9/49f090c105686e7621817730ba0c4e30.jpg","text":"TemporaryFile(/tmp/multipartBody6573454268071625525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150664553,"filename":"image_06042025_05_59_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671628","file1":"1350671626","file0":"1350671624","file4":"1350671634","file5":"1350671637","file3":"1350671629"},"map_files_photo_id_array":[{"photo_id":"1350671637","filename":"file5"},{"photo_id":"1350671628","filename":"file2"},{"photo_id":"1350671634","filename":"file4"},{"photo_id":"1350671626","filename":"file1"},{"photo_id":"1350671624","filename":"file0"},{"photo_id":"1350671629","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671637":["hashtag1","hashtag2"]},{"1350671634":["hashtag1","hashtag2"]},{"1350671628":["hashtag1","hashtag2"]},{"1350671624":["hashtag1","hashtag2"]},{"1350671626":["hashtag1","hashtag2"]},{"1350671629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671637, 1350671634, 1350671628, 1350671624, 1350671626, 1350671629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70939755439758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:17:42.557614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_15_10077.jpg', '/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_25_10449.jpg', '/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_36_10480.jpg', '/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_45_9346.jpg', '/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_56_10363.jpg', '/home/pi/Desktop/images/06042025/06/01/image_06042025_06_02_05_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_15_10077.jpg
/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_25_10449.jpg
/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_36_10480.jpg
/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_45_9346.jpg
/home/pi/Desktop/images/06042025/06/01/image_06042025_06_01_56_10363.jpg
/home/pi/Desktop/images/06042025/06/01/image_06042025_06_02_05_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":["1350671673","1350671667","1350671676","1350671670","1350671680","1350671674"],"photo_ids_order":["1350671667","1350671670","1350671673","1350671674","1350671676","1350671680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0a28f0d8ae0a4790b78f44b6fdd20ef.jpg","text":"TemporaryFile(/tmp/multipartBody732958117376266069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150724460,"filename":"image_06042025_06_01_36_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/76b2acf939251c63fb749c9350a88677.jpg","text":"TemporaryFile(/tmp/multipartBody4707686859169111747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150724460,"filename":"image_06042025_06_01_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c9e4b563f7e93901601a663e714ae5e8.jpg","text":"TemporaryFile(/tmp/multipartBody6054330555641242148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150724460,"filename":"image_06042025_06_01_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/4/9/c19da9cf1e0c3e02c91c03398f58f24c.jpg","text":"TemporaryFile(/tmp/multipartBody3341591224782331254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150724460,"filename":"image_06042025_06_01_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e5aa4ff40c0cf97b3527aae3a2364a3.jpg","text":"TemporaryFile(/tmp/multipartBody3437336759770443658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150724460,"filename":"image_06042025_06_02_05_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55717f267f68e46102002acffbde234f.jpg","text":"TemporaryFile(/tmp/multipartBody2638453512430471637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150724460,"filename":"image_06042025_06_01_45_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671673","file1":"1350671670","file0":"1350671667","file4":"1350671676","file5":"1350671680","file3":"1350671674"},"map_files_photo_id_array":[{"photo_id":"1350671680","filename":"file5"},{"photo_id":"1350671673","filename":"file2"},{"photo_id":"1350671676","filename":"file4"},{"photo_id":"1350671670","filename":"file1"},{"photo_id":"1350671667","filename":"file0"},{"photo_id":"1350671674","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671673":["hashtag1","hashtag2"]},{"1350671667":["hashtag1","hashtag2"]},{"1350671676":["hashtag1","hashtag2"]},{"1350671670":["hashtag1","hashtag2"]},{"1350671680":["hashtag1","hashtag2"]},{"1350671674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671673, 1350671667, 1350671676, 1350671670, 1350671680, 1350671674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.21045255661011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:18:42.761191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_15_10367.jpg', '/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_26_10369.jpg', '/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_35_9421.jpg', '/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_46_10474.jpg', '/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_55_9461.jpg', '/home/pi/Desktop/images/06042025/06/02/image_06042025_06_03_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_15_10367.jpg
/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_26_10369.jpg
/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_35_9421.jpg
/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_46_10474.jpg
/home/pi/Desktop/images/06042025/06/02/image_06042025_06_02_55_9461.jpg
/home/pi/Desktop/images/06042025/06/02/image_06042025_06_03_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":["1350671704","1350671712","1350671709","1350671714","1350671711","1350671707"],"photo_ids_order":["1350671704","1350671707","1350671709","1350671711","1350671712","1350671714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/865064a9fb6a63dba9350ec1872700b2.jpg","text":"TemporaryFile(/tmp/multipartBody7307885602367482386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150784666,"filename":"image_06042025_06_02_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/4/9/6d5cdf758ab434c999965747b2b28e00.jpg","text":"TemporaryFile(/tmp/multipartBody564014250692315593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150784666,"filename":"image_06042025_06_02_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/4/9/e064e8861d698b80b1d40f1fd50ecb71.jpg","text":"TemporaryFile(/tmp/multipartBody7471413741460018814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150784666,"filename":"image_06042025_06_02_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/4/9/3537de19f214fe3ab9cfc51f309c650a.jpg","text":"TemporaryFile(/tmp/multipartBody204747385108796467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150784666,"filename":"image_06042025_06_03_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f54c1b1071b4cc4cbfb0500364e5af4.jpg","text":"TemporaryFile(/tmp/multipartBody6841875231226834183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150784666,"filename":"image_06042025_06_02_46_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/34068883d239baa88c907bed27391603.jpg","text":"TemporaryFile(/tmp/multipartBody7892963953439706680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150784666,"filename":"image_06042025_06_02_26_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671709","file1":"1350671707","file0":"1350671704","file4":"1350671712","file5":"1350671714","file3":"1350671711"},"map_files_photo_id_array":[{"photo_id":"1350671714","filename":"file5"},{"photo_id":"1350671709","filename":"file2"},{"photo_id":"1350671712","filename":"file4"},{"photo_id":"1350671707","filename":"file1"},{"photo_id":"1350671704","filename":"file0"},{"photo_id":"1350671711","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671704":["hashtag1","hashtag2"]},{"1350671712":["hashtag1","hashtag2"]},{"1350671709":["hashtag1","hashtag2"]},{"1350671714":["hashtag1","hashtag2"]},{"1350671711":["hashtag1","hashtag2"]},{"1350671707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671704, 1350671712, 1350671709, 1350671714, 1350671711, 1350671707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14092683792114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:19:43.076425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/03/image_06042025_06_03_15_9445.jpg', '/home/pi/Desktop/images/06042025/06/03/image_06042025_06_03_35_9483.jpg', '/home/pi/Desktop/images/06042025/06/03/image_06042025_06_03_45_10366.jpg', '/home/pi/Desktop/images/06042025/06/03/image_06042025_06_03_56_10424.jpg', '/home/pi/Desktop/images/06042025/06/03/image_06042025_06_04_05_9344.jpg', '/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_15_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/03/image_06042025_06_03_15_9445.jpg
/home/pi/Desktop/images/06042025/06/03/image_06042025_06_03_35_9483.jpg
/home/pi/Desktop/images/06042025/06/03/image_06042025_06_03_45_10366.jpg
/home/pi/Desktop/images/06042025/06/03/image_06042025_06_03_56_10424.jpg
/home/pi/Desktop/images/06042025/06/03/image_06042025_06_04_05_9344.jpg
/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_15_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671733","1350671736","1350671735","1350671738","1350671737","1350671740"],"photo_ids_order":["1350671733","1350671735","1350671736","1350671737","1350671738","1350671740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5041398bdc65c7131b4855cc16b9c790.jpg","text":"TemporaryFile(/tmp/multipartBody4643967491333744119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150844986,"filename":"image_06042025_06_03_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10beebee6aef5df12ed97b436928940b.jpg","text":"TemporaryFile(/tmp/multipartBody8561701736314111526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150844986,"filename":"image_06042025_06_03_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/225a6a02bf07278fcc1467c9e32ac297.jpg","text":"TemporaryFile(/tmp/multipartBody4523305811201527537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150844986,"filename":"image_06042025_06_03_35_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09dddcd45d1c9523a406785367519069.jpg","text":"TemporaryFile(/tmp/multipartBody4423041256876715087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150844986,"filename":"image_06042025_06_04_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/4/9/1a88350546a2ca0d1a50762959a28ee1.jpg","text":"TemporaryFile(/tmp/multipartBody8552655308201622922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150844986,"filename":"image_06042025_06_03_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b88f87ebe7cb9e90bd3fbc41181e1f86.jpg","text":"TemporaryFile(/tmp/multipartBody8862644003744879548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150844986,"filename":"image_06042025_06_04_15_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671736","file1":"1350671735","file0":"1350671733","file4":"1350671738","file5":"1350671740","file3":"1350671737"},"map_files_photo_id_array":[{"photo_id":"1350671740","filename":"file5"},{"photo_id":"1350671736","filename":"file2"},{"photo_id":"1350671738","filename":"file4"},{"photo_id":"1350671735","filename":"file1"},{"photo_id":"1350671733","filename":"file0"},{"photo_id":"1350671737","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671733":["hashtag1","hashtag2"]},{"1350671736":["hashtag1","hashtag2"]},{"1350671735":["hashtag1","hashtag2"]},{"1350671738":["hashtag1","hashtag2"]},{"1350671737":["hashtag1","hashtag2"]},{"1350671740":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671733, 1350671736, 1350671735, 1350671738, 1350671737, 1350671740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.376949071884155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:20:42.268081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_26_10363.jpg', '/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_35_9358.jpg', '/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_45_10353.jpg', '/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_55_9441.jpg', '/home/pi/Desktop/images/06042025/06/04/image_06042025_06_05_05_10441.jpg', '/home/pi/Desktop/images/06042025/06/05/image_06042025_06_05_16_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_26_10363.jpg
/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_35_9358.jpg
/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_45_10353.jpg
/home/pi/Desktop/images/06042025/06/04/image_06042025_06_04_55_9441.jpg
/home/pi/Desktop/images/06042025/06/04/image_06042025_06_05_05_10441.jpg
/home/pi/Desktop/images/06042025/06/05/image_06042025_06_05_16_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":["1350671760","1350671763","1350671765","1350671759","1350671761","1350671758"],"photo_ids_order":["1350671758","1350671759","1350671760","1350671761","1350671763","1350671765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/70e313900d677dfde6d0139c3d6cb339.jpg","text":"TemporaryFile(/tmp/multipartBody5413090116751276774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150904196,"filename":"image_06042025_06_04_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55423dbea76e1e356432e5749491cb13.jpg","text":"TemporaryFile(/tmp/multipartBody1061942844436346421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150904196,"filename":"image_06042025_06_05_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/4/9/27b8973ad5d8660213b7b544210557d6.jpg","text":"TemporaryFile(/tmp/multipartBody4135656733581443640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150904196,"filename":"image_06042025_06_05_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/4/9/00e9710ee78d10171c09964e532db48a.jpg","text":"TemporaryFile(/tmp/multipartBody5141942482179169716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150904196,"filename":"image_06042025_06_04_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/4/9/758e0b2057702847a8c10c07157ce966.jpg","text":"TemporaryFile(/tmp/multipartBody737260940808147583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150904196,"filename":"image_06042025_06_04_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/4/9/9b0fdfeb4aea18b1c8629eec470aa136.jpg","text":"TemporaryFile(/tmp/multipartBody4272892010721586478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150904196,"filename":"image_06042025_06_04_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671760","file1":"1350671759","file0":"1350671758","file4":"1350671763","file5":"1350671765","file3":"1350671761"},"map_files_photo_id_array":[{"photo_id":"1350671765","filename":"file5"},{"photo_id":"1350671760","filename":"file2"},{"photo_id":"1350671763","filename":"file4"},{"photo_id":"1350671759","filename":"file1"},{"photo_id":"1350671758","filename":"file0"},{"photo_id":"1350671761","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671760":["hashtag1","hashtag2"]},{"1350671763":["hashtag1","hashtag2"]},{"1350671765":["hashtag1","hashtag2"]},{"1350671759":["hashtag1","hashtag2"]},{"1350671761":["hashtag1","hashtag2"]},{"1350671758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671760, 1350671763, 1350671765, 1350671759, 1350671761, 1350671758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43898344039917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:21:42.488331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/05/image_06042025_06_05_45_9482.jpg', '/home/pi/Desktop/images/06042025/06/05/image_06042025_06_05_55_10358.jpg', '/home/pi/Desktop/images/06042025/06/05/image_06042025_06_06_06_10425.jpg', '/home/pi/Desktop/images/06042025/06/06/image_06042025_06_06_15_9445.jpg', '/home/pi/Desktop/images/06042025/06/06/image_06042025_06_06_25_10383.jpg', '/home/pi/Desktop/images/06042025/06/06/image_06042025_06_06_35_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/05/image_06042025_06_05_45_9482.jpg
/home/pi/Desktop/images/06042025/06/05/image_06042025_06_05_55_10358.jpg
/home/pi/Desktop/images/06042025/06/05/image_06042025_06_06_06_10425.jpg
/home/pi/Desktop/images/06042025/06/06/image_06042025_06_06_15_9445.jpg
/home/pi/Desktop/images/06042025/06/06/image_06042025_06_06_25_10383.jpg
/home/pi/Desktop/images/06042025/06/06/image_06042025_06_06_35_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671790","1350671787","1350671789","1350671792","1350671794","1350671788"],"photo_ids_order":["1350671787","1350671788","1350671789","1350671790","1350671792","1350671794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/16d1550b944d6c2cdae337a9b7482c68.jpg","text":"TemporaryFile(/tmp/multipartBody8391353454188358598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150964391,"filename":"image_06042025_06_06_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98fa3a6802b7551c6a21f7e7d57a4716.jpg","text":"TemporaryFile(/tmp/multipartBody1782106787713381374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150964391,"filename":"image_06042025_06_05_45_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d84b85b048b70294f3c6a8cb58222648.jpg","text":"TemporaryFile(/tmp/multipartBody5323651907134673882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150964391,"filename":"image_06042025_06_06_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64654fc692dfe5aa7b45e66e8ea48cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5946905638248331360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150964391,"filename":"image_06042025_06_06_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/4/9/72e898f647db1ddab129f30cc321fdf9.jpg","text":"TemporaryFile(/tmp/multipartBody4777091168748754370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150964391,"filename":"image_06042025_06_06_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/4/9/7bb462f94c981f65b62ed8d99bbf3096.jpg","text":"TemporaryFile(/tmp/multipartBody2905797302869820648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744150964391,"filename":"image_06042025_06_05_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671789","file1":"1350671788","file0":"1350671787","file4":"1350671792","file5":"1350671794","file3":"1350671790"},"map_files_photo_id_array":[{"photo_id":"1350671794","filename":"file5"},{"photo_id":"1350671789","filename":"file2"},{"photo_id":"1350671792","filename":"file4"},{"photo_id":"1350671788","filename":"file1"},{"photo_id":"1350671787","filename":"file0"},{"photo_id":"1350671790","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671790":["hashtag1","hashtag2"]},{"1350671787":["hashtag1","hashtag2"]},{"1350671789":["hashtag1","hashtag2"]},{"1350671792":["hashtag1","hashtag2"]},{"1350671794":["hashtag1","hashtag2"]},{"1350671788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671790, 1350671787, 1350671789, 1350671792, 1350671794, 1350671788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67573165893555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:22:42.677646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/06/image_06042025_06_07_05_10375.jpg', '/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_16_10351.jpg', '/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_25_9436.jpg', '/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_35_10348.jpg', '/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_46_10371.jpg', '/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_55_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/06/image_06042025_06_07_05_10375.jpg
/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_16_10351.jpg
/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_25_9436.jpg
/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_35_10348.jpg
/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_46_10371.jpg
/home/pi/Desktop/images/06042025/06/07/image_06042025_06_07_55_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671821","1350671820","1350671822","1350671816","1350671824","1350671818"],"photo_ids_order":["1350671816","1350671818","1350671820","1350671821","1350671822","1350671824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5ac0f02ece62334a3398f9ab2834f3f.jpg","text":"TemporaryFile(/tmp/multipartBody5719402527356407828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151024580,"filename":"image_06042025_06_07_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/4/9/7d18f67c3496c84fccaf1dff50260cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5974685010286329555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151024580,"filename":"image_06042025_06_07_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/4/9/25d5df414052e3aad375b50af3cdd24d.jpg","text":"TemporaryFile(/tmp/multipartBody6922754642021279925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151024580,"filename":"image_06042025_06_07_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/4/9/97f16c4e52da70cfde8555160054569b.jpg","text":"TemporaryFile(/tmp/multipartBody5469326278110747048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151024580,"filename":"image_06042025_06_07_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51268b573536de95a5529ffca987050e.jpg","text":"TemporaryFile(/tmp/multipartBody4022215547469364787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151024580,"filename":"image_06042025_06_07_55_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aa53f52906a2d02ebc67a7503e010895.jpg","text":"TemporaryFile(/tmp/multipartBody4314981243875034898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151024580,"filename":"image_06042025_06_07_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671820","file1":"1350671818","file0":"1350671816","file4":"1350671822","file5":"1350671824","file3":"1350671821"},"map_files_photo_id_array":[{"photo_id":"1350671824","filename":"file5"},{"photo_id":"1350671820","filename":"file2"},{"photo_id":"1350671822","filename":"file4"},{"photo_id":"1350671818","filename":"file1"},{"photo_id":"1350671816","filename":"file0"},{"photo_id":"1350671821","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671821":["hashtag1","hashtag2"]},{"1350671820":["hashtag1","hashtag2"]},{"1350671822":["hashtag1","hashtag2"]},{"1350671816":["hashtag1","hashtag2"]},{"1350671824":["hashtag1","hashtag2"]},{"1350671818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671821, 1350671820, 1350671822, 1350671816, 1350671824, 1350671818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25381350517273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:23:42.938887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/07/image_06042025_06_08_06_10384.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_15_9351.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_25_10357.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_36_10355.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_55_10375.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_09_05_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/07/image_06042025_06_08_06_10384.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_15_9351.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_25_10357.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_36_10355.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_55_10375.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_09_05_9483.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.821721076965332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:24:02.608882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/07/image_06042025_06_08_06_10384.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_15_9351.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_25_10357.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_36_10355.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_55_10375.jpg', '/home/pi/Desktop/images/06042025/06/08/image_06042025_06_09_05_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/07/image_06042025_06_08_06_10384.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_15_9351.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_25_10357.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_36_10355.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_08_55_10375.jpg
/home/pi/Desktop/images/06042025/06/08/image_06042025_06_09_05_9483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671865","1350671858","1350671867","1350671854","1350671863","1350671851"],"photo_ids_order":["1350671851","1350671854","1350671858","1350671863","1350671865","1350671867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea4d6b2bb1fefad92fde2d8e1b782581.jpg","text":"TemporaryFile(/tmp/multipartBody9132210497842574005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151103641,"filename":"image_06042025_06_08_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/4/9/bee547aae25caf2209daf4a1734c15b7.jpg","text":"TemporaryFile(/tmp/multipartBody3133101952882360314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151103641,"filename":"image_06042025_06_08_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/4/9/2e04b3a8f7221bc791513a56a3aef41a.jpg","text":"TemporaryFile(/tmp/multipartBody2129430067224364366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151103641,"filename":"image_06042025_06_09_05_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/edd57139baa86e447d186dc0154f16df.jpg","text":"TemporaryFile(/tmp/multipartBody8380981325176695368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151103641,"filename":"image_06042025_06_08_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6c1c0a998766919baa77c729814af55.jpg","text":"TemporaryFile(/tmp/multipartBody5256464839913155392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151103641,"filename":"image_06042025_06_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/4/9/486d9ad1d75c83e6ebe9f2e41de12072.jpg","text":"TemporaryFile(/tmp/multipartBody4644656131125706833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151103641,"filename":"image_06042025_06_08_06_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671858","file1":"1350671854","file0":"1350671851","file4":"1350671865","file5":"1350671867","file3":"1350671863"},"map_files_photo_id_array":[{"photo_id":"1350671867","filename":"file5"},{"photo_id":"1350671858","filename":"file2"},{"photo_id":"1350671865","filename":"file4"},{"photo_id":"1350671854","filename":"file1"},{"photo_id":"1350671851","filename":"file0"},{"photo_id":"1350671863","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671865":["hashtag1","hashtag2"]},{"1350671858":["hashtag1","hashtag2"]},{"1350671867":["hashtag1","hashtag2"]},{"1350671854":["hashtag1","hashtag2"]},{"1350671863":["hashtag1","hashtag2"]},{"1350671851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671865, 1350671858, 1350671867, 1350671854, 1350671863, 1350671851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.988714694976807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:24:42.130295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_15_10285.jpg', '/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_26_10431.jpg', '/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_35_9416.jpg', '/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_45_10419.jpg', '/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_55_9482.jpg', '/home/pi/Desktop/images/06042025/06/09/image_06042025_06_10_05_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_15_10285.jpg
/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_26_10431.jpg
/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_35_9416.jpg
/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_45_10419.jpg
/home/pi/Desktop/images/06042025/06/09/image_06042025_06_09_55_9482.jpg
/home/pi/Desktop/images/06042025/06/09/image_06042025_06_10_05_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671892","1350671889","1350671879","1350671884","1350671887","1350671881"],"photo_ids_order":["1350671879","1350671881","1350671884","1350671887","1350671889","1350671892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/562bdad7d54035ab994e0f2ad647bb1f.jpg","text":"TemporaryFile(/tmp/multipartBody747148246269414727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151144017,"filename":"image_06042025_06_10_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/4/9/3a875d9d6faafa2e8a0070a295eca44e.jpg","text":"TemporaryFile(/tmp/multipartBody6747908145849252120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151144017,"filename":"image_06042025_06_09_55_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1149f768ea249c3e26b9d2472bd90d51.jpg","text":"TemporaryFile(/tmp/multipartBody902387468658390602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151144017,"filename":"image_06042025_06_09_15_10285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4462778159c26c0a5a3e6333f8c9c21a.jpg","text":"TemporaryFile(/tmp/multipartBody1830301661495870435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151144017,"filename":"image_06042025_06_09_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/4/9/8a00ddaa1a94eea9c76ea6097e2027cd.jpg","text":"TemporaryFile(/tmp/multipartBody3703551180086911471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151144017,"filename":"image_06042025_06_09_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77e6bd6574b1c9daa3682ff93a2c2566.jpg","text":"TemporaryFile(/tmp/multipartBody5452273060956851228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151144017,"filename":"image_06042025_06_09_26_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671884","file1":"1350671881","file0":"1350671879","file4":"1350671889","file5":"1350671892","file3":"1350671887"},"map_files_photo_id_array":[{"photo_id":"1350671892","filename":"file5"},{"photo_id":"1350671884","filename":"file2"},{"photo_id":"1350671889","filename":"file4"},{"photo_id":"1350671881","filename":"file1"},{"photo_id":"1350671879","filename":"file0"},{"photo_id":"1350671887","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671892":["hashtag1","hashtag2"]},{"1350671889":["hashtag1","hashtag2"]},{"1350671879":["hashtag1","hashtag2"]},{"1350671884":["hashtag1","hashtag2"]},{"1350671887":["hashtag1","hashtag2"]},{"1350671881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671892, 1350671889, 1350671879, 1350671884, 1350671887, 1350671881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.894601821899414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:25:42.387491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_16_10369.jpg', '/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_25_9442.jpg', '/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_35_10362.jpg', '/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_45_9510.jpg', '/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_55_10473.jpg', '/home/pi/Desktop/images/06042025/06/10/image_06042025_06_11_05_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_16_10369.jpg
/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_25_9442.jpg
/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_35_10362.jpg
/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_45_9510.jpg
/home/pi/Desktop/images/06042025/06/10/image_06042025_06_10_55_10473.jpg
/home/pi/Desktop/images/06042025/06/10/image_06042025_06_11_05_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671908","1350671901","1350671904","1350671907","1350671912","1350671915"],"photo_ids_order":["1350671901","1350671904","1350671907","1350671908","1350671912","1350671915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d99e4c4920c41357aacadf657199d4d.jpg","text":"TemporaryFile(/tmp/multipartBody6650474855842826225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151204292,"filename":"image_06042025_06_10_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/4/9/9bfb63981615b8a9043ceb663f500bb6.jpg","text":"TemporaryFile(/tmp/multipartBody4006728897132406705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151204292,"filename":"image_06042025_06_10_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/4/9/340295fb27bfd4d445e42b45993ddd30.jpg","text":"TemporaryFile(/tmp/multipartBody2322734016127549256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151204292,"filename":"image_06042025_06_10_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/4/9/e1895292998862e97250ebeb9acbaeeb.jpg","text":"TemporaryFile(/tmp/multipartBody2560590129175400128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151204292,"filename":"image_06042025_06_10_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/4/9/7a38e7816ae74f688678a016a5acd894.jpg","text":"TemporaryFile(/tmp/multipartBody6384016927036554985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151204292,"filename":"image_06042025_06_10_55_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/acf9277ffa9ce9b93c0be8c7eda475ea.jpg","text":"TemporaryFile(/tmp/multipartBody7870056680443560627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151204292,"filename":"image_06042025_06_11_05_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671907","file1":"1350671904","file0":"1350671901","file4":"1350671912","file5":"1350671915","file3":"1350671908"},"map_files_photo_id_array":[{"photo_id":"1350671915","filename":"file5"},{"photo_id":"1350671907","filename":"file2"},{"photo_id":"1350671912","filename":"file4"},{"photo_id":"1350671904","filename":"file1"},{"photo_id":"1350671901","filename":"file0"},{"photo_id":"1350671908","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671908":["hashtag1","hashtag2"]},{"1350671901":["hashtag1","hashtag2"]},{"1350671904":["hashtag1","hashtag2"]},{"1350671907":["hashtag1","hashtag2"]},{"1350671912":["hashtag1","hashtag2"]},{"1350671915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671908, 1350671901, 1350671904, 1350671907, 1350671912, 1350671915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80223870277405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:26:42.559554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/11/image_06042025_06_11_15_10346.jpg', '/home/pi/Desktop/images/06042025/06/11/image_06042025_06_11_35_9417.jpg', '/home/pi/Desktop/images/06042025/06/11/image_06042025_06_11_45_10353.jpg', '/home/pi/Desktop/images/06042025/06/11/image_06042025_06_11_55_9473.jpg', '/home/pi/Desktop/images/06042025/06/11/image_06042025_06_12_05_10360.jpg', '/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_16_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/11/image_06042025_06_11_15_10346.jpg
/home/pi/Desktop/images/06042025/06/11/image_06042025_06_11_35_9417.jpg
/home/pi/Desktop/images/06042025/06/11/image_06042025_06_11_45_10353.jpg
/home/pi/Desktop/images/06042025/06/11/image_06042025_06_11_55_9473.jpg
/home/pi/Desktop/images/06042025/06/11/image_06042025_06_12_05_10360.jpg
/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_16_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350671940","1350671951","1350671948","1350671933","1350671936","1350671944"],"photo_ids_order":["1350671933","1350671936","1350671940","1350671944","1350671948","1350671951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a55d1099620d6399cf3094a863cd3a17.jpg","text":"TemporaryFile(/tmp/multipartBody754939604911832654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151264464,"filename":"image_06042025_06_11_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/4/9/5df8dfdf0b73e0c566f562be91dcefd3.jpg","text":"TemporaryFile(/tmp/multipartBody3508893354960630946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151264464,"filename":"image_06042025_06_12_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d68f151892308b8a2f3523e3607065d.jpg","text":"TemporaryFile(/tmp/multipartBody7574012289393092942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151264464,"filename":"image_06042025_06_12_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/4/9/8e53bebd7f0f861f404a0ce0b76c06c7.jpg","text":"TemporaryFile(/tmp/multipartBody2166850639556926284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151264464,"filename":"image_06042025_06_11_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94592a22472ace0880c4bdb8e4dfbb4f.jpg","text":"TemporaryFile(/tmp/multipartBody5106308360182044026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151264464,"filename":"image_06042025_06_11_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/4/9/186ad9b9395e7d70102ae7ff2ed8e8e6.jpg","text":"TemporaryFile(/tmp/multipartBody5554493647755461515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151264464,"filename":"image_06042025_06_11_55_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671940","file1":"1350671936","file0":"1350671933","file4":"1350671948","file5":"1350671951","file3":"1350671944"},"map_files_photo_id_array":[{"photo_id":"1350671951","filename":"file5"},{"photo_id":"1350671940","filename":"file2"},{"photo_id":"1350671948","filename":"file4"},{"photo_id":"1350671936","filename":"file1"},{"photo_id":"1350671933","filename":"file0"},{"photo_id":"1350671944","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671940":["hashtag1","hashtag2"]},{"1350671951":["hashtag1","hashtag2"]},{"1350671948":["hashtag1","hashtag2"]},{"1350671933":["hashtag1","hashtag2"]},{"1350671936":["hashtag1","hashtag2"]},{"1350671944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671940, 1350671951, 1350671948, 1350671933, 1350671936, 1350671944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.602457761764526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:27:42.727530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_25_9458.jpg', '/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_35_10389.jpg', '/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_45_9442.jpg', '/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_55_10500.jpg', '/home/pi/Desktop/images/06042025/06/12/image_06042025_06_13_05_9440.jpg', '/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_25_9458.jpg
/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_35_10389.jpg
/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_45_9442.jpg
/home/pi/Desktop/images/06042025/06/12/image_06042025_06_12_55_10500.jpg
/home/pi/Desktop/images/06042025/06/12/image_06042025_06_13_05_9440.jpg
/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_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":["1350671982","1350671976","1350671973","1350671978","1350671983","1350671980"],"photo_ids_order":["1350671973","1350671976","1350671978","1350671980","1350671982","1350671983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f87a4c6e1d6675e591a6b65aef1b95b5.jpg","text":"TemporaryFile(/tmp/multipartBody5839193182293565615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151324626,"filename":"image_06042025_06_13_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/4/9/c6d2be427941507e0a4e768348555332.jpg","text":"TemporaryFile(/tmp/multipartBody4565551630804904025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151324626,"filename":"image_06042025_06_12_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/13c84fb5cb50e17a5ecfde543ee2b464.jpg","text":"TemporaryFile(/tmp/multipartBody1968973713739027647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151324626,"filename":"image_06042025_06_12_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/4/9/e8f2d683eb942738ee5ed9dfdf7a0a16.jpg","text":"TemporaryFile(/tmp/multipartBody8276363601691689217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151324626,"filename":"image_06042025_06_12_45_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3cf94959c1ca7fe39040cb8d4cc21a5.jpg","text":"TemporaryFile(/tmp/multipartBody6239481900735839342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151324626,"filename":"image_06042025_06_13_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/4/9/3187b8d655e06a6f3349164229e2967f.jpg","text":"TemporaryFile(/tmp/multipartBody4859043443568272194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151324626,"filename":"image_06042025_06_12_55_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350671978","file1":"1350671976","file0":"1350671973","file4":"1350671982","file5":"1350671983","file3":"1350671980"},"map_files_photo_id_array":[{"photo_id":"1350671983","filename":"file5"},{"photo_id":"1350671978","filename":"file2"},{"photo_id":"1350671982","filename":"file4"},{"photo_id":"1350671976","filename":"file1"},{"photo_id":"1350671973","filename":"file0"},{"photo_id":"1350671980","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350671982":["hashtag1","hashtag2"]},{"1350671976":["hashtag1","hashtag2"]},{"1350671973":["hashtag1","hashtag2"]},{"1350671978":["hashtag1","hashtag2"]},{"1350671983":["hashtag1","hashtag2"]},{"1350671980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350671982, 1350671976, 1350671973, 1350671978, 1350671983, 1350671980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15179777145386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:28:42.922271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_26_10415.jpg', '/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_35_9438.jpg', '/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_45_10372.jpg', '/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_55_9416.jpg', '/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_16_10344.jpg', '/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_25_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_26_10415.jpg
/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_35_9438.jpg
/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_45_10372.jpg
/home/pi/Desktop/images/06042025/06/13/image_06042025_06_13_55_9416.jpg
/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_16_10344.jpg
/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_25_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672012","1350672015","1350672018","1350672010","1350672013","1350672007"],"photo_ids_order":["1350672007","1350672010","1350672012","1350672013","1350672015","1350672018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/acc4a2a2bfa6020e409f6e2d6d4102de.jpg","text":"TemporaryFile(/tmp/multipartBody5875637572712857693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151384836,"filename":"image_06042025_06_13_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/4/9/d9ed942d9e7750ba35e02f25d9f990e6.jpg","text":"TemporaryFile(/tmp/multipartBody4880290556558099585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151384836,"filename":"image_06042025_06_14_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8fda897845c91b69a2b42fc06039f4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8831648033102250209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151384836,"filename":"image_06042025_06_14_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/4/9/e40ffb265d32a0366fc1d8d0330ce601.jpg","text":"TemporaryFile(/tmp/multipartBody4370189293977912804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151384836,"filename":"image_06042025_06_13_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/4/9/d4316df0041bad279050ef43e28fa917.jpg","text":"TemporaryFile(/tmp/multipartBody187642736352794271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151384836,"filename":"image_06042025_06_13_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/4/9/017ab429dd0a92f9e2407d6866afc5e0.jpg","text":"TemporaryFile(/tmp/multipartBody5117727761716918129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151384836,"filename":"image_06042025_06_13_26_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672012","file1":"1350672010","file0":"1350672007","file4":"1350672015","file5":"1350672018","file3":"1350672013"},"map_files_photo_id_array":[{"photo_id":"1350672018","filename":"file5"},{"photo_id":"1350672012","filename":"file2"},{"photo_id":"1350672015","filename":"file4"},{"photo_id":"1350672010","filename":"file1"},{"photo_id":"1350672007","filename":"file0"},{"photo_id":"1350672013","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672012":["hashtag1","hashtag2"]},{"1350672015":["hashtag1","hashtag2"]},{"1350672018":["hashtag1","hashtag2"]},{"1350672010":["hashtag1","hashtag2"]},{"1350672013":["hashtag1","hashtag2"]},{"1350672007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672012, 1350672015, 1350672018, 1350672010, 1350672013, 1350672007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61347246170044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:29:43.210647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_35_10361.jpg', '/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_45_9392.jpg', '/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_55_10363.jpg', '/home/pi/Desktop/images/06042025/06/14/image_06042025_06_15_06_10373.jpg', '/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_15_9423.jpg', '/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_25_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_35_10361.jpg
/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_45_9392.jpg
/home/pi/Desktop/images/06042025/06/14/image_06042025_06_14_55_10363.jpg
/home/pi/Desktop/images/06042025/06/14/image_06042025_06_15_06_10373.jpg
/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_15_9423.jpg
/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_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":["1350672051","1350672045","1350672048","1350672053","1350672047","1350672049"],"photo_ids_order":["1350672045","1350672047","1350672048","1350672049","1350672051","1350672053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6249f3e2c98e02e907b666faf03c1eef.jpg","text":"TemporaryFile(/tmp/multipartBody5915567641033142835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151445103,"filename":"image_06042025_06_15_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/4/9/8f63a40ba9e15b6ff27e9d72e91c1e97.jpg","text":"TemporaryFile(/tmp/multipartBody4318267444316026798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151445103,"filename":"image_06042025_06_14_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/4/9/f7d88b260bd3003fdd7d6aa4a7e02cd2.jpg","text":"TemporaryFile(/tmp/multipartBody2005172177911861895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151445103,"filename":"image_06042025_06_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/4/9/0222c4b846e69c27d2fedadbf8705c48.jpg","text":"TemporaryFile(/tmp/multipartBody5197342067376939968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151445103,"filename":"image_06042025_06_15_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/4/9/dfd3477acf3b03765b854bc08f54fc07.jpg","text":"TemporaryFile(/tmp/multipartBody7058275945712944973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151445103,"filename":"image_06042025_06_14_45_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/001ff9758d24b879f9602392128b13af.jpg","text":"TemporaryFile(/tmp/multipartBody1005026375434574652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151445103,"filename":"image_06042025_06_15_06_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672048","file1":"1350672047","file0":"1350672045","file4":"1350672051","file5":"1350672053","file3":"1350672049"},"map_files_photo_id_array":[{"photo_id":"1350672053","filename":"file5"},{"photo_id":"1350672048","filename":"file2"},{"photo_id":"1350672051","filename":"file4"},{"photo_id":"1350672047","filename":"file1"},{"photo_id":"1350672045","filename":"file0"},{"photo_id":"1350672049","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672051":["hashtag1","hashtag2"]},{"1350672045":["hashtag1","hashtag2"]},{"1350672048":["hashtag1","hashtag2"]},{"1350672053":["hashtag1","hashtag2"]},{"1350672047":["hashtag1","hashtag2"]},{"1350672049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672051, 1350672045, 1350672048, 1350672053, 1350672047, 1350672049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33979678153992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:30:42.527062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_35_9458.jpg', '/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_45_10352.jpg', '/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_56_10385.jpg', '/home/pi/Desktop/images/06042025/06/15/image_06042025_06_16_05_9388.jpg', '/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_15_10374.jpg', '/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_25_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_35_9458.jpg
/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_45_10352.jpg
/home/pi/Desktop/images/06042025/06/15/image_06042025_06_15_56_10385.jpg
/home/pi/Desktop/images/06042025/06/15/image_06042025_06_16_05_9388.jpg
/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_15_10374.jpg
/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_25_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672087","1350672086","1350672085","1350672094","1350672088","1350672090"],"photo_ids_order":["1350672085","1350672086","1350672087","1350672088","1350672090","1350672094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11b18749ca54c012a1177f86ba2db26c.jpg","text":"TemporaryFile(/tmp/multipartBody3667192956853077647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151504440,"filename":"image_06042025_06_15_56_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9ce54591d79103bb538032420d88ad70.jpg","text":"TemporaryFile(/tmp/multipartBody5133641944062570387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151504440,"filename":"image_06042025_06_15_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/4/9/c87b61b926bb6177cb990a8d252eb576.jpg","text":"TemporaryFile(/tmp/multipartBody2857704183870104835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151504440,"filename":"image_06042025_06_15_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/4/9/7f25cd1e046815e7e0e390459ee4f10c.jpg","text":"TemporaryFile(/tmp/multipartBody8693992172267323183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151504440,"filename":"image_06042025_06_16_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/4/9/4057e9eacdff804f919db8085d532405.jpg","text":"TemporaryFile(/tmp/multipartBody8778032174242223167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151504440,"filename":"image_06042025_06_16_05_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6dc8100ebea8f2d8e7900d7df6ca37fa.jpg","text":"TemporaryFile(/tmp/multipartBody6719880057096060041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151504440,"filename":"image_06042025_06_16_15_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672087","file1":"1350672086","file0":"1350672085","file4":"1350672090","file5":"1350672094","file3":"1350672088"},"map_files_photo_id_array":[{"photo_id":"1350672094","filename":"file5"},{"photo_id":"1350672087","filename":"file2"},{"photo_id":"1350672090","filename":"file4"},{"photo_id":"1350672086","filename":"file1"},{"photo_id":"1350672085","filename":"file0"},{"photo_id":"1350672088","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672087":["hashtag1","hashtag2"]},{"1350672086":["hashtag1","hashtag2"]},{"1350672085":["hashtag1","hashtag2"]},{"1350672094":["hashtag1","hashtag2"]},{"1350672088":["hashtag1","hashtag2"]},{"1350672090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672087, 1350672086, 1350672085, 1350672094, 1350672088, 1350672090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.461506605148315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:31:42.780159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_35_10371.jpg', '/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_46_10431.jpg', '/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_55_9347.jpg', '/home/pi/Desktop/images/06042025/06/16/image_06042025_06_17_05_10365.jpg', '/home/pi/Desktop/images/06042025/06/17/image_06042025_06_17_25_10381.jpg', '/home/pi/Desktop/images/06042025/06/17/image_06042025_06_17_36_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_35_10371.jpg
/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_46_10431.jpg
/home/pi/Desktop/images/06042025/06/16/image_06042025_06_16_55_9347.jpg
/home/pi/Desktop/images/06042025/06/16/image_06042025_06_17_05_10365.jpg
/home/pi/Desktop/images/06042025/06/17/image_06042025_06_17_25_10381.jpg
/home/pi/Desktop/images/06042025/06/17/image_06042025_06_17_36_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":["1350672129","1350672120","1350672122","1350672131","1350672127","1350672124"],"photo_ids_order":["1350672120","1350672122","1350672124","1350672127","1350672129","1350672131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e4a0a136f1cc28a4719473a872b92b4.jpg","text":"TemporaryFile(/tmp/multipartBody8097850449164298355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151564696,"filename":"image_06042025_06_17_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/4/9/b3ea7be7e59535428830861b167ef9bc.jpg","text":"TemporaryFile(/tmp/multipartBody4195147081662684927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151564696,"filename":"image_06042025_06_16_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/4/9/f3a467091247631b7582145aec491281.jpg","text":"TemporaryFile(/tmp/multipartBody9131381512754475715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151564696,"filename":"image_06042025_06_16_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/4/9/31afd491fd5c4243be204100f087bc17.jpg","text":"TemporaryFile(/tmp/multipartBody4596681919448453593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151564696,"filename":"image_06042025_06_17_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d99678cf47cb4570d6c7eaebe79ae066.jpg","text":"TemporaryFile(/tmp/multipartBody3315358204811580931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151564696,"filename":"image_06042025_06_17_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/4/9/dbbebb48b84baeca3cf180a3b24ead1c.jpg","text":"TemporaryFile(/tmp/multipartBody4456089632932131633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151564696,"filename":"image_06042025_06_16_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672124","file1":"1350672122","file0":"1350672120","file4":"1350672129","file5":"1350672131","file3":"1350672127"},"map_files_photo_id_array":[{"photo_id":"1350672131","filename":"file5"},{"photo_id":"1350672124","filename":"file2"},{"photo_id":"1350672129","filename":"file4"},{"photo_id":"1350672122","filename":"file1"},{"photo_id":"1350672120","filename":"file0"},{"photo_id":"1350672127","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672129":["hashtag1","hashtag2"]},{"1350672120":["hashtag1","hashtag2"]},{"1350672122":["hashtag1","hashtag2"]},{"1350672131":["hashtag1","hashtag2"]},{"1350672127":["hashtag1","hashtag2"]},{"1350672124":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672129, 1350672120, 1350672122, 1350672131, 1350672127, 1350672124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.447815895080566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-09 00:32:43.035535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/17/image_06042025_06_17_45_9400.jpg', '/home/pi/Desktop/images/06042025/06/17/image_06042025_06_17_55_10405.jpg', '/home/pi/Desktop/images/06042025/06/17/image_06042025_06_18_05_9453.jpg', '/home/pi/Desktop/images/06042025/06/18/image_06042025_06_18_15_10361.jpg', '/home/pi/Desktop/images/06042025/06/18/image_06042025_06_18_26_10455.jpg', '/home/pi/Desktop/images/06042025/06/18/image_06042025_06_18_46_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/17/image_06042025_06_17_45_9400.jpg
/home/pi/Desktop/images/06042025/06/17/image_06042025_06_17_55_10405.jpg
/home/pi/Desktop/images/06042025/06/17/image_06042025_06_18_05_9453.jpg
/home/pi/Desktop/images/06042025/06/18/image_06042025_06_18_15_10361.jpg
/home/pi/Desktop/images/06042025/06/18/image_06042025_06_18_26_10455.jpg
/home/pi/Desktop/images/06042025/06/18/image_06042025_06_18_46_10431.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672168","1350672170","1350672164","1350672172","1350672157","1350672162"],"photo_ids_order":["1350672157","1350672162","1350672164","1350672168","1350672170","1350672172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37ac3b4f34da6d931884a77e26e7e73e.jpg","text":"TemporaryFile(/tmp/multipartBody1298788118635847680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151624930,"filename":"image_06042025_06_18_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/4/9/697337417286f3000ab9c5ecc4ae604a.jpg","text":"TemporaryFile(/tmp/multipartBody8697895294429486332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151624930,"filename":"image_06042025_06_18_26_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6448ca903462ef884387f20ae21eac1d.jpg","text":"TemporaryFile(/tmp/multipartBody2776769147959243683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151624930,"filename":"image_06042025_06_18_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/4/9/1064d2a6d0286d7fc3c4dc931f6800be.jpg","text":"TemporaryFile(/tmp/multipartBody8309221942941360172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151624930,"filename":"image_06042025_06_18_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/4/9/81a360d34ee01043a2a09a6040252049.jpg","text":"TemporaryFile(/tmp/multipartBody3660106743458452913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151624930,"filename":"image_06042025_06_17_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7ea86403a431a09aa5070804c18c4b0.jpg","text":"TemporaryFile(/tmp/multipartBody731238408764990447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151624930,"filename":"image_06042025_06_17_55_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672164","file1":"1350672162","file0":"1350672157","file4":"1350672170","file5":"1350672172","file3":"1350672168"},"map_files_photo_id_array":[{"photo_id":"1350672172","filename":"file5"},{"photo_id":"1350672164","filename":"file2"},{"photo_id":"1350672170","filename":"file4"},{"photo_id":"1350672162","filename":"file1"},{"photo_id":"1350672157","filename":"file0"},{"photo_id":"1350672168","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672168":["hashtag1","hashtag2"]},{"1350672170":["hashtag1","hashtag2"]},{"1350672164":["hashtag1","hashtag2"]},{"1350672172":["hashtag1","hashtag2"]},{"1350672157":["hashtag1","hashtag2"]},{"1350672162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672168, 1350672170, 1350672164, 1350672172, 1350672157, 1350672162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.621238231658936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:34:02.818727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/18/image_06042025_06_18_55_9468.jpg', '/home/pi/Desktop/images/06042025/06/18/image_06042025_06_19_05_10376.jpg', '/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_16_10353.jpg', '/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_25_9456.jpg', '/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_36_10344.jpg', '/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_45_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/18/image_06042025_06_18_55_9468.jpg
/home/pi/Desktop/images/06042025/06/18/image_06042025_06_19_05_10376.jpg
/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_16_10353.jpg
/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_25_9456.jpg
/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_36_10344.jpg
/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_45_9422.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672210","1350672213","1350672221","1350672227","1350672217","1350672205"],"photo_ids_order":["1350672205","1350672210","1350672213","1350672217","1350672221","1350672227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1760e7637bb67ffd782d7a776b8915ab.jpg","text":"TemporaryFile(/tmp/multipartBody2208247070031842106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151703912,"filename":"image_06042025_06_19_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64c7b570afffb882c484c9853c00cc59.jpg","text":"TemporaryFile(/tmp/multipartBody4714250470442417982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151703912,"filename":"image_06042025_06_19_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/4/9/1955e42e40ea62ee219c3df3ba73720b.jpg","text":"TemporaryFile(/tmp/multipartBody5334324084654197560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151703912,"filename":"image_06042025_06_19_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/4/9/e5ce0a4a4fca2a7475979eb72fb1d9f0.jpg","text":"TemporaryFile(/tmp/multipartBody836729316625926759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151703912,"filename":"image_06042025_06_19_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/902288d8717b277afd5c38518bba1bb7.jpg","text":"TemporaryFile(/tmp/multipartBody960030615516503366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151703912,"filename":"image_06042025_06_19_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da5d7a319f089a582eb2c57480ead3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4030714356801850326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151703912,"filename":"image_06042025_06_18_55_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672213","file1":"1350672210","file0":"1350672205","file4":"1350672221","file5":"1350672227","file3":"1350672217"},"map_files_photo_id_array":[{"photo_id":"1350672227","filename":"file5"},{"photo_id":"1350672213","filename":"file2"},{"photo_id":"1350672221","filename":"file4"},{"photo_id":"1350672210","filename":"file1"},{"photo_id":"1350672205","filename":"file0"},{"photo_id":"1350672217","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672210":["hashtag1","hashtag2"]},{"1350672213":["hashtag1","hashtag2"]},{"1350672221":["hashtag1","hashtag2"]},{"1350672227":["hashtag1","hashtag2"]},{"1350672217":["hashtag1","hashtag2"]},{"1350672205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672210, 1350672213, 1350672221, 1350672227, 1350672217, 1350672205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56691384315491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:35:04.282674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_55_10287.jpg', '/home/pi/Desktop/images/06042025/06/20/image_06042025_06_20_15_9351.jpg', '/home/pi/Desktop/images/06042025/06/20/image_06042025_06_20_25_10383.jpg', '/home/pi/Desktop/images/06042025/06/20/image_06042025_06_20_36_10397.jpg', '/home/pi/Desktop/images/06042025/06/20/image_06042025_06_20_45_9439.jpg', '/home/pi/Desktop/images/06042025/06/20/image_06042025_06_21_05_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/19/image_06042025_06_19_55_10287.jpg
/home/pi/Desktop/images/06042025/06/20/image_06042025_06_20_15_9351.jpg
/home/pi/Desktop/images/06042025/06/20/image_06042025_06_20_25_10383.jpg
/home/pi/Desktop/images/06042025/06/20/image_06042025_06_20_36_10397.jpg
/home/pi/Desktop/images/06042025/06/20/image_06042025_06_20_45_9439.jpg
/home/pi/Desktop/images/06042025/06/20/image_06042025_06_21_05_9427.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672267","1350672251","1350672260","1350672254","1350672263","1350672257"],"photo_ids_order":["1350672251","1350672254","1350672257","1350672260","1350672263","1350672267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0f7e6ce84374f1f13d8c305ea1234bf.jpg","text":"TemporaryFile(/tmp/multipartBody4844080747529703602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151765508,"filename":"image_06042025_06_21_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69a89953621561ae751b2d0ae1ce7d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4519666884669872682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151765508,"filename":"image_06042025_06_19_55_10287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4980d5e026d2712989c25aca7261c815.jpg","text":"TemporaryFile(/tmp/multipartBody5977690272460824620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151765508,"filename":"image_06042025_06_20_36_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8beccd91b31b4e32aa4eca22a7cf4b91.jpg","text":"TemporaryFile(/tmp/multipartBody6477455813583633408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151765508,"filename":"image_06042025_06_20_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1bf080e990de63d22e8515d29850d347.jpg","text":"TemporaryFile(/tmp/multipartBody7983181403017401806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151765508,"filename":"image_06042025_06_20_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/4/9/38f7699e52a3d7eb7fe7fcd909a15b62.jpg","text":"TemporaryFile(/tmp/multipartBody1241304774934876976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151765508,"filename":"image_06042025_06_20_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672257","file1":"1350672254","file0":"1350672251","file4":"1350672263","file5":"1350672267","file3":"1350672260"},"map_files_photo_id_array":[{"photo_id":"1350672267","filename":"file5"},{"photo_id":"1350672257","filename":"file2"},{"photo_id":"1350672263","filename":"file4"},{"photo_id":"1350672254","filename":"file1"},{"photo_id":"1350672251","filename":"file0"},{"photo_id":"1350672260","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672267":["hashtag1","hashtag2"]},{"1350672251":["hashtag1","hashtag2"]},{"1350672260":["hashtag1","hashtag2"]},{"1350672254":["hashtag1","hashtag2"]},{"1350672263":["hashtag1","hashtag2"]},{"1350672257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672267, 1350672251, 1350672260, 1350672254, 1350672263, 1350672257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.731617212295532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:36:03.048440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_15_10348.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_26_10375.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_35_9424.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_46_10409.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_55_9506.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_22_05_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_15_10348.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_26_10375.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_35_9424.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_46_10409.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_55_9506.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_22_05_10440.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0078916549682617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:37:04.258651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_15_10348.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_26_10375.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_35_9424.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_46_10409.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_55_9506.jpg', '/home/pi/Desktop/images/06042025/06/21/image_06042025_06_22_05_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_15_10348.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_26_10375.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_35_9424.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_46_10409.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_21_55_9506.jpg
/home/pi/Desktop/images/06042025/06/21/image_06042025_06_22_05_10440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672339","1350672335","1350672329","1350672344","1350672326","1350672331"],"photo_ids_order":["1350672326","1350672329","1350672331","1350672335","1350672339","1350672344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/471e9ccfc6e9d2c4f2b814c2b8a8c97e.jpg","text":"TemporaryFile(/tmp/multipartBody5834502973240244689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151885372,"filename":"image_06042025_06_21_55_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5cb91070e924115b0589b6b7ada33562.jpg","text":"TemporaryFile(/tmp/multipartBody7235836979853019789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151885372,"filename":"image_06042025_06_21_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/4/9/cc6c1fa534eb40c3f635f2c4c61a5d72.jpg","text":"TemporaryFile(/tmp/multipartBody3370928197039289792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151885372,"filename":"image_06042025_06_21_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/4/9/0b0149b40b5204b13534676a09c15d57.jpg","text":"TemporaryFile(/tmp/multipartBody7934208507435912041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151885372,"filename":"image_06042025_06_22_05_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f94d95da94c0e6993ea49a471f2de904.jpg","text":"TemporaryFile(/tmp/multipartBody1833469841361903153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151885372,"filename":"image_06042025_06_21_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df0c8fa1cc4aec0ed6a756ed4ed97e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3467090107739397588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151885372,"filename":"image_06042025_06_21_35_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672331","file1":"1350672329","file0":"1350672326","file4":"1350672339","file5":"1350672344","file3":"1350672335"},"map_files_photo_id_array":[{"photo_id":"1350672344","filename":"file5"},{"photo_id":"1350672331","filename":"file2"},{"photo_id":"1350672339","filename":"file4"},{"photo_id":"1350672329","filename":"file1"},{"photo_id":"1350672326","filename":"file0"},{"photo_id":"1350672335","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672339":["hashtag1","hashtag2"]},{"1350672335":["hashtag1","hashtag2"]},{"1350672329":["hashtag1","hashtag2"]},{"1350672344":["hashtag1","hashtag2"]},{"1350672326":["hashtag1","hashtag2"]},{"1350672331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672339, 1350672335, 1350672329, 1350672344, 1350672326, 1350672331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.47403645515442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:38:03.213391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_15_9490.jpg', '/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_25_10433.jpg', '/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_35_9428.jpg', '/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_45_10407.jpg', '/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_56_10405.jpg', '/home/pi/Desktop/images/06042025/06/22/image_06042025_06_23_05_9496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_15_9490.jpg
/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_25_10433.jpg
/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_35_9428.jpg
/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_45_10407.jpg
/home/pi/Desktop/images/06042025/06/22/image_06042025_06_22_56_10405.jpg
/home/pi/Desktop/images/06042025/06/22/image_06042025_06_23_05_9496.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672377","1350672365","1350672380","1350672385","1350672367","1350672372"],"photo_ids_order":["1350672365","1350672367","1350672372","1350672377","1350672380","1350672385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e44d07a76d00dfb6f68349f60cbea384.jpg","text":"TemporaryFile(/tmp/multipartBody2468099548336504366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151944291,"filename":"image_06042025_06_22_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/4/9/3868098e5cd29742a8682182510210bb.jpg","text":"TemporaryFile(/tmp/multipartBody5424369482906916560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151944291,"filename":"image_06042025_06_22_15_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2626693b5138ad0f30d2680360e56dca.jpg","text":"TemporaryFile(/tmp/multipartBody5166828154951534155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151944291,"filename":"image_06042025_06_22_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/4/9/0ec9469b5b5bbf91aeb4f3bb2e082c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3211212632340291649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151944291,"filename":"image_06042025_06_23_05_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f38a54f0a843df44ac1be079d0b9d934.jpg","text":"TemporaryFile(/tmp/multipartBody531321709093710618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151944291,"filename":"image_06042025_06_22_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48511953779f03ccad0dc2deee6a7690.jpg","text":"TemporaryFile(/tmp/multipartBody2860317002052260304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744151944291,"filename":"image_06042025_06_22_35_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672372","file1":"1350672367","file0":"1350672365","file4":"1350672380","file5":"1350672385","file3":"1350672377"},"map_files_photo_id_array":[{"photo_id":"1350672385","filename":"file5"},{"photo_id":"1350672372","filename":"file2"},{"photo_id":"1350672380","filename":"file4"},{"photo_id":"1350672367","filename":"file1"},{"photo_id":"1350672365","filename":"file0"},{"photo_id":"1350672377","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672377":["hashtag1","hashtag2"]},{"1350672365":["hashtag1","hashtag2"]},{"1350672380":["hashtag1","hashtag2"]},{"1350672385":["hashtag1","hashtag2"]},{"1350672367":["hashtag1","hashtag2"]},{"1350672372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672377, 1350672365, 1350672380, 1350672385, 1350672367, 1350672372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52989387512207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:39:03.440263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_16_10453.jpg', '/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_25_9450.jpg', '/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_35_10448.jpg', '/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_45_9480.jpg', '/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_55_10402.jpg', '/home/pi/Desktop/images/06042025/06/23/image_06042025_06_24_05_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_16_10453.jpg
/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_25_9450.jpg
/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_35_10448.jpg
/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_45_9480.jpg
/home/pi/Desktop/images/06042025/06/23/image_06042025_06_23_55_10402.jpg
/home/pi/Desktop/images/06042025/06/23/image_06042025_06_24_05_9462.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672411","1350672414","1350672408","1350672433","1350672427","1350672418"],"photo_ids_order":["1350672408","1350672411","1350672414","1350672418","1350672427","1350672433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5fc90dd523cbcc2d9908dab862fb2942.jpg","text":"TemporaryFile(/tmp/multipartBody2168580694821522263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152004633,"filename":"image_06042025_06_23_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/4/9/4c11f40c9710a34075b87ee44ccdfaeb.jpg","text":"TemporaryFile(/tmp/multipartBody3208039719559452724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152004633,"filename":"image_06042025_06_23_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4e84c6a94842572bdc5b7616d37eadc.jpg","text":"TemporaryFile(/tmp/multipartBody3434283541684091906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152004633,"filename":"image_06042025_06_23_16_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/667eabebc54c13d80ba57d82a2104312.jpg","text":"TemporaryFile(/tmp/multipartBody125805615728594143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152004633,"filename":"image_06042025_06_24_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6ec9eba83a83dee9ca66a969d2c037b.jpg","text":"TemporaryFile(/tmp/multipartBody6753381179106030416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152004633,"filename":"image_06042025_06_23_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8383ebe3f038d2bb859ac5d5d587008.jpg","text":"TemporaryFile(/tmp/multipartBody8642454762129026175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152004633,"filename":"image_06042025_06_23_45_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672414","file1":"1350672411","file0":"1350672408","file4":"1350672427","file5":"1350672433","file3":"1350672418"},"map_files_photo_id_array":[{"photo_id":"1350672433","filename":"file5"},{"photo_id":"1350672414","filename":"file2"},{"photo_id":"1350672427","filename":"file4"},{"photo_id":"1350672411","filename":"file1"},{"photo_id":"1350672408","filename":"file0"},{"photo_id":"1350672418","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672411":["hashtag1","hashtag2"]},{"1350672414":["hashtag1","hashtag2"]},{"1350672408":["hashtag1","hashtag2"]},{"1350672433":["hashtag1","hashtag2"]},{"1350672427":["hashtag1","hashtag2"]},{"1350672418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672411, 1350672414, 1350672408, 1350672433, 1350672427, 1350672418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09937000274658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:40:03.392645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_15_10436.jpg', '/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_26_10408.jpg', '/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_35_9439.jpg', '/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_45_10361.jpg', '/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_55_9389.jpg', '/home/pi/Desktop/images/06042025/06/24/image_06042025_06_25_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_15_10436.jpg
/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_26_10408.jpg
/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_35_9439.jpg
/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_45_10361.jpg
/home/pi/Desktop/images/06042025/06/24/image_06042025_06_24_55_9389.jpg
/home/pi/Desktop/images/06042025/06/24/image_06042025_06_25_05_10366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672473","1350672467","1350672446","1350672449","1350672460","1350672454"],"photo_ids_order":["1350672446","1350672449","1350672454","1350672460","1350672467","1350672473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/832ac07328e68ce2a9a94021535b4fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2547751460040852122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152064473,"filename":"image_06042025_06_25_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/4/9/a6a2382bfd1eb3a5af2e9cdc2b758323.jpg","text":"TemporaryFile(/tmp/multipartBody5335823790071976904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152064473,"filename":"image_06042025_06_24_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe91150fcc373c6794b7f60f82d2dd44.jpg","text":"TemporaryFile(/tmp/multipartBody563307256342212521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152064473,"filename":"image_06042025_06_24_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/4/9/4b4eb709424f3110afb629b2b5e14874.jpg","text":"TemporaryFile(/tmp/multipartBody4909174954559828944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152064473,"filename":"image_06042025_06_24_26_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/198d78dd857f91721fac11eb2635bcae.jpg","text":"TemporaryFile(/tmp/multipartBody2829941327674789406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152064473,"filename":"image_06042025_06_24_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/4/9/650bd2400376af806b183de59e78b79f.jpg","text":"TemporaryFile(/tmp/multipartBody6208976557768768257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152064473,"filename":"image_06042025_06_24_35_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672454","file1":"1350672449","file0":"1350672446","file4":"1350672467","file5":"1350672473","file3":"1350672460"},"map_files_photo_id_array":[{"photo_id":"1350672473","filename":"file5"},{"photo_id":"1350672454","filename":"file2"},{"photo_id":"1350672467","filename":"file4"},{"photo_id":"1350672449","filename":"file1"},{"photo_id":"1350672446","filename":"file0"},{"photo_id":"1350672460","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672473":["hashtag1","hashtag2"]},{"1350672467":["hashtag1","hashtag2"]},{"1350672446":["hashtag1","hashtag2"]},{"1350672449":["hashtag1","hashtag2"]},{"1350672460":["hashtag1","hashtag2"]},{"1350672454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672473, 1350672467, 1350672446, 1350672449, 1350672460, 1350672454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.47963261604309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:41:03.558709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_16_10404.jpg', '/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_25_9460.jpg', '/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_35_10353.jpg', '/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_45_9418.jpg', '/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_55_10379.jpg', '/home/pi/Desktop/images/06042025/06/25/image_06042025_06_26_06_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_16_10404.jpg
/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_25_9460.jpg
/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_35_10353.jpg
/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_45_9418.jpg
/home/pi/Desktop/images/06042025/06/25/image_06042025_06_25_55_10379.jpg
/home/pi/Desktop/images/06042025/06/25/image_06042025_06_26_06_10434.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672513","1350672499","1350672518","1350672503","1350672496","1350672508"],"photo_ids_order":["1350672496","1350672499","1350672503","1350672508","1350672513","1350672518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9369567249edc190141d32b05b42b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2828807871598075432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152124771,"filename":"image_06042025_06_25_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/4/9/dead9a5f6d241833f9e3033336bf1152.jpg","text":"TemporaryFile(/tmp/multipartBody5740248717561225341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152124771,"filename":"image_06042025_06_25_25_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8fa546ebe842f7f8c575fe2d19e6c3ac.jpg","text":"TemporaryFile(/tmp/multipartBody7962601621907334091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152124771,"filename":"image_06042025_06_26_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/4/9/af567fdc699eded3b736e2fba87eff76.jpg","text":"TemporaryFile(/tmp/multipartBody6307534105701541685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152124771,"filename":"image_06042025_06_25_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/4/9/faba5e5c21af15b7537c531bc5c43791.jpg","text":"TemporaryFile(/tmp/multipartBody382446896272156072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152124771,"filename":"image_06042025_06_25_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/4/9/2852046bb3bed31ba19f5cf6214dfef4.jpg","text":"TemporaryFile(/tmp/multipartBody2003520305986385905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152124771,"filename":"image_06042025_06_25_45_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672503","file1":"1350672499","file0":"1350672496","file4":"1350672513","file5":"1350672518","file3":"1350672508"},"map_files_photo_id_array":[{"photo_id":"1350672518","filename":"file5"},{"photo_id":"1350672503","filename":"file2"},{"photo_id":"1350672513","filename":"file4"},{"photo_id":"1350672499","filename":"file1"},{"photo_id":"1350672496","filename":"file0"},{"photo_id":"1350672508","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672513":["hashtag1","hashtag2"]},{"1350672499":["hashtag1","hashtag2"]},{"1350672518":["hashtag1","hashtag2"]},{"1350672503":["hashtag1","hashtag2"]},{"1350672496":["hashtag1","hashtag2"]},{"1350672508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672513, 1350672499, 1350672518, 1350672503, 1350672496, 1350672508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.26989459991455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:42:03.571401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/26/image_06042025_06_26_15_9408.jpg', '/home/pi/Desktop/images/06042025/06/26/image_06042025_06_26_25_10356.jpg', '/home/pi/Desktop/images/06042025/06/26/image_06042025_06_26_35_9413.jpg', '/home/pi/Desktop/images/06042025/06/26/image_06042025_06_26_45_10365.jpg', '/home/pi/Desktop/images/06042025/06/26/image_06042025_06_27_05_9445.jpg', '/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_16_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/26/image_06042025_06_26_15_9408.jpg
/home/pi/Desktop/images/06042025/06/26/image_06042025_06_26_25_10356.jpg
/home/pi/Desktop/images/06042025/06/26/image_06042025_06_26_35_9413.jpg
/home/pi/Desktop/images/06042025/06/26/image_06042025_06_26_45_10365.jpg
/home/pi/Desktop/images/06042025/06/26/image_06042025_06_27_05_9445.jpg
/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_16_10412.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672533","1350672536","1350672541","1350672544","1350672538","1350672547"],"photo_ids_order":["1350672533","1350672536","1350672538","1350672541","1350672544","1350672547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a8a73d252e1951a50a008532dced252e.jpg","text":"TemporaryFile(/tmp/multipartBody1341768923902819315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152184653,"filename":"image_06042025_06_26_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/4/9/196b98105b69fed60a98bb231d00360c.jpg","text":"TemporaryFile(/tmp/multipartBody2900236065931443733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152184653,"filename":"image_06042025_06_26_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1067ca250855b9c81e3b5801d93b88f2.jpg","text":"TemporaryFile(/tmp/multipartBody935032264710505221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152184653,"filename":"image_06042025_06_26_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/4/9/550529e40ef72639d50a112ba8c41f47.jpg","text":"TemporaryFile(/tmp/multipartBody1784247354791517373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152184653,"filename":"image_06042025_06_27_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/4/9/f647febbed1f46a66dec231f60e39e75.jpg","text":"TemporaryFile(/tmp/multipartBody6755603567794744962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152184653,"filename":"image_06042025_06_26_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/4/9/ef60eccd86f111b2f641ec1db21fc666.jpg","text":"TemporaryFile(/tmp/multipartBody3541316727513077542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152184653,"filename":"image_06042025_06_27_16_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672538","file1":"1350672536","file0":"1350672533","file4":"1350672544","file5":"1350672547","file3":"1350672541"},"map_files_photo_id_array":[{"photo_id":"1350672547","filename":"file5"},{"photo_id":"1350672538","filename":"file2"},{"photo_id":"1350672544","filename":"file4"},{"photo_id":"1350672536","filename":"file1"},{"photo_id":"1350672533","filename":"file0"},{"photo_id":"1350672541","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672533":["hashtag1","hashtag2"]},{"1350672536":["hashtag1","hashtag2"]},{"1350672541":["hashtag1","hashtag2"]},{"1350672544":["hashtag1","hashtag2"]},{"1350672538":["hashtag1","hashtag2"]},{"1350672547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672533, 1350672536, 1350672541, 1350672544, 1350672538, 1350672547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29616332054138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:43:03.643413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_25_9345.jpg', '/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_35_10378.jpg', '/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_46_10354.jpg', '/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_55_9434.jpg', '/home/pi/Desktop/images/06042025/06/27/image_06042025_06_28_05_10370.jpg', '/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_15_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_25_9345.jpg
/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_35_10378.jpg
/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_46_10354.jpg
/home/pi/Desktop/images/06042025/06/27/image_06042025_06_27_55_9434.jpg
/home/pi/Desktop/images/06042025/06/27/image_06042025_06_28_05_10370.jpg
/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_15_9411.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672581","1350672575","1350672578","1350672585","1350672573","1350672567"],"photo_ids_order":["1350672567","1350672573","1350672575","1350672578","1350672581","1350672585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/486a118967f251cf288f881a70fc8a37.jpg","text":"TemporaryFile(/tmp/multipartBody6536062357841654398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152244890,"filename":"image_06042025_06_28_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/4/9/d35dbf1c841fbc2a0a758ce0ea0c79b4.jpg","text":"TemporaryFile(/tmp/multipartBody2990598255712788822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152244890,"filename":"image_06042025_06_27_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/4/9/3641070b3c443d5496553d1ee1a510d6.jpg","text":"TemporaryFile(/tmp/multipartBody8359650545548655870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152244890,"filename":"image_06042025_06_27_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e3e864a65713dbae02c61f9ee8dfd77.jpg","text":"TemporaryFile(/tmp/multipartBody1714564058013336373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152244890,"filename":"image_06042025_06_28_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28b8228f699de00e9015fea9fd751e94.jpg","text":"TemporaryFile(/tmp/multipartBody3358241892123709328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152244890,"filename":"image_06042025_06_27_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/770fe5a536b4ce758bc83b1a796fa343.jpg","text":"TemporaryFile(/tmp/multipartBody3662641331556006762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152244890,"filename":"image_06042025_06_27_25_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672575","file1":"1350672573","file0":"1350672567","file4":"1350672581","file5":"1350672585","file3":"1350672578"},"map_files_photo_id_array":[{"photo_id":"1350672585","filename":"file5"},{"photo_id":"1350672575","filename":"file2"},{"photo_id":"1350672581","filename":"file4"},{"photo_id":"1350672573","filename":"file1"},{"photo_id":"1350672567","filename":"file0"},{"photo_id":"1350672578","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672581":["hashtag1","hashtag2"]},{"1350672575":["hashtag1","hashtag2"]},{"1350672578":["hashtag1","hashtag2"]},{"1350672585":["hashtag1","hashtag2"]},{"1350672573":["hashtag1","hashtag2"]},{"1350672567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672581, 1350672575, 1350672578, 1350672585, 1350672573, 1350672567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.713377714157104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:44:02.795077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_25_10390.jpg', '/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_36_10376.jpg', '/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_45_9436.jpg', '/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_55_10365.jpg', '/home/pi/Desktop/images/06042025/06/28/image_06042025_06_29_05_9453.jpg', '/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_15_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_25_10390.jpg
/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_36_10376.jpg
/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_45_9436.jpg
/home/pi/Desktop/images/06042025/06/28/image_06042025_06_28_55_10365.jpg
/home/pi/Desktop/images/06042025/06/28/image_06042025_06_29_05_9453.jpg
/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_15_10390.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672609","1350672603","1350672598","1350672623","1350672616","1350672619"],"photo_ids_order":["1350672598","1350672603","1350672609","1350672616","1350672619","1350672623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09149275c1cc27b754da15f50b93bace.jpg","text":"TemporaryFile(/tmp/multipartBody3759300873645937875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152306183,"filename":"image_06042025_06_28_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/4/9/f2c30469f684e5f257d3dce984bfac61.jpg","text":"TemporaryFile(/tmp/multipartBody1666280970754025048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152306183,"filename":"image_06042025_06_28_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8bf38536afb736513e91cb0e3db2dd9c.jpg","text":"TemporaryFile(/tmp/multipartBody6689695087090911154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152306183,"filename":"image_06042025_06_28_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a343150ea760e16b2ac1f3d66231a1e.jpg","text":"TemporaryFile(/tmp/multipartBody35595230167270234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152306183,"filename":"image_06042025_06_29_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b263f9f7d3a5bf4b708fcb1f6670239.jpg","text":"TemporaryFile(/tmp/multipartBody3392401135977035336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152306183,"filename":"image_06042025_06_28_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/4/9/8607d1c174ded3f749a7883edaa0401b.jpg","text":"TemporaryFile(/tmp/multipartBody2200251238649111556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152306183,"filename":"image_06042025_06_29_05_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672609","file1":"1350672603","file0":"1350672598","file4":"1350672619","file5":"1350672623","file3":"1350672616"},"map_files_photo_id_array":[{"photo_id":"1350672623","filename":"file5"},{"photo_id":"1350672609","filename":"file2"},{"photo_id":"1350672619","filename":"file4"},{"photo_id":"1350672603","filename":"file1"},{"photo_id":"1350672598","filename":"file0"},{"photo_id":"1350672616","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672609":["hashtag1","hashtag2"]},{"1350672603":["hashtag1","hashtag2"]},{"1350672598":["hashtag1","hashtag2"]},{"1350672623":["hashtag1","hashtag2"]},{"1350672616":["hashtag1","hashtag2"]},{"1350672619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672609, 1350672603, 1350672598, 1350672623, 1350672616, 1350672619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.020190715789795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:45:03.692497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_26_10368.jpg', '/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_35_9461.jpg', '/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_45_10375.jpg', '/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_55_9425.jpg', '/home/pi/Desktop/images/06042025/06/29/image_06042025_06_30_05_10368.jpg', '/home/pi/Desktop/images/06042025/06/30/image_06042025_06_30_16_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_26_10368.jpg
/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_35_9461.jpg
/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_45_10375.jpg
/home/pi/Desktop/images/06042025/06/29/image_06042025_06_29_55_9425.jpg
/home/pi/Desktop/images/06042025/06/29/image_06042025_06_30_05_10368.jpg
/home/pi/Desktop/images/06042025/06/30/image_06042025_06_30_16_10394.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672642","1350672636","1350672644","1350672647","1350672649","1350672651"],"photo_ids_order":["1350672636","1350672642","1350672644","1350672647","1350672649","1350672651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0444a8d73f6af2d57d63b48a0d738cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3982762700896163382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152364921,"filename":"image_06042025_06_29_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4205cc620af2ecd24c0490cf4e436eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8627292851552325878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152364921,"filename":"image_06042025_06_29_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/4/9/772de01ed5e67385e0b706ca91cd9c11.jpg","text":"TemporaryFile(/tmp/multipartBody3846414148131391855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152364921,"filename":"image_06042025_06_29_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e417fca47f7d8067dc0b4e682e532f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2422904133790851242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152364921,"filename":"image_06042025_06_29_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/4/9/e796a8e7c1db4bdcf7f047195b3fa321.jpg","text":"TemporaryFile(/tmp/multipartBody5531622204783923218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152364921,"filename":"image_06042025_06_30_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/4/9/cd86ae4d7e68d2c69ffb4e5f38efb0a1.jpg","text":"TemporaryFile(/tmp/multipartBody6426240525845798163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152364921,"filename":"image_06042025_06_30_16_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672644","file1":"1350672642","file0":"1350672636","file4":"1350672649","file5":"1350672651","file3":"1350672647"},"map_files_photo_id_array":[{"photo_id":"1350672651","filename":"file5"},{"photo_id":"1350672644","filename":"file2"},{"photo_id":"1350672649","filename":"file4"},{"photo_id":"1350672642","filename":"file1"},{"photo_id":"1350672636","filename":"file0"},{"photo_id":"1350672647","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672642":["hashtag1","hashtag2"]},{"1350672636":["hashtag1","hashtag2"]},{"1350672644":["hashtag1","hashtag2"]},{"1350672647":["hashtag1","hashtag2"]},{"1350672649":["hashtag1","hashtag2"]},{"1350672651":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672642, 1350672636, 1350672644, 1350672647, 1350672649, 1350672651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.850104093551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:46:03.466541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/30/image_06042025_06_30_25_9421.jpg', '/home/pi/Desktop/images/06042025/06/30/image_06042025_06_30_35_10380.jpg', '/home/pi/Desktop/images/06042025/06/30/image_06042025_06_30_45_9470.jpg', '/home/pi/Desktop/images/06042025/06/30/image_06042025_06_31_06_10499.jpg', '/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_15_9413.jpg', '/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_26_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/30/image_06042025_06_30_25_9421.jpg
/home/pi/Desktop/images/06042025/06/30/image_06042025_06_30_35_10380.jpg
/home/pi/Desktop/images/06042025/06/30/image_06042025_06_30_45_9470.jpg
/home/pi/Desktop/images/06042025/06/30/image_06042025_06_31_06_10499.jpg
/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_15_9413.jpg
/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_26_10397.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672669","1350672674","1350672662","1350672671","1350672665","1350672667"],"photo_ids_order":["1350672662","1350672665","1350672667","1350672669","1350672671","1350672674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/43b5ce85fa0dc5edd97665cfc6442fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6740442471713398800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152424566,"filename":"image_06042025_06_31_06_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d3606a4fda4d6fc7a3988b15c09c44b.jpg","text":"TemporaryFile(/tmp/multipartBody4232080404142579052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152424566,"filename":"image_06042025_06_31_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/be684167e869b029a899988cbeb731d3.jpg","text":"TemporaryFile(/tmp/multipartBody2284281000086194893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152424566,"filename":"image_06042025_06_30_25_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/402bb083dbccfd5e898e9a7a1b85ab5c.jpg","text":"TemporaryFile(/tmp/multipartBody7268756765980597883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152424566,"filename":"image_06042025_06_31_15_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf77e9f3d47a3e595c090d1e6678eb7c.jpg","text":"TemporaryFile(/tmp/multipartBody1833148935715134162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152424566,"filename":"image_06042025_06_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/4/9/e6432c75d265d49fd3b42819ba78bb46.jpg","text":"TemporaryFile(/tmp/multipartBody4874006176963459800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152424566,"filename":"image_06042025_06_30_45_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672667","file1":"1350672665","file0":"1350672662","file4":"1350672671","file5":"1350672674","file3":"1350672669"},"map_files_photo_id_array":[{"photo_id":"1350672674","filename":"file5"},{"photo_id":"1350672667","filename":"file2"},{"photo_id":"1350672671","filename":"file4"},{"photo_id":"1350672665","filename":"file1"},{"photo_id":"1350672662","filename":"file0"},{"photo_id":"1350672669","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672669":["hashtag1","hashtag2"]},{"1350672674":["hashtag1","hashtag2"]},{"1350672662":["hashtag1","hashtag2"]},{"1350672671":["hashtag1","hashtag2"]},{"1350672665":["hashtag1","hashtag2"]},{"1350672667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672669, 1350672674, 1350672662, 1350672671, 1350672665, 1350672667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03479194641113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:47:03.825049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_35_9412.jpg', '/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_45_10382.jpg', '/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_55_9500.jpg', '/home/pi/Desktop/images/06042025/06/31/image_06042025_06_32_05_10356.jpg', '/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_16_10368.jpg', '/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_25_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_35_9412.jpg
/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_45_10382.jpg
/home/pi/Desktop/images/06042025/06/31/image_06042025_06_31_55_9500.jpg
/home/pi/Desktop/images/06042025/06/31/image_06042025_06_32_05_10356.jpg
/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_16_10368.jpg
/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_25_9441.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672689","1350672698","1350672691","1350672694","1350672696","1350672687"],"photo_ids_order":["1350672687","1350672689","1350672691","1350672694","1350672696","1350672698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/296da080b53afd2f4b7aaa461c17a2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6948254472539440365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152485013,"filename":"image_06042025_06_31_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b2563aac0ca7259b287639ad848f4b28.jpg","text":"TemporaryFile(/tmp/multipartBody5068390884326429584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152485013,"filename":"image_06042025_06_32_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/4/9/3ea76a799d1a8ce66b2b0e5efac1b81c.jpg","text":"TemporaryFile(/tmp/multipartBody1836173693064977590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152485013,"filename":"image_06042025_06_31_55_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d943281699b88c8b5c1dd46a2476367.jpg","text":"TemporaryFile(/tmp/multipartBody2854952764027508122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152485013,"filename":"image_06042025_06_32_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/4/9/9899440c9bd4b66441ccf02f89274262.jpg","text":"TemporaryFile(/tmp/multipartBody8800359746239692182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152485013,"filename":"image_06042025_06_32_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/4/9/392c4daa31187f691a6a0f78bc231b3e.jpg","text":"TemporaryFile(/tmp/multipartBody3967624658567021920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152485013,"filename":"image_06042025_06_31_35_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672691","file1":"1350672689","file0":"1350672687","file4":"1350672696","file5":"1350672698","file3":"1350672694"},"map_files_photo_id_array":[{"photo_id":"1350672698","filename":"file5"},{"photo_id":"1350672691","filename":"file2"},{"photo_id":"1350672696","filename":"file4"},{"photo_id":"1350672689","filename":"file1"},{"photo_id":"1350672687","filename":"file0"},{"photo_id":"1350672694","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672689":["hashtag1","hashtag2"]},{"1350672698":["hashtag1","hashtag2"]},{"1350672691":["hashtag1","hashtag2"]},{"1350672694":["hashtag1","hashtag2"]},{"1350672696":["hashtag1","hashtag2"]},{"1350672687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672689, 1350672698, 1350672691, 1350672694, 1350672696, 1350672687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.283122301101685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:48:02.676635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_35_10361.jpg', '/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_45_9480.jpg', '/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_55_10384.jpg', '/home/pi/Desktop/images/06042025/06/32/image_06042025_06_33_06_10386.jpg', '/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_15_9421.jpg', '/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_35_10361.jpg
/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_45_9480.jpg
/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_55_10384.jpg
/home/pi/Desktop/images/06042025/06/32/image_06042025_06_33_06_10386.jpg
/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_15_9421.jpg
/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_25_10369.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672720","1350672702","1350672716","1350672704","1350672712","1350672709"],"photo_ids_order":["1350672702","1350672704","1350672709","1350672712","1350672716","1350672720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d05777c51bd98f65cae8613c86a1ea9.jpg","text":"TemporaryFile(/tmp/multipartBody416069040262160056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152543773,"filename":"image_06042025_06_33_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/4/9/e88d1a3711a1af5b12897335b26df762.jpg","text":"TemporaryFile(/tmp/multipartBody2469228133975500668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152543773,"filename":"image_06042025_06_32_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae2ad3e6538acf0c14b6d312d3ec2f05.jpg","text":"TemporaryFile(/tmp/multipartBody5289969898355315431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152543773,"filename":"image_06042025_06_33_15_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/781209748b4119d6bc62dc5ef85c3c63.jpg","text":"TemporaryFile(/tmp/multipartBody1642329221817604187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152543773,"filename":"image_06042025_06_32_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/4/9/745200a2b72fcc4ef17b18ba07a14dbb.jpg","text":"TemporaryFile(/tmp/multipartBody2670688488244576944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152543773,"filename":"image_06042025_06_33_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/4/9/60b636510f21b2fe388116c3698fe490.jpg","text":"TemporaryFile(/tmp/multipartBody1095882726327944082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152543773,"filename":"image_06042025_06_32_55_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672709","file1":"1350672704","file0":"1350672702","file4":"1350672716","file5":"1350672720","file3":"1350672712"},"map_files_photo_id_array":[{"photo_id":"1350672720","filename":"file5"},{"photo_id":"1350672709","filename":"file2"},{"photo_id":"1350672716","filename":"file4"},{"photo_id":"1350672704","filename":"file1"},{"photo_id":"1350672702","filename":"file0"},{"photo_id":"1350672712","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672720":["hashtag1","hashtag2"]},{"1350672702":["hashtag1","hashtag2"]},{"1350672716":["hashtag1","hashtag2"]},{"1350672704":["hashtag1","hashtag2"]},{"1350672712":["hashtag1","hashtag2"]},{"1350672709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672720, 1350672702, 1350672716, 1350672704, 1350672712, 1350672709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54653787612915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:49:04.000503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_35_9383.jpg', '/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_45_10387.jpg', '/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_56_10384.jpg', '/home/pi/Desktop/images/06042025/06/33/image_06042025_06_34_05_9340.jpg', '/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_15_10377.jpg', '/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_26_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_35_9383.jpg
/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_45_10387.jpg
/home/pi/Desktop/images/06042025/06/33/image_06042025_06_33_56_10384.jpg
/home/pi/Desktop/images/06042025/06/33/image_06042025_06_34_05_9340.jpg
/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_15_10377.jpg
/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_26_10369.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672747","1350672733","1350672742","1350672736","1350672730","1350672727"],"photo_ids_order":["1350672727","1350672730","1350672733","1350672736","1350672742","1350672747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aae5f47127b22fb3d95bd2f4f10e5002.jpg","text":"TemporaryFile(/tmp/multipartBody8771209374696500000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152605219,"filename":"image_06042025_06_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/4/9/af073937b0d8613538e4e81f36f691e5.jpg","text":"TemporaryFile(/tmp/multipartBody1494980220365937265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152605219,"filename":"image_06042025_06_33_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/17a0202c114082a112b84b9bb27a71b4.jpg","text":"TemporaryFile(/tmp/multipartBody4366270234289257930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152605219,"filename":"image_06042025_06_34_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf6a5d691969de3d023d5fcbadffe633.jpg","text":"TemporaryFile(/tmp/multipartBody7744691345332400340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152605219,"filename":"image_06042025_06_34_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1d2519f7a88509c9976b0d0d2031ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3630613196907135393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152605219,"filename":"image_06042025_06_33_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/90f5267438a3508f07eabf68bfdf3051.jpg","text":"TemporaryFile(/tmp/multipartBody2680209390056972951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152605219,"filename":"image_06042025_06_33_35_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672733","file1":"1350672730","file0":"1350672727","file4":"1350672742","file5":"1350672747","file3":"1350672736"},"map_files_photo_id_array":[{"photo_id":"1350672747","filename":"file5"},{"photo_id":"1350672733","filename":"file2"},{"photo_id":"1350672742","filename":"file4"},{"photo_id":"1350672730","filename":"file1"},{"photo_id":"1350672727","filename":"file0"},{"photo_id":"1350672736","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672747":["hashtag1","hashtag2"]},{"1350672733":["hashtag1","hashtag2"]},{"1350672742":["hashtag1","hashtag2"]},{"1350672736":["hashtag1","hashtag2"]},{"1350672730":["hashtag1","hashtag2"]},{"1350672727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672747, 1350672733, 1350672742, 1350672736, 1350672730, 1350672727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69844150543213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:50:02.847768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_45_10393.jpg', '/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_55_9394.jpg', '/home/pi/Desktop/images/06042025/06/34/image_06042025_06_35_05_10355.jpg', '/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_16_10343.jpg', '/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_25_9434.jpg', '/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_35_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_45_10393.jpg
/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_55_9394.jpg
/home/pi/Desktop/images/06042025/06/34/image_06042025_06_35_05_10355.jpg
/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_16_10343.jpg
/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_25_9434.jpg
/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_35_10445.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672753","1350672756","1350672761","1350672758","1350672760","1350672765"],"photo_ids_order":["1350672753","1350672756","1350672758","1350672760","1350672761","1350672765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51b300ba4f0f6feaf68cf93673cb8300.jpg","text":"TemporaryFile(/tmp/multipartBody7449493961491214645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152663953,"filename":"image_06042025_06_34_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/4/9/ad747e79c27e517f38dd07f96e6a313e.jpg","text":"TemporaryFile(/tmp/multipartBody2496410218815214918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152663953,"filename":"image_06042025_06_34_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/4/9/81602397e755b893fa6411db0e7bfd6f.jpg","text":"TemporaryFile(/tmp/multipartBody4114362731180313888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152663953,"filename":"image_06042025_06_35_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc8972df55b7a84334b28c5be2855645.jpg","text":"TemporaryFile(/tmp/multipartBody2510140319157899975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152663953,"filename":"image_06042025_06_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/4/9/aea19c466a520536455c0e3b425796b4.jpg","text":"TemporaryFile(/tmp/multipartBody7176095053824198783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152663953,"filename":"image_06042025_06_35_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/4/9/e08d904c9fbb16e28ea7fe26f1e1b431.jpg","text":"TemporaryFile(/tmp/multipartBody6020843518198533613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152663953,"filename":"image_06042025_06_35_35_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672758","file1":"1350672756","file0":"1350672753","file4":"1350672761","file5":"1350672765","file3":"1350672760"},"map_files_photo_id_array":[{"photo_id":"1350672765","filename":"file5"},{"photo_id":"1350672758","filename":"file2"},{"photo_id":"1350672761","filename":"file4"},{"photo_id":"1350672756","filename":"file1"},{"photo_id":"1350672753","filename":"file0"},{"photo_id":"1350672760","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672753":["hashtag1","hashtag2"]},{"1350672756":["hashtag1","hashtag2"]},{"1350672761":["hashtag1","hashtag2"]},{"1350672758":["hashtag1","hashtag2"]},{"1350672760":["hashtag1","hashtag2"]},{"1350672765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672753, 1350672756, 1350672761, 1350672758, 1350672760, 1350672765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.809667348861694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:51:04.141283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_45_9458.jpg', '/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_55_10350.jpg', '/home/pi/Desktop/images/06042025/06/35/image_06042025_06_36_06_10364.jpg', '/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_15_9412.jpg', '/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_25_10405.jpg', '/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_35_9501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_45_9458.jpg
/home/pi/Desktop/images/06042025/06/35/image_06042025_06_35_55_10350.jpg
/home/pi/Desktop/images/06042025/06/35/image_06042025_06_36_06_10364.jpg
/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_15_9412.jpg
/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_25_10405.jpg
/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_35_9501.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672785","1350672794","1350672797","1350672782","1350672790","1350672778"],"photo_ids_order":["1350672778","1350672782","1350672785","1350672790","1350672794","1350672797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49a4b6cfee90022bf4c48a7806cd589f.jpg","text":"TemporaryFile(/tmp/multipartBody5908233319398140172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152725444,"filename":"image_06042025_06_36_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/4/9/410b5895ee5cbf7e8f5e7e9a59809d98.jpg","text":"TemporaryFile(/tmp/multipartBody416752827881542409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152725444,"filename":"image_06042025_06_36_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7159368aac163135cc84aae44f722867.jpg","text":"TemporaryFile(/tmp/multipartBody210012589673873105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152725444,"filename":"image_06042025_06_36_35_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/25a82c3637f01c66b7dff42c27cfad04.jpg","text":"TemporaryFile(/tmp/multipartBody1581212340994548379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152725444,"filename":"image_06042025_06_35_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/4/9/4be89585a2d5d8d9f2bfef58baf614cc.jpg","text":"TemporaryFile(/tmp/multipartBody9185620639890088103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152725444,"filename":"image_06042025_06_36_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52b279ba7dfa8d34417944e4c61b088c.jpg","text":"TemporaryFile(/tmp/multipartBody7386374927565427290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152725444,"filename":"image_06042025_06_35_45_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672785","file1":"1350672782","file0":"1350672778","file4":"1350672794","file5":"1350672797","file3":"1350672790"},"map_files_photo_id_array":[{"photo_id":"1350672797","filename":"file5"},{"photo_id":"1350672785","filename":"file2"},{"photo_id":"1350672794","filename":"file4"},{"photo_id":"1350672782","filename":"file1"},{"photo_id":"1350672778","filename":"file0"},{"photo_id":"1350672790","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672785":["hashtag1","hashtag2"]},{"1350672794":["hashtag1","hashtag2"]},{"1350672797":["hashtag1","hashtag2"]},{"1350672782":["hashtag1","hashtag2"]},{"1350672790":["hashtag1","hashtag2"]},{"1350672778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672785, 1350672794, 1350672797, 1350672782, 1350672790, 1350672778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.097211122512817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:52:03.237060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_45_10357.jpg', '/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_55_9534.jpg', '/home/pi/Desktop/images/06042025/06/36/image_06042025_06_37_05_10362.jpg', '/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_16_10343.jpg', '/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_25_9383.jpg', '/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_35_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_45_10357.jpg
/home/pi/Desktop/images/06042025/06/36/image_06042025_06_36_55_9534.jpg
/home/pi/Desktop/images/06042025/06/36/image_06042025_06_37_05_10362.jpg
/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_16_10343.jpg
/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_25_9383.jpg
/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_35_10430.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672816","1350672824","1350672812","1350672806","1350672809","1350672820"],"photo_ids_order":["1350672806","1350672809","1350672812","1350672816","1350672820","1350672824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/016647adfdde1e8e28a076ec26f803cb.jpg","text":"TemporaryFile(/tmp/multipartBody3418443959967901135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152784319,"filename":"image_06042025_06_37_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/4/9/5b6a789ed086f68c984ec2ca372f27c7.jpg","text":"TemporaryFile(/tmp/multipartBody7436424007471435891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152784319,"filename":"image_06042025_06_37_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/4/9/6b937134d560c62cc669fe2dc561df41.jpg","text":"TemporaryFile(/tmp/multipartBody5964181697091606387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152784319,"filename":"image_06042025_06_37_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/4/9/8e585ecb5ce8b5949ac560b9c0468ace.jpg","text":"TemporaryFile(/tmp/multipartBody1154951555957807594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152784319,"filename":"image_06042025_06_36_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d599286e9a0650e427276e1b7d799c2.jpg","text":"TemporaryFile(/tmp/multipartBody6312035888355415306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152784319,"filename":"image_06042025_06_36_55_9534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf2d755d021eccaef4ef8456c05f7212.jpg","text":"TemporaryFile(/tmp/multipartBody7479880738127270157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152784319,"filename":"image_06042025_06_37_25_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672812","file1":"1350672809","file0":"1350672806","file4":"1350672820","file5":"1350672824","file3":"1350672816"},"map_files_photo_id_array":[{"photo_id":"1350672824","filename":"file5"},{"photo_id":"1350672812","filename":"file2"},{"photo_id":"1350672820","filename":"file4"},{"photo_id":"1350672809","filename":"file1"},{"photo_id":"1350672806","filename":"file0"},{"photo_id":"1350672816","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672816":["hashtag1","hashtag2"]},{"1350672824":["hashtag1","hashtag2"]},{"1350672812":["hashtag1","hashtag2"]},{"1350672806":["hashtag1","hashtag2"]},{"1350672809":["hashtag1","hashtag2"]},{"1350672820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672816, 1350672824, 1350672812, 1350672806, 1350672809, 1350672820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.349631547927856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:53:03.514818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_45_9477.jpg', '/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_55_10413.jpg', '/home/pi/Desktop/images/06042025/06/37/image_06042025_06_38_06_10361.jpg', '/home/pi/Desktop/images/06042025/06/38/image_06042025_06_38_15_9363.jpg', '/home/pi/Desktop/images/06042025/06/38/image_06042025_06_38_25_10367.jpg', '/home/pi/Desktop/images/06042025/06/38/image_06042025_06_38_45_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_45_9477.jpg
/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_55_10413.jpg
/home/pi/Desktop/images/06042025/06/37/image_06042025_06_38_06_10361.jpg
/home/pi/Desktop/images/06042025/06/38/image_06042025_06_38_15_9363.jpg
/home/pi/Desktop/images/06042025/06/38/image_06042025_06_38_25_10367.jpg
/home/pi/Desktop/images/06042025/06/38/image_06042025_06_38_45_9367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672846","1350672849","1350672854","1350672836","1350672841","1350672843"],"photo_ids_order":["1350672836","1350672841","1350672843","1350672846","1350672849","1350672854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5367efe18a529bc5ef4bd1a02b6414ef.jpg","text":"TemporaryFile(/tmp/multipartBody959539025533419838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152844727,"filename":"image_06042025_06_38_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/817810ddc30bc1f6f5b29901fd3938a3.jpg","text":"TemporaryFile(/tmp/multipartBody5884004002281866300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152844727,"filename":"image_06042025_06_38_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/246cdb929cf567963191d8cb0b2c1a61.jpg","text":"TemporaryFile(/tmp/multipartBody8754996871878209949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152844727,"filename":"image_06042025_06_38_45_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bb3665c75be0965cb830e33e1da2f8c0.jpg","text":"TemporaryFile(/tmp/multipartBody8326094526200543945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152844727,"filename":"image_06042025_06_37_45_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59e60f2515da567a5b6690dd6d40fc6d.jpg","text":"TemporaryFile(/tmp/multipartBody6398959194419679934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152844727,"filename":"image_06042025_06_37_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1e0781372e5eff0e748a04b186825bf.jpg","text":"TemporaryFile(/tmp/multipartBody2800060602538234730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152844727,"filename":"image_06042025_06_38_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672843","file1":"1350672841","file0":"1350672836","file4":"1350672849","file5":"1350672854","file3":"1350672846"},"map_files_photo_id_array":[{"photo_id":"1350672854","filename":"file5"},{"photo_id":"1350672843","filename":"file2"},{"photo_id":"1350672849","filename":"file4"},{"photo_id":"1350672841","filename":"file1"},{"photo_id":"1350672836","filename":"file0"},{"photo_id":"1350672846","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672846":["hashtag1","hashtag2"]},{"1350672849":["hashtag1","hashtag2"]},{"1350672854":["hashtag1","hashtag2"]},{"1350672836":["hashtag1","hashtag2"]},{"1350672841":["hashtag1","hashtag2"]},{"1350672843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672846, 1350672849, 1350672854, 1350672836, 1350672841, 1350672843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.786678314208984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:54:03.470943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/38/image_06042025_06_38_56_10368.jpg', '/home/pi/Desktop/images/06042025/06/39/image_06042025_06_39_26_10474.jpg', '/home/pi/Desktop/images/06042025/06/39/image_06042025_06_39_35_9370.jpg', '/home/pi/Desktop/images/06042025/06/39/image_06042025_06_40_05_10380.jpg', '/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_16_10371.jpg', '/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_25_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/38/image_06042025_06_38_56_10368.jpg
/home/pi/Desktop/images/06042025/06/39/image_06042025_06_39_26_10474.jpg
/home/pi/Desktop/images/06042025/06/39/image_06042025_06_39_35_9370.jpg
/home/pi/Desktop/images/06042025/06/39/image_06042025_06_40_05_10380.jpg
/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_16_10371.jpg
/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_25_9371.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672873","1350672881","1350672877","1350672871","1350672868","1350672882"],"photo_ids_order":["1350672868","1350672871","1350672873","1350672877","1350672881","1350672882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cc0c4c3e4b1c6a27a3aa3efe23ebcba.jpg","text":"TemporaryFile(/tmp/multipartBody7111563547783988299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152906441,"filename":"image_06042025_06_39_35_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf19e0977edfb11b360799a940ddca67.jpg","text":"TemporaryFile(/tmp/multipartBody8736936978084865848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152906441,"filename":"image_06042025_06_40_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28ae6859da9d9ae88b0c306c66b4cc33.jpg","text":"TemporaryFile(/tmp/multipartBody8079102926139179092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152906441,"filename":"image_06042025_06_40_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d30ff32cc06b1ec4e00df2df2dfaf310.jpg","text":"TemporaryFile(/tmp/multipartBody5379842266896547535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152906441,"filename":"image_06042025_06_39_26_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e2391a6fdfe64f79479d1e8ea582e883.jpg","text":"TemporaryFile(/tmp/multipartBody7259650383356366257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152906441,"filename":"image_06042025_06_38_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8fcad0132444c24e684eacf0c389e978.jpg","text":"TemporaryFile(/tmp/multipartBody8597367729296992537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152906441,"filename":"image_06042025_06_40_25_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672873","file1":"1350672871","file0":"1350672868","file4":"1350672881","file5":"1350672882","file3":"1350672877"},"map_files_photo_id_array":[{"photo_id":"1350672882","filename":"file5"},{"photo_id":"1350672873","filename":"file2"},{"photo_id":"1350672881","filename":"file4"},{"photo_id":"1350672871","filename":"file1"},{"photo_id":"1350672868","filename":"file0"},{"photo_id":"1350672877","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672873":["hashtag1","hashtag2"]},{"1350672881":["hashtag1","hashtag2"]},{"1350672877":["hashtag1","hashtag2"]},{"1350672871":["hashtag1","hashtag2"]},{"1350672868":["hashtag1","hashtag2"]},{"1350672882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672873, 1350672881, 1350672877, 1350672871, 1350672868, 1350672882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26525068283081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:55:03.678937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_35_10370.jpg', '/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_45_9449.jpg', '/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_55_10395.jpg', '/home/pi/Desktop/images/06042025/06/40/image_06042025_06_41_06_10364.jpg', '/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_15_9345.jpg', '/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_25_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_35_10370.jpg
/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_45_9449.jpg
/home/pi/Desktop/images/06042025/06/40/image_06042025_06_40_55_10395.jpg
/home/pi/Desktop/images/06042025/06/40/image_06042025_06_41_06_10364.jpg
/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_15_9345.jpg
/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_25_10455.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672906","1350672909","1350672899","1350672903","1350672901","1350672897"],"photo_ids_order":["1350672897","1350672899","1350672901","1350672903","1350672906","1350672909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0e1b7829030076e76a2a821091e64cd.jpg","text":"TemporaryFile(/tmp/multipartBody1120480976611608619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152965013,"filename":"image_06042025_06_41_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/4/9/3417360174af5631ba406ccaad253e38.jpg","text":"TemporaryFile(/tmp/multipartBody2520301097831863488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152965013,"filename":"image_06042025_06_41_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/4/9/e81bf32b67a6cfb0e11c4931043d24d5.jpg","text":"TemporaryFile(/tmp/multipartBody4277646829898506745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152965013,"filename":"image_06042025_06_40_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/4/9/0f153592625d2ada80d9843e5d5bc36a.jpg","text":"TemporaryFile(/tmp/multipartBody2853513229563492295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152965013,"filename":"image_06042025_06_41_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/4/9/abb0f554e3c8a38ee373ec4988bbda90.jpg","text":"TemporaryFile(/tmp/multipartBody2913111614572520711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152965013,"filename":"image_06042025_06_40_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aadaac8406ff1011ae0a6a3575a00500.jpg","text":"TemporaryFile(/tmp/multipartBody9133099683620613655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744152965013,"filename":"image_06042025_06_40_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672901","file1":"1350672899","file0":"1350672897","file4":"1350672906","file5":"1350672909","file3":"1350672903"},"map_files_photo_id_array":[{"photo_id":"1350672909","filename":"file5"},{"photo_id":"1350672901","filename":"file2"},{"photo_id":"1350672906","filename":"file4"},{"photo_id":"1350672899","filename":"file1"},{"photo_id":"1350672897","filename":"file0"},{"photo_id":"1350672903","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672906":["hashtag1","hashtag2"]},{"1350672909":["hashtag1","hashtag2"]},{"1350672899":["hashtag1","hashtag2"]},{"1350672903":["hashtag1","hashtag2"]},{"1350672901":["hashtag1","hashtag2"]},{"1350672897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672906, 1350672909, 1350672899, 1350672903, 1350672901, 1350672897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.71767544746399 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:56:03.083795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_35_9460.jpg', '/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_45_10363.jpg', '/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_56_10398.jpg', '/home/pi/Desktop/images/06042025/06/41/image_06042025_06_42_05_9361.jpg', '/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_15_10369.jpg', '/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_25_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_35_9460.jpg
/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_45_10363.jpg
/home/pi/Desktop/images/06042025/06/41/image_06042025_06_41_56_10398.jpg
/home/pi/Desktop/images/06042025/06/41/image_06042025_06_42_05_9361.jpg
/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_15_10369.jpg
/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_25_9470.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672927","1350672921","1350672935","1350672929","1350672938","1350672923"],"photo_ids_order":["1350672921","1350672923","1350672927","1350672929","1350672935","1350672938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/830991b490fbd040a600e65ea32f6531.jpg","text":"TemporaryFile(/tmp/multipartBody1685001941312634368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153024178,"filename":"image_06042025_06_41_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/4/9/dc486a1f1e69060115d1730467c4a19b.jpg","text":"TemporaryFile(/tmp/multipartBody5868842725464232092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153024178,"filename":"image_06042025_06_41_35_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f631ee34be20ee8f337040b93f0f73b8.jpg","text":"TemporaryFile(/tmp/multipartBody6626946371084601584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153024178,"filename":"image_06042025_06_42_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/4/9/030b373ca734959fb8822d33fe8d5639.jpg","text":"TemporaryFile(/tmp/multipartBody5623739623484978920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153024178,"filename":"image_06042025_06_42_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/abc47f3afa61e9bfa047e48886ffadb7.jpg","text":"TemporaryFile(/tmp/multipartBody17675930134325333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153024178,"filename":"image_06042025_06_42_25_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/07044df8615bc41935e5afca08d96a04.jpg","text":"TemporaryFile(/tmp/multipartBody566786643839605736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153024178,"filename":"image_06042025_06_41_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672927","file1":"1350672923","file0":"1350672921","file4":"1350672935","file5":"1350672938","file3":"1350672929"},"map_files_photo_id_array":[{"photo_id":"1350672938","filename":"file5"},{"photo_id":"1350672927","filename":"file2"},{"photo_id":"1350672935","filename":"file4"},{"photo_id":"1350672923","filename":"file1"},{"photo_id":"1350672921","filename":"file0"},{"photo_id":"1350672929","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672927":["hashtag1","hashtag2"]},{"1350672921":["hashtag1","hashtag2"]},{"1350672935":["hashtag1","hashtag2"]},{"1350672929":["hashtag1","hashtag2"]},{"1350672938":["hashtag1","hashtag2"]},{"1350672923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672927, 1350672921, 1350672935, 1350672929, 1350672938, 1350672923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21606683731079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:57:04.315242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_35_10368.jpg', '/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_46_10367.jpg', '/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_55_9347.jpg', '/home/pi/Desktop/images/06042025/06/42/image_06042025_06_43_05_10369.jpg', '/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_16_10356.jpg', '/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_25_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_35_10368.jpg
/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_46_10367.jpg
/home/pi/Desktop/images/06042025/06/42/image_06042025_06_42_55_9347.jpg
/home/pi/Desktop/images/06042025/06/42/image_06042025_06_43_05_10369.jpg
/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_16_10356.jpg
/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_25_9477.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350672966","1350672953","1350672962","1350672959","1350672949","1350672957"],"photo_ids_order":["1350672949","1350672953","1350672957","1350672959","1350672962","1350672966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d66e40599c2560ec9b47f59a30515206.jpg","text":"TemporaryFile(/tmp/multipartBody5865138892900150554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153089111,"filename":"image_06042025_06_43_25_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4579357815484c719401d33fbd01a55.jpg","text":"TemporaryFile(/tmp/multipartBody73379263011026881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153089111,"filename":"image_06042025_06_42_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/4/9/4238acd129685a323ee703bc7c2cd861.jpg","text":"TemporaryFile(/tmp/multipartBody6423023945113567623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153089111,"filename":"image_06042025_06_43_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/4/9/3e31baf055a7b89810a2244995c8a97b.jpg","text":"TemporaryFile(/tmp/multipartBody3294238964110594712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153089111,"filename":"image_06042025_06_43_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/4/9/5c825b8dd49b3ed2f405e49dbb0e18db.jpg","text":"TemporaryFile(/tmp/multipartBody1020566099087170871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153089111,"filename":"image_06042025_06_42_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/4/9/efe3ef9ec03392b2ac06fe378f4dca28.jpg","text":"TemporaryFile(/tmp/multipartBody7416677082637980696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153089111,"filename":"image_06042025_06_42_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350672957","file1":"1350672953","file0":"1350672949","file4":"1350672962","file5":"1350672966","file3":"1350672959"},"map_files_photo_id_array":[{"photo_id":"1350672966","filename":"file5"},{"photo_id":"1350672957","filename":"file2"},{"photo_id":"1350672962","filename":"file4"},{"photo_id":"1350672953","filename":"file1"},{"photo_id":"1350672949","filename":"file0"},{"photo_id":"1350672959","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350672966":["hashtag1","hashtag2"]},{"1350672953":["hashtag1","hashtag2"]},{"1350672962":["hashtag1","hashtag2"]},{"1350672959":["hashtag1","hashtag2"]},{"1350672949":["hashtag1","hashtag2"]},{"1350672957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350672966, 1350672953, 1350672962, 1350672959, 1350672949, 1350672957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.104897260665894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:59:03.673084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_36_10385.jpg', '/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_45_9422.jpg', '/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_55_10437.jpg', '/home/pi/Desktop/images/06042025/06/43/image_06042025_06_44_06_10412.jpg', '/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_15_9331.jpg', '/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_26_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_36_10385.jpg
/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_45_9422.jpg
/home/pi/Desktop/images/06042025/06/43/image_06042025_06_43_55_10437.jpg
/home/pi/Desktop/images/06042025/06/43/image_06042025_06_44_06_10412.jpg
/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_15_9331.jpg
/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_26_10378.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673008","1350673001","1350672995","1350672989","1350673013","1350673017"],"photo_ids_order":["1350672989","1350672995","1350673001","1350673008","1350673013","1350673017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9ab303af71cfa2a6356e08841a25d6c.jpg","text":"TemporaryFile(/tmp/multipartBody165042578951664353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153204799,"filename":"image_06042025_06_44_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/4/9/61795d3b8fe24d9e072bd09ec67d5459.jpg","text":"TemporaryFile(/tmp/multipartBody4828222964371800442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153204799,"filename":"image_06042025_06_43_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/4/9/0cd2ffbcc877a13bfd0057af9a994f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4352038066632733451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153204799,"filename":"image_06042025_06_43_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9e109fc5b2a4b5c9694861da491d3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5361691630421645944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153204799,"filename":"image_06042025_06_43_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/4/9/4c9e9dd0c6b82cd59702a096039e495f.jpg","text":"TemporaryFile(/tmp/multipartBody5841817435571672440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153204799,"filename":"image_06042025_06_44_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9be01a507f9c303d2d402ae6f1cf09e.jpg","text":"TemporaryFile(/tmp/multipartBody1106690284387808699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153204799,"filename":"image_06042025_06_44_26_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673001","file1":"1350672995","file0":"1350672989","file4":"1350673013","file5":"1350673017","file3":"1350673008"},"map_files_photo_id_array":[{"photo_id":"1350673017","filename":"file5"},{"photo_id":"1350673001","filename":"file2"},{"photo_id":"1350673013","filename":"file4"},{"photo_id":"1350672995","filename":"file1"},{"photo_id":"1350672989","filename":"file0"},{"photo_id":"1350673008","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673008":["hashtag1","hashtag2"]},{"1350673001":["hashtag1","hashtag2"]},{"1350672995":["hashtag1","hashtag2"]},{"1350672989":["hashtag1","hashtag2"]},{"1350673013":["hashtag1","hashtag2"]},{"1350673017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673008, 1350673001, 1350672995, 1350672989, 1350673013, 1350673017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.562649726867676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 00:59:42.736850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_35_9389.jpg', '/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_45_10338.jpg', '/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_56_10424.jpg', '/home/pi/Desktop/images/06042025/06/44/image_06042025_06_45_05_9347.jpg', '/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_15_10381.jpg', '/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_25_9519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_35_9389.jpg
/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_45_10338.jpg
/home/pi/Desktop/images/06042025/06/44/image_06042025_06_44_56_10424.jpg
/home/pi/Desktop/images/06042025/06/44/image_06042025_06_45_05_9347.jpg
/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_15_10381.jpg
/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_25_9519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673034","1350673031","1350673027","1350673035","1350673038","1350673023"],"photo_ids_order":["1350673023","1350673027","1350673031","1350673034","1350673035","1350673038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7cdf4747b9a1ada017264cf2b4ef2326.jpg","text":"TemporaryFile(/tmp/multipartBody950592785646238848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153243801,"filename":"image_06042025_06_45_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/91ee4f456e86b6264c9d82837c1d5fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6113612751294255937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153243801,"filename":"image_06042025_06_44_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22b9c1318fadc4d5b3d8453745e937c1.jpg","text":"TemporaryFile(/tmp/multipartBody6501510585837076857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153243801,"filename":"image_06042025_06_44_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6eb0146b79fc08b430c11a3782630d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4581945377844479430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153243801,"filename":"image_06042025_06_45_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e51e28e2d019641e50bed1de2f123844.jpg","text":"TemporaryFile(/tmp/multipartBody4412047508432889367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153243801,"filename":"image_06042025_06_45_25_9519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e098fa8506b9ac87dfed9114c674b66c.jpg","text":"TemporaryFile(/tmp/multipartBody8045219882465776009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153243801,"filename":"image_06042025_06_44_35_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673031","file1":"1350673027","file0":"1350673023","file4":"1350673035","file5":"1350673038","file3":"1350673034"},"map_files_photo_id_array":[{"photo_id":"1350673038","filename":"file5"},{"photo_id":"1350673031","filename":"file2"},{"photo_id":"1350673035","filename":"file4"},{"photo_id":"1350673027","filename":"file1"},{"photo_id":"1350673023","filename":"file0"},{"photo_id":"1350673034","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673034":["hashtag1","hashtag2"]},{"1350673031":["hashtag1","hashtag2"]},{"1350673027":["hashtag1","hashtag2"]},{"1350673035":["hashtag1","hashtag2"]},{"1350673038":["hashtag1","hashtag2"]},{"1350673023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673034, 1350673031, 1350673027, 1350673035, 1350673038, 1350673023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18669652938843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:00:32.980680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_35_10423.jpg', '/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_45_9470.jpg', '/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_55_10382.jpg', '/home/pi/Desktop/images/06042025/06/45/image_06042025_06_46_06_10431.jpg', '/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_15_9392.jpg', '/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_35_10423.jpg
/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_45_9470.jpg
/home/pi/Desktop/images/06042025/06/45/image_06042025_06_45_55_10382.jpg
/home/pi/Desktop/images/06042025/06/45/image_06042025_06_46_06_10431.jpg
/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_15_9392.jpg
/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673052","1350673061","1350673055","1350673057","1350673060","1350673059"],"photo_ids_order":["1350673052","1350673055","1350673057","1350673059","1350673060","1350673061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f61021d90ad7f98f4fc2dbac77a406d.jpg","text":"TemporaryFile(/tmp/multipartBody4267180641446987961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153294889,"filename":"image_06042025_06_45_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/4/9/1dc08f2e6c7dac23ee64d0d188fa4fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7679473661763765911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153294889,"filename":"image_06042025_06_46_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/279fb11d4d7a51036fada747cdef876e.jpg","text":"TemporaryFile(/tmp/multipartBody6388975458166696817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153294889,"filename":"image_06042025_06_45_45_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a344388177cb996d7b9cfe142939afd.jpg","text":"TemporaryFile(/tmp/multipartBody2082319644298138456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153294889,"filename":"image_06042025_06_45_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/4/9/4305042e03a8c740cc2730d0bfa7e5d8.jpg","text":"TemporaryFile(/tmp/multipartBody6819507661115307254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153294889,"filename":"image_06042025_06_46_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/4/9/8c6ef7a63c788cd7360ba576240991c7.jpg","text":"TemporaryFile(/tmp/multipartBody2600666925798570894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153294889,"filename":"image_06042025_06_46_06_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673057","file1":"1350673055","file0":"1350673052","file4":"1350673060","file5":"1350673061","file3":"1350673059"},"map_files_photo_id_array":[{"photo_id":"1350673061","filename":"file5"},{"photo_id":"1350673057","filename":"file2"},{"photo_id":"1350673060","filename":"file4"},{"photo_id":"1350673055","filename":"file1"},{"photo_id":"1350673052","filename":"file0"},{"photo_id":"1350673059","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673052":["hashtag1","hashtag2"]},{"1350673061":["hashtag1","hashtag2"]},{"1350673055":["hashtag1","hashtag2"]},{"1350673057":["hashtag1","hashtag2"]},{"1350673060":["hashtag1","hashtag2"]},{"1350673059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673052, 1350673061, 1350673055, 1350673057, 1350673060, 1350673059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8700692653656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:01:33.142397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_35_9470.jpg', '/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_45_10371.jpg', '/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_56_10404.jpg', '/home/pi/Desktop/images/06042025/06/46/image_06042025_06_47_05_9392.jpg', '/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_15_10368.jpg', '/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_25_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_35_9470.jpg
/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_45_10371.jpg
/home/pi/Desktop/images/06042025/06/46/image_06042025_06_46_56_10404.jpg
/home/pi/Desktop/images/06042025/06/46/image_06042025_06_47_05_9392.jpg
/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_15_10368.jpg
/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_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":["1350673082","1350673085","1350673088","1350673090","1350673087","1350673083"],"photo_ids_order":["1350673082","1350673083","1350673085","1350673087","1350673088","1350673090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af370c5186060a273490204d819ddc32.jpg","text":"TemporaryFile(/tmp/multipartBody2368957149476412331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153355062,"filename":"image_06042025_06_46_35_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd45af48f7357e54d126871a2b48a16c.jpg","text":"TemporaryFile(/tmp/multipartBody7953207310607122025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153355062,"filename":"image_06042025_06_46_56_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a197b5d338c35c1d7f15a5b3bbcc480d.jpg","text":"TemporaryFile(/tmp/multipartBody2486191181226786689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153355062,"filename":"image_06042025_06_47_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/4/9/6416eee7b97aefd1cb009f06dcc11cca.jpg","text":"TemporaryFile(/tmp/multipartBody7164383453975169423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153355062,"filename":"image_06042025_06_47_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/4/9/96ad4dd119c075fd65e1502f4cf6066d.jpg","text":"TemporaryFile(/tmp/multipartBody121407775032530173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153355062,"filename":"image_06042025_06_47_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56d6f5f434870871f68f7a9978d266bb.jpg","text":"TemporaryFile(/tmp/multipartBody7217426153764853092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153355062,"filename":"image_06042025_06_46_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673085","file1":"1350673083","file0":"1350673082","file4":"1350673088","file5":"1350673090","file3":"1350673087"},"map_files_photo_id_array":[{"photo_id":"1350673090","filename":"file5"},{"photo_id":"1350673085","filename":"file2"},{"photo_id":"1350673088","filename":"file4"},{"photo_id":"1350673083","filename":"file1"},{"photo_id":"1350673082","filename":"file0"},{"photo_id":"1350673087","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673082":["hashtag1","hashtag2"]},{"1350673085":["hashtag1","hashtag2"]},{"1350673088":["hashtag1","hashtag2"]},{"1350673090":["hashtag1","hashtag2"]},{"1350673087":["hashtag1","hashtag2"]},{"1350673083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673082, 1350673085, 1350673088, 1350673090, 1350673087, 1350673083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29657745361328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:02:32.333992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_35_10424.jpg', '/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_46_10346.jpg', '/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_55_9412.jpg', '/home/pi/Desktop/images/06042025/06/47/image_06042025_06_48_05_10373.jpg', '/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_15_9434.jpg', '/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_25_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_35_10424.jpg
/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_46_10346.jpg
/home/pi/Desktop/images/06042025/06/47/image_06042025_06_47_55_9412.jpg
/home/pi/Desktop/images/06042025/06/47/image_06042025_06_48_05_10373.jpg
/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_15_9434.jpg
/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_25_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":["1350673107","1350673097","1350673100","1350673103","1350673108","1350673105"],"photo_ids_order":["1350673097","1350673100","1350673103","1350673105","1350673107","1350673108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e64d4c8bec2d8ad0ce5b9936b33b7c2d.jpg","text":"TemporaryFile(/tmp/multipartBody504982837423184123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153414240,"filename":"image_06042025_06_48_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/4/9/54d1efeb440daa8ca57432a0413575c1.jpg","text":"TemporaryFile(/tmp/multipartBody3681166954239910864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153414240,"filename":"image_06042025_06_47_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/4/9/672452cb70040fe3bd9e0f89427f044b.jpg","text":"TemporaryFile(/tmp/multipartBody3767488839296515101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153414240,"filename":"image_06042025_06_47_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/4/9/f16e073264685e3cbffc05724950a60d.jpg","text":"TemporaryFile(/tmp/multipartBody8933034922359534047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153414240,"filename":"image_06042025_06_47_55_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3aee09f39f0be8b379068107c6bf6ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5273340356801681375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153414240,"filename":"image_06042025_06_48_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/4/9/c4b3cd547176d402fa652290e29691fc.jpg","text":"TemporaryFile(/tmp/multipartBody7514562472956965442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153414240,"filename":"image_06042025_06_48_05_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673103","file1":"1350673100","file0":"1350673097","file4":"1350673107","file5":"1350673108","file3":"1350673105"},"map_files_photo_id_array":[{"photo_id":"1350673108","filename":"file5"},{"photo_id":"1350673103","filename":"file2"},{"photo_id":"1350673107","filename":"file4"},{"photo_id":"1350673100","filename":"file1"},{"photo_id":"1350673097","filename":"file0"},{"photo_id":"1350673105","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673107":["hashtag1","hashtag2"]},{"1350673097":["hashtag1","hashtag2"]},{"1350673100":["hashtag1","hashtag2"]},{"1350673103":["hashtag1","hashtag2"]},{"1350673108":["hashtag1","hashtag2"]},{"1350673105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673107, 1350673097, 1350673100, 1350673103, 1350673108, 1350673105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.632585763931274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:03:32.521718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_36_10334.jpg', '/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_45_9359.jpg', '/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_55_10372.jpg', '/home/pi/Desktop/images/06042025/06/48/image_06042025_06_49_06_10381.jpg', '/home/pi/Desktop/images/06042025/06/49/image_06042025_06_49_15_9352.jpg', '/home/pi/Desktop/images/06042025/06/49/image_06042025_06_49_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_36_10334.jpg
/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_45_9359.jpg
/home/pi/Desktop/images/06042025/06/48/image_06042025_06_48_55_10372.jpg
/home/pi/Desktop/images/06042025/06/48/image_06042025_06_49_06_10381.jpg
/home/pi/Desktop/images/06042025/06/49/image_06042025_06_49_15_9352.jpg
/home/pi/Desktop/images/06042025/06/49/image_06042025_06_49_25_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":["1350673121","1350673124","1350673126","1350673123","1350673122","1350673125"],"photo_ids_order":["1350673121","1350673122","1350673123","1350673124","1350673125","1350673126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ebee87572dc5a0126ef9c2d0729cb012.jpg","text":"TemporaryFile(/tmp/multipartBody519796783968864673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153474428,"filename":"image_06042025_06_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/4/9/40846ca1a38274c0cab2a458075860a3.jpg","text":"TemporaryFile(/tmp/multipartBody6586548314521337161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153474428,"filename":"image_06042025_06_49_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/4/9/69028eccc95f9dd57b778b802aff4d02.jpg","text":"TemporaryFile(/tmp/multipartBody2003834309994289020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153474428,"filename":"image_06042025_06_49_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/4/9/e6e70ed4ad6e1fea0832a8d578658593.jpg","text":"TemporaryFile(/tmp/multipartBody1658163326730959085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153474428,"filename":"image_06042025_06_48_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/4/9/d7d3c73c469ae38690d55a59ef209780.jpg","text":"TemporaryFile(/tmp/multipartBody5828131670061450979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153474428,"filename":"image_06042025_06_48_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/4/9/08fad0634b7591799e48feb0778b1e5a.jpg","text":"TemporaryFile(/tmp/multipartBody4273754092006871453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153474428,"filename":"image_06042025_06_49_15_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673123","file1":"1350673122","file0":"1350673121","file4":"1350673125","file5":"1350673126","file3":"1350673124"},"map_files_photo_id_array":[{"photo_id":"1350673126","filename":"file5"},{"photo_id":"1350673123","filename":"file2"},{"photo_id":"1350673125","filename":"file4"},{"photo_id":"1350673122","filename":"file1"},{"photo_id":"1350673121","filename":"file0"},{"photo_id":"1350673124","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673121":["hashtag1","hashtag2"]},{"1350673124":["hashtag1","hashtag2"]},{"1350673126":["hashtag1","hashtag2"]},{"1350673123":["hashtag1","hashtag2"]},{"1350673122":["hashtag1","hashtag2"]},{"1350673125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673121, 1350673124, 1350673126, 1350673123, 1350673122, 1350673125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.198418855667114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:04:32.823381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/49/image_06042025_06_49_35_9521.jpg', '/home/pi/Desktop/images/06042025/06/49/image_06042025_06_49_45_10374.jpg', '/home/pi/Desktop/images/06042025/06/49/image_06042025_06_50_05_9423.jpg', '/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_16_10412.jpg', '/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_25_9401.jpg', '/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_35_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/49/image_06042025_06_49_35_9521.jpg
/home/pi/Desktop/images/06042025/06/49/image_06042025_06_49_45_10374.jpg
/home/pi/Desktop/images/06042025/06/49/image_06042025_06_50_05_9423.jpg
/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_16_10412.jpg
/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_25_9401.jpg
/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_35_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673142","1350673144","1350673138","1350673141","1350673140","1350673143"],"photo_ids_order":["1350673138","1350673140","1350673141","1350673142","1350673143","1350673144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a3359f7c4fe7613ee72ecd60692cc48.jpg","text":"TemporaryFile(/tmp/multipartBody3184076833349705695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153534738,"filename":"image_06042025_06_50_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9577de2f8a1fb5cde6549c23704842c5.jpg","text":"TemporaryFile(/tmp/multipartBody1393903249098985569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153534738,"filename":"image_06042025_06_50_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/4/9/1a897c8f64b3b1f487aecfb6d787dd28.jpg","text":"TemporaryFile(/tmp/multipartBody6894778213917222877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153534738,"filename":"image_06042025_06_49_35_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c7d25b5f3cd6b3d3557d24bf60184e4.jpg","text":"TemporaryFile(/tmp/multipartBody2210070247830616573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153534738,"filename":"image_06042025_06_50_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/4/9/32c69558f55589c9d1235f5604c903b8.jpg","text":"TemporaryFile(/tmp/multipartBody2272051285312001912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153534738,"filename":"image_06042025_06_49_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/4/9/dacacadca919185a6e1dc9b4976a2d94.jpg","text":"TemporaryFile(/tmp/multipartBody7490136944815418038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153534738,"filename":"image_06042025_06_50_25_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673141","file1":"1350673140","file0":"1350673138","file4":"1350673143","file5":"1350673144","file3":"1350673142"},"map_files_photo_id_array":[{"photo_id":"1350673144","filename":"file5"},{"photo_id":"1350673141","filename":"file2"},{"photo_id":"1350673143","filename":"file4"},{"photo_id":"1350673140","filename":"file1"},{"photo_id":"1350673138","filename":"file0"},{"photo_id":"1350673142","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673142":["hashtag1","hashtag2"]},{"1350673144":["hashtag1","hashtag2"]},{"1350673138":["hashtag1","hashtag2"]},{"1350673141":["hashtag1","hashtag2"]},{"1350673140":["hashtag1","hashtag2"]},{"1350673143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673142, 1350673144, 1350673138, 1350673141, 1350673140, 1350673143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93081736564636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:05:33.061651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_46_10382.jpg', '/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_55_9438.jpg', '/home/pi/Desktop/images/06042025/06/50/image_06042025_06_51_05_10345.jpg', '/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_15_9504.jpg', '/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_25_10374.jpg', '/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_36_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_46_10382.jpg
/home/pi/Desktop/images/06042025/06/50/image_06042025_06_50_55_9438.jpg
/home/pi/Desktop/images/06042025/06/50/image_06042025_06_51_05_10345.jpg
/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_15_9504.jpg
/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_25_10374.jpg
/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_36_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":["1350673157","1350673159","1350673150","1350673153","1350673161","1350673155"],"photo_ids_order":["1350673150","1350673153","1350673155","1350673157","1350673159","1350673161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9afe36400753f522ea50c412daa8d054.jpg","text":"TemporaryFile(/tmp/multipartBody4447120193498509944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153594968,"filename":"image_06042025_06_51_15_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9bcb2800bb0d21f7aa49fe49c40c0a45.jpg","text":"TemporaryFile(/tmp/multipartBody3421041703589434778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153594968,"filename":"image_06042025_06_51_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/4/9/b37d7d79cb299223d07d87375af23737.jpg","text":"TemporaryFile(/tmp/multipartBody4529759256098932111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153594968,"filename":"image_06042025_06_50_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee6d62ec07b9277e51edd915c7a2a65a.jpg","text":"TemporaryFile(/tmp/multipartBody4954117863858870268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153594968,"filename":"image_06042025_06_50_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/4/9/a7e28bfcd8febf6cd4e6e2b4bb023ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2336189794644474418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153594968,"filename":"image_06042025_06_51_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bdb5e68702720e2058e5e05a39432031.jpg","text":"TemporaryFile(/tmp/multipartBody5489344818714446090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153594968,"filename":"image_06042025_06_51_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673155","file1":"1350673153","file0":"1350673150","file4":"1350673159","file5":"1350673161","file3":"1350673157"},"map_files_photo_id_array":[{"photo_id":"1350673161","filename":"file5"},{"photo_id":"1350673155","filename":"file2"},{"photo_id":"1350673159","filename":"file4"},{"photo_id":"1350673153","filename":"file1"},{"photo_id":"1350673150","filename":"file0"},{"photo_id":"1350673157","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673157":["hashtag1","hashtag2"]},{"1350673159":["hashtag1","hashtag2"]},{"1350673150":["hashtag1","hashtag2"]},{"1350673153":["hashtag1","hashtag2"]},{"1350673161":["hashtag1","hashtag2"]},{"1350673155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673157, 1350673159, 1350673150, 1350673153, 1350673161, 1350673155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17785286903381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:06:32.324722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_45_9427.jpg', '/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_56_10392.jpg', '/home/pi/Desktop/images/06042025/06/51/image_06042025_06_52_05_9475.jpg', '/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_15_10345.jpg', '/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_26_10359.jpg', '/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_35_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_45_9427.jpg
/home/pi/Desktop/images/06042025/06/51/image_06042025_06_51_56_10392.jpg
/home/pi/Desktop/images/06042025/06/51/image_06042025_06_52_05_9475.jpg
/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_15_10345.jpg
/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_26_10359.jpg
/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_35_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":["1350673169","1350673177","1350673171","1350673173","1350673167","1350673176"],"photo_ids_order":["1350673167","1350673169","1350673171","1350673173","1350673176","1350673177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/756ec0cf77ab1a0cb4d79482bbacd8c5.jpg","text":"TemporaryFile(/tmp/multipartBody3989536441043770752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153654251,"filename":"image_06042025_06_51_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec0bb48d76305401691e11bcda318789.jpg","text":"TemporaryFile(/tmp/multipartBody6166914916159349519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153654251,"filename":"image_06042025_06_52_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/4/9/e48510ec93f2410874cf723daab8101f.jpg","text":"TemporaryFile(/tmp/multipartBody1876277681141627455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153654251,"filename":"image_06042025_06_52_05_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b065262277b4d2d01073e24c1df1d030.jpg","text":"TemporaryFile(/tmp/multipartBody5423027984357112819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153654251,"filename":"image_06042025_06_52_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/4/9/cb4849a245b48902d67869f565f40bac.jpg","text":"TemporaryFile(/tmp/multipartBody5901170747579492644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153654251,"filename":"image_06042025_06_51_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6679eab1e83158918bfad3f0f1b720c1.jpg","text":"TemporaryFile(/tmp/multipartBody5225768386047454656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153654251,"filename":"image_06042025_06_52_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673171","file1":"1350673169","file0":"1350673167","file4":"1350673176","file5":"1350673177","file3":"1350673173"},"map_files_photo_id_array":[{"photo_id":"1350673177","filename":"file5"},{"photo_id":"1350673171","filename":"file2"},{"photo_id":"1350673176","filename":"file4"},{"photo_id":"1350673169","filename":"file1"},{"photo_id":"1350673167","filename":"file0"},{"photo_id":"1350673173","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673169":["hashtag1","hashtag2"]},{"1350673177":["hashtag1","hashtag2"]},{"1350673171":["hashtag1","hashtag2"]},{"1350673173":["hashtag1","hashtag2"]},{"1350673167":["hashtag1","hashtag2"]},{"1350673176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673169, 1350673177, 1350673171, 1350673173, 1350673167, 1350673176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84568476676941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:07:32.411773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_46_10377.jpg', '/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_55_9457.jpg', '/home/pi/Desktop/images/06042025/06/52/image_06042025_06_53_05_10357.jpg', '/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_16_10346.jpg', '/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_25_9378.jpg', '/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_46_10377.jpg
/home/pi/Desktop/images/06042025/06/52/image_06042025_06_52_55_9457.jpg
/home/pi/Desktop/images/06042025/06/52/image_06042025_06_53_05_10357.jpg
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_16_10346.jpg
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_25_9378.jpg
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_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":["1350673190","1350673187","1350673192","1350673186","1350673191","1350673188"],"photo_ids_order":["1350673186","1350673187","1350673188","1350673190","1350673191","1350673192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96edd30a7437efa62fff2a90b179cd91.jpg","text":"TemporaryFile(/tmp/multipartBody7929514078121708018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153714325,"filename":"image_06042025_06_53_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73bb1ab0971f879c8d4a9b1373d065ea.jpg","text":"TemporaryFile(/tmp/multipartBody5166540638255162173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153714325,"filename":"image_06042025_06_52_55_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0465d647c4420d1dcc34ba8a24efcfad.jpg","text":"TemporaryFile(/tmp/multipartBody424761499563959258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153714325,"filename":"image_06042025_06_53_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/4/9/8f8b4e478e6f9d766f7b778a7de03fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2145314635084845340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153714325,"filename":"image_06042025_06_52_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8ec65e11884b4be43df5f48807e97f3.jpg","text":"TemporaryFile(/tmp/multipartBody7009132944605598999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153714325,"filename":"image_06042025_06_53_25_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33adb40f3d4b4c1a7cea27272a93ba37.jpg","text":"TemporaryFile(/tmp/multipartBody2484104905760986563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153714325,"filename":"image_06042025_06_53_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673188","file1":"1350673187","file0":"1350673186","file4":"1350673191","file5":"1350673192","file3":"1350673190"},"map_files_photo_id_array":[{"photo_id":"1350673192","filename":"file5"},{"photo_id":"1350673188","filename":"file2"},{"photo_id":"1350673191","filename":"file4"},{"photo_id":"1350673187","filename":"file1"},{"photo_id":"1350673186","filename":"file0"},{"photo_id":"1350673190","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673190":["hashtag1","hashtag2"]},{"1350673187":["hashtag1","hashtag2"]},{"1350673192":["hashtag1","hashtag2"]},{"1350673186":["hashtag1","hashtag2"]},{"1350673191":["hashtag1","hashtag2"]},{"1350673188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673190, 1350673187, 1350673192, 1350673186, 1350673191, 1350673188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59131693840027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:08:32.649983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_45_9414.jpg', '/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_55_10372.jpg', '/home/pi/Desktop/images/06042025/06/53/image_06042025_06_54_06_10372.jpg', '/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_15_9383.jpg', '/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_25_10425.jpg', '/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_35_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_45_9414.jpg
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_55_10372.jpg
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_54_06_10372.jpg
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_15_9383.jpg
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_25_10425.jpg
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_35_9439.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8213820457458496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 01:08:42.726737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_45_9414.jpg', '/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_55_10372.jpg', '/home/pi/Desktop/images/06042025/06/53/image_06042025_06_54_06_10372.jpg', '/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_15_9383.jpg', '/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_25_10425.jpg', '/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_35_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_45_9414.jpg
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_53_55_10372.jpg
/home/pi/Desktop/images/06042025/06/53/image_06042025_06_54_06_10372.jpg
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_15_9383.jpg
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_25_10425.jpg
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_35_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673212","1350673209","1350673211","1350673213","1350673207","1350673215"],"photo_ids_order":["1350673207","1350673209","1350673211","1350673212","1350673213","1350673215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d821a2c5ed38c38f28835df7a7902682.jpg","text":"TemporaryFile(/tmp/multipartBody4866682364989537766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153783705,"filename":"image_06042025_06_54_15_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5f98b6259d8d6b6d5a65c8a1fa115d15.jpg","text":"TemporaryFile(/tmp/multipartBody569871957742603167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153783705,"filename":"image_06042025_06_53_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/4/9/9991247a2936ce0f558ed14b49cef232.jpg","text":"TemporaryFile(/tmp/multipartBody6031630676758167231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153783705,"filename":"image_06042025_06_54_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/4/9/1cb43c51230d8955d42f01af999baa4c.jpg","text":"TemporaryFile(/tmp/multipartBody4546646473539972465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153783705,"filename":"image_06042025_06_54_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/4/9/03a934adb012d4ba645f03619368c0a1.jpg","text":"TemporaryFile(/tmp/multipartBody2655746240821235768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153783705,"filename":"image_06042025_06_53_45_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f100dfd9277243de30128c6a4309c8ba.jpg","text":"TemporaryFile(/tmp/multipartBody2189085807953334738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153783705,"filename":"image_06042025_06_54_35_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673211","file1":"1350673209","file0":"1350673207","file4":"1350673213","file5":"1350673215","file3":"1350673212"},"map_files_photo_id_array":[{"photo_id":"1350673215","filename":"file5"},{"photo_id":"1350673211","filename":"file2"},{"photo_id":"1350673213","filename":"file4"},{"photo_id":"1350673209","filename":"file1"},{"photo_id":"1350673207","filename":"file0"},{"photo_id":"1350673212","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673212":["hashtag1","hashtag2"]},{"1350673209":["hashtag1","hashtag2"]},{"1350673211":["hashtag1","hashtag2"]},{"1350673213":["hashtag1","hashtag2"]},{"1350673207":["hashtag1","hashtag2"]},{"1350673215":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673212, 1350673209, 1350673211, 1350673213, 1350673207, 1350673215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.205151319503784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:09:32.971545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_45_10360.jpg', '/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_56_10379.jpg', '/home/pi/Desktop/images/06042025/06/54/image_06042025_06_55_05_9385.jpg', '/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_15_10357.jpg', '/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_26_10369.jpg', '/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_35_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_45_10360.jpg
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_54_56_10379.jpg
/home/pi/Desktop/images/06042025/06/54/image_06042025_06_55_05_9385.jpg
/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_15_10357.jpg
/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_26_10369.jpg
/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_35_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":["1350673226","1350673229","1350673220","1350673219","1350673222","1350673224"],"photo_ids_order":["1350673219","1350673220","1350673222","1350673224","1350673226","1350673229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/158c263281edea56d76a540f8a418c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3202268895062769670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153834886,"filename":"image_06042025_06_55_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/4/9/5345a49f7122026d8b9499f65f1e8799.jpg","text":"TemporaryFile(/tmp/multipartBody2726047787863646801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153834886,"filename":"image_06042025_06_55_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/4/9/0d678db2e8bc49ff7292d575015d7e82.jpg","text":"TemporaryFile(/tmp/multipartBody2705762268837951067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153834886,"filename":"image_06042025_06_54_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/4/9/a0e3ccf8b0ff54fd9346b08b5e004ef5.jpg","text":"TemporaryFile(/tmp/multipartBody7760807044750098700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153834886,"filename":"image_06042025_06_54_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/4/9/8335a13f47e83b3d1906937f82ddbfb3.jpg","text":"TemporaryFile(/tmp/multipartBody772456014839668609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153834886,"filename":"image_06042025_06_55_05_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/45f111663d68cad4f4e836bee8a4e28e.jpg","text":"TemporaryFile(/tmp/multipartBody954420016169677924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153834886,"filename":"image_06042025_06_55_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673222","file1":"1350673220","file0":"1350673219","file4":"1350673226","file5":"1350673229","file3":"1350673224"},"map_files_photo_id_array":[{"photo_id":"1350673229","filename":"file5"},{"photo_id":"1350673222","filename":"file2"},{"photo_id":"1350673226","filename":"file4"},{"photo_id":"1350673220","filename":"file1"},{"photo_id":"1350673219","filename":"file0"},{"photo_id":"1350673224","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673226":["hashtag1","hashtag2"]},{"1350673229":["hashtag1","hashtag2"]},{"1350673220":["hashtag1","hashtag2"]},{"1350673219":["hashtag1","hashtag2"]},{"1350673222":["hashtag1","hashtag2"]},{"1350673224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673226, 1350673229, 1350673220, 1350673219, 1350673222, 1350673224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57103633880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:10:33.079653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_46_10434.jpg', '/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_55_9342.jpg', '/home/pi/Desktop/images/06042025/06/55/image_06042025_06_56_05_10376.jpg', '/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_16_10356.jpg', '/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_25_9432.jpg', '/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_46_10434.jpg
/home/pi/Desktop/images/06042025/06/55/image_06042025_06_55_55_9342.jpg
/home/pi/Desktop/images/06042025/06/55/image_06042025_06_56_05_10376.jpg
/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_16_10356.jpg
/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_25_9432.jpg
/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_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":["1350673241","1350673238","1350673243","1350673233","1350673236","1350673239"],"photo_ids_order":["1350673233","1350673236","1350673238","1350673239","1350673241","1350673243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/afc798a464e6f5815c36fbf7e8665072.jpg","text":"TemporaryFile(/tmp/multipartBody185058047697493500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153894981,"filename":"image_06042025_06_56_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/4/9/89750b8091895a89577d6e75ad0344f3.jpg","text":"TemporaryFile(/tmp/multipartBody5159379672325448303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153894981,"filename":"image_06042025_06_56_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b9da575bd1230aef7ca4a02b8d6360a.jpg","text":"TemporaryFile(/tmp/multipartBody3384828387661032140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153894981,"filename":"image_06042025_06_56_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/568e020ddba093e44c78769668fc6b93.jpg","text":"TemporaryFile(/tmp/multipartBody6812396607516285147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153894981,"filename":"image_06042025_06_55_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/4/9/94c9ac8cf70dac3a4bdfcb5f187b9d8e.jpg","text":"TemporaryFile(/tmp/multipartBody5473326200550697067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153894981,"filename":"image_06042025_06_55_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/4/9/6bb8c23dca69a862cc58f7c20cef252b.jpg","text":"TemporaryFile(/tmp/multipartBody3808419150513931181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153894981,"filename":"image_06042025_06_56_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673238","file1":"1350673236","file0":"1350673233","file4":"1350673241","file5":"1350673243","file3":"1350673239"},"map_files_photo_id_array":[{"photo_id":"1350673243","filename":"file5"},{"photo_id":"1350673238","filename":"file2"},{"photo_id":"1350673241","filename":"file4"},{"photo_id":"1350673236","filename":"file1"},{"photo_id":"1350673233","filename":"file0"},{"photo_id":"1350673239","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673241":["hashtag1","hashtag2"]},{"1350673238":["hashtag1","hashtag2"]},{"1350673243":["hashtag1","hashtag2"]},{"1350673233":["hashtag1","hashtag2"]},{"1350673236":["hashtag1","hashtag2"]},{"1350673239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673241, 1350673238, 1350673243, 1350673233, 1350673236, 1350673239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07211351394653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:11:32.450147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_45_9427.jpg', '/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_55_10385.jpg', '/home/pi/Desktop/images/06042025/06/56/image_06042025_06_57_06_10429.jpg', '/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_15_9364.jpg', '/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_25_10369.jpg', '/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_45_9427.jpg
/home/pi/Desktop/images/06042025/06/56/image_06042025_06_56_55_10385.jpg
/home/pi/Desktop/images/06042025/06/56/image_06042025_06_57_06_10429.jpg
/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_15_9364.jpg
/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_25_10369.jpg
/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_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":["1350673253","1350673256","1350673255","1350673258","1350673251","1350673257"],"photo_ids_order":["1350673251","1350673253","1350673255","1350673256","1350673257","1350673258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59d58c486d6d5f012151141e4a708054.jpg","text":"TemporaryFile(/tmp/multipartBody2526272373280664571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153954375,"filename":"image_06042025_06_56_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/4/9/be39a9181fbf6f4cd044fb07e8b5a111.jpg","text":"TemporaryFile(/tmp/multipartBody3650710075518387985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153954375,"filename":"image_06042025_06_57_15_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/626221a8dfbe72e1cbabe2b568978d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6174998706335496912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153954375,"filename":"image_06042025_06_57_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c814d4fba589d5ffbc3bd55610f0cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5780825750310298054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153954375,"filename":"image_06042025_06_57_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f02cf649d729a232c382262e9eee9721.jpg","text":"TemporaryFile(/tmp/multipartBody2063541214789234280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153954375,"filename":"image_06042025_06_56_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2984fdd82f9bef958992b75bbedaac1.jpg","text":"TemporaryFile(/tmp/multipartBody5626698355901667656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744153954375,"filename":"image_06042025_06_57_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673255","file1":"1350673253","file0":"1350673251","file4":"1350673257","file5":"1350673258","file3":"1350673256"},"map_files_photo_id_array":[{"photo_id":"1350673258","filename":"file5"},{"photo_id":"1350673255","filename":"file2"},{"photo_id":"1350673257","filename":"file4"},{"photo_id":"1350673253","filename":"file1"},{"photo_id":"1350673251","filename":"file0"},{"photo_id":"1350673256","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673253":["hashtag1","hashtag2"]},{"1350673256":["hashtag1","hashtag2"]},{"1350673255":["hashtag1","hashtag2"]},{"1350673258":["hashtag1","hashtag2"]},{"1350673251":["hashtag1","hashtag2"]},{"1350673257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673253, 1350673256, 1350673255, 1350673258, 1350673251, 1350673257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92202687263489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:12:32.669742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_45_9399.jpg', '/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_56_10392.jpg', '/home/pi/Desktop/images/06042025/06/57/image_06042025_06_58_05_9480.jpg', '/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_15_10357.jpg', '/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_25_9456.jpg', '/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_35_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_45_9399.jpg
/home/pi/Desktop/images/06042025/06/57/image_06042025_06_57_56_10392.jpg
/home/pi/Desktop/images/06042025/06/57/image_06042025_06_58_05_9480.jpg
/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_15_10357.jpg
/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_25_9456.jpg
/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_35_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673274","1350673273","1350673270","1350673272","1350673275","1350673269"],"photo_ids_order":["1350673269","1350673270","1350673272","1350673273","1350673274","1350673275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48eb27bfe2773b13d47fc47e3f5166dd.jpg","text":"TemporaryFile(/tmp/multipartBody8766692830037125789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154014573,"filename":"image_06042025_06_58_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/4/9/4760473c3c98a02afc614c2250686486.jpg","text":"TemporaryFile(/tmp/multipartBody3207383995248577137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154014573,"filename":"image_06042025_06_58_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e138bd54d3094437c566b9286db91f62.jpg","text":"TemporaryFile(/tmp/multipartBody42250684376017607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154014573,"filename":"image_06042025_06_57_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d2360df88819a39594808252bd1734f.jpg","text":"TemporaryFile(/tmp/multipartBody464728482009825675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154014573,"filename":"image_06042025_06_58_05_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/58d0f61254d0329414a40ffdf6246269.jpg","text":"TemporaryFile(/tmp/multipartBody825706405622193638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154014573,"filename":"image_06042025_06_58_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/4/9/2ec672f4256c8b939ce2db72b9e9f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody7525120811401232549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154014573,"filename":"image_06042025_06_57_45_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673272","file1":"1350673270","file0":"1350673269","file4":"1350673274","file5":"1350673275","file3":"1350673273"},"map_files_photo_id_array":[{"photo_id":"1350673275","filename":"file5"},{"photo_id":"1350673272","filename":"file2"},{"photo_id":"1350673274","filename":"file4"},{"photo_id":"1350673270","filename":"file1"},{"photo_id":"1350673269","filename":"file0"},{"photo_id":"1350673273","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673274":["hashtag1","hashtag2"]},{"1350673273":["hashtag1","hashtag2"]},{"1350673270":["hashtag1","hashtag2"]},{"1350673272":["hashtag1","hashtag2"]},{"1350673275":["hashtag1","hashtag2"]},{"1350673269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673274, 1350673273, 1350673270, 1350673272, 1350673275, 1350673269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.952983140945435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:13:32.849919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_46_10375.jpg', '/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_55_9381.jpg', '/home/pi/Desktop/images/06042025/06/58/image_06042025_06_59_05_9886.jpg', '/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_15_10362.jpg', '/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_26_10424.jpg', '/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_35_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_46_10375.jpg
/home/pi/Desktop/images/06042025/06/58/image_06042025_06_58_55_9381.jpg
/home/pi/Desktop/images/06042025/06/58/image_06042025_06_59_05_9886.jpg
/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_15_10362.jpg
/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_26_10424.jpg
/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_35_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673289","1350673286","1350673288","1350673282","1350673284","1350673287"],"photo_ids_order":["1350673282","1350673284","1350673286","1350673287","1350673288","1350673289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4e0f23f1d97feac77b23948062ad865.jpg","text":"TemporaryFile(/tmp/multipartBody3607430588780119233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154074772,"filename":"image_06042025_06_59_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4059e8779746f1e1bd1a73489e9e7622.jpg","text":"TemporaryFile(/tmp/multipartBody897094905884440676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154074772,"filename":"image_06042025_06_59_05_9886.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/039530a214ab976a24b094d0e2648f86.jpg","text":"TemporaryFile(/tmp/multipartBody6349106351171388983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154074772,"filename":"image_06042025_06_59_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5a7a470535f8c093f0a3bfb07ab0721.jpg","text":"TemporaryFile(/tmp/multipartBody8072671450121666021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154074772,"filename":"image_06042025_06_58_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a62c1b9d11c1dcdee024dfb7b3d47965.jpg","text":"TemporaryFile(/tmp/multipartBody333176314424330665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154074772,"filename":"image_06042025_06_58_55_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca28736ee6dc67a86e8dded546b25d4d.jpg","text":"TemporaryFile(/tmp/multipartBody4509788280080227681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154074772,"filename":"image_06042025_06_59_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673286","file1":"1350673284","file0":"1350673282","file4":"1350673288","file5":"1350673289","file3":"1350673287"},"map_files_photo_id_array":[{"photo_id":"1350673289","filename":"file5"},{"photo_id":"1350673286","filename":"file2"},{"photo_id":"1350673288","filename":"file4"},{"photo_id":"1350673284","filename":"file1"},{"photo_id":"1350673282","filename":"file0"},{"photo_id":"1350673287","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673289":["hashtag1","hashtag2"]},{"1350673286":["hashtag1","hashtag2"]},{"1350673288":["hashtag1","hashtag2"]},{"1350673282":["hashtag1","hashtag2"]},{"1350673284":["hashtag1","hashtag2"]},{"1350673287":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673289, 1350673286, 1350673288, 1350673282, 1350673284, 1350673287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11453175544739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:14:32.173533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_45_10373.jpg', '/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_55_9470.jpg', '/home/pi/Desktop/images/06042025/07/01/image_06042025_07_01_25_10387.jpg', '/home/pi/Desktop/images/06042025/07/01/image_06042025_07_01_36_10389.jpg', '/home/pi/Desktop/images/06042025/07/01/image_06042025_07_01_45_9466.jpg', '/home/pi/Desktop/images/06042025/07/01/image_06042025_07_01_55_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_45_10373.jpg
/home/pi/Desktop/images/06042025/06/59/image_06042025_06_59_55_9470.jpg
/home/pi/Desktop/images/06042025/07/01/image_06042025_07_01_25_10387.jpg
/home/pi/Desktop/images/06042025/07/01/image_06042025_07_01_36_10389.jpg
/home/pi/Desktop/images/06042025/07/01/image_06042025_07_01_45_9466.jpg
/home/pi/Desktop/images/06042025/07/01/image_06042025_07_01_55_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":["1350673305","1350673304","1350673303","1350673306","1350673300","1350673302"],"photo_ids_order":["1350673300","1350673302","1350673303","1350673304","1350673305","1350673306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fef69fff475eb1647c063f633af54e8e.jpg","text":"TemporaryFile(/tmp/multipartBody5679386953375688945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154134101,"filename":"image_06042025_07_01_45_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9666ba21e1b44a81b94b72aa544c7fc1.jpg","text":"TemporaryFile(/tmp/multipartBody8666308815217072206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154134101,"filename":"image_06042025_07_01_36_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/47674e16e487e5f3eea412ef507d4d60.jpg","text":"TemporaryFile(/tmp/multipartBody6408001340312147246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154134101,"filename":"image_06042025_07_01_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b5c5aa632a4e82c053548f3668508132.jpg","text":"TemporaryFile(/tmp/multipartBody772316899291728335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154134101,"filename":"image_06042025_07_01_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/4/9/7fd7a745c16dea6603f598e50f4c9f78.jpg","text":"TemporaryFile(/tmp/multipartBody6041520025196874471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154134101,"filename":"image_06042025_06_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/4/9/4a2dbff4446541039577eb8814ea224f.jpg","text":"TemporaryFile(/tmp/multipartBody6036240755324014061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154134101,"filename":"image_06042025_06_59_55_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673303","file1":"1350673302","file0":"1350673300","file4":"1350673305","file5":"1350673306","file3":"1350673304"},"map_files_photo_id_array":[{"photo_id":"1350673306","filename":"file5"},{"photo_id":"1350673303","filename":"file2"},{"photo_id":"1350673305","filename":"file4"},{"photo_id":"1350673302","filename":"file1"},{"photo_id":"1350673300","filename":"file0"},{"photo_id":"1350673304","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673305":["hashtag1","hashtag2"]},{"1350673304":["hashtag1","hashtag2"]},{"1350673303":["hashtag1","hashtag2"]},{"1350673306":["hashtag1","hashtag2"]},{"1350673300":["hashtag1","hashtag2"]},{"1350673302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673305, 1350673304, 1350673303, 1350673306, 1350673300, 1350673302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87548828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:15:32.309231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/01/image_06042025_07_02_05_9432.jpg', '/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_15_10354.jpg', '/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_26_10356.jpg', '/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_35_9367.jpg', '/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_45_10366.jpg', '/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/01/image_06042025_07_02_05_9432.jpg
/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_15_10354.jpg
/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_26_10356.jpg
/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_35_9367.jpg
/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_45_10366.jpg
/home/pi/Desktop/images/06042025/07/02/image_06042025_07_02_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673322","1350673316","1350673321","1350673324","1350673320","1350673317"],"photo_ids_order":["1350673316","1350673317","1350673320","1350673321","1350673322","1350673324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4c7a88e4188beafda3b274399f8b076.jpg","text":"TemporaryFile(/tmp/multipartBody833989802550740385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154194238,"filename":"image_06042025_07_02_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0243bac0f97ad5bc6be64abc5d35bf36.jpg","text":"TemporaryFile(/tmp/multipartBody128345700914036741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154194238,"filename":"image_06042025_07_02_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/4/9/cb412362004690c97be40e58751450fd.jpg","text":"TemporaryFile(/tmp/multipartBody7030291478729216273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154194238,"filename":"image_06042025_07_02_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a62b6ff67493bd8c7bf68e1784c065b4.jpg","text":"TemporaryFile(/tmp/multipartBody3220044162730647137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154194238,"filename":"image_06042025_07_02_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/4/9/279726b53ecd5a5874454d197f5aa9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1333155388445626952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154194238,"filename":"image_06042025_07_02_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd788bd371556d3e6ad219ec9007f1bd.jpg","text":"TemporaryFile(/tmp/multipartBody6098462121828320818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154194238,"filename":"image_06042025_07_02_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673320","file1":"1350673317","file0":"1350673316","file4":"1350673322","file5":"1350673324","file3":"1350673321"},"map_files_photo_id_array":[{"photo_id":"1350673324","filename":"file5"},{"photo_id":"1350673320","filename":"file2"},{"photo_id":"1350673322","filename":"file4"},{"photo_id":"1350673317","filename":"file1"},{"photo_id":"1350673316","filename":"file0"},{"photo_id":"1350673321","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673322":["hashtag1","hashtag2"]},{"1350673316":["hashtag1","hashtag2"]},{"1350673321":["hashtag1","hashtag2"]},{"1350673324":["hashtag1","hashtag2"]},{"1350673320":["hashtag1","hashtag2"]},{"1350673317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673322, 1350673316, 1350673321, 1350673324, 1350673320, 1350673317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0840744972229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:16:32.520187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/02/image_06042025_07_03_05_9381.jpg', '/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_15_10451.jpg', '/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_25_9386.jpg', '/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_35_10376.jpg', '/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_45_9434.jpg', '/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/02/image_06042025_07_03_05_9381.jpg
/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_15_10451.jpg
/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_25_9386.jpg
/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_35_10376.jpg
/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_45_9434.jpg
/home/pi/Desktop/images/06042025/07/03/image_06042025_07_03_55_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673334","1350673336","1350673330","1350673333","1350673332","1350673335"],"photo_ids_order":["1350673330","1350673332","1350673333","1350673334","1350673335","1350673336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/edf3e69f64e1f5496ce464a5ecc60b76.jpg","text":"TemporaryFile(/tmp/multipartBody623224546046714035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154254521,"filename":"image_06042025_07_03_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42804f252f6a3cef24b96b55d09aaa23.jpg","text":"TemporaryFile(/tmp/multipartBody5987188712075183310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154254521,"filename":"image_06042025_07_03_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/4/9/febbc45421e7e000432520fa134ce5f1.jpg","text":"TemporaryFile(/tmp/multipartBody1512603384539834188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154254521,"filename":"image_06042025_07_03_05_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/822f67a70c6cbf4b3dc46eb9086f49b5.jpg","text":"TemporaryFile(/tmp/multipartBody4431570633160324199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154254521,"filename":"image_06042025_07_03_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ed7f844c8df26521a61a936f4d8b78e.jpg","text":"TemporaryFile(/tmp/multipartBody3131192844083656790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154254521,"filename":"image_06042025_07_03_15_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cd82f25ab6ccd3791652e69f313b7fa.jpg","text":"TemporaryFile(/tmp/multipartBody7349278032001310531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154254521,"filename":"image_06042025_07_03_45_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673333","file1":"1350673332","file0":"1350673330","file4":"1350673335","file5":"1350673336","file3":"1350673334"},"map_files_photo_id_array":[{"photo_id":"1350673336","filename":"file5"},{"photo_id":"1350673333","filename":"file2"},{"photo_id":"1350673335","filename":"file4"},{"photo_id":"1350673332","filename":"file1"},{"photo_id":"1350673330","filename":"file0"},{"photo_id":"1350673334","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673334":["hashtag1","hashtag2"]},{"1350673336":["hashtag1","hashtag2"]},{"1350673330":["hashtag1","hashtag2"]},{"1350673333":["hashtag1","hashtag2"]},{"1350673332":["hashtag1","hashtag2"]},{"1350673335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673334, 1350673336, 1350673330, 1350673333, 1350673332, 1350673335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10587739944458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:17:32.913545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/03/image_06042025_07_04_05_10367.jpg', '/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_15_9451.jpg', '/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_25_10369.jpg', '/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_36_10371.jpg', '/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_45_9393.jpg', '/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/03/image_06042025_07_04_05_10367.jpg
/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_15_9451.jpg
/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_25_10369.jpg
/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_36_10371.jpg
/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_45_9393.jpg
/home/pi/Desktop/images/06042025/07/04/image_06042025_07_04_55_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673346","1350673349","1350673348","1350673345","1350673350","1350673347"],"photo_ids_order":["1350673345","1350673346","1350673347","1350673348","1350673349","1350673350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dddf62c9f64fcb6713275e01b387db12.jpg","text":"TemporaryFile(/tmp/multipartBody6291881689716362110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154314834,"filename":"image_06042025_07_04_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/4/9/49e13c5ef822748a4520579b81609b85.jpg","text":"TemporaryFile(/tmp/multipartBody5802155020752845628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154314834,"filename":"image_06042025_07_04_45_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8582343207e6429e3cecdcace94684db.jpg","text":"TemporaryFile(/tmp/multipartBody3752115382448154415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154314834,"filename":"image_06042025_07_04_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/4/9/3c891347fac293218839e4b902bca5b3.jpg","text":"TemporaryFile(/tmp/multipartBody7077015380172803293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154314834,"filename":"image_06042025_07_04_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5be69b4e47d8f7d50f444c823d95dfc5.jpg","text":"TemporaryFile(/tmp/multipartBody8241690050887391858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154314834,"filename":"image_06042025_07_04_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73503c21d9312d044d7ce0857009e3e4.jpg","text":"TemporaryFile(/tmp/multipartBody1071324245216519149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154314834,"filename":"image_06042025_07_04_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673347","file1":"1350673346","file0":"1350673345","file4":"1350673349","file5":"1350673350","file3":"1350673348"},"map_files_photo_id_array":[{"photo_id":"1350673350","filename":"file5"},{"photo_id":"1350673347","filename":"file2"},{"photo_id":"1350673349","filename":"file4"},{"photo_id":"1350673346","filename":"file1"},{"photo_id":"1350673345","filename":"file0"},{"photo_id":"1350673348","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673346":["hashtag1","hashtag2"]},{"1350673349":["hashtag1","hashtag2"]},{"1350673348":["hashtag1","hashtag2"]},{"1350673345":["hashtag1","hashtag2"]},{"1350673350":["hashtag1","hashtag2"]},{"1350673347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673346, 1350673349, 1350673348, 1350673345, 1350673350, 1350673347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01287388801575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:18:33.171497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/04/image_06042025_07_05_05_9358.jpg', '/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_15_10359.jpg', '/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_25_10389.jpg', '/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_35_9452.jpg', '/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_45_10362.jpg', '/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/04/image_06042025_07_05_05_9358.jpg
/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_15_10359.jpg
/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_25_10389.jpg
/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_35_9452.jpg
/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_45_10362.jpg
/home/pi/Desktop/images/06042025/07/05/image_06042025_07_05_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673361","1350673358","1350673360","1350673359","1350673362","1350673356"],"photo_ids_order":["1350673356","1350673358","1350673359","1350673360","1350673361","1350673362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/242e7897bc6bb26ed09342b257bc8e8e.jpg","text":"TemporaryFile(/tmp/multipartBody5861046199010579609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154375098,"filename":"image_06042025_07_05_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/4/9/3317030580d9a876e4a5d5131ab29669.jpg","text":"TemporaryFile(/tmp/multipartBody9031508759740716359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154375098,"filename":"image_06042025_07_05_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/4/9/dbd02c64912106876adb9d8ec762e67d.jpg","text":"TemporaryFile(/tmp/multipartBody8859816462008287586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154375098,"filename":"image_06042025_07_05_35_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1af505d90aaf1d12c7e27cea4ed20f1.jpg","text":"TemporaryFile(/tmp/multipartBody4776889997834940756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154375098,"filename":"image_06042025_07_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/4/9/75dbf50fa83236342539a8eec631be46.jpg","text":"TemporaryFile(/tmp/multipartBody4521170359153519798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154375098,"filename":"image_06042025_07_05_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e523f114747a10d99192278d4c7713b.jpg","text":"TemporaryFile(/tmp/multipartBody5517226976056113352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154375098,"filename":"image_06042025_07_05_05_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673359","file1":"1350673358","file0":"1350673356","file4":"1350673361","file5":"1350673362","file3":"1350673360"},"map_files_photo_id_array":[{"photo_id":"1350673362","filename":"file5"},{"photo_id":"1350673359","filename":"file2"},{"photo_id":"1350673361","filename":"file4"},{"photo_id":"1350673358","filename":"file1"},{"photo_id":"1350673356","filename":"file0"},{"photo_id":"1350673360","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673361":["hashtag1","hashtag2"]},{"1350673358":["hashtag1","hashtag2"]},{"1350673360":["hashtag1","hashtag2"]},{"1350673359":["hashtag1","hashtag2"]},{"1350673362":["hashtag1","hashtag2"]},{"1350673356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673361, 1350673358, 1350673360, 1350673359, 1350673362, 1350673356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.158443450927734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:19:32.382480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/05/image_06042025_07_06_05_9356.jpg', '/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_15_10390.jpg', '/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_25_9476.jpg', '/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_35_10363.jpg', '/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_45_9462.jpg', '/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_55_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/05/image_06042025_07_06_05_9356.jpg
/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_15_10390.jpg
/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_25_9476.jpg
/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_35_10363.jpg
/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_45_9462.jpg
/home/pi/Desktop/images/06042025/07/06/image_06042025_07_06_55_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":["1350673370","1350673373","1350673372","1350673369","1350673371","1350673374"],"photo_ids_order":["1350673369","1350673370","1350673371","1350673372","1350673373","1350673374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3473d28b94423b29d04c737db2ca3996.jpg","text":"TemporaryFile(/tmp/multipartBody1335965209663288512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154434293,"filename":"image_06042025_07_06_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb11c6d39c7e329abf9b415a5837e362.jpg","text":"TemporaryFile(/tmp/multipartBody8228326714903853534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154434293,"filename":"image_06042025_07_06_45_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bd4aacbf9fbae41ac455fab0433f53e3.jpg","text":"TemporaryFile(/tmp/multipartBody6179163707559729210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154434293,"filename":"image_06042025_07_06_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/4/9/6ee019a3246a32f0c48df95d2f45668c.jpg","text":"TemporaryFile(/tmp/multipartBody778945316067327480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154434293,"filename":"image_06042025_07_06_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aca2625eae9c8a653aebf93c940b7d3f.jpg","text":"TemporaryFile(/tmp/multipartBody6218220749706346443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154434293,"filename":"image_06042025_07_06_25_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/72fa723a0c3ad559ccdc0273a1053ced.jpg","text":"TemporaryFile(/tmp/multipartBody3272784992511933721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154434293,"filename":"image_06042025_07_06_55_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673371","file1":"1350673370","file0":"1350673369","file4":"1350673373","file5":"1350673374","file3":"1350673372"},"map_files_photo_id_array":[{"photo_id":"1350673374","filename":"file5"},{"photo_id":"1350673371","filename":"file2"},{"photo_id":"1350673373","filename":"file4"},{"photo_id":"1350673370","filename":"file1"},{"photo_id":"1350673369","filename":"file0"},{"photo_id":"1350673372","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673370":["hashtag1","hashtag2"]},{"1350673373":["hashtag1","hashtag2"]},{"1350673372":["hashtag1","hashtag2"]},{"1350673369":["hashtag1","hashtag2"]},{"1350673371":["hashtag1","hashtag2"]},{"1350673374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673370, 1350673373, 1350673372, 1350673369, 1350673371, 1350673374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04624271392822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:20:32.606814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/06/image_06042025_07_07_05_10355.jpg', '/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_15_9525.jpg', '/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_25_10370.jpg', '/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_35_9473.jpg', '/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_45_10375.jpg', '/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_56_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/06/image_06042025_07_07_05_10355.jpg
/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_15_9525.jpg
/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_25_10370.jpg
/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_35_9473.jpg
/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_45_10375.jpg
/home/pi/Desktop/images/06042025/07/07/image_06042025_07_07_56_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":["1350673388","1350673385","1350673384","1350673387","1350673383","1350673386"],"photo_ids_order":["1350673383","1350673384","1350673385","1350673386","1350673387","1350673388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fb570e68e6a67802a6386750c8ac3f8.jpg","text":"TemporaryFile(/tmp/multipartBody1420171542850610594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154494518,"filename":"image_06042025_07_07_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/4/9/f84f57e0e6f6fab5cffc7fe9925472ab.jpg","text":"TemporaryFile(/tmp/multipartBody7798024407912764681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154494518,"filename":"image_06042025_07_07_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/4/9/bd31c11e88a753011adc4feafabb1c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2050709339455841851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154494518,"filename":"image_06042025_07_07_15_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b0980b9cc5c929d939aeb864923c301a.jpg","text":"TemporaryFile(/tmp/multipartBody4070626611255788268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154494518,"filename":"image_06042025_07_07_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d16719657e078d414955135d8e3dc9b.jpg","text":"TemporaryFile(/tmp/multipartBody7577151285764383717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154494518,"filename":"image_06042025_07_07_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/4/9/25946e584fcb3f6d0cdb925da96a370c.jpg","text":"TemporaryFile(/tmp/multipartBody5195144046124410475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154494518,"filename":"image_06042025_07_07_35_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673385","file1":"1350673384","file0":"1350673383","file4":"1350673387","file5":"1350673388","file3":"1350673386"},"map_files_photo_id_array":[{"photo_id":"1350673388","filename":"file5"},{"photo_id":"1350673385","filename":"file2"},{"photo_id":"1350673387","filename":"file4"},{"photo_id":"1350673384","filename":"file1"},{"photo_id":"1350673383","filename":"file0"},{"photo_id":"1350673386","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673388":["hashtag1","hashtag2"]},{"1350673385":["hashtag1","hashtag2"]},{"1350673384":["hashtag1","hashtag2"]},{"1350673387":["hashtag1","hashtag2"]},{"1350673383":["hashtag1","hashtag2"]},{"1350673386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673388, 1350673385, 1350673384, 1350673387, 1350673383, 1350673386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38646340370178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:21:32.957325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_15_10341.jpg', '/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_25_9448.jpg', '/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_35_10495.jpg', '/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_45_9453.jpg', '/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_55_10363.jpg', '/home/pi/Desktop/images/06042025/07/08/image_06042025_07_09_06_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_15_10341.jpg
/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_25_9448.jpg
/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_35_10495.jpg
/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_45_9453.jpg
/home/pi/Desktop/images/06042025/07/08/image_06042025_07_08_55_10363.jpg
/home/pi/Desktop/images/06042025/07/08/image_06042025_07_09_06_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":["1350673397","1350673400","1350673399","1350673396","1350673402","1350673395"],"photo_ids_order":["1350673395","1350673396","1350673397","1350673399","1350673400","1350673402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/110b886c5e5ac046f07566f6a900e674.jpg","text":"TemporaryFile(/tmp/multipartBody6055890914200755782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154554879,"filename":"image_06042025_07_08_35_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d149a8612ba13162e4ecbbe484a393f0.jpg","text":"TemporaryFile(/tmp/multipartBody4469965010333918193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154554879,"filename":"image_06042025_07_08_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/4/9/4c18dc3cc1f40bf4d8940bca5904cf01.jpg","text":"TemporaryFile(/tmp/multipartBody8180765982370747692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154554879,"filename":"image_06042025_07_08_45_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2a2102c7fb88d949484461eee5e63ffd.jpg","text":"TemporaryFile(/tmp/multipartBody1607997902323928466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154554879,"filename":"image_06042025_07_08_25_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f788acda784a178cf685ebe56090cee9.jpg","text":"TemporaryFile(/tmp/multipartBody5129984976676405034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154554879,"filename":"image_06042025_07_09_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/4/9/9cc18ed6797d08ebe43b33d82531e7f4.jpg","text":"TemporaryFile(/tmp/multipartBody1820450240030728569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154554879,"filename":"image_06042025_07_08_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673397","file1":"1350673396","file0":"1350673395","file4":"1350673400","file5":"1350673402","file3":"1350673399"},"map_files_photo_id_array":[{"photo_id":"1350673402","filename":"file5"},{"photo_id":"1350673397","filename":"file2"},{"photo_id":"1350673400","filename":"file4"},{"photo_id":"1350673396","filename":"file1"},{"photo_id":"1350673395","filename":"file0"},{"photo_id":"1350673399","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673397":["hashtag1","hashtag2"]},{"1350673400":["hashtag1","hashtag2"]},{"1350673399":["hashtag1","hashtag2"]},{"1350673396":["hashtag1","hashtag2"]},{"1350673402":["hashtag1","hashtag2"]},{"1350673395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673397, 1350673400, 1350673399, 1350673396, 1350673402, 1350673395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.41038632392883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:22:33.109249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_15_9341.jpg', '/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_25_10372.jpg', '/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_35_9467.jpg', '/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_45_10343.jpg', '/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_55_10358.jpg', '/home/pi/Desktop/images/06042025/07/09/image_06042025_07_10_05_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_15_9341.jpg
/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_25_10372.jpg
/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_35_9467.jpg
/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_45_10343.jpg
/home/pi/Desktop/images/06042025/07/09/image_06042025_07_09_55_10358.jpg
/home/pi/Desktop/images/06042025/07/09/image_06042025_07_10_05_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673410","1350673412","1350673415","1350673411","1350673414","1350673413"],"photo_ids_order":["1350673410","1350673411","1350673412","1350673413","1350673414","1350673415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/680158c009119c9a9702d0c72a162143.jpg","text":"TemporaryFile(/tmp/multipartBody6400251854288443216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154615026,"filename":"image_06042025_07_09_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/4/9/bf4dc012eeab684cc2cdc1e9823c2bb3.jpg","text":"TemporaryFile(/tmp/multipartBody6032944182412074930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154615026,"filename":"image_06042025_07_09_35_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/93d64119868e348309d30ac09c6442c6.jpg","text":"TemporaryFile(/tmp/multipartBody7644378686334894825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154615026,"filename":"image_06042025_07_10_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/4/9/c68f169748b0640a9f1aacab052264b1.jpg","text":"TemporaryFile(/tmp/multipartBody6562639106712469251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154615026,"filename":"image_06042025_07_09_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/4/9/c5168b6577bae796dd440390e7e9d264.jpg","text":"TemporaryFile(/tmp/multipartBody8562888838572347978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154615026,"filename":"image_06042025_07_09_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/4/9/3911b321ec8c3bd2a5cc55b0fdb6a9c0.jpg","text":"TemporaryFile(/tmp/multipartBody4369064765467529938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154615026,"filename":"image_06042025_07_09_45_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673412","file1":"1350673411","file0":"1350673410","file4":"1350673414","file5":"1350673415","file3":"1350673413"},"map_files_photo_id_array":[{"photo_id":"1350673415","filename":"file5"},{"photo_id":"1350673412","filename":"file2"},{"photo_id":"1350673414","filename":"file4"},{"photo_id":"1350673411","filename":"file1"},{"photo_id":"1350673410","filename":"file0"},{"photo_id":"1350673413","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673410":["hashtag1","hashtag2"]},{"1350673412":["hashtag1","hashtag2"]},{"1350673415":["hashtag1","hashtag2"]},{"1350673411":["hashtag1","hashtag2"]},{"1350673414":["hashtag1","hashtag2"]},{"1350673413":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673410, 1350673412, 1350673415, 1350673411, 1350673414, 1350673413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.282395362854004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:23:32.296673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_15_10373.jpg', '/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_25_9487.jpg', '/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_35_10369.jpg', '/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_46_10368.jpg', '/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_55_9384.jpg', '/home/pi/Desktop/images/06042025/07/10/image_06042025_07_11_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_15_10373.jpg
/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_25_9487.jpg
/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_35_10369.jpg
/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_46_10368.jpg
/home/pi/Desktop/images/06042025/07/10/image_06042025_07_10_55_9384.jpg
/home/pi/Desktop/images/06042025/07/10/image_06042025_07_11_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":["1350673425","1350673424","1350673427","1350673421","1350673426","1350673428"],"photo_ids_order":["1350673421","1350673424","1350673425","1350673426","1350673427","1350673428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49d0f437858386208ff82d25d954e2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1799957959215510982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154674307,"filename":"image_06042025_07_10_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/4/9/af804de5e55d96c2bb8a9e3fe1cdc0c5.jpg","text":"TemporaryFile(/tmp/multipartBody5163020531681684556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154674307,"filename":"image_06042025_07_10_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/4/9/90412a811fb4960aa6c30e8d043e58a9.jpg","text":"TemporaryFile(/tmp/multipartBody7551085501965294189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154674307,"filename":"image_06042025_07_10_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d229da5ca6cfd241b1892045460a55a8.jpg","text":"TemporaryFile(/tmp/multipartBody7123613655140276714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154674307,"filename":"image_06042025_07_10_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/371b8df768a4958980c2065aaffcf363.jpg","text":"TemporaryFile(/tmp/multipartBody6247198775516406544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154674307,"filename":"image_06042025_07_10_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/4/9/999190e02d5c6b319f521e20a9a6ed3c.jpg","text":"TemporaryFile(/tmp/multipartBody4978379546273376142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154674307,"filename":"image_06042025_07_11_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673425","file1":"1350673424","file0":"1350673421","file4":"1350673427","file5":"1350673428","file3":"1350673426"},"map_files_photo_id_array":[{"photo_id":"1350673428","filename":"file5"},{"photo_id":"1350673425","filename":"file2"},{"photo_id":"1350673427","filename":"file4"},{"photo_id":"1350673424","filename":"file1"},{"photo_id":"1350673421","filename":"file0"},{"photo_id":"1350673426","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673425":["hashtag1","hashtag2"]},{"1350673424":["hashtag1","hashtag2"]},{"1350673427":["hashtag1","hashtag2"]},{"1350673421":["hashtag1","hashtag2"]},{"1350673426":["hashtag1","hashtag2"]},{"1350673428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673425, 1350673424, 1350673427, 1350673421, 1350673426, 1350673428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.958211183547974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:24:32.580126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_16_10368.jpg', '/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_25_9455.jpg', '/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_35_10380.jpg', '/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_45_9447.jpg', '/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_55_10392.jpg', '/home/pi/Desktop/images/06042025/07/11/image_06042025_07_12_06_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_16_10368.jpg
/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_25_9455.jpg
/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_35_10380.jpg
/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_45_9447.jpg
/home/pi/Desktop/images/06042025/07/11/image_06042025_07_11_55_10392.jpg
/home/pi/Desktop/images/06042025/07/11/image_06042025_07_12_06_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":["1350673436","1350673439","1350673441","1350673438","1350673440","1350673437"],"photo_ids_order":["1350673436","1350673437","1350673438","1350673439","1350673440","1350673441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ebca1975da8530f381c450ca2d64f023.jpg","text":"TemporaryFile(/tmp/multipartBody2472572177009996441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154734490,"filename":"image_06042025_07_11_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/4/9/ef07e8b6deb5f05c722b3f2f850d8b2c.jpg","text":"TemporaryFile(/tmp/multipartBody665276421050006121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154734490,"filename":"image_06042025_07_11_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f9c49db292169e7d78dc18df058e79e.jpg","text":"TemporaryFile(/tmp/multipartBody7226074181949545822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154734490,"filename":"image_06042025_07_12_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/4/9/7afcc8aaf3d493040bc703c7048fcbdd.jpg","text":"TemporaryFile(/tmp/multipartBody3832719353088746514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154734490,"filename":"image_06042025_07_11_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/4/9/e79fdce2802b80f247afbdfff2f1c4c9.jpg","text":"TemporaryFile(/tmp/multipartBody699989925049594022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154734490,"filename":"image_06042025_07_11_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/4/9/ffca9178405b20d7302d23fcf402b704.jpg","text":"TemporaryFile(/tmp/multipartBody8805106203804657608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154734490,"filename":"image_06042025_07_11_25_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673438","file1":"1350673437","file0":"1350673436","file4":"1350673440","file5":"1350673441","file3":"1350673439"},"map_files_photo_id_array":[{"photo_id":"1350673441","filename":"file5"},{"photo_id":"1350673438","filename":"file2"},{"photo_id":"1350673440","filename":"file4"},{"photo_id":"1350673437","filename":"file1"},{"photo_id":"1350673436","filename":"file0"},{"photo_id":"1350673439","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673436":["hashtag1","hashtag2"]},{"1350673439":["hashtag1","hashtag2"]},{"1350673441":["hashtag1","hashtag2"]},{"1350673438":["hashtag1","hashtag2"]},{"1350673440":["hashtag1","hashtag2"]},{"1350673437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673436, 1350673439, 1350673441, 1350673438, 1350673440, 1350673437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45970034599304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:25:32.677373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_15_9345.jpg', '/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_25_10382.jpg', '/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_35_9434.jpg', '/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_45_10372.jpg', '/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_56_10362.jpg', '/home/pi/Desktop/images/06042025/07/12/image_06042025_07_13_05_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_15_9345.jpg
/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_25_10382.jpg
/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_35_9434.jpg
/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_45_10372.jpg
/home/pi/Desktop/images/06042025/07/12/image_06042025_07_12_56_10362.jpg
/home/pi/Desktop/images/06042025/07/12/image_06042025_07_13_05_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673454","1350673457","1350673451","1350673453","1350673456","1350673455"],"photo_ids_order":["1350673451","1350673453","1350673454","1350673455","1350673456","1350673457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7f98040de6e9d9ec7b9cdf39d823be1.jpg","text":"TemporaryFile(/tmp/multipartBody607120406007289747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154794614,"filename":"image_06042025_07_12_35_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27f09dc35f89e2aaa4ee32d0fcc85504.jpg","text":"TemporaryFile(/tmp/multipartBody8232849747483823202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154794614,"filename":"image_06042025_07_13_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/4/9/f4312a63786973acd8745e7889a4ae03.jpg","text":"TemporaryFile(/tmp/multipartBody744607900198295586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154794614,"filename":"image_06042025_07_12_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/4/9/65f97bc49314f61d6c7de79184a81844.jpg","text":"TemporaryFile(/tmp/multipartBody4905609199648216130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154794614,"filename":"image_06042025_07_12_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/4/9/94410a1b8cc5ffc425d61399e8cb49af.jpg","text":"TemporaryFile(/tmp/multipartBody9028512740345405844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154794614,"filename":"image_06042025_07_12_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f46779af7ab534f4e2c6ead4a5605fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8560519758350923977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154794614,"filename":"image_06042025_07_12_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673454","file1":"1350673453","file0":"1350673451","file4":"1350673456","file5":"1350673457","file3":"1350673455"},"map_files_photo_id_array":[{"photo_id":"1350673457","filename":"file5"},{"photo_id":"1350673454","filename":"file2"},{"photo_id":"1350673456","filename":"file4"},{"photo_id":"1350673453","filename":"file1"},{"photo_id":"1350673451","filename":"file0"},{"photo_id":"1350673455","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673454":["hashtag1","hashtag2"]},{"1350673457":["hashtag1","hashtag2"]},{"1350673451":["hashtag1","hashtag2"]},{"1350673453":["hashtag1","hashtag2"]},{"1350673456":["hashtag1","hashtag2"]},{"1350673455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673454, 1350673457, 1350673451, 1350673453, 1350673456, 1350673455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.049565076828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:26:32.900352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_15_10411.jpg', '/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_25_9499.jpg', '/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_35_10366.jpg', '/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_46_10380.jpg', '/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_55_9465.jpg', '/home/pi/Desktop/images/06042025/07/13/image_06042025_07_14_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_15_10411.jpg
/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_25_9499.jpg
/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_35_10366.jpg
/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_46_10380.jpg
/home/pi/Desktop/images/06042025/07/13/image_06042025_07_13_55_9465.jpg
/home/pi/Desktop/images/06042025/07/13/image_06042025_07_14_05_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673472","1350673469","1350673466","1350673471","1350673470","1350673473"],"photo_ids_order":["1350673466","1350673469","1350673470","1350673471","1350673472","1350673473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f390da631753c1606a07691fcc3eb6d2.jpg","text":"TemporaryFile(/tmp/multipartBody2202387632416948355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154854887,"filename":"image_06042025_07_13_55_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1f84f22b28d2c53e02e2aea488ef514.jpg","text":"TemporaryFile(/tmp/multipartBody7058828394495839819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154854887,"filename":"image_06042025_07_13_25_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b729c2d837943c5271ef6311d0fc516c.jpg","text":"TemporaryFile(/tmp/multipartBody4801367926504887161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154854887,"filename":"image_06042025_07_13_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/4/9/0a432225ae6ecbd2eef74ac4f3cc65b4.jpg","text":"TemporaryFile(/tmp/multipartBody7630669454032240123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154854887,"filename":"image_06042025_07_13_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/4/9/6a60dd4e3ebbd1fbc72222142bf74da1.jpg","text":"TemporaryFile(/tmp/multipartBody5798821952841226045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154854887,"filename":"image_06042025_07_13_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/45f4cdb61ebc89cb16d2f6d6f53bf758.jpg","text":"TemporaryFile(/tmp/multipartBody1117083260776760813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154854887,"filename":"image_06042025_07_14_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673470","file1":"1350673469","file0":"1350673466","file4":"1350673472","file5":"1350673473","file3":"1350673471"},"map_files_photo_id_array":[{"photo_id":"1350673473","filename":"file5"},{"photo_id":"1350673470","filename":"file2"},{"photo_id":"1350673472","filename":"file4"},{"photo_id":"1350673469","filename":"file1"},{"photo_id":"1350673466","filename":"file0"},{"photo_id":"1350673471","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673472":["hashtag1","hashtag2"]},{"1350673469":["hashtag1","hashtag2"]},{"1350673466":["hashtag1","hashtag2"]},{"1350673471":["hashtag1","hashtag2"]},{"1350673470":["hashtag1","hashtag2"]},{"1350673473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673472, 1350673469, 1350673466, 1350673471, 1350673470, 1350673473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.577696084976196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:27:33.104040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_15_9425.jpg', '/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_25_10357.jpg', '/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_36_10344.jpg', '/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_45_9365.jpg', '/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_55_10359.jpg', '/home/pi/Desktop/images/06042025/07/14/image_06042025_07_15_06_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_15_9425.jpg
/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_25_10357.jpg
/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_36_10344.jpg
/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_45_9365.jpg
/home/pi/Desktop/images/06042025/07/14/image_06042025_07_14_55_10359.jpg
/home/pi/Desktop/images/06042025/07/14/image_06042025_07_15_06_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":["1350673487","1350673484","1350673486","1350673489","1350673488","1350673485"],"photo_ids_order":["1350673484","1350673485","1350673486","1350673487","1350673488","1350673489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1dc4d52b97bb21c9abf0e4f794406d9.jpg","text":"TemporaryFile(/tmp/multipartBody1392155390276009993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154915010,"filename":"image_06042025_07_14_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/4/9/34c772558bd7e041b9070696890d3b45.jpg","text":"TemporaryFile(/tmp/multipartBody2293261406409874557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154915010,"filename":"image_06042025_07_14_15_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e4f4f17b2471926bd5c44fb3f60bbe5.jpg","text":"TemporaryFile(/tmp/multipartBody8145272522571357116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154915010,"filename":"image_06042025_07_14_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/4/9/29ac50c2fe64785123c52a4b1fc6baaa.jpg","text":"TemporaryFile(/tmp/multipartBody1902323733368579081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154915010,"filename":"image_06042025_07_15_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96a670b4a443e59088bd7e0d1b1ed751.jpg","text":"TemporaryFile(/tmp/multipartBody7113473131721013072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154915010,"filename":"image_06042025_07_14_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/4/9/3b13cd8fa64df5fced6f514b8bd268b4.jpg","text":"TemporaryFile(/tmp/multipartBody253665614370713754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154915010,"filename":"image_06042025_07_14_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673486","file1":"1350673485","file0":"1350673484","file4":"1350673488","file5":"1350673489","file3":"1350673487"},"map_files_photo_id_array":[{"photo_id":"1350673489","filename":"file5"},{"photo_id":"1350673486","filename":"file2"},{"photo_id":"1350673488","filename":"file4"},{"photo_id":"1350673485","filename":"file1"},{"photo_id":"1350673484","filename":"file0"},{"photo_id":"1350673487","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673487":["hashtag1","hashtag2"]},{"1350673484":["hashtag1","hashtag2"]},{"1350673486":["hashtag1","hashtag2"]},{"1350673489":["hashtag1","hashtag2"]},{"1350673488":["hashtag1","hashtag2"]},{"1350673485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673487, 1350673484, 1350673486, 1350673489, 1350673488, 1350673485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.091752767562866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:28:32.319060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_15_9394.jpg', '/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_25_10412.jpg', '/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_35_9457.jpg', '/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_45_10381.jpg', '/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_56_10368.jpg', '/home/pi/Desktop/images/06042025/07/15/image_06042025_07_16_05_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_15_9394.jpg
/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_25_10412.jpg
/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_35_9457.jpg
/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_45_10381.jpg
/home/pi/Desktop/images/06042025/07/15/image_06042025_07_15_56_10368.jpg
/home/pi/Desktop/images/06042025/07/15/image_06042025_07_16_05_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":["1350673503","1350673496","1350673505","1350673498","1350673507","1350673500"],"photo_ids_order":["1350673496","1350673498","1350673500","1350673503","1350673505","1350673507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/191d3f47fcf115c3a81289b43196a26b.jpg","text":"TemporaryFile(/tmp/multipartBody6478344382300505450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154974223,"filename":"image_06042025_07_15_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/4/9/573045e845301e27ce6e39fa8d15605b.jpg","text":"TemporaryFile(/tmp/multipartBody7607919311834309330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154974223,"filename":"image_06042025_07_15_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5e9d562db184f2af482fd0b58259c956.jpg","text":"TemporaryFile(/tmp/multipartBody8372711992521928077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154974223,"filename":"image_06042025_07_15_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fcddc11df8415cb7ddf96da3d21290e1.jpg","text":"TemporaryFile(/tmp/multipartBody4418938105205712910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154974223,"filename":"image_06042025_07_15_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/4/9/55a772b76bdd76f0d8e7b0559363733c.jpg","text":"TemporaryFile(/tmp/multipartBody1443448009981745983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154974223,"filename":"image_06042025_07_16_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/4/9/d1b9ad1a80093e8625874bff442681e6.jpg","text":"TemporaryFile(/tmp/multipartBody3289694541489174432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744154974223,"filename":"image_06042025_07_15_35_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673500","file1":"1350673498","file0":"1350673496","file4":"1350673505","file5":"1350673507","file3":"1350673503"},"map_files_photo_id_array":[{"photo_id":"1350673507","filename":"file5"},{"photo_id":"1350673500","filename":"file2"},{"photo_id":"1350673505","filename":"file4"},{"photo_id":"1350673498","filename":"file1"},{"photo_id":"1350673496","filename":"file0"},{"photo_id":"1350673503","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673503":["hashtag1","hashtag2"]},{"1350673496":["hashtag1","hashtag2"]},{"1350673505":["hashtag1","hashtag2"]},{"1350673498":["hashtag1","hashtag2"]},{"1350673507":["hashtag1","hashtag2"]},{"1350673500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673503, 1350673496, 1350673505, 1350673498, 1350673507, 1350673500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43606400489807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:29:32.489451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/16/image_06042025_07_16_15_10343.jpg', '/home/pi/Desktop/images/06042025/07/16/image_06042025_07_16_25_9365.jpg', '/home/pi/Desktop/images/06042025/07/16/image_06042025_07_16_35_10366.jpg', '/home/pi/Desktop/images/06042025/07/16/image_06042025_07_16_46_10420.jpg', '/home/pi/Desktop/images/06042025/07/16/image_06042025_07_17_05_10395.jpg', '/home/pi/Desktop/images/06042025/07/17/image_06042025_07_17_15_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/16/image_06042025_07_16_15_10343.jpg
/home/pi/Desktop/images/06042025/07/16/image_06042025_07_16_25_9365.jpg
/home/pi/Desktop/images/06042025/07/16/image_06042025_07_16_35_10366.jpg
/home/pi/Desktop/images/06042025/07/16/image_06042025_07_16_46_10420.jpg
/home/pi/Desktop/images/06042025/07/16/image_06042025_07_17_05_10395.jpg
/home/pi/Desktop/images/06042025/07/17/image_06042025_07_17_15_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673517","1350673514","1350673522","1350673519","1350673510","1350673512"],"photo_ids_order":["1350673510","1350673512","1350673514","1350673517","1350673519","1350673522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/07154c5ae1f77dd321ddb3bb34d270a4.jpg","text":"TemporaryFile(/tmp/multipartBody5241960295628590007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155034390,"filename":"image_06042025_07_16_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/4/9/c945a5a69a158327b20eb7616247741b.jpg","text":"TemporaryFile(/tmp/multipartBody9222437681056492130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155034390,"filename":"image_06042025_07_16_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/4/9/d3cd8607fca540dfbe126e4cd1b63349.jpg","text":"TemporaryFile(/tmp/multipartBody1137769391384703404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155034390,"filename":"image_06042025_07_17_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/4/9/e964d2424c7afafb24d47f5da2573b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8168088004846801733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155034390,"filename":"image_06042025_07_17_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/4/9/bb46c692adf6dc3ef5789ed451713397.jpg","text":"TemporaryFile(/tmp/multipartBody4220905866024973593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155034390,"filename":"image_06042025_07_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/4/9/aefac98e15b3e3f7e5925599405cae15.jpg","text":"TemporaryFile(/tmp/multipartBody7249477367836236825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155034390,"filename":"image_06042025_07_16_25_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673514","file1":"1350673512","file0":"1350673510","file4":"1350673519","file5":"1350673522","file3":"1350673517"},"map_files_photo_id_array":[{"photo_id":"1350673522","filename":"file5"},{"photo_id":"1350673514","filename":"file2"},{"photo_id":"1350673519","filename":"file4"},{"photo_id":"1350673512","filename":"file1"},{"photo_id":"1350673510","filename":"file0"},{"photo_id":"1350673517","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673517":["hashtag1","hashtag2"]},{"1350673514":["hashtag1","hashtag2"]},{"1350673522":["hashtag1","hashtag2"]},{"1350673519":["hashtag1","hashtag2"]},{"1350673510":["hashtag1","hashtag2"]},{"1350673512":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673517, 1350673514, 1350673522, 1350673519, 1350673510, 1350673512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12786245346069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:30:32.788251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/17/image_06042025_07_17_35_10360.jpg', '/home/pi/Desktop/images/06042025/07/17/image_06042025_07_17_45_9495.jpg', '/home/pi/Desktop/images/06042025/07/17/image_06042025_07_17_55_10388.jpg', '/home/pi/Desktop/images/06042025/07/17/image_06042025_07_18_05_9351.jpg', '/home/pi/Desktop/images/06042025/07/18/image_06042025_07_18_15_10351.jpg', '/home/pi/Desktop/images/06042025/07/18/image_06042025_07_18_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/17/image_06042025_07_17_35_10360.jpg
/home/pi/Desktop/images/06042025/07/17/image_06042025_07_17_45_9495.jpg
/home/pi/Desktop/images/06042025/07/17/image_06042025_07_17_55_10388.jpg
/home/pi/Desktop/images/06042025/07/17/image_06042025_07_18_05_9351.jpg
/home/pi/Desktop/images/06042025/07/18/image_06042025_07_18_15_10351.jpg
/home/pi/Desktop/images/06042025/07/18/image_06042025_07_18_25_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673541","1350673534","1350673543","1350673537","1350673531","1350673539"],"photo_ids_order":["1350673531","1350673534","1350673537","1350673539","1350673541","1350673543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e807242692e0f665287a8b645be5d1b.jpg","text":"TemporaryFile(/tmp/multipartBody1977558656068825182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155094686,"filename":"image_06042025_07_18_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/4/9/c918dad2f4248a8c7aaa0fdc8d09a17c.jpg","text":"TemporaryFile(/tmp/multipartBody322128864352287802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155094686,"filename":"image_06042025_07_17_45_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9849ed55e42bad8c6cee91391b2f07e6.jpg","text":"TemporaryFile(/tmp/multipartBody2875994021578437741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155094686,"filename":"image_06042025_07_18_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/4/9/040324846850f67f9432a260249d8993.jpg","text":"TemporaryFile(/tmp/multipartBody3454381676572779520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155094686,"filename":"image_06042025_07_17_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/4/9/ae29902abb05f6deeb715e5e10815a8b.jpg","text":"TemporaryFile(/tmp/multipartBody870603080586054343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155094686,"filename":"image_06042025_07_17_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/4/9/4598edbb5a062f609b3af4679d851cdf.jpg","text":"TemporaryFile(/tmp/multipartBody5895226965664532808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155094686,"filename":"image_06042025_07_18_05_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673537","file1":"1350673534","file0":"1350673531","file4":"1350673541","file5":"1350673543","file3":"1350673539"},"map_files_photo_id_array":[{"photo_id":"1350673543","filename":"file5"},{"photo_id":"1350673537","filename":"file2"},{"photo_id":"1350673541","filename":"file4"},{"photo_id":"1350673534","filename":"file1"},{"photo_id":"1350673531","filename":"file0"},{"photo_id":"1350673539","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673541":["hashtag1","hashtag2"]},{"1350673534":["hashtag1","hashtag2"]},{"1350673543":["hashtag1","hashtag2"]},{"1350673537":["hashtag1","hashtag2"]},{"1350673531":["hashtag1","hashtag2"]},{"1350673539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673541, 1350673534, 1350673543, 1350673537, 1350673531, 1350673539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46071720123291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:31:32.949944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/18/image_06042025_07_18_45_10368.jpg', '/home/pi/Desktop/images/06042025/07/18/image_06042025_07_18_56_10362.jpg', '/home/pi/Desktop/images/06042025/07/18/image_06042025_07_19_05_9410.jpg', '/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_16_10446.jpg', '/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_25_9374.jpg', '/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_35_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/18/image_06042025_07_18_45_10368.jpg
/home/pi/Desktop/images/06042025/07/18/image_06042025_07_18_56_10362.jpg
/home/pi/Desktop/images/06042025/07/18/image_06042025_07_19_05_9410.jpg
/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_16_10446.jpg
/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_25_9374.jpg
/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_35_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":["1350673556","1350673559","1350673550","1350673552","1350673561","1350673555"],"photo_ids_order":["1350673550","1350673552","1350673555","1350673556","1350673559","1350673561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10e9b396903c01f95a5da5a5357cacb2.jpg","text":"TemporaryFile(/tmp/multipartBody8803247366283358352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155154863,"filename":"image_06042025_07_19_16_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/afbb4537413164f445923c494807ad0c.jpg","text":"TemporaryFile(/tmp/multipartBody3227402049706472191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155154863,"filename":"image_06042025_07_19_25_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f49f23f8eb5510e1e8fd79c732881b66.jpg","text":"TemporaryFile(/tmp/multipartBody722727773243784841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155154863,"filename":"image_06042025_07_18_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/4/9/2b9c24e230b4644ed700ce31efaf4a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7978589421277068383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155154863,"filename":"image_06042025_07_18_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/4/9/eea26f43d87c1aa12820b5c5f4bb8279.jpg","text":"TemporaryFile(/tmp/multipartBody5336970830363641207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155154863,"filename":"image_06042025_07_19_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e2a0134edd24e4f2573d869ab69213f0.jpg","text":"TemporaryFile(/tmp/multipartBody6200376790477725567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155154863,"filename":"image_06042025_07_19_05_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673555","file1":"1350673552","file0":"1350673550","file4":"1350673559","file5":"1350673561","file3":"1350673556"},"map_files_photo_id_array":[{"photo_id":"1350673561","filename":"file5"},{"photo_id":"1350673555","filename":"file2"},{"photo_id":"1350673559","filename":"file4"},{"photo_id":"1350673552","filename":"file1"},{"photo_id":"1350673550","filename":"file0"},{"photo_id":"1350673556","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673556":["hashtag1","hashtag2"]},{"1350673559":["hashtag1","hashtag2"]},{"1350673550":["hashtag1","hashtag2"]},{"1350673552":["hashtag1","hashtag2"]},{"1350673561":["hashtag1","hashtag2"]},{"1350673555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673556, 1350673559, 1350673550, 1350673552, 1350673561, 1350673555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0765323638916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:32:32.220401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_46_10376.jpg', '/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_55_9430.jpg', '/home/pi/Desktop/images/06042025/07/19/image_06042025_07_20_05_10415.jpg', '/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_15_9482.jpg', '/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_25_10344.jpg', '/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_35_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_46_10376.jpg
/home/pi/Desktop/images/06042025/07/19/image_06042025_07_19_55_9430.jpg
/home/pi/Desktop/images/06042025/07/19/image_06042025_07_20_05_10415.jpg
/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_15_9482.jpg
/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_25_10344.jpg
/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_35_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":["1350673577","1350673579","1350673573","1350673576","1350673581","1350673578"],"photo_ids_order":["1350673573","1350673576","1350673577","1350673578","1350673579","1350673581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75c536b492e0443150a2e1fa471a53eb.jpg","text":"TemporaryFile(/tmp/multipartBody4931128810323344554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155214137,"filename":"image_06042025_07_20_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/4/9/94b23882fdd5bcba2a63332b3ffd8298.jpg","text":"TemporaryFile(/tmp/multipartBody4952238298541294475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155214137,"filename":"image_06042025_07_20_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/4/9/25271a3981029939c2e6f38f30b4be79.jpg","text":"TemporaryFile(/tmp/multipartBody1507200627773784223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155214137,"filename":"image_06042025_07_19_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/4/9/68550e81afb78687373cf9df7a566637.jpg","text":"TemporaryFile(/tmp/multipartBody2258215735737233939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155214137,"filename":"image_06042025_07_19_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/4/9/942a2dea655fe97358b88184bab1f817.jpg","text":"TemporaryFile(/tmp/multipartBody3686633735291741162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155214137,"filename":"image_06042025_07_20_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/4/9/363eca5a8f232ecefbbb11aee4415283.jpg","text":"TemporaryFile(/tmp/multipartBody8341256399695820333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155214137,"filename":"image_06042025_07_20_15_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673577","file1":"1350673576","file0":"1350673573","file4":"1350673579","file5":"1350673581","file3":"1350673578"},"map_files_photo_id_array":[{"photo_id":"1350673581","filename":"file5"},{"photo_id":"1350673577","filename":"file2"},{"photo_id":"1350673579","filename":"file4"},{"photo_id":"1350673576","filename":"file1"},{"photo_id":"1350673573","filename":"file0"},{"photo_id":"1350673578","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673577":["hashtag1","hashtag2"]},{"1350673579":["hashtag1","hashtag2"]},{"1350673573":["hashtag1","hashtag2"]},{"1350673576":["hashtag1","hashtag2"]},{"1350673581":["hashtag1","hashtag2"]},{"1350673578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673577, 1350673579, 1350673573, 1350673576, 1350673581, 1350673578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94639849662781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:33:32.524529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_45_10424.jpg', '/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_55_10366.jpg', '/home/pi/Desktop/images/06042025/07/20/image_06042025_07_21_05_9448.jpg', '/home/pi/Desktop/images/06042025/07/21/image_06042025_07_21_15_10361.jpg', '/home/pi/Desktop/images/06042025/07/21/image_06042025_07_21_25_9433.jpg', '/home/pi/Desktop/images/06042025/07/21/image_06042025_07_21_45_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_45_10424.jpg
/home/pi/Desktop/images/06042025/07/20/image_06042025_07_20_55_10366.jpg
/home/pi/Desktop/images/06042025/07/20/image_06042025_07_21_05_9448.jpg
/home/pi/Desktop/images/06042025/07/21/image_06042025_07_21_15_10361.jpg
/home/pi/Desktop/images/06042025/07/21/image_06042025_07_21_25_9433.jpg
/home/pi/Desktop/images/06042025/07/21/image_06042025_07_21_45_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673595","1350673597","1350673593","1350673596","1350673599","1350673598"],"photo_ids_order":["1350673593","1350673595","1350673596","1350673597","1350673598","1350673599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9085e750c4ab744b04cf576024715228.jpg","text":"TemporaryFile(/tmp/multipartBody5310453510039150325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155274435,"filename":"image_06042025_07_20_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/4/9/5b1d05e056f3fadda6a2c6d238a8ca7f.jpg","text":"TemporaryFile(/tmp/multipartBody2708551246834991323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155274435,"filename":"image_06042025_07_21_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/4/9/8aaec45470c5f27844c4fadad36a3344.jpg","text":"TemporaryFile(/tmp/multipartBody7472644201347970035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155274435,"filename":"image_06042025_07_20_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/4/9/98d77f2f9cac22e94db1369e029d0442.jpg","text":"TemporaryFile(/tmp/multipartBody1773634027260089615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155274435,"filename":"image_06042025_07_21_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/4/9/be90073b37a306b0e6b5f299c409dbab.jpg","text":"TemporaryFile(/tmp/multipartBody4874284341014635372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155274435,"filename":"image_06042025_07_21_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/4/9/9d7741280e44db72777755a2b395f801.jpg","text":"TemporaryFile(/tmp/multipartBody348054665145203101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155274435,"filename":"image_06042025_07_21_25_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673596","file1":"1350673595","file0":"1350673593","file4":"1350673598","file5":"1350673599","file3":"1350673597"},"map_files_photo_id_array":[{"photo_id":"1350673599","filename":"file5"},{"photo_id":"1350673596","filename":"file2"},{"photo_id":"1350673598","filename":"file4"},{"photo_id":"1350673595","filename":"file1"},{"photo_id":"1350673593","filename":"file0"},{"photo_id":"1350673597","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673595":["hashtag1","hashtag2"]},{"1350673597":["hashtag1","hashtag2"]},{"1350673593":["hashtag1","hashtag2"]},{"1350673596":["hashtag1","hashtag2"]},{"1350673599":["hashtag1","hashtag2"]},{"1350673598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673595, 1350673597, 1350673593, 1350673596, 1350673599, 1350673598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34225344657898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:34:32.709232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/21/image_06042025_07_21_55_9454.jpg', '/home/pi/Desktop/images/06042025/07/21/image_06042025_07_22_05_10376.jpg', '/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_16_10413.jpg', '/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_25_9452.jpg', '/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_36_10398.jpg', '/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_45_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/21/image_06042025_07_21_55_9454.jpg
/home/pi/Desktop/images/06042025/07/21/image_06042025_07_22_05_10376.jpg
/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_16_10413.jpg
/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_25_9452.jpg
/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_36_10398.jpg
/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_45_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673617","1350673616","1350673615","1350673609","1350673612","1350673614"],"photo_ids_order":["1350673609","1350673612","1350673614","1350673615","1350673616","1350673617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de86ddc76eca686b20d63512012bb809.jpg","text":"TemporaryFile(/tmp/multipartBody7317244559680939228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155334711,"filename":"image_06042025_07_22_45_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d25e44fe810946339c8e3d16ba9f7c33.jpg","text":"TemporaryFile(/tmp/multipartBody5416163231390699286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155334711,"filename":"image_06042025_07_22_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/4/9/cee4d196b6bedd1c3d98dd6a8c39a863.jpg","text":"TemporaryFile(/tmp/multipartBody2649610095598172160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155334711,"filename":"image_06042025_07_22_25_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66b9ee1fe871ac1d3fec8ab95ef63007.jpg","text":"TemporaryFile(/tmp/multipartBody386430170407595977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155334711,"filename":"image_06042025_07_21_55_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d27c8928852c7b4048bd18f91bd8e36.jpg","text":"TemporaryFile(/tmp/multipartBody54926478156224313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155334711,"filename":"image_06042025_07_22_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/255b4615149d7a427de47356de59a6e0.jpg","text":"TemporaryFile(/tmp/multipartBody8885487065996983106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155334711,"filename":"image_06042025_07_22_16_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673614","file1":"1350673612","file0":"1350673609","file4":"1350673616","file5":"1350673617","file3":"1350673615"},"map_files_photo_id_array":[{"photo_id":"1350673617","filename":"file5"},{"photo_id":"1350673614","filename":"file2"},{"photo_id":"1350673616","filename":"file4"},{"photo_id":"1350673612","filename":"file1"},{"photo_id":"1350673609","filename":"file0"},{"photo_id":"1350673615","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673617":["hashtag1","hashtag2"]},{"1350673616":["hashtag1","hashtag2"]},{"1350673615":["hashtag1","hashtag2"]},{"1350673609":["hashtag1","hashtag2"]},{"1350673612":["hashtag1","hashtag2"]},{"1350673614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673617, 1350673616, 1350673615, 1350673609, 1350673612, 1350673614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.920824766159058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:35:32.862196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_55_10360.jpg', '/home/pi/Desktop/images/06042025/07/22/image_06042025_07_23_06_10340.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_15_9354.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_25_10371.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_35_9516.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_55_10360.jpg
/home/pi/Desktop/images/06042025/07/22/image_06042025_07_23_06_10340.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_15_9354.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_25_10371.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_35_9516.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_45_10371.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8395180702209473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 01:35:42.969128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_55_10360.jpg', '/home/pi/Desktop/images/06042025/07/22/image_06042025_07_23_06_10340.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_15_9354.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_25_10371.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_35_9516.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/22/image_06042025_07_22_55_10360.jpg
/home/pi/Desktop/images/06042025/07/22/image_06042025_07_23_06_10340.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_15_9354.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_25_10371.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_35_9516.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_45_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":["1350673643","1350673637","1350673648","1350673642","1350673639","1350673641"],"photo_ids_order":["1350673637","1350673639","1350673641","1350673642","1350673643","1350673648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f32e8c1703b0b409b353e109d0874b93.jpg","text":"TemporaryFile(/tmp/multipartBody6790480054433619664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155403952,"filename":"image_06042025_07_23_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/4/9/3ce06d151bab8ed4367061994e3736ba.jpg","text":"TemporaryFile(/tmp/multipartBody7843788823401464954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155403952,"filename":"image_06042025_07_22_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/4/9/749841f9c007320b3e5de35f7f0c6603.jpg","text":"TemporaryFile(/tmp/multipartBody5544281007966696589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155403952,"filename":"image_06042025_07_23_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/4/9/f214c5aa6e0f22af6e9262277b9871d7.jpg","text":"TemporaryFile(/tmp/multipartBody2187003096977759855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155403952,"filename":"image_06042025_07_23_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/4/9/3c0b672651fcdcdf140c4a6d4d1994b0.jpg","text":"TemporaryFile(/tmp/multipartBody6023223602671128862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155403952,"filename":"image_06042025_07_23_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/4/9/a1f15fb1d5ccf511e6004d308f78b749.jpg","text":"TemporaryFile(/tmp/multipartBody8274767946230824945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155403952,"filename":"image_06042025_07_23_15_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673641","file1":"1350673639","file0":"1350673637","file4":"1350673643","file5":"1350673648","file3":"1350673642"},"map_files_photo_id_array":[{"photo_id":"1350673648","filename":"file5"},{"photo_id":"1350673641","filename":"file2"},{"photo_id":"1350673643","filename":"file4"},{"photo_id":"1350673639","filename":"file1"},{"photo_id":"1350673637","filename":"file0"},{"photo_id":"1350673642","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673643":["hashtag1","hashtag2"]},{"1350673637":["hashtag1","hashtag2"]},{"1350673648":["hashtag1","hashtag2"]},{"1350673642":["hashtag1","hashtag2"]},{"1350673639":["hashtag1","hashtag2"]},{"1350673641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673643, 1350673637, 1350673648, 1350673642, 1350673639, 1350673641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.541476249694824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:36:33.134199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_56_10441.jpg', '/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_15_10363.jpg', '/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_25_9516.jpg', '/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_35_10454.jpg', '/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_45_9421.jpg', '/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_55_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_56_10441.jpg
/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_15_10363.jpg
/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_25_9516.jpg
/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_35_10454.jpg
/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_45_9421.jpg
/home/pi/Desktop/images/06042025/07/24/image_06042025_07_24_55_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":["1350673670","1350673667","1350673663","1350673666","1350673669","1350673668"],"photo_ids_order":["1350673663","1350673666","1350673667","1350673668","1350673669","1350673670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4075aa38695a0114e6c8a643b7bba2d.jpg","text":"TemporaryFile(/tmp/multipartBody4314350388926282540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155455054,"filename":"image_06042025_07_24_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/4/9/64a22933e223e2094ae96559eccd7c05.jpg","text":"TemporaryFile(/tmp/multipartBody4488628033670643767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155455054,"filename":"image_06042025_07_24_25_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d50e6a139bc9baca985ee17fea27e2a4.jpg","text":"TemporaryFile(/tmp/multipartBody7656226839851969717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155455054,"filename":"image_06042025_07_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/4/9/1fd09f3f00dcf7f45b8125435949b642.jpg","text":"TemporaryFile(/tmp/multipartBody1915699215114309473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155455054,"filename":"image_06042025_07_24_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/4/9/c9094fe64224191da1f59d3a325a788b.jpg","text":"TemporaryFile(/tmp/multipartBody3542134717796456746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155455054,"filename":"image_06042025_07_24_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/4/9/1841fb1e538cba2613b3fb0af8898f7b.jpg","text":"TemporaryFile(/tmp/multipartBody2331992346943533717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155455054,"filename":"image_06042025_07_24_35_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673667","file1":"1350673666","file0":"1350673663","file4":"1350673669","file5":"1350673670","file3":"1350673668"},"map_files_photo_id_array":[{"photo_id":"1350673670","filename":"file5"},{"photo_id":"1350673667","filename":"file2"},{"photo_id":"1350673669","filename":"file4"},{"photo_id":"1350673666","filename":"file1"},{"photo_id":"1350673663","filename":"file0"},{"photo_id":"1350673668","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673670":["hashtag1","hashtag2"]},{"1350673667":["hashtag1","hashtag2"]},{"1350673663":["hashtag1","hashtag2"]},{"1350673666":["hashtag1","hashtag2"]},{"1350673669":["hashtag1","hashtag2"]},{"1350673668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673670, 1350673667, 1350673663, 1350673666, 1350673669, 1350673668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37347674369812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:37:32.324818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/24/image_06042025_07_25_06_10359.jpg', '/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_15_9439.jpg', '/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_26_10449.jpg', '/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_35_9385.jpg', '/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_45_10361.jpg', '/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/24/image_06042025_07_25_06_10359.jpg
/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_15_9439.jpg
/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_26_10449.jpg
/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_35_9385.jpg
/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_45_10361.jpg
/home/pi/Desktop/images/06042025/07/25/image_06042025_07_25_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673688","1350673682","1350673690","1350673684","1350673687","1350673689"],"photo_ids_order":["1350673682","1350673684","1350673687","1350673688","1350673689","1350673690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b34c170fceed65ea4ad1c1a118cdbaf.jpg","text":"TemporaryFile(/tmp/multipartBody8046972007389829715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155514241,"filename":"image_06042025_07_25_35_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c1a8740a79b75b52c4733b074a18dec.jpg","text":"TemporaryFile(/tmp/multipartBody6846194581814345378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155514241,"filename":"image_06042025_07_25_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/4/9/e7494f604cfd1978bda1371454c735de.jpg","text":"TemporaryFile(/tmp/multipartBody1138922757393823753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155514241,"filename":"image_06042025_07_25_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/4/9/b3130aa5d597f4635d529b56a0ce69ab.jpg","text":"TemporaryFile(/tmp/multipartBody5546962409540307796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155514241,"filename":"image_06042025_07_25_15_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e42b7369d920c1c62f53a53ee5c0782.jpg","text":"TemporaryFile(/tmp/multipartBody1238566417110050852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155514241,"filename":"image_06042025_07_25_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed7de28ac3f39f9c8513b2210246baf7.jpg","text":"TemporaryFile(/tmp/multipartBody7883308160878675739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155514241,"filename":"image_06042025_07_25_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673687","file1":"1350673684","file0":"1350673682","file4":"1350673689","file5":"1350673690","file3":"1350673688"},"map_files_photo_id_array":[{"photo_id":"1350673690","filename":"file5"},{"photo_id":"1350673687","filename":"file2"},{"photo_id":"1350673689","filename":"file4"},{"photo_id":"1350673684","filename":"file1"},{"photo_id":"1350673682","filename":"file0"},{"photo_id":"1350673688","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673688":["hashtag1","hashtag2"]},{"1350673682":["hashtag1","hashtag2"]},{"1350673690":["hashtag1","hashtag2"]},{"1350673684":["hashtag1","hashtag2"]},{"1350673687":["hashtag1","hashtag2"]},{"1350673689":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673688, 1350673682, 1350673690, 1350673684, 1350673687, 1350673689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45112752914429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:38:32.559392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/25/image_06042025_07_26_05_9411.jpg', '/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_15_10397.jpg', '/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_25_9435.jpg', '/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_35_10367.jpg', '/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_46_10423.jpg', '/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_55_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/25/image_06042025_07_26_05_9411.jpg
/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_15_10397.jpg
/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_25_9435.jpg
/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_35_10367.jpg
/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_46_10423.jpg
/home/pi/Desktop/images/06042025/07/26/image_06042025_07_26_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":["1350673703","1350673706","1350673708","1350673705","1350673704","1350673707"],"photo_ids_order":["1350673703","1350673704","1350673705","1350673706","1350673707","1350673708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b3a967f4d5ff0cc0e911b95f3e8c07eb.jpg","text":"TemporaryFile(/tmp/multipartBody9174795899130533057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155574721,"filename":"image_06042025_07_26_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/4/9/5c08c4d4dfbd5695ffeba3804d8de08b.jpg","text":"TemporaryFile(/tmp/multipartBody1644741001905040693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155574721,"filename":"image_06042025_07_26_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cfdc9898b8fe98b72e5d5e7a44cf0c7.jpg","text":"TemporaryFile(/tmp/multipartBody6671260478134848155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155574721,"filename":"image_06042025_07_26_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/4/9/2449bd906d3d2ae289f72e5bc1e0f5c6.jpg","text":"TemporaryFile(/tmp/multipartBody1325323050974589332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155574721,"filename":"image_06042025_07_26_25_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0788f58968aaa70599d4fadbbee3f87.jpg","text":"TemporaryFile(/tmp/multipartBody612906138562014494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155574721,"filename":"image_06042025_07_26_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/4/9/5b4832a45f1628082bc1e8cec44b64ee.jpg","text":"TemporaryFile(/tmp/multipartBody3422241806613452590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155574721,"filename":"image_06042025_07_26_46_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673705","file1":"1350673704","file0":"1350673703","file4":"1350673707","file5":"1350673708","file3":"1350673706"},"map_files_photo_id_array":[{"photo_id":"1350673708","filename":"file5"},{"photo_id":"1350673705","filename":"file2"},{"photo_id":"1350673707","filename":"file4"},{"photo_id":"1350673704","filename":"file1"},{"photo_id":"1350673703","filename":"file0"},{"photo_id":"1350673706","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673703":["hashtag1","hashtag2"]},{"1350673706":["hashtag1","hashtag2"]},{"1350673708":["hashtag1","hashtag2"]},{"1350673705":["hashtag1","hashtag2"]},{"1350673704":["hashtag1","hashtag2"]},{"1350673707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673703, 1350673706, 1350673708, 1350673705, 1350673704, 1350673707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48010206222534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:39:32.795920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/26/image_06042025_07_27_05_10403.jpg', '/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_15_9609.jpg', '/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_25_10381.jpg', '/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_35_9460.jpg', '/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_45_10369.jpg', '/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_56_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/26/image_06042025_07_27_05_10403.jpg
/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_15_9609.jpg
/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_25_10381.jpg
/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_35_9460.jpg
/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_45_10369.jpg
/home/pi/Desktop/images/06042025/07/27/image_06042025_07_27_56_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":["1350673721","1350673730","1350673724","1350673727","1350673729","1350673728"],"photo_ids_order":["1350673721","1350673724","1350673727","1350673728","1350673729","1350673730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01d20eecfd41024b36344ec9affa69ab.jpg","text":"TemporaryFile(/tmp/multipartBody8959408330571885215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155634701,"filename":"image_06042025_07_27_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a2bfaaa69f6c101c121c1e21cb075cd.jpg","text":"TemporaryFile(/tmp/multipartBody4982620432824845041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155634701,"filename":"image_06042025_07_27_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a0700415d37a3072e23e82d3d8df698.jpg","text":"TemporaryFile(/tmp/multipartBody433094520442692941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155634701,"filename":"image_06042025_07_27_15_9609.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/25ded9fedd9841a83208e93fea839eac.jpg","text":"TemporaryFile(/tmp/multipartBody8583099901466816842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155634701,"filename":"image_06042025_07_27_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/4/9/e22fdf01874a9c3a90b36e04de47b38f.jpg","text":"TemporaryFile(/tmp/multipartBody3554391077630476995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155634701,"filename":"image_06042025_07_27_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/4/9/436f7f88c785857ac71ec90dc8d91e6b.jpg","text":"TemporaryFile(/tmp/multipartBody7710899035175751691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155634701,"filename":"image_06042025_07_27_35_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673727","file1":"1350673724","file0":"1350673721","file4":"1350673729","file5":"1350673730","file3":"1350673728"},"map_files_photo_id_array":[{"photo_id":"1350673730","filename":"file5"},{"photo_id":"1350673727","filename":"file2"},{"photo_id":"1350673729","filename":"file4"},{"photo_id":"1350673724","filename":"file1"},{"photo_id":"1350673721","filename":"file0"},{"photo_id":"1350673728","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673721":["hashtag1","hashtag2"]},{"1350673730":["hashtag1","hashtag2"]},{"1350673724":["hashtag1","hashtag2"]},{"1350673727":["hashtag1","hashtag2"]},{"1350673729":["hashtag1","hashtag2"]},{"1350673728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673721, 1350673730, 1350673724, 1350673727, 1350673729, 1350673728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09505748748779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:40:33.131528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/27/image_06042025_07_28_05_9462.jpg', '/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_15_10408.jpg', '/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_25_9442.jpg', '/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_35_10368.jpg', '/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_45_9395.jpg', '/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_55_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/27/image_06042025_07_28_05_9462.jpg
/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_15_10408.jpg
/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_25_9442.jpg
/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_35_10368.jpg
/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_45_9395.jpg
/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_55_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":["1350673751","1350673748","1350673750","1350673747","1350673749","1350673746"],"photo_ids_order":["1350673746","1350673747","1350673748","1350673749","1350673750","1350673751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/548d16276ca64f8d94b44b07d0293cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6595309856792389546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155695039,"filename":"image_06042025_07_28_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/4/9/5dacba555e68c610bd36d66514ccea8a.jpg","text":"TemporaryFile(/tmp/multipartBody2933476761502440768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155695039,"filename":"image_06042025_07_28_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/4/9/e3bc17b1fd2e34a1ecf1891a9a8c27ee.jpg","text":"TemporaryFile(/tmp/multipartBody16200619775477560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155695039,"filename":"image_06042025_07_28_45_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06a73dd53e22b474f84fa1f17ad95604.jpg","text":"TemporaryFile(/tmp/multipartBody9163547527569964849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155695039,"filename":"image_06042025_07_28_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/4/9/e70b982c008b62a6772de96e9ebdf93d.jpg","text":"TemporaryFile(/tmp/multipartBody4707920241848488186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155695039,"filename":"image_06042025_07_28_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/4/9/e48c18d15e42feefaf6adf9c457bbf2f.jpg","text":"TemporaryFile(/tmp/multipartBody6031388186854596516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155695039,"filename":"image_06042025_07_28_05_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673748","file1":"1350673747","file0":"1350673746","file4":"1350673750","file5":"1350673751","file3":"1350673749"},"map_files_photo_id_array":[{"photo_id":"1350673751","filename":"file5"},{"photo_id":"1350673748","filename":"file2"},{"photo_id":"1350673750","filename":"file4"},{"photo_id":"1350673747","filename":"file1"},{"photo_id":"1350673746","filename":"file0"},{"photo_id":"1350673749","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673751":["hashtag1","hashtag2"]},{"1350673748":["hashtag1","hashtag2"]},{"1350673750":["hashtag1","hashtag2"]},{"1350673747":["hashtag1","hashtag2"]},{"1350673749":["hashtag1","hashtag2"]},{"1350673746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673751, 1350673748, 1350673750, 1350673747, 1350673749, 1350673746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.170751333236694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:41:32.305274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/28/image_06042025_07_29_05_10348.jpg', '/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_15_9433.jpg', '/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_25_10371.jpg', '/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_36_10364.jpg', '/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_45_9363.jpg', '/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_55_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/28/image_06042025_07_29_05_10348.jpg
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_15_9433.jpg
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_25_10371.jpg
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_36_10364.jpg
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_45_9363.jpg
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_55_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673772","1350673769","1350673771","1350673773","1350673767","1350673770"],"photo_ids_order":["1350673767","1350673769","1350673770","1350673771","1350673772","1350673773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5cd79007e00ba5134c727e4de85328f0.jpg","text":"TemporaryFile(/tmp/multipartBody7434894785803182418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155754238,"filename":"image_06042025_07_29_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/4/9/45b6ae68cbebcb0ba450b2dd7e816bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6544952320790803586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155754238,"filename":"image_06042025_07_29_15_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44f869d104b5973fc136a0febb6780cc.jpg","text":"TemporaryFile(/tmp/multipartBody921374192110407860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155754238,"filename":"image_06042025_07_29_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/4/9/208e2f20f8e24e9c52353b8d19a95c47.jpg","text":"TemporaryFile(/tmp/multipartBody7641209740294614582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155754238,"filename":"image_06042025_07_29_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/4/9/36092a5ba6b4032dcd5e806446c4cdbb.jpg","text":"TemporaryFile(/tmp/multipartBody8363807733933910284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155754238,"filename":"image_06042025_07_29_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/4/9/95929d06a86c70537217fafe1b613198.jpg","text":"TemporaryFile(/tmp/multipartBody739847803858607111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155754238,"filename":"image_06042025_07_29_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673770","file1":"1350673769","file0":"1350673767","file4":"1350673772","file5":"1350673773","file3":"1350673771"},"map_files_photo_id_array":[{"photo_id":"1350673773","filename":"file5"},{"photo_id":"1350673770","filename":"file2"},{"photo_id":"1350673772","filename":"file4"},{"photo_id":"1350673769","filename":"file1"},{"photo_id":"1350673767","filename":"file0"},{"photo_id":"1350673771","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673772":["hashtag1","hashtag2"]},{"1350673769":["hashtag1","hashtag2"]},{"1350673771":["hashtag1","hashtag2"]},{"1350673773":["hashtag1","hashtag2"]},{"1350673767":["hashtag1","hashtag2"]},{"1350673770":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673772, 1350673769, 1350673771, 1350673773, 1350673767, 1350673770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8589825630188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:42:32.535985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/29/image_06042025_07_30_05_9350.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_15_10417.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_25_10363.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_35_9498.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_45_10412.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_55_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_30_05_9350.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_15_10417.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_25_10363.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_35_9498.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_45_10412.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_55_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673790","1350673793","1350673792","1350673789","1350673791","1350673788"],"photo_ids_order":["1350673788","1350673789","1350673790","1350673791","1350673792","1350673793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/861ef537515169c80549835ca2cdc042.jpg","text":"TemporaryFile(/tmp/multipartBody1138440602626954116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155814459,"filename":"image_06042025_07_30_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/4/9/ebe028a96d15ea400658f603e3a02f28.jpg","text":"TemporaryFile(/tmp/multipartBody5604213952350903174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155814459,"filename":"image_06042025_07_30_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/4/9/71a9555c9655836b0a3a8f3fdf033e36.jpg","text":"TemporaryFile(/tmp/multipartBody5659693621015405598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155814459,"filename":"image_06042025_07_30_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/4/9/8f8d82bf0a998b8c3d90b0a225cc2b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6598520797002654734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155814459,"filename":"image_06042025_07_30_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/4/9/6f0fe9251673529b3c2fd0bb74021665.jpg","text":"TemporaryFile(/tmp/multipartBody8309905147390387907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155814459,"filename":"image_06042025_07_30_35_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6ba8592ad52a0ea3339a86bfef6218a7.jpg","text":"TemporaryFile(/tmp/multipartBody2761681721913544877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155814459,"filename":"image_06042025_07_30_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673790","file1":"1350673789","file0":"1350673788","file4":"1350673792","file5":"1350673793","file3":"1350673791"},"map_files_photo_id_array":[{"photo_id":"1350673793","filename":"file5"},{"photo_id":"1350673790","filename":"file2"},{"photo_id":"1350673792","filename":"file4"},{"photo_id":"1350673789","filename":"file1"},{"photo_id":"1350673788","filename":"file0"},{"photo_id":"1350673791","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673790":["hashtag1","hashtag2"]},{"1350673793":["hashtag1","hashtag2"]},{"1350673792":["hashtag1","hashtag2"]},{"1350673789":["hashtag1","hashtag2"]},{"1350673791":["hashtag1","hashtag2"]},{"1350673788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673790, 1350673793, 1350673792, 1350673789, 1350673791, 1350673788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05456233024597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:43:32.675278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/30/image_06042025_07_31_05_10455.jpg', '/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_16_10354.jpg', '/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_25_9361.jpg', '/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_35_10493.jpg', '/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_45_9487.jpg', '/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_55_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_31_05_10455.jpg
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_16_10354.jpg
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_25_9361.jpg
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_35_10493.jpg
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_45_9487.jpg
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_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":["1350673815","1350673814","1350673817","1350673811","1350673808","1350673816"],"photo_ids_order":["1350673808","1350673811","1350673814","1350673815","1350673816","1350673817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2f554fa2a7b67324c37c6e4ecd1c2bb.jpg","text":"TemporaryFile(/tmp/multipartBody2334564322521726142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155874578,"filename":"image_06042025_07_31_35_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfbccaf60e95abd8694a6b3067a044b0.jpg","text":"TemporaryFile(/tmp/multipartBody2529767826390203031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155874578,"filename":"image_06042025_07_31_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/4/9/f363a36922d8b52a38ba2c22d01bb9a5.jpg","text":"TemporaryFile(/tmp/multipartBody3256101374615396030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155874578,"filename":"image_06042025_07_31_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/4/9/13a82163a4a925172f925e8ddc06b82f.jpg","text":"TemporaryFile(/tmp/multipartBody5483024839988477456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155874578,"filename":"image_06042025_07_31_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/4/9/66d5c3b34c45c03cdb8e6c7f2d9d514b.jpg","text":"TemporaryFile(/tmp/multipartBody6040652771350628183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155874578,"filename":"image_06042025_07_31_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/4/9/ce46e7e9f4bd4874835e6122e6639d8c.jpg","text":"TemporaryFile(/tmp/multipartBody3834848555158523654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155874578,"filename":"image_06042025_07_31_45_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673814","file1":"1350673811","file0":"1350673808","file4":"1350673816","file5":"1350673817","file3":"1350673815"},"map_files_photo_id_array":[{"photo_id":"1350673817","filename":"file5"},{"photo_id":"1350673814","filename":"file2"},{"photo_id":"1350673816","filename":"file4"},{"photo_id":"1350673811","filename":"file1"},{"photo_id":"1350673808","filename":"file0"},{"photo_id":"1350673815","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673815":["hashtag1","hashtag2"]},{"1350673814":["hashtag1","hashtag2"]},{"1350673817":["hashtag1","hashtag2"]},{"1350673811":["hashtag1","hashtag2"]},{"1350673808":["hashtag1","hashtag2"]},{"1350673816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673815, 1350673814, 1350673817, 1350673811, 1350673808, 1350673816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43521571159363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:44:33.029243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/31/image_06042025_07_32_06_10363.jpg', '/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_15_9439.jpg', '/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_25_10397.jpg', '/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_35_9379.jpg', '/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_45_10449.jpg', '/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_55_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_32_06_10363.jpg
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_15_9439.jpg
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_25_10397.jpg
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_35_9379.jpg
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_45_10449.jpg
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_55_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":["1350673838","1350673843","1350673840","1350673834","1350673842","1350673830"],"photo_ids_order":["1350673830","1350673834","1350673838","1350673840","1350673842","1350673843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0fdd53297e96f9fed313407b2fcb6946.jpg","text":"TemporaryFile(/tmp/multipartBody8847733660372056311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155934943,"filename":"image_06042025_07_32_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/4/9/a83af25eb26166eca0ce789b02b6c629.jpg","text":"TemporaryFile(/tmp/multipartBody5561339130001969949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155934943,"filename":"image_06042025_07_32_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6860814ed49c3a488de2a7273147f5d7.jpg","text":"TemporaryFile(/tmp/multipartBody3262200343994245924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155934943,"filename":"image_06042025_07_32_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6227d7a4f449ddc2e9abd538407fffd7.jpg","text":"TemporaryFile(/tmp/multipartBody3639378337958633628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155934943,"filename":"image_06042025_07_32_15_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4dc565b635a150e791a183a44c2865fa.jpg","text":"TemporaryFile(/tmp/multipartBody8054004474057242598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155934943,"filename":"image_06042025_07_32_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/4/9/e160ddc82d3e61575973642df2a47985.jpg","text":"TemporaryFile(/tmp/multipartBody1875208175615479240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744155934943,"filename":"image_06042025_07_32_06_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673838","file1":"1350673834","file0":"1350673830","file4":"1350673842","file5":"1350673843","file3":"1350673840"},"map_files_photo_id_array":[{"photo_id":"1350673843","filename":"file5"},{"photo_id":"1350673838","filename":"file2"},{"photo_id":"1350673842","filename":"file4"},{"photo_id":"1350673834","filename":"file1"},{"photo_id":"1350673830","filename":"file0"},{"photo_id":"1350673840","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673838":["hashtag1","hashtag2"]},{"1350673843":["hashtag1","hashtag2"]},{"1350673840":["hashtag1","hashtag2"]},{"1350673834":["hashtag1","hashtag2"]},{"1350673842":["hashtag1","hashtag2"]},{"1350673830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673838, 1350673843, 1350673840, 1350673834, 1350673842, 1350673830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45415949821472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:45:32.356516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/32/image_06042025_07_33_05_10431.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_15_10358.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_35_10365.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_46_10354.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_55_9350.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_34_05_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_33_05_10431.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_15_10358.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_35_10365.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_46_10354.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_55_9350.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_34_05_10396.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.847325086593628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 01:45:42.393623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/32/image_06042025_07_33_05_10431.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_15_10358.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_35_10365.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_46_10354.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_55_9350.jpg', '/home/pi/Desktop/images/06042025/07/33/image_06042025_07_34_05_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_33_05_10431.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_15_10358.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_35_10365.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_46_10354.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_55_9350.jpg
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_34_05_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673871","1350673873","1350673879","1350673872","1350673875","1350673869"],"photo_ids_order":["1350673869","1350673871","1350673872","1350673873","1350673875","1350673879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4430e0dd9eddfe0d2100aee68f21c634.jpg","text":"TemporaryFile(/tmp/multipartBody3709933724953507649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156003371,"filename":"image_06042025_07_33_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/4/9/cc4a363a1794184d7db33ad295d09f30.jpg","text":"TemporaryFile(/tmp/multipartBody5706592193748571307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156003371,"filename":"image_06042025_07_33_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/4/9/c9347f5ff102b2c677cc52d3e275b796.jpg","text":"TemporaryFile(/tmp/multipartBody4945852160682056384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156003371,"filename":"image_06042025_07_34_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/13f3b84c4c791268cdbe46121ae4c3bd.jpg","text":"TemporaryFile(/tmp/multipartBody8332292780662718760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156003371,"filename":"image_06042025_07_33_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/4/9/04a6605270c7c757121a93cc967ef8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4850926511502824876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156003371,"filename":"image_06042025_07_33_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28b3f7eec4fee40475b761162868e199.jpg","text":"TemporaryFile(/tmp/multipartBody6284370476027762336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156003371,"filename":"image_06042025_07_33_05_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673872","file1":"1350673871","file0":"1350673869","file4":"1350673875","file5":"1350673879","file3":"1350673873"},"map_files_photo_id_array":[{"photo_id":"1350673879","filename":"file5"},{"photo_id":"1350673872","filename":"file2"},{"photo_id":"1350673875","filename":"file4"},{"photo_id":"1350673871","filename":"file1"},{"photo_id":"1350673869","filename":"file0"},{"photo_id":"1350673873","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673871":["hashtag1","hashtag2"]},{"1350673873":["hashtag1","hashtag2"]},{"1350673879":["hashtag1","hashtag2"]},{"1350673872":["hashtag1","hashtag2"]},{"1350673875":["hashtag1","hashtag2"]},{"1350673869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673871, 1350673873, 1350673879, 1350673872, 1350673875, 1350673869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.703452825546265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:46:32.548295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/34/image_06042025_07_34_25_10437.jpg', '/home/pi/Desktop/images/06042025/07/34/image_06042025_07_34_36_10436.jpg', '/home/pi/Desktop/images/06042025/07/34/image_06042025_07_34_45_9382.jpg', '/home/pi/Desktop/images/06042025/07/34/image_06042025_07_34_55_10426.jpg', '/home/pi/Desktop/images/06042025/07/34/image_06042025_07_35_05_9492.jpg', '/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_15_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/34/image_06042025_07_34_25_10437.jpg
/home/pi/Desktop/images/06042025/07/34/image_06042025_07_34_36_10436.jpg
/home/pi/Desktop/images/06042025/07/34/image_06042025_07_34_45_9382.jpg
/home/pi/Desktop/images/06042025/07/34/image_06042025_07_34_55_10426.jpg
/home/pi/Desktop/images/06042025/07/34/image_06042025_07_35_05_9492.jpg
/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_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":["1350673891","1350673894","1350673897","1350673890","1350673893","1350673896"],"photo_ids_order":["1350673890","1350673891","1350673893","1350673894","1350673896","1350673897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b47166eb5a9166046413803d84e14a6.jpg","text":"TemporaryFile(/tmp/multipartBody6362967819130344690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156054545,"filename":"image_06042025_07_34_36_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ecc68bdb0ea7d0ac43683ec7799859ae.jpg","text":"TemporaryFile(/tmp/multipartBody8375825025403291727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156054545,"filename":"image_06042025_07_34_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/4/9/1e8fe97b40e21494d1544abee3f12d16.jpg","text":"TemporaryFile(/tmp/multipartBody6075998517346099713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156054545,"filename":"image_06042025_07_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/4/9/dd3fdd74419aa8c180fbe1768a23e6ed.jpg","text":"TemporaryFile(/tmp/multipartBody5071337007491549268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156054545,"filename":"image_06042025_07_34_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/4/9/3f10bb66772f2671a8435fa8807e4f8c.jpg","text":"TemporaryFile(/tmp/multipartBody163207765115466988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156054545,"filename":"image_06042025_07_34_45_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a25b222729b3b354b32a8da813edd380.jpg","text":"TemporaryFile(/tmp/multipartBody3517258023677048986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156054545,"filename":"image_06042025_07_35_05_9492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673893","file1":"1350673891","file0":"1350673890","file4":"1350673896","file5":"1350673897","file3":"1350673894"},"map_files_photo_id_array":[{"photo_id":"1350673897","filename":"file5"},{"photo_id":"1350673893","filename":"file2"},{"photo_id":"1350673896","filename":"file4"},{"photo_id":"1350673891","filename":"file1"},{"photo_id":"1350673890","filename":"file0"},{"photo_id":"1350673894","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673891":["hashtag1","hashtag2"]},{"1350673894":["hashtag1","hashtag2"]},{"1350673897":["hashtag1","hashtag2"]},{"1350673890":["hashtag1","hashtag2"]},{"1350673893":["hashtag1","hashtag2"]},{"1350673896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673891, 1350673894, 1350673897, 1350673890, 1350673893, 1350673896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.103341817855835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:47:32.740922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_26_10377.jpg', '/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_35_9358.jpg', '/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_45_10395.jpg', '/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_55_9472.jpg', '/home/pi/Desktop/images/06042025/07/35/image_06042025_07_36_05_10364.jpg', '/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_16_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_26_10377.jpg
/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_35_9358.jpg
/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_45_10395.jpg
/home/pi/Desktop/images/06042025/07/35/image_06042025_07_35_55_9472.jpg
/home/pi/Desktop/images/06042025/07/35/image_06042025_07_36_05_10364.jpg
/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_16_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":["1350673914","1350673919","1350673918","1350673921","1350673923","1350673917"],"photo_ids_order":["1350673914","1350673917","1350673918","1350673919","1350673921","1350673923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38d474834cdae071f9f4e50ca5a12889.jpg","text":"TemporaryFile(/tmp/multipartBody6418074841712582300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156114669,"filename":"image_06042025_07_35_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/4/9/8755d99d084e0bd02524817cc4c86c0f.jpg","text":"TemporaryFile(/tmp/multipartBody2861471024961290173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156114669,"filename":"image_06042025_07_35_55_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef59f88c5d393888643b63ef08cf187d.jpg","text":"TemporaryFile(/tmp/multipartBody3189116188099233911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156114669,"filename":"image_06042025_07_35_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/4/9/a196a6152ff4dedc4a9255f4b4e562e6.jpg","text":"TemporaryFile(/tmp/multipartBody7244086125751268128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156114669,"filename":"image_06042025_07_36_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/4/9/9a849721ee83e13e6b3c13f04d44de1c.jpg","text":"TemporaryFile(/tmp/multipartBody8087218688674704730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156114669,"filename":"image_06042025_07_36_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/50aecacc66b5998dc50ef91e28fce722.jpg","text":"TemporaryFile(/tmp/multipartBody2589403222624376250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156114669,"filename":"image_06042025_07_35_35_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673918","file1":"1350673917","file0":"1350673914","file4":"1350673921","file5":"1350673923","file3":"1350673919"},"map_files_photo_id_array":[{"photo_id":"1350673923","filename":"file5"},{"photo_id":"1350673918","filename":"file2"},{"photo_id":"1350673921","filename":"file4"},{"photo_id":"1350673917","filename":"file1"},{"photo_id":"1350673914","filename":"file0"},{"photo_id":"1350673919","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673914":["hashtag1","hashtag2"]},{"1350673919":["hashtag1","hashtag2"]},{"1350673918":["hashtag1","hashtag2"]},{"1350673921":["hashtag1","hashtag2"]},{"1350673923":["hashtag1","hashtag2"]},{"1350673917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673914, 1350673919, 1350673918, 1350673921, 1350673923, 1350673917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.38151240348816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:48:32.927923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_25_9355.jpg', '/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_35_10359.jpg', '/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_45_9420.jpg', '/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_55_10472.jpg', '/home/pi/Desktop/images/06042025/07/36/image_06042025_07_37_06_10347.jpg', '/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_15_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_25_9355.jpg
/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_35_10359.jpg
/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_45_9420.jpg
/home/pi/Desktop/images/06042025/07/36/image_06042025_07_36_55_10472.jpg
/home/pi/Desktop/images/06042025/07/36/image_06042025_07_37_06_10347.jpg
/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_15_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":["1350673940","1350673937","1350673939","1350673935","1350673938","1350673932"],"photo_ids_order":["1350673932","1350673935","1350673937","1350673938","1350673939","1350673940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4693cdcc575825d824a0daa762a0b216.jpg","text":"TemporaryFile(/tmp/multipartBody880793564362367424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156174840,"filename":"image_06042025_07_37_15_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/53c1fe3a7319c086e5a71594b26028f3.jpg","text":"TemporaryFile(/tmp/multipartBody129699943034062052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156174840,"filename":"image_06042025_07_36_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/4/9/3dac9a491bddf216d0a906cb570b4153.jpg","text":"TemporaryFile(/tmp/multipartBody6879314593844482169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156174840,"filename":"image_06042025_07_37_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f70bb9017fe332631134557f02fad50d.jpg","text":"TemporaryFile(/tmp/multipartBody7411140799608785068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156174840,"filename":"image_06042025_07_36_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1be1293bc33daff48b0740e9b672508.jpg","text":"TemporaryFile(/tmp/multipartBody8973476789741751421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156174840,"filename":"image_06042025_07_36_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/4/9/38cea459a8ec2a0cee1cd098ddebbf47.jpg","text":"TemporaryFile(/tmp/multipartBody6358840328833742541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156174840,"filename":"image_06042025_07_36_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673937","file1":"1350673935","file0":"1350673932","file4":"1350673939","file5":"1350673940","file3":"1350673938"},"map_files_photo_id_array":[{"photo_id":"1350673940","filename":"file5"},{"photo_id":"1350673937","filename":"file2"},{"photo_id":"1350673939","filename":"file4"},{"photo_id":"1350673935","filename":"file1"},{"photo_id":"1350673932","filename":"file0"},{"photo_id":"1350673938","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673940":["hashtag1","hashtag2"]},{"1350673937":["hashtag1","hashtag2"]},{"1350673939":["hashtag1","hashtag2"]},{"1350673935":["hashtag1","hashtag2"]},{"1350673938":["hashtag1","hashtag2"]},{"1350673932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673940, 1350673937, 1350673939, 1350673935, 1350673938, 1350673932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26142072677612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:49:33.205934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_25_10405.jpg', '/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_45_10342.jpg', '/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_56_10378.jpg', '/home/pi/Desktop/images/06042025/07/37/image_06042025_07_38_05_9454.jpg', '/home/pi/Desktop/images/06042025/07/38/image_06042025_07_38_45_9389.jpg', '/home/pi/Desktop/images/06042025/07/38/image_06042025_07_38_55_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_25_10405.jpg
/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_45_10342.jpg
/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_56_10378.jpg
/home/pi/Desktop/images/06042025/07/37/image_06042025_07_38_05_9454.jpg
/home/pi/Desktop/images/06042025/07/38/image_06042025_07_38_45_9389.jpg
/home/pi/Desktop/images/06042025/07/38/image_06042025_07_38_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":["1350673958","1350673961","1350673960","1350673962","1350673956","1350673959"],"photo_ids_order":["1350673956","1350673958","1350673959","1350673960","1350673961","1350673962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1e96bbc89aa58476ad181ca1077e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody751863163979332783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156235122,"filename":"image_06042025_07_37_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/4/9/89e63eb11093a8dcc2065182f1a79305.jpg","text":"TemporaryFile(/tmp/multipartBody4580226881005178104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156235122,"filename":"image_06042025_07_38_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/32b160ae1f837c43d40695b8e0fdfa82.jpg","text":"TemporaryFile(/tmp/multipartBody470791602356293169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156235122,"filename":"image_06042025_07_38_05_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7462f95620ae366bc068cdf576b39863.jpg","text":"TemporaryFile(/tmp/multipartBody459152706760841715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156235122,"filename":"image_06042025_07_38_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/4/9/420d252ab48342edbc0b2520414c654f.jpg","text":"TemporaryFile(/tmp/multipartBody331102696072273952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156235122,"filename":"image_06042025_07_37_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/726f5fca10b82883632ed8ea6913a7be.jpg","text":"TemporaryFile(/tmp/multipartBody4381589457939833994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156235122,"filename":"image_06042025_07_37_56_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673959","file1":"1350673958","file0":"1350673956","file4":"1350673961","file5":"1350673962","file3":"1350673960"},"map_files_photo_id_array":[{"photo_id":"1350673962","filename":"file5"},{"photo_id":"1350673959","filename":"file2"},{"photo_id":"1350673961","filename":"file4"},{"photo_id":"1350673958","filename":"file1"},{"photo_id":"1350673956","filename":"file0"},{"photo_id":"1350673960","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673958":["hashtag1","hashtag2"]},{"1350673961":["hashtag1","hashtag2"]},{"1350673960":["hashtag1","hashtag2"]},{"1350673962":["hashtag1","hashtag2"]},{"1350673956":["hashtag1","hashtag2"]},{"1350673959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673958, 1350673961, 1350673960, 1350673962, 1350673956, 1350673959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.511871576309204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:50:32.303498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_15_9491.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_25_10464.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_35_9479.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_45_10403.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_55_9436.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_40_05_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_15_9491.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_25_10464.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_35_9479.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_45_10403.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_55_9436.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_40_05_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350673991","1350673985","1350673993","1350673981","1350673992","1350673989"],"photo_ids_order":["1350673981","1350673985","1350673989","1350673991","1350673992","1350673993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/584e2c4d07db1f2b77060aebdd6fb252.jpg","text":"TemporaryFile(/tmp/multipartBody7072459604395752362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156294230,"filename":"image_06042025_07_39_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/4/9/95008b532ba71cf880fb27a11b2939c9.jpg","text":"TemporaryFile(/tmp/multipartBody3353884126944526860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156294230,"filename":"image_06042025_07_39_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/4/9/39d678df78184eeb00e1a9b316c92ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4259422298746590595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156294230,"filename":"image_06042025_07_40_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/4/9/703f29898f96456b851360d648cbc559.jpg","text":"TemporaryFile(/tmp/multipartBody3760034278485662269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156294230,"filename":"image_06042025_07_39_15_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da16b140b1a28ce18fce43f655ae38e1.jpg","text":"TemporaryFile(/tmp/multipartBody8460640575562449131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156294230,"filename":"image_06042025_07_39_55_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7544d9789f739de4ced143fecb7cbd94.jpg","text":"TemporaryFile(/tmp/multipartBody114027556105948450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156294230,"filename":"image_06042025_07_39_35_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350673989","file1":"1350673985","file0":"1350673981","file4":"1350673992","file5":"1350673993","file3":"1350673991"},"map_files_photo_id_array":[{"photo_id":"1350673993","filename":"file5"},{"photo_id":"1350673989","filename":"file2"},{"photo_id":"1350673992","filename":"file4"},{"photo_id":"1350673985","filename":"file1"},{"photo_id":"1350673981","filename":"file0"},{"photo_id":"1350673991","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350673991":["hashtag1","hashtag2"]},{"1350673985":["hashtag1","hashtag2"]},{"1350673993":["hashtag1","hashtag2"]},{"1350673981":["hashtag1","hashtag2"]},{"1350673992":["hashtag1","hashtag2"]},{"1350673989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350673991, 1350673985, 1350673993, 1350673981, 1350673992, 1350673989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21609282493591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:51:32.564243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_15_10346.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_25_9396.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_35_10378.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_46_10432.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_55_9377.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_41_05_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_15_10346.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_25_9396.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_35_10378.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_46_10432.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_55_9377.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_41_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":["1350674017","1350674011","1350674014","1350674016","1350674013","1350674007"],"photo_ids_order":["1350674007","1350674011","1350674013","1350674014","1350674016","1350674017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f21070592d412d61d469817be12294e0.jpg","text":"TemporaryFile(/tmp/multipartBody1574757077325129321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156354491,"filename":"image_06042025_07_41_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/4/9/4c39e1a553c141d4de65a4a3a97f6532.jpg","text":"TemporaryFile(/tmp/multipartBody2796625401556115032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156354491,"filename":"image_06042025_07_40_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e919b94b237f38dabf7fd5b974aea16b.jpg","text":"TemporaryFile(/tmp/multipartBody1042506728756866096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156354491,"filename":"image_06042025_07_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/4/9/1e02610590acb0e24b3700e3b6767a6a.jpg","text":"TemporaryFile(/tmp/multipartBody828641916086553438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156354491,"filename":"image_06042025_07_40_55_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf72745d339596331c38fc585f82f680.jpg","text":"TemporaryFile(/tmp/multipartBody7096062436495311920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156354491,"filename":"image_06042025_07_40_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d44fdd7c321f7bcdd1f4cf0b0e99bdac.jpg","text":"TemporaryFile(/tmp/multipartBody5792842019427835326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156354491,"filename":"image_06042025_07_40_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674013","file1":"1350674011","file0":"1350674007","file4":"1350674016","file5":"1350674017","file3":"1350674014"},"map_files_photo_id_array":[{"photo_id":"1350674017","filename":"file5"},{"photo_id":"1350674013","filename":"file2"},{"photo_id":"1350674016","filename":"file4"},{"photo_id":"1350674011","filename":"file1"},{"photo_id":"1350674007","filename":"file0"},{"photo_id":"1350674014","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674017":["hashtag1","hashtag2"]},{"1350674011":["hashtag1","hashtag2"]},{"1350674014":["hashtag1","hashtag2"]},{"1350674016":["hashtag1","hashtag2"]},{"1350674013":["hashtag1","hashtag2"]},{"1350674007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674017, 1350674011, 1350674014, 1350674016, 1350674013, 1350674007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.388890981674194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:52:32.850955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_15_9414.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_25_10379.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_36_10382.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_45_9456.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_55_10351.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_42_05_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_15_9414.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_25_10379.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_36_10382.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_45_9456.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_55_10351.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_42_05_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":["1350674039","1350674042","1350674050","1350674044","1350674047","1350674049"],"photo_ids_order":["1350674039","1350674042","1350674044","1350674047","1350674049","1350674050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a2946568078f6193d37a38fca4bbd51.jpg","text":"TemporaryFile(/tmp/multipartBody5748157958231054089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156414755,"filename":"image_06042025_07_41_15_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a255dee940ef6bd895ac4ed24dc4bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1214748915508967915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156414755,"filename":"image_06042025_07_41_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10748750df8a436732bfe06a07ae1de5.jpg","text":"TemporaryFile(/tmp/multipartBody9034481994713410548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156414755,"filename":"image_06042025_07_42_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/4/9/65c441f8b7c8f8af90f2a8fbc77d2d0a.jpg","text":"TemporaryFile(/tmp/multipartBody302808955861713684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156414755,"filename":"image_06042025_07_41_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eca54f96d4325378434a9cfc9b59fae8.jpg","text":"TemporaryFile(/tmp/multipartBody2038121420156865064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156414755,"filename":"image_06042025_07_41_45_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/703b3e5673831747a6c35ba707f50ed7.jpg","text":"TemporaryFile(/tmp/multipartBody4555760444460286440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156414755,"filename":"image_06042025_07_41_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674044","file1":"1350674042","file0":"1350674039","file4":"1350674049","file5":"1350674050","file3":"1350674047"},"map_files_photo_id_array":[{"photo_id":"1350674050","filename":"file5"},{"photo_id":"1350674044","filename":"file2"},{"photo_id":"1350674049","filename":"file4"},{"photo_id":"1350674042","filename":"file1"},{"photo_id":"1350674039","filename":"file0"},{"photo_id":"1350674047","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674039":["hashtag1","hashtag2"]},{"1350674042":["hashtag1","hashtag2"]},{"1350674050":["hashtag1","hashtag2"]},{"1350674044":["hashtag1","hashtag2"]},{"1350674047":["hashtag1","hashtag2"]},{"1350674049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674039, 1350674042, 1350674050, 1350674044, 1350674047, 1350674049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51382541656494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:53:33.224923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_15_10393.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_26_10360.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_35_9389.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_45_10359.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_55_9355.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_43_05_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_15_10393.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_26_10360.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_35_9389.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_45_10359.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_55_9355.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_43_05_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":["1350674071","1350674080","1350674074","1350674079","1350674076","1350674078"],"photo_ids_order":["1350674071","1350674074","1350674076","1350674078","1350674079","1350674080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aede769b6456f41946b61c68a1d6fcdf.jpg","text":"TemporaryFile(/tmp/multipartBody7749405215787758400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156475153,"filename":"image_06042025_07_42_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/4/9/6e53dd181953e378da113e2eacb95fb5.jpg","text":"TemporaryFile(/tmp/multipartBody169285568791056092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156475153,"filename":"image_06042025_07_43_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1260640e421605e26bb2e395f438329.jpg","text":"TemporaryFile(/tmp/multipartBody184437989168208062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156475153,"filename":"image_06042025_07_42_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/4/9/da58a0fedce7c3dd690c9d0fa22c93e3.jpg","text":"TemporaryFile(/tmp/multipartBody4958033468707269145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156475153,"filename":"image_06042025_07_42_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/4/9/b8b7a76f67eb9534b13709a8f2aec0c1.jpg","text":"TemporaryFile(/tmp/multipartBody7453991223985546137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156475153,"filename":"image_06042025_07_42_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/4/9/92ac149736ae21d44c1313718f7cd0ac.jpg","text":"TemporaryFile(/tmp/multipartBody175096393425274345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156475153,"filename":"image_06042025_07_42_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674076","file1":"1350674074","file0":"1350674071","file4":"1350674079","file5":"1350674080","file3":"1350674078"},"map_files_photo_id_array":[{"photo_id":"1350674080","filename":"file5"},{"photo_id":"1350674076","filename":"file2"},{"photo_id":"1350674079","filename":"file4"},{"photo_id":"1350674074","filename":"file1"},{"photo_id":"1350674071","filename":"file0"},{"photo_id":"1350674078","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674071":["hashtag1","hashtag2"]},{"1350674080":["hashtag1","hashtag2"]},{"1350674074":["hashtag1","hashtag2"]},{"1350674079":["hashtag1","hashtag2"]},{"1350674076":["hashtag1","hashtag2"]},{"1350674078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674071, 1350674080, 1350674074, 1350674079, 1350674076, 1350674078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.254114389419556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:54:32.321520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_15_10357.jpg', '/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_25_9409.jpg', '/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_35_10363.jpg', '/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_46_10371.jpg', '/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_55_9487.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_15_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_15_10357.jpg
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_25_9409.jpg
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_35_10363.jpg
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_46_10371.jpg
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_55_9487.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_15_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":["1350674111","1350674108","1350674113","1350674101","1350674103","1350674106"],"photo_ids_order":["1350674101","1350674103","1350674106","1350674108","1350674111","1350674113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c37a249c446ea80bb01b4d514f9fb876.jpg","text":"TemporaryFile(/tmp/multipartBody7408972510094833279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156534245,"filename":"image_06042025_07_43_55_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1776f2f2c186a78e5ec300eee58deb0.jpg","text":"TemporaryFile(/tmp/multipartBody5734936700703407888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156534245,"filename":"image_06042025_07_43_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/4/9/aa8b7abb0106455b123fb846debcc29a.jpg","text":"TemporaryFile(/tmp/multipartBody5206163253397201675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156534245,"filename":"image_06042025_07_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/4/9/f9aae0daccfba1d0465f7e1eae2f4f92.jpg","text":"TemporaryFile(/tmp/multipartBody1625902173604551851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156534245,"filename":"image_06042025_07_43_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/4/9/2518b481d731675cb4abbe2dbac11fcd.jpg","text":"TemporaryFile(/tmp/multipartBody2346450570245092091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156534245,"filename":"image_06042025_07_43_25_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8aa33f786ded905ca1456e76cc98794.jpg","text":"TemporaryFile(/tmp/multipartBody4209642441693780779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156534245,"filename":"image_06042025_07_43_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674106","file1":"1350674103","file0":"1350674101","file4":"1350674111","file5":"1350674113","file3":"1350674108"},"map_files_photo_id_array":[{"photo_id":"1350674113","filename":"file5"},{"photo_id":"1350674106","filename":"file2"},{"photo_id":"1350674111","filename":"file4"},{"photo_id":"1350674103","filename":"file1"},{"photo_id":"1350674101","filename":"file0"},{"photo_id":"1350674108","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674111":["hashtag1","hashtag2"]},{"1350674108":["hashtag1","hashtag2"]},{"1350674113":["hashtag1","hashtag2"]},{"1350674101":["hashtag1","hashtag2"]},{"1350674103":["hashtag1","hashtag2"]},{"1350674106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674111, 1350674108, 1350674113, 1350674101, 1350674103, 1350674106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2338011264801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:55:32.545718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_25_10455.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_35_9364.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_45_10439.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_56_10429.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_45_05_9341.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_25_10455.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_35_9364.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_45_10439.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_56_10429.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_45_05_9341.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674138","1350674132","1350674135","1350674129","1350674134","1350674137"],"photo_ids_order":["1350674129","1350674132","1350674134","1350674135","1350674137","1350674138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98291ad5530fd68e141e25c6b51e4020.jpg","text":"TemporaryFile(/tmp/multipartBody5922313870935806760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156594472,"filename":"image_06042025_07_45_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/4/9/a53e9c9fa18a5100960e73c3d0abe1a0.jpg","text":"TemporaryFile(/tmp/multipartBody2765888261457131391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156594472,"filename":"image_06042025_07_44_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/4/9/df088a8cd0daf3b599b1e6f09e58f187.jpg","text":"TemporaryFile(/tmp/multipartBody9150860429817370568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156594472,"filename":"image_06042025_07_44_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/939c815402e389247f8fb014b897220b.jpg","text":"TemporaryFile(/tmp/multipartBody5559012404890418575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156594472,"filename":"image_06042025_07_44_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/4/9/c54130dcbc585c45df8d559875e473f5.jpg","text":"TemporaryFile(/tmp/multipartBody2998134235045059232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156594472,"filename":"image_06042025_07_44_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/4/9/967dba1d38c66ddf06d819d6127ad196.jpg","text":"TemporaryFile(/tmp/multipartBody6243335974194652983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156594472,"filename":"image_06042025_07_45_05_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674134","file1":"1350674132","file0":"1350674129","file4":"1350674137","file5":"1350674138","file3":"1350674135"},"map_files_photo_id_array":[{"photo_id":"1350674138","filename":"file5"},{"photo_id":"1350674134","filename":"file2"},{"photo_id":"1350674137","filename":"file4"},{"photo_id":"1350674132","filename":"file1"},{"photo_id":"1350674129","filename":"file0"},{"photo_id":"1350674135","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674138":["hashtag1","hashtag2"]},{"1350674132":["hashtag1","hashtag2"]},{"1350674135":["hashtag1","hashtag2"]},{"1350674129":["hashtag1","hashtag2"]},{"1350674134":["hashtag1","hashtag2"]},{"1350674137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674138, 1350674132, 1350674135, 1350674129, 1350674134, 1350674137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.717442750930786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:56:32.679085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_26_10364.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_35_9450.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_45_10357.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_55_9452.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_46_05_10362.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_16_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_26_10364.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_35_9450.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_45_10357.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_55_9452.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_46_05_10362.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_16_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":["1350674165","1350674170","1350674172","1350674175","1350674160","1350674168"],"photo_ids_order":["1350674160","1350674165","1350674168","1350674170","1350674172","1350674175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e7a1d79320966f860188cc5403f9444.jpg","text":"TemporaryFile(/tmp/multipartBody7476771186338518405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156654580,"filename":"image_06042025_07_45_35_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee38ad74ec84758c79d25da1ac6229b9.jpg","text":"TemporaryFile(/tmp/multipartBody2057459030169630851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156654580,"filename":"image_06042025_07_45_55_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62851fbc51cfcb038e3fe930e376986e.jpg","text":"TemporaryFile(/tmp/multipartBody3279421765595929023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156654580,"filename":"image_06042025_07_46_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/4/9/0aa738d4e33e3d258be9c80520e6b8e4.jpg","text":"TemporaryFile(/tmp/multipartBody2707651330061120815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156654580,"filename":"image_06042025_07_46_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/4/9/391749158d104341bd8c8f6f7dab75ef.jpg","text":"TemporaryFile(/tmp/multipartBody3977880948565363060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156654580,"filename":"image_06042025_07_45_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/4/9/5d8fd9114e5c32520cc9a2d027fa8dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8999303506508631702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156654580,"filename":"image_06042025_07_45_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674168","file1":"1350674165","file0":"1350674160","file4":"1350674172","file5":"1350674175","file3":"1350674170"},"map_files_photo_id_array":[{"photo_id":"1350674175","filename":"file5"},{"photo_id":"1350674168","filename":"file2"},{"photo_id":"1350674172","filename":"file4"},{"photo_id":"1350674165","filename":"file1"},{"photo_id":"1350674160","filename":"file0"},{"photo_id":"1350674170","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674165":["hashtag1","hashtag2"]},{"1350674170":["hashtag1","hashtag2"]},{"1350674172":["hashtag1","hashtag2"]},{"1350674175":["hashtag1","hashtag2"]},{"1350674160":["hashtag1","hashtag2"]},{"1350674168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674165, 1350674170, 1350674172, 1350674175, 1350674160, 1350674168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.016064167022705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 01:57:32.896093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_25_9572.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_36_10373.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_45_9365.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_55_10383.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_47_05_9428.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_15_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_25_9572.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_36_10373.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_45_9365.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_55_10383.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_47_05_9428.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_15_10406.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 01:59:04.370181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_25_9572.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_36_10373.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_45_9365.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_55_10383.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_47_05_9428.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_15_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_25_9572.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_36_10373.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_45_9365.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_55_10383.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_47_05_9428.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_15_10406.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674222","1350674234","1350674245","1350674227","1350674238","1350674232"],"photo_ids_order":["1350674222","1350674227","1350674232","1350674234","1350674238","1350674245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/289ba4532404421105fb604ab06690bf.jpg","text":"TemporaryFile(/tmp/multipartBody3321948939232249620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156805510,"filename":"image_06042025_07_46_25_9572.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa45af88c17facf8760a8025493158e5.jpg","text":"TemporaryFile(/tmp/multipartBody545263823340781198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156805510,"filename":"image_06042025_07_46_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf119ad326ea5ceccd30753fa97173a7.jpg","text":"TemporaryFile(/tmp/multipartBody2417698074813567927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156805510,"filename":"image_06042025_07_47_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/4/9/0f88e7156ba59d22b51129a473918894.jpg","text":"TemporaryFile(/tmp/multipartBody451939170341229501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156805510,"filename":"image_06042025_07_46_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9d25596f3fcfdbfe686e631b4b4bf63.jpg","text":"TemporaryFile(/tmp/multipartBody1288375767494711843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156805510,"filename":"image_06042025_07_47_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/4/9/a561a16906b25ac07788b007163f62b3.jpg","text":"TemporaryFile(/tmp/multipartBody371063524644619775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156805510,"filename":"image_06042025_07_46_45_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674232","file1":"1350674227","file0":"1350674222","file4":"1350674238","file5":"1350674245","file3":"1350674234"},"map_files_photo_id_array":[{"photo_id":"1350674245","filename":"file5"},{"photo_id":"1350674232","filename":"file2"},{"photo_id":"1350674238","filename":"file4"},{"photo_id":"1350674227","filename":"file1"},{"photo_id":"1350674222","filename":"file0"},{"photo_id":"1350674234","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674222":["hashtag1","hashtag2"]},{"1350674234":["hashtag1","hashtag2"]},{"1350674245":["hashtag1","hashtag2"]},{"1350674227":["hashtag1","hashtag2"]},{"1350674238":["hashtag1","hashtag2"]},{"1350674232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674222, 1350674234, 1350674245, 1350674227, 1350674238, 1350674232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82918381690979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 01:59:43.247410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_26_10379.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_35_9371.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_45_10382.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_56_10369.jpg', '/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_25_9468.jpg', '/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_35_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_26_10379.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_35_9371.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_45_10382.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_56_10369.jpg
/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_25_9468.jpg
/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_35_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":["1350674266","1350674263","1350674256","1350674259","1350674261","1350674255"],"photo_ids_order":["1350674255","1350674256","1350674259","1350674261","1350674263","1350674266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eb79a46e92cea4e053bd45196c0e174e.jpg","text":"TemporaryFile(/tmp/multipartBody3379646267648277229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156844302,"filename":"image_06042025_07_48_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/4/9/2a5de5642d55b7224d3274f23ccf3730.jpg","text":"TemporaryFile(/tmp/multipartBody918417782021102899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156844302,"filename":"image_06042025_07_48_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6877c594563f8c68ad5e2c1e6e428603.jpg","text":"TemporaryFile(/tmp/multipartBody8752164774189574560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156844302,"filename":"image_06042025_07_47_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2a5df6767ae42eb7991f9d4dac11dc63.jpg","text":"TemporaryFile(/tmp/multipartBody2218371962338766962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156844302,"filename":"image_06042025_07_47_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/16e2967c7b77686614523ac42eef6562.jpg","text":"TemporaryFile(/tmp/multipartBody8944464435497878746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156844302,"filename":"image_06042025_07_47_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/4/9/89504f5cce130c30ff8c1d54b5b0e6df.jpg","text":"TemporaryFile(/tmp/multipartBody1052818895708250988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156844302,"filename":"image_06042025_07_47_26_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674259","file1":"1350674256","file0":"1350674255","file4":"1350674263","file5":"1350674266","file3":"1350674261"},"map_files_photo_id_array":[{"photo_id":"1350674266","filename":"file5"},{"photo_id":"1350674259","filename":"file2"},{"photo_id":"1350674263","filename":"file4"},{"photo_id":"1350674256","filename":"file1"},{"photo_id":"1350674255","filename":"file0"},{"photo_id":"1350674261","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674266":["hashtag1","hashtag2"]},{"1350674263":["hashtag1","hashtag2"]},{"1350674256":["hashtag1","hashtag2"]},{"1350674259":["hashtag1","hashtag2"]},{"1350674261":["hashtag1","hashtag2"]},{"1350674255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674266, 1350674263, 1350674256, 1350674259, 1350674261, 1350674255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39435005187988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:00:32.280882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_46_10358.jpg', '/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_55_9359.jpg', '/home/pi/Desktop/images/06042025/07/48/image_06042025_07_49_05_10377.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_16_10362.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_25_9440.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_36_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_46_10358.jpg
/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_55_9359.jpg
/home/pi/Desktop/images/06042025/07/48/image_06042025_07_49_05_10377.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_16_10362.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_25_9440.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_36_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674287","1350674292","1350674289","1350674291","1350674285","1350674282"],"photo_ids_order":["1350674282","1350674285","1350674287","1350674289","1350674291","1350674292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a62bc0c55065bd4d12739e3a095374ac.jpg","text":"TemporaryFile(/tmp/multipartBody1024816852581911515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156894195,"filename":"image_06042025_07_49_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/4/9/4e88af04955ae5e20a95acd8db4c4e6a.jpg","text":"TemporaryFile(/tmp/multipartBody658012876669982144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156894195,"filename":"image_06042025_07_49_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7b81fc65bf0e6bd489cde7e24d07a22.jpg","text":"TemporaryFile(/tmp/multipartBody1943853704516716926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156894195,"filename":"image_06042025_07_49_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/baeaedf604507fd24d0c07d7f7f8be7f.jpg","text":"TemporaryFile(/tmp/multipartBody1532522866919486418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156894195,"filename":"image_06042025_07_49_25_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39ce8798a7edde3f7882f0eb78be44ae.jpg","text":"TemporaryFile(/tmp/multipartBody6252177138450689526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156894195,"filename":"image_06042025_07_48_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/4/9/8627ff79da89c86c94f4a1f310ec11a9.jpg","text":"TemporaryFile(/tmp/multipartBody6675932105382353915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156894195,"filename":"image_06042025_07_48_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674287","file1":"1350674285","file0":"1350674282","file4":"1350674291","file5":"1350674292","file3":"1350674289"},"map_files_photo_id_array":[{"photo_id":"1350674292","filename":"file5"},{"photo_id":"1350674287","filename":"file2"},{"photo_id":"1350674291","filename":"file4"},{"photo_id":"1350674285","filename":"file1"},{"photo_id":"1350674282","filename":"file0"},{"photo_id":"1350674289","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674287":["hashtag1","hashtag2"]},{"1350674292":["hashtag1","hashtag2"]},{"1350674289":["hashtag1","hashtag2"]},{"1350674291":["hashtag1","hashtag2"]},{"1350674285":["hashtag1","hashtag2"]},{"1350674282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674287, 1350674292, 1350674289, 1350674291, 1350674285, 1350674282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69295406341553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:01:32.595910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_45_9430.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_55_10396.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_50_05_9353.jpg', '/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_25_10387.jpg', '/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_35_9427.jpg', '/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_45_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_45_9430.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_55_10396.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_50_05_9353.jpg
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_25_10387.jpg
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_35_9427.jpg
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_45_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674315","1350674309","1350674320","1350674317","1350674311","1350674313"],"photo_ids_order":["1350674309","1350674311","1350674313","1350674315","1350674317","1350674320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3c94cc6bbbbfc8da1de2e90555face8.jpg","text":"TemporaryFile(/tmp/multipartBody4100186835408538571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156954513,"filename":"image_06042025_07_50_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2022938c54403dc83ba9bf8e0dd0f158.jpg","text":"TemporaryFile(/tmp/multipartBody424767398996426182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156954513,"filename":"image_06042025_07_49_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/4/9/3b0d2be74f62fc8bfff327c2fa7eb481.jpg","text":"TemporaryFile(/tmp/multipartBody7366887786100413871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156954513,"filename":"image_06042025_07_50_45_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/525fc397e74bad4e7e29609774c4ab19.jpg","text":"TemporaryFile(/tmp/multipartBody4391858497970750444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156954513,"filename":"image_06042025_07_50_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e4ae047d524c133552ee2d802e031a4.jpg","text":"TemporaryFile(/tmp/multipartBody8550158983707582237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156954513,"filename":"image_06042025_07_49_55_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4de689be36e63586bb967a216449f37.jpg","text":"TemporaryFile(/tmp/multipartBody4974366413537561349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744156954513,"filename":"image_06042025_07_50_05_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674313","file1":"1350674311","file0":"1350674309","file4":"1350674317","file5":"1350674320","file3":"1350674315"},"map_files_photo_id_array":[{"photo_id":"1350674320","filename":"file5"},{"photo_id":"1350674313","filename":"file2"},{"photo_id":"1350674317","filename":"file4"},{"photo_id":"1350674311","filename":"file1"},{"photo_id":"1350674309","filename":"file0"},{"photo_id":"1350674315","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674315":["hashtag1","hashtag2"]},{"1350674309":["hashtag1","hashtag2"]},{"1350674320":["hashtag1","hashtag2"]},{"1350674317":["hashtag1","hashtag2"]},{"1350674311":["hashtag1","hashtag2"]},{"1350674313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674315, 1350674309, 1350674320, 1350674317, 1350674311, 1350674313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.070329904556274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:02:32.867034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_55_9492.jpg', '/home/pi/Desktop/images/06042025/07/50/image_06042025_07_51_05_10350.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_16_10351.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_25_9403.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_35_10384.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_45_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_55_9492.jpg
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_51_05_10350.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_16_10351.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_25_9403.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_35_10384.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_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":["1350674357","1350674353","1350674355","1350674352","1350674360","1350674354"],"photo_ids_order":["1350674352","1350674353","1350674354","1350674355","1350674357","1350674360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b3b799fac6ae09e1fc07a1d96996b10.jpg","text":"TemporaryFile(/tmp/multipartBody6036640116535877917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157014783,"filename":"image_06042025_07_51_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0fb2efd923929e1e86d2bedf5a7091d7.jpg","text":"TemporaryFile(/tmp/multipartBody3229928640234881124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157014783,"filename":"image_06042025_07_51_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7eaf3555920888aafdbc9ef7e5c684ea.jpg","text":"TemporaryFile(/tmp/multipartBody8553208228832343650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157014783,"filename":"image_06042025_07_51_25_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a779a6973c87568befa4ee901c52f61.jpg","text":"TemporaryFile(/tmp/multipartBody4613408548599471341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157014783,"filename":"image_06042025_07_50_55_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc8817c055a553f36480a64354741f6c.jpg","text":"TemporaryFile(/tmp/multipartBody9160812309353479101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157014783,"filename":"image_06042025_07_51_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/4/9/61acb3d38f10a5c33c4678ab777cbf22.jpg","text":"TemporaryFile(/tmp/multipartBody715772959743102682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157014783,"filename":"image_06042025_07_51_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674354","file1":"1350674353","file0":"1350674352","file4":"1350674357","file5":"1350674360","file3":"1350674355"},"map_files_photo_id_array":[{"photo_id":"1350674360","filename":"file5"},{"photo_id":"1350674354","filename":"file2"},{"photo_id":"1350674357","filename":"file4"},{"photo_id":"1350674353","filename":"file1"},{"photo_id":"1350674352","filename":"file0"},{"photo_id":"1350674355","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674357":["hashtag1","hashtag2"]},{"1350674353":["hashtag1","hashtag2"]},{"1350674355":["hashtag1","hashtag2"]},{"1350674352":["hashtag1","hashtag2"]},{"1350674360":["hashtag1","hashtag2"]},{"1350674354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674357, 1350674353, 1350674355, 1350674352, 1350674360, 1350674354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.031022787094116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:03:32.971546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_55_10428.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_52_05_10353.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_15_9406.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_25_10356.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_45_9437.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_55_10428.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_52_05_10353.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_15_9406.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_25_10356.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_45_9437.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674378","1350674383","1350674386","1350674380","1350674388","1350674381"],"photo_ids_order":["1350674378","1350674380","1350674381","1350674383","1350674386","1350674388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba368e97a6a57db0a1ae06b4893dc756.jpg","text":"TemporaryFile(/tmp/multipartBody6491134788332536363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157074886,"filename":"image_06042025_07_51_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/4/9/fb52b79fbbff7390d15ce0fb19d1b28b.jpg","text":"TemporaryFile(/tmp/multipartBody8015282357256118483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157074886,"filename":"image_06042025_07_52_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3525392caa5eb321faed1e5ebdc5245f.jpg","text":"TemporaryFile(/tmp/multipartBody5445646695421879610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157074886,"filename":"image_06042025_07_52_45_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64adc8125ac361d4f12a3981f5a2a005.jpg","text":"TemporaryFile(/tmp/multipartBody6334030333498891761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157074886,"filename":"image_06042025_07_52_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/4/9/5288daaed86c01737bca01194e760873.jpg","text":"TemporaryFile(/tmp/multipartBody8039343555801368011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157074886,"filename":"image_06042025_07_52_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/4/9/d352ab9fcc921ec44bbb1237a41f6de4.jpg","text":"TemporaryFile(/tmp/multipartBody3606718910074404148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157074886,"filename":"image_06042025_07_52_15_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674381","file1":"1350674380","file0":"1350674378","file4":"1350674386","file5":"1350674388","file3":"1350674383"},"map_files_photo_id_array":[{"photo_id":"1350674388","filename":"file5"},{"photo_id":"1350674381","filename":"file2"},{"photo_id":"1350674386","filename":"file4"},{"photo_id":"1350674380","filename":"file1"},{"photo_id":"1350674378","filename":"file0"},{"photo_id":"1350674383","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674378":["hashtag1","hashtag2"]},{"1350674383":["hashtag1","hashtag2"]},{"1350674386":["hashtag1","hashtag2"]},{"1350674380":["hashtag1","hashtag2"]},{"1350674388":["hashtag1","hashtag2"]},{"1350674381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674378, 1350674383, 1350674386, 1350674380, 1350674388, 1350674381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98263740539551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:04:32.195460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/52/image_06042025_07_53_05_9472.jpg', '/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_15_10428.jpg', '/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_25_9413.jpg', '/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_35_10420.jpg', '/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_46_10421.jpg', '/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_55_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_53_05_9472.jpg
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_15_10428.jpg
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_25_9413.jpg
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_35_10420.jpg
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_46_10421.jpg
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_55_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674402","1350674411","1350674414","1350674412","1350674406","1350674415"],"photo_ids_order":["1350674402","1350674406","1350674411","1350674412","1350674414","1350674415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8172d6242f9c67553f9fbfb63f328b0.jpg","text":"TemporaryFile(/tmp/multipartBody1229913381819895633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157134116,"filename":"image_06042025_07_53_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/4/9/bf1086ec4d7ea624bcfa3eff9356fd39.jpg","text":"TemporaryFile(/tmp/multipartBody2034532636702461536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157134116,"filename":"image_06042025_07_53_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/4/9/44078f7dc38179693202ec6369fc2d1f.jpg","text":"TemporaryFile(/tmp/multipartBody465564046584263214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157134116,"filename":"image_06042025_07_53_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/4/9/23ef9ce85543deee17aa6df188ee1572.jpg","text":"TemporaryFile(/tmp/multipartBody2577844965562578757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157134116,"filename":"image_06042025_07_53_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/4/9/32348fce8ca8ef370a560833ad6736e6.jpg","text":"TemporaryFile(/tmp/multipartBody7948794015253946774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157134116,"filename":"image_06042025_07_53_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/981752552d5d1e0c4eefbf6a198ea644.jpg","text":"TemporaryFile(/tmp/multipartBody4246736329554271247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157134116,"filename":"image_06042025_07_53_55_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674411","file1":"1350674406","file0":"1350674402","file4":"1350674414","file5":"1350674415","file3":"1350674412"},"map_files_photo_id_array":[{"photo_id":"1350674415","filename":"file5"},{"photo_id":"1350674411","filename":"file2"},{"photo_id":"1350674414","filename":"file4"},{"photo_id":"1350674406","filename":"file1"},{"photo_id":"1350674402","filename":"file0"},{"photo_id":"1350674412","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674402":["hashtag1","hashtag2"]},{"1350674411":["hashtag1","hashtag2"]},{"1350674414":["hashtag1","hashtag2"]},{"1350674412":["hashtag1","hashtag2"]},{"1350674406":["hashtag1","hashtag2"]},{"1350674415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674402, 1350674411, 1350674414, 1350674412, 1350674406, 1350674415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.874592781066895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:05:32.540117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/53/image_06042025_07_54_05_10355.jpg', '/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_15_9345.jpg', '/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_25_10414.jpg', '/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_35_10350.jpg', '/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_45_9491.jpg', '/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_55_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_54_05_10355.jpg
/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_15_9345.jpg
/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_25_10414.jpg
/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_35_10350.jpg
/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_45_9491.jpg
/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_55_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674441","1350674435","1350674434","1350674437","1350674439","1350674433"],"photo_ids_order":["1350674433","1350674434","1350674435","1350674437","1350674439","1350674441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/379db5dfb6d4db9460e0d1c0c3a0e845.jpg","text":"TemporaryFile(/tmp/multipartBody4634415823256837132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157194475,"filename":"image_06042025_07_54_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/142f0c914556d311bd9506c64659eb7c.jpg","text":"TemporaryFile(/tmp/multipartBody1195562141814558808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157194475,"filename":"image_06042025_07_54_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/4/9/45bd66579b2cac21275aba4ef93c8a52.jpg","text":"TemporaryFile(/tmp/multipartBody7814918823846912153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157194475,"filename":"image_06042025_07_54_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/4/9/65296d516bb3e64dc75b7064cf17449a.jpg","text":"TemporaryFile(/tmp/multipartBody7146605788591557435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157194475,"filename":"image_06042025_07_54_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/4/9/e8e6a5e74f4ebeb9b7711021f503e045.jpg","text":"TemporaryFile(/tmp/multipartBody7272553863892629066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157194475,"filename":"image_06042025_07_54_45_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a01a69e7049f64850d43d86c034ffc5.jpg","text":"TemporaryFile(/tmp/multipartBody3442657366999852569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157194475,"filename":"image_06042025_07_54_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674435","file1":"1350674434","file0":"1350674433","file4":"1350674439","file5":"1350674441","file3":"1350674437"},"map_files_photo_id_array":[{"photo_id":"1350674441","filename":"file5"},{"photo_id":"1350674435","filename":"file2"},{"photo_id":"1350674439","filename":"file4"},{"photo_id":"1350674434","filename":"file1"},{"photo_id":"1350674433","filename":"file0"},{"photo_id":"1350674437","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674441":["hashtag1","hashtag2"]},{"1350674435":["hashtag1","hashtag2"]},{"1350674434":["hashtag1","hashtag2"]},{"1350674437":["hashtag1","hashtag2"]},{"1350674439":["hashtag1","hashtag2"]},{"1350674433":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674441, 1350674435, 1350674434, 1350674437, 1350674439, 1350674433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.460318088531494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:06:32.702509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/54/image_06042025_07_55_05_9338.jpg', '/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_15_10448.jpg', '/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_26_10445.jpg', '/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_35_9435.jpg', '/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_45_10445.jpg', '/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_55_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/54/image_06042025_07_55_05_9338.jpg
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_15_10448.jpg
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_26_10445.jpg
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_35_9435.jpg
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_45_10445.jpg
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_55_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674462","1350674473","1350674467","1350674472","1350674469","1350674471"],"photo_ids_order":["1350674462","1350674467","1350674469","1350674471","1350674472","1350674473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73d0019bd3827be3a553d53d08a36046.jpg","text":"TemporaryFile(/tmp/multipartBody4004137604007077722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157254612,"filename":"image_06042025_07_55_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/4/9/9f0192ab0c4646293af2b3038c50ea28.jpg","text":"TemporaryFile(/tmp/multipartBody7437095259467755573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157254612,"filename":"image_06042025_07_55_55_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b6e4112f919bb02f486d281d74602633.jpg","text":"TemporaryFile(/tmp/multipartBody676557634895483676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157254612,"filename":"image_06042025_07_55_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/4/9/ef1865c91c2a482ec65382a1816de79e.jpg","text":"TemporaryFile(/tmp/multipartBody4112502009465928135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157254612,"filename":"image_06042025_07_55_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/4/9/265b29229b2a9cdba5195b756ea8b6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6084783994430700150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157254612,"filename":"image_06042025_07_55_26_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b73a36f1352bb6ae6a8f34557a62b32.jpg","text":"TemporaryFile(/tmp/multipartBody428169229629684359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157254612,"filename":"image_06042025_07_55_35_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674469","file1":"1350674467","file0":"1350674462","file4":"1350674472","file5":"1350674473","file3":"1350674471"},"map_files_photo_id_array":[{"photo_id":"1350674473","filename":"file5"},{"photo_id":"1350674469","filename":"file2"},{"photo_id":"1350674472","filename":"file4"},{"photo_id":"1350674467","filename":"file1"},{"photo_id":"1350674462","filename":"file0"},{"photo_id":"1350674471","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674462":["hashtag1","hashtag2"]},{"1350674473":["hashtag1","hashtag2"]},{"1350674467":["hashtag1","hashtag2"]},{"1350674472":["hashtag1","hashtag2"]},{"1350674469":["hashtag1","hashtag2"]},{"1350674471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674462, 1350674473, 1350674467, 1350674472, 1350674469, 1350674471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21764945983887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:07:32.984114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/55/image_06042025_07_56_05_10339.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_16_10352.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_36_10421.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_45_9364.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_55_10435.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_57_06_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_56_05_10339.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_16_10352.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_36_10421.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_45_9364.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_55_10435.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_57_06_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674504","1350674507","1350674506","1350674499","1350674496","1350674502"],"photo_ids_order":["1350674496","1350674499","1350674502","1350674504","1350674506","1350674507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc184f8d5ac9ebb9f414fb3e65e25356.jpg","text":"TemporaryFile(/tmp/multipartBody4640910793396722895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157314879,"filename":"image_06042025_07_56_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/4/9/4c7e38b0bf63574e1697ad207c529545.jpg","text":"TemporaryFile(/tmp/multipartBody98680508773815475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157314879,"filename":"image_06042025_07_57_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/4/9/938a9f0e9180c902e848b4ecdd7ab815.jpg","text":"TemporaryFile(/tmp/multipartBody169329653209700945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157314879,"filename":"image_06042025_07_56_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/4/9/9b92f27f63251f41bd03ad42da94a989.jpg","text":"TemporaryFile(/tmp/multipartBody2184469755664326006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157314879,"filename":"image_06042025_07_56_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/4/9/178257d2d872bda16935d8eb4c8cef98.jpg","text":"TemporaryFile(/tmp/multipartBody1356775008334206209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157314879,"filename":"image_06042025_07_56_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/4/9/a64cc2ceca14ebb99906eb7ea5d455d8.jpg","text":"TemporaryFile(/tmp/multipartBody8689546756314401373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157314879,"filename":"image_06042025_07_56_36_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674502","file1":"1350674499","file0":"1350674496","file4":"1350674506","file5":"1350674507","file3":"1350674504"},"map_files_photo_id_array":[{"photo_id":"1350674507","filename":"file5"},{"photo_id":"1350674502","filename":"file2"},{"photo_id":"1350674506","filename":"file4"},{"photo_id":"1350674499","filename":"file1"},{"photo_id":"1350674496","filename":"file0"},{"photo_id":"1350674504","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674504":["hashtag1","hashtag2"]},{"1350674507":["hashtag1","hashtag2"]},{"1350674506":["hashtag1","hashtag2"]},{"1350674499":["hashtag1","hashtag2"]},{"1350674496":["hashtag1","hashtag2"]},{"1350674502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674504, 1350674507, 1350674506, 1350674499, 1350674496, 1350674502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70536661148071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:08:32.259912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_15_9426.jpg', '/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_25_10370.jpg', '/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_35_9413.jpg', '/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_45_10367.jpg', '/home/pi/Desktop/images/06042025/07/57/image_06042025_07_58_05_10456.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_16_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_15_9426.jpg
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_25_10370.jpg
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_35_9413.jpg
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_45_10367.jpg
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_58_05_10456.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_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":["1350674534","1350674522","1350674525","1350674530","1350674536","1350674532"],"photo_ids_order":["1350674522","1350674525","1350674530","1350674532","1350674534","1350674536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/74ae2df3f8537e62d571a8a53c150531.jpg","text":"TemporaryFile(/tmp/multipartBody4275895577209537121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157374170,"filename":"image_06042025_07_58_05_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b3b3c72b26bfcc67db2c18a715f1f45c.jpg","text":"TemporaryFile(/tmp/multipartBody4382988936241425082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157374170,"filename":"image_06042025_07_57_15_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/90c478d72163fcf15b35e45b1f7c3b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6197977379918038721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157374170,"filename":"image_06042025_07_57_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/4/9/e4f54efbb6f6350101d66a4c48b426a9.jpg","text":"TemporaryFile(/tmp/multipartBody3431867991475231185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157374170,"filename":"image_06042025_07_57_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/4/9/d22486e00f7f4751f7b54a7322555674.jpg","text":"TemporaryFile(/tmp/multipartBody6574318732101518794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157374170,"filename":"image_06042025_07_58_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/4/9/659adfdfeb06a877094b4f0fd5c2cef6.jpg","text":"TemporaryFile(/tmp/multipartBody7384583119644107459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157374170,"filename":"image_06042025_07_57_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674530","file1":"1350674525","file0":"1350674522","file4":"1350674534","file5":"1350674536","file3":"1350674532"},"map_files_photo_id_array":[{"photo_id":"1350674536","filename":"file5"},{"photo_id":"1350674530","filename":"file2"},{"photo_id":"1350674534","filename":"file4"},{"photo_id":"1350674525","filename":"file1"},{"photo_id":"1350674522","filename":"file0"},{"photo_id":"1350674532","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674534":["hashtag1","hashtag2"]},{"1350674522":["hashtag1","hashtag2"]},{"1350674525":["hashtag1","hashtag2"]},{"1350674530":["hashtag1","hashtag2"]},{"1350674536":["hashtag1","hashtag2"]},{"1350674532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674534, 1350674522, 1350674525, 1350674530, 1350674536, 1350674532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59783744812012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:09:33.316775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_25_9388.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_35_10372.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_45_9520.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_55_10373.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_59_06_10382.jpg', '/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_15_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_25_9388.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_35_10372.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_45_9520.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_55_10373.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_59_06_10382.jpg
/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_15_9359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8380801677703857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 02:09:43.268714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_25_9388.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_35_10372.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_45_9520.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_55_10373.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_59_06_10382.jpg', '/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_15_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_25_9388.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_35_10372.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_45_9520.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_55_10373.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_59_06_10382.jpg
/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_15_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674572","1350674571","1350674576","1350674570","1350674564","1350674567"],"photo_ids_order":["1350674564","1350674567","1350674570","1350674571","1350674572","1350674576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52f8d3fd5548569bcc6ba458555121b0.jpg","text":"TemporaryFile(/tmp/multipartBody5895237323996504260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157444240,"filename":"image_06042025_07_59_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f9056bfc55f1e2d8830995aaa9b2cfb.jpg","text":"TemporaryFile(/tmp/multipartBody8141242811135360195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157444240,"filename":"image_06042025_07_58_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/4/9/f761a8431090604537415d80084d7a8e.jpg","text":"TemporaryFile(/tmp/multipartBody5272868195754106033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157444240,"filename":"image_06042025_07_59_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/be99dbbc52447e7a8f091901f125a911.jpg","text":"TemporaryFile(/tmp/multipartBody8824155518962439044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157444240,"filename":"image_06042025_07_58_45_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0cc7109395ea7fe2e5deb1f8538b243d.jpg","text":"TemporaryFile(/tmp/multipartBody7828000513335071124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157444240,"filename":"image_06042025_07_58_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/4/9/7db54a97e3224178deacde3225e865f7.jpg","text":"TemporaryFile(/tmp/multipartBody2568469205239390847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157444240,"filename":"image_06042025_07_58_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674570","file1":"1350674567","file0":"1350674564","file4":"1350674572","file5":"1350674576","file3":"1350674571"},"map_files_photo_id_array":[{"photo_id":"1350674576","filename":"file5"},{"photo_id":"1350674570","filename":"file2"},{"photo_id":"1350674572","filename":"file4"},{"photo_id":"1350674567","filename":"file1"},{"photo_id":"1350674564","filename":"file0"},{"photo_id":"1350674571","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674572":["hashtag1","hashtag2"]},{"1350674571":["hashtag1","hashtag2"]},{"1350674576":["hashtag1","hashtag2"]},{"1350674570":["hashtag1","hashtag2"]},{"1350674564":["hashtag1","hashtag2"]},{"1350674567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674572, 1350674571, 1350674576, 1350674570, 1350674564, 1350674567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.214781522750854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:10:32.516653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_35_9504.jpg', '/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_45_10357.jpg', '/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_56_10357.jpg', '/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_16_10080.jpg', '/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_26_10378.jpg', '/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_36_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_35_9504.jpg
/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_45_10357.jpg
/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_56_10357.jpg
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_16_10080.jpg
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_26_10378.jpg
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_36_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674593","1350674596","1350674598","1350674592","1350674594","1350674601"],"photo_ids_order":["1350674592","1350674593","1350674594","1350674596","1350674598","1350674601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f35272f03ed360e5ac5f6d891e3de1e5.jpg","text":"TemporaryFile(/tmp/multipartBody3156720856100843788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157494443,"filename":"image_06042025_07_59_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/4/9/78263d9280a95f6309a8670a31add369.jpg","text":"TemporaryFile(/tmp/multipartBody8900846998359908304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157494443,"filename":"image_06042025_08_00_16_10080.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea5b4f1ff2d47effb66e50d3a9ba7196.jpg","text":"TemporaryFile(/tmp/multipartBody8328152830816768747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157494443,"filename":"image_06042025_08_00_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/171e02d3fac32f5421bb7ab3e9f5d629.jpg","text":"TemporaryFile(/tmp/multipartBody5929374086056549314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157494443,"filename":"image_06042025_07_59_35_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0062cb368233bd48645e478e646ac12c.jpg","text":"TemporaryFile(/tmp/multipartBody823106723653416517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157494443,"filename":"image_06042025_07_59_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d79c5e5480efb33d2620511d4f1b8451.jpg","text":"TemporaryFile(/tmp/multipartBody4144176297466549001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157494443,"filename":"image_06042025_08_00_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674594","file1":"1350674593","file0":"1350674592","file4":"1350674598","file5":"1350674601","file3":"1350674596"},"map_files_photo_id_array":[{"photo_id":"1350674601","filename":"file5"},{"photo_id":"1350674594","filename":"file2"},{"photo_id":"1350674598","filename":"file4"},{"photo_id":"1350674593","filename":"file1"},{"photo_id":"1350674592","filename":"file0"},{"photo_id":"1350674596","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674593":["hashtag1","hashtag2"]},{"1350674596":["hashtag1","hashtag2"]},{"1350674598":["hashtag1","hashtag2"]},{"1350674592":["hashtag1","hashtag2"]},{"1350674594":["hashtag1","hashtag2"]},{"1350674601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674593, 1350674596, 1350674598, 1350674592, 1350674594, 1350674601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.241044759750366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:11:32.715538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_46_9511.jpg', '/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_56_10384.jpg', '/home/pi/Desktop/images/06042025/08/00/image_06042025_08_01_06_9369.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_16_10415.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_26_10444.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_36_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_46_9511.jpg
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_56_10384.jpg
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_01_06_9369.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_16_10415.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_26_10444.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_36_9498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674627","1350674630","1350674624","1350674626","1350674629","1350674619"],"photo_ids_order":["1350674619","1350674624","1350674626","1350674627","1350674629","1350674630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d678952bf8621e2234ac47576014be70.jpg","text":"TemporaryFile(/tmp/multipartBody3042998433915492359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157554628,"filename":"image_06042025_08_01_16_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba8f2c7efe4159064759cffcbbdad24a.jpg","text":"TemporaryFile(/tmp/multipartBody4447817758411548618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157554628,"filename":"image_06042025_08_01_36_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/604f89957679906481368d501cd5f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody6172718829338622536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157554628,"filename":"image_06042025_08_00_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4df786e187476a85cd527052f013ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7672924059909895480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157554628,"filename":"image_06042025_08_01_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/4/9/6b517ceb6ec36880d29d98e8c54de199.jpg","text":"TemporaryFile(/tmp/multipartBody4960708943657383595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157554628,"filename":"image_06042025_08_01_26_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/76b657d845e9369c9ffc6eef456fcd0f.jpg","text":"TemporaryFile(/tmp/multipartBody4880622068764149504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157554628,"filename":"image_06042025_08_00_46_9511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674626","file1":"1350674624","file0":"1350674619","file4":"1350674629","file5":"1350674630","file3":"1350674627"},"map_files_photo_id_array":[{"photo_id":"1350674630","filename":"file5"},{"photo_id":"1350674626","filename":"file2"},{"photo_id":"1350674629","filename":"file4"},{"photo_id":"1350674624","filename":"file1"},{"photo_id":"1350674619","filename":"file0"},{"photo_id":"1350674627","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674627":["hashtag1","hashtag2"]},{"1350674630":["hashtag1","hashtag2"]},{"1350674624":["hashtag1","hashtag2"]},{"1350674626":["hashtag1","hashtag2"]},{"1350674629":["hashtag1","hashtag2"]},{"1350674619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674627, 1350674630, 1350674624, 1350674626, 1350674629, 1350674619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35148072242737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:12:32.970554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_46_10424.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_02_06_10382.jpg', '/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_16_10359.jpg', '/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_26_9725.jpg', '/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_36_9360.jpg', '/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_46_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_46_10424.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_02_06_10382.jpg
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_16_10359.jpg
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_26_9725.jpg
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_36_9360.jpg
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_46_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674660","1350674656","1350674665","1350674667","1350674663","1350674666"],"photo_ids_order":["1350674656","1350674660","1350674663","1350674665","1350674666","1350674667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f665a1044da51fc856317af7642911eb.jpg","text":"TemporaryFile(/tmp/multipartBody4294976539735697888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157614872,"filename":"image_06042025_08_02_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aafd378e9f73ec2c43d867987699b16e.jpg","text":"TemporaryFile(/tmp/multipartBody4178692538969961515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157614872,"filename":"image_06042025_08_01_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/4/9/2fe9ac38e488ab073ed53ff3da187be5.jpg","text":"TemporaryFile(/tmp/multipartBody4670041200155615700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157614872,"filename":"image_06042025_08_02_26_9725.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c360d155bbfdb660996c93ab7cd9bafe.jpg","text":"TemporaryFile(/tmp/multipartBody997153248233646236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157614872,"filename":"image_06042025_08_02_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b824d8cfc21b54587021fc04f4ac6bb.jpg","text":"TemporaryFile(/tmp/multipartBody528613258165711940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157614872,"filename":"image_06042025_08_02_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/4/9/8cdd2f32d6e690f85ac6f12cba2d1a49.jpg","text":"TemporaryFile(/tmp/multipartBody8311027059162665022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157614872,"filename":"image_06042025_08_02_36_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674663","file1":"1350674660","file0":"1350674656","file4":"1350674666","file5":"1350674667","file3":"1350674665"},"map_files_photo_id_array":[{"photo_id":"1350674667","filename":"file5"},{"photo_id":"1350674663","filename":"file2"},{"photo_id":"1350674666","filename":"file4"},{"photo_id":"1350674660","filename":"file1"},{"photo_id":"1350674656","filename":"file0"},{"photo_id":"1350674665","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674660":["hashtag1","hashtag2"]},{"1350674656":["hashtag1","hashtag2"]},{"1350674665":["hashtag1","hashtag2"]},{"1350674667":["hashtag1","hashtag2"]},{"1350674663":["hashtag1","hashtag2"]},{"1350674666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674660, 1350674656, 1350674665, 1350674667, 1350674663, 1350674666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36115050315857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:13:32.273191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_56_10348.jpg', '/home/pi/Desktop/images/06042025/08/02/image_06042025_08_03_06_9350.jpg', '/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_16_10371.jpg', '/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_26_10388.jpg', '/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_36_9448.jpg', '/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_46_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_56_10348.jpg
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_03_06_9350.jpg
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_16_10371.jpg
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_26_10388.jpg
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_36_9448.jpg
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_46_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674692","1350674686","1350674691","1350674688","1350674693","1350674690"],"photo_ids_order":["1350674686","1350674688","1350674690","1350674691","1350674692","1350674693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19cc571b4592e2fc2e23ed09bdc6a435.jpg","text":"TemporaryFile(/tmp/multipartBody4677231642646135775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157674198,"filename":"image_06042025_08_03_36_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f49c4b5b89b7e8127d69147af7597f7.jpg","text":"TemporaryFile(/tmp/multipartBody853061216020242707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157674198,"filename":"image_06042025_08_02_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/4/9/c858855424fe3a160db8326ead4c2a1f.jpg","text":"TemporaryFile(/tmp/multipartBody7159336051432654446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157674198,"filename":"image_06042025_08_03_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/4/9/9bd3cf90b2f654b4f613e8507b9bcac4.jpg","text":"TemporaryFile(/tmp/multipartBody4324956268998589470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157674198,"filename":"image_06042025_08_03_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ec8b42944a3f49652dd67d37421bcff.jpg","text":"TemporaryFile(/tmp/multipartBody5405071223380112479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157674198,"filename":"image_06042025_08_03_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/4/9/1bdd91b31f0b7675056e80eb647d8af7.jpg","text":"TemporaryFile(/tmp/multipartBody8677154435075077166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157674198,"filename":"image_06042025_08_03_16_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674690","file1":"1350674688","file0":"1350674686","file4":"1350674692","file5":"1350674693","file3":"1350674691"},"map_files_photo_id_array":[{"photo_id":"1350674693","filename":"file5"},{"photo_id":"1350674690","filename":"file2"},{"photo_id":"1350674692","filename":"file4"},{"photo_id":"1350674688","filename":"file1"},{"photo_id":"1350674686","filename":"file0"},{"photo_id":"1350674691","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674692":["hashtag1","hashtag2"]},{"1350674686":["hashtag1","hashtag2"]},{"1350674691":["hashtag1","hashtag2"]},{"1350674688":["hashtag1","hashtag2"]},{"1350674693":["hashtag1","hashtag2"]},{"1350674690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674692, 1350674686, 1350674691, 1350674688, 1350674693, 1350674690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.688249826431274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:14:32.314868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_56_9375.jpg', '/home/pi/Desktop/images/06042025/08/03/image_06042025_08_04_06_10449.jpg', '/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_16_10360.jpg', '/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_26_9399.jpg', '/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_36_10373.jpg', '/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_46_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_56_9375.jpg
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_04_06_10449.jpg
/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_16_10360.jpg
/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_26_9399.jpg
/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_36_10373.jpg
/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_46_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":["1350674726","1350674729","1350674722","1350674724","1350674718","1350674727"],"photo_ids_order":["1350674718","1350674722","1350674724","1350674726","1350674727","1350674729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65f967f1d1042ef8a94d47fbec708382.jpg","text":"TemporaryFile(/tmp/multipartBody1181491471518487988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157734235,"filename":"image_06042025_08_04_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c899c43e29f7dabd4fa3150ff1e04523.jpg","text":"TemporaryFile(/tmp/multipartBody95933638492546620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157734235,"filename":"image_06042025_08_04_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a557aa8a8493fc78521bf110befcb51.jpg","text":"TemporaryFile(/tmp/multipartBody7094072269481647193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157734235,"filename":"image_06042025_08_04_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/4/9/40d18748b90adea28a10bf0e8c521e85.jpg","text":"TemporaryFile(/tmp/multipartBody2507198035450926778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157734235,"filename":"image_06042025_08_04_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c9eb6d3d13d417aa029227c880e7155.jpg","text":"TemporaryFile(/tmp/multipartBody563123199406007185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157734235,"filename":"image_06042025_08_03_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/4/9/176c61a2227bcf03cc4b14a45fbf7e75.jpg","text":"TemporaryFile(/tmp/multipartBody656505800987630272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157734235,"filename":"image_06042025_08_04_36_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674724","file1":"1350674722","file0":"1350674718","file4":"1350674727","file5":"1350674729","file3":"1350674726"},"map_files_photo_id_array":[{"photo_id":"1350674729","filename":"file5"},{"photo_id":"1350674724","filename":"file2"},{"photo_id":"1350674727","filename":"file4"},{"photo_id":"1350674722","filename":"file1"},{"photo_id":"1350674718","filename":"file0"},{"photo_id":"1350674726","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674726":["hashtag1","hashtag2"]},{"1350674729":["hashtag1","hashtag2"]},{"1350674722":["hashtag1","hashtag2"]},{"1350674724":["hashtag1","hashtag2"]},{"1350674718":["hashtag1","hashtag2"]},{"1350674727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674726, 1350674729, 1350674722, 1350674724, 1350674718, 1350674727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08237314224243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:15:32.508237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_56_10468.jpg', '/home/pi/Desktop/images/06042025/08/04/image_06042025_08_05_06_10346.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_16_9416.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_26_10376.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_36_9396.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_56_10468.jpg
/home/pi/Desktop/images/06042025/08/04/image_06042025_08_05_06_10346.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_16_9416.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_26_10376.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_36_9396.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_46_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674753","1350674755","1350674749","1350674751","1350674760","1350674748"],"photo_ids_order":["1350674748","1350674749","1350674751","1350674753","1350674755","1350674760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/205a904656eb2027919374f38cb84c27.jpg","text":"TemporaryFile(/tmp/multipartBody6201954751093276167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157794418,"filename":"image_06042025_08_05_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/284d2be92f14f6017cbbb806c9fc3741.jpg","text":"TemporaryFile(/tmp/multipartBody4156658268823459495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157794418,"filename":"image_06042025_08_05_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/4/9/7439f12ffb97ffd4955dda7b4401819a.jpg","text":"TemporaryFile(/tmp/multipartBody2351751916765185309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157794418,"filename":"image_06042025_08_05_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/4/9/30f34e03a32cecd45b73657426b84c52.jpg","text":"TemporaryFile(/tmp/multipartBody5990931620671800914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157794418,"filename":"image_06042025_08_05_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/4/9/052a40d2435d5283c1be5915ede47e10.jpg","text":"TemporaryFile(/tmp/multipartBody7650156816238278213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157794418,"filename":"image_06042025_08_05_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5dc63d8139ff7f6240f8462933820a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4405413382848674911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157794418,"filename":"image_06042025_08_04_56_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674751","file1":"1350674749","file0":"1350674748","file4":"1350674755","file5":"1350674760","file3":"1350674753"},"map_files_photo_id_array":[{"photo_id":"1350674760","filename":"file5"},{"photo_id":"1350674751","filename":"file2"},{"photo_id":"1350674755","filename":"file4"},{"photo_id":"1350674749","filename":"file1"},{"photo_id":"1350674748","filename":"file0"},{"photo_id":"1350674753","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674753":["hashtag1","hashtag2"]},{"1350674755":["hashtag1","hashtag2"]},{"1350674749":["hashtag1","hashtag2"]},{"1350674751":["hashtag1","hashtag2"]},{"1350674760":["hashtag1","hashtag2"]},{"1350674748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674753, 1350674755, 1350674749, 1350674751, 1350674760, 1350674748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57086515426636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:16:32.747438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_56_10371.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_06_06_9475.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_16_10361.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_26_9377.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_36_10354.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_46_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_56_10371.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_06_06_9475.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_16_10361.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_26_9377.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_36_10354.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_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":["1350674773","1350674776","1350674779","1350674778","1350674775","1350674777"],"photo_ids_order":["1350674773","1350674775","1350674776","1350674777","1350674778","1350674779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af3def40fd6296f83cca6c4098460bb5.jpg","text":"TemporaryFile(/tmp/multipartBody6933778992986967932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157854668,"filename":"image_06042025_08_05_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/4/9/ff21d5c4a5cf74cc0ac63c5319e960ce.jpg","text":"TemporaryFile(/tmp/multipartBody1380852941859246841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157854668,"filename":"image_06042025_08_06_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/76fc754591fae54d3b21aa2c0bae9e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4234340010422273925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157854668,"filename":"image_06042025_08_06_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/4/9/217c00951ee07803d3ce197a5610c975.jpg","text":"TemporaryFile(/tmp/multipartBody1265249273374472968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157854668,"filename":"image_06042025_08_06_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/4/9/82dafc5fbfa7e8d6768ff316271fbad4.jpg","text":"TemporaryFile(/tmp/multipartBody597141227833661024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157854668,"filename":"image_06042025_08_06_06_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79ec86559281ce1e0de90e84b7ca22e2.jpg","text":"TemporaryFile(/tmp/multipartBody2955931692115396221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157854668,"filename":"image_06042025_08_06_26_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674776","file1":"1350674775","file0":"1350674773","file4":"1350674778","file5":"1350674779","file3":"1350674777"},"map_files_photo_id_array":[{"photo_id":"1350674779","filename":"file5"},{"photo_id":"1350674776","filename":"file2"},{"photo_id":"1350674778","filename":"file4"},{"photo_id":"1350674775","filename":"file1"},{"photo_id":"1350674773","filename":"file0"},{"photo_id":"1350674777","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674773":["hashtag1","hashtag2"]},{"1350674776":["hashtag1","hashtag2"]},{"1350674779":["hashtag1","hashtag2"]},{"1350674778":["hashtag1","hashtag2"]},{"1350674775":["hashtag1","hashtag2"]},{"1350674777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674773, 1350674776, 1350674779, 1350674778, 1350674775, 1350674777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97915554046631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:17:32.940421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_56_9357.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_07_06_10428.jpg', '/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_16_9411.jpg', '/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_26_10475.jpg', '/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_36_10367.jpg', '/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_46_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_56_9357.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_07_06_10428.jpg
/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_16_9411.jpg
/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_26_10475.jpg
/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_36_10367.jpg
/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_46_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":["1350674804","1350674794","1350674797","1350674806","1350674802","1350674792"],"photo_ids_order":["1350674792","1350674794","1350674797","1350674802","1350674804","1350674806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/199077eb16f8d1722a5f697286ed0d34.jpg","text":"TemporaryFile(/tmp/multipartBody8829996475053766329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157914865,"filename":"image_06042025_08_07_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/4/9/ec753a2ad819ec3eab52f64b836cad27.jpg","text":"TemporaryFile(/tmp/multipartBody2182192439314920871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157914865,"filename":"image_06042025_08_07_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/4/9/089530e427f89b34e76dda2eb4730d33.jpg","text":"TemporaryFile(/tmp/multipartBody6249310224171671367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157914865,"filename":"image_06042025_08_07_16_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d77b4d21a3ff41bce51e3a9b1828e04.jpg","text":"TemporaryFile(/tmp/multipartBody4510262163413031917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157914865,"filename":"image_06042025_08_07_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56059886ba8e6574e883dc1689435619.jpg","text":"TemporaryFile(/tmp/multipartBody4685585709060655226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157914865,"filename":"image_06042025_08_07_26_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/29f5c95b7e62351120115025b7f123d5.jpg","text":"TemporaryFile(/tmp/multipartBody55591837199590412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157914865,"filename":"image_06042025_08_06_56_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674797","file1":"1350674794","file0":"1350674792","file4":"1350674804","file5":"1350674806","file3":"1350674802"},"map_files_photo_id_array":[{"photo_id":"1350674806","filename":"file5"},{"photo_id":"1350674797","filename":"file2"},{"photo_id":"1350674804","filename":"file4"},{"photo_id":"1350674794","filename":"file1"},{"photo_id":"1350674792","filename":"file0"},{"photo_id":"1350674802","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674804":["hashtag1","hashtag2"]},{"1350674794":["hashtag1","hashtag2"]},{"1350674797":["hashtag1","hashtag2"]},{"1350674806":["hashtag1","hashtag2"]},{"1350674802":["hashtag1","hashtag2"]},{"1350674792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674804, 1350674794, 1350674797, 1350674806, 1350674802, 1350674792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76092600822449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:18:33.104500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_56_10432.jpg', '/home/pi/Desktop/images/06042025/08/07/image_06042025_08_08_06_9338.jpg', '/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_16_10440.jpg', '/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_26_10375.jpg', '/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_36_9487.jpg', '/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_46_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/07/image_06042025_08_07_56_10432.jpg
/home/pi/Desktop/images/06042025/08/07/image_06042025_08_08_06_9338.jpg
/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_16_10440.jpg
/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_26_10375.jpg
/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_36_9487.jpg
/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_46_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674839","1350674830","1350674833","1350674827","1350674835","1350674837"],"photo_ids_order":["1350674827","1350674830","1350674833","1350674835","1350674837","1350674839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4266b831e33308ea7019fec1ee636622.jpg","text":"TemporaryFile(/tmp/multipartBody3064320873366672702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157975018,"filename":"image_06042025_08_08_46_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef5874f3092f257820b5bb8934cc047d.jpg","text":"TemporaryFile(/tmp/multipartBody2993293712600349742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157975018,"filename":"image_06042025_08_08_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/4/9/6f8b084cd5e154e41c91d7e3ba44d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody4685183278670893932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157975018,"filename":"image_06042025_08_08_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/4/9/7b8f24f7678667f0e0d1373e44afdfe5.jpg","text":"TemporaryFile(/tmp/multipartBody5563910306682023756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157975018,"filename":"image_06042025_08_07_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/4/9/85834289776fc3e35882bda1bd43c2d4.jpg","text":"TemporaryFile(/tmp/multipartBody212696661598939783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157975018,"filename":"image_06042025_08_08_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/4/9/8a33fa91a7cc655b01f0eed5151bdee2.jpg","text":"TemporaryFile(/tmp/multipartBody8949991883490825359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744157975018,"filename":"image_06042025_08_08_36_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674833","file1":"1350674830","file0":"1350674827","file4":"1350674837","file5":"1350674839","file3":"1350674835"},"map_files_photo_id_array":[{"photo_id":"1350674839","filename":"file5"},{"photo_id":"1350674833","filename":"file2"},{"photo_id":"1350674837","filename":"file4"},{"photo_id":"1350674830","filename":"file1"},{"photo_id":"1350674827","filename":"file0"},{"photo_id":"1350674835","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674839":["hashtag1","hashtag2"]},{"1350674830":["hashtag1","hashtag2"]},{"1350674833":["hashtag1","hashtag2"]},{"1350674827":["hashtag1","hashtag2"]},{"1350674835":["hashtag1","hashtag2"]},{"1350674837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674839, 1350674830, 1350674833, 1350674827, 1350674835, 1350674837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70658302307129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:19:32.295327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_56_9357.jpg', '/home/pi/Desktop/images/06042025/08/08/image_06042025_08_09_06_10427.jpg', '/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_16_10355.jpg', '/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_26_9442.jpg', '/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_36_10368.jpg', '/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_46_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_56_9357.jpg
/home/pi/Desktop/images/06042025/08/08/image_06042025_08_09_06_10427.jpg
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_16_10355.jpg
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_26_9442.jpg
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_36_10368.jpg
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_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":["1350674867","1350674866","1350674869","1350674860","1350674863","1350674868"],"photo_ids_order":["1350674860","1350674863","1350674866","1350674867","1350674868","1350674869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b285da88339f5f428404d5041384ae25.jpg","text":"TemporaryFile(/tmp/multipartBody5403136822287335920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158034214,"filename":"image_06042025_08_09_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/4/9/81e47d09124b3663a3d0a91f239f0bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4327025523680314484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158034214,"filename":"image_06042025_08_09_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/4/9/9e6cee7546bd57a200860f427b88e638.jpg","text":"TemporaryFile(/tmp/multipartBody4608460129929325204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158034214,"filename":"image_06042025_08_09_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f5a3db1cba1f30591cc40e6d5baa5412.jpg","text":"TemporaryFile(/tmp/multipartBody7611544705230964811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158034214,"filename":"image_06042025_08_08_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d30cff0994204b353ce4418cbc7921e.jpg","text":"TemporaryFile(/tmp/multipartBody2834397410343188028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158034214,"filename":"image_06042025_08_09_06_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de75ddd3b1fe889fb4f4db026fba6168.jpg","text":"TemporaryFile(/tmp/multipartBody3269369820542063885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158034214,"filename":"image_06042025_08_09_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674866","file1":"1350674863","file0":"1350674860","file4":"1350674868","file5":"1350674869","file3":"1350674867"},"map_files_photo_id_array":[{"photo_id":"1350674869","filename":"file5"},{"photo_id":"1350674866","filename":"file2"},{"photo_id":"1350674868","filename":"file4"},{"photo_id":"1350674863","filename":"file1"},{"photo_id":"1350674860","filename":"file0"},{"photo_id":"1350674867","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674867":["hashtag1","hashtag2"]},{"1350674866":["hashtag1","hashtag2"]},{"1350674869":["hashtag1","hashtag2"]},{"1350674860":["hashtag1","hashtag2"]},{"1350674863":["hashtag1","hashtag2"]},{"1350674868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674867, 1350674866, 1350674869, 1350674860, 1350674863, 1350674868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27475643157959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:20:32.624990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/09/image_06042025_08_10_06_10368.jpg', '/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_16_9343.jpg', '/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_26_10385.jpg', '/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_36_10358.jpg', '/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_46_9466.jpg', '/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_10_06_10368.jpg
/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_16_9343.jpg
/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_26_10385.jpg
/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_36_10358.jpg
/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_46_9466.jpg
/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674899","1350674890","1350674893","1350674896","1350674886","1350674901"],"photo_ids_order":["1350674886","1350674890","1350674893","1350674896","1350674899","1350674901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ecd99f98919f50e4be18c8637ff2878.jpg","text":"TemporaryFile(/tmp/multipartBody1433537578572936114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158094539,"filename":"image_06042025_08_10_46_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/861f9b94624db6bba550c3af147cf812.jpg","text":"TemporaryFile(/tmp/multipartBody4976362826897775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158094539,"filename":"image_06042025_08_10_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/4/9/2529ff59ad36a794a6354d28154bafb8.jpg","text":"TemporaryFile(/tmp/multipartBody6335343283780151621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158094539,"filename":"image_06042025_08_10_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/4/9/b5317e0a885823c18a23ebfabc00aa34.jpg","text":"TemporaryFile(/tmp/multipartBody5559985889805489328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158094539,"filename":"image_06042025_08_10_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5228dcfcde469b460cae82981c812cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5697788285138630324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158094539,"filename":"image_06042025_08_10_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd53354237518bfd3c5d7d3994fa2582.jpg","text":"TemporaryFile(/tmp/multipartBody2039409388725755020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158094539,"filename":"image_06042025_08_10_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674893","file1":"1350674890","file0":"1350674886","file4":"1350674899","file5":"1350674901","file3":"1350674896"},"map_files_photo_id_array":[{"photo_id":"1350674901","filename":"file5"},{"photo_id":"1350674893","filename":"file2"},{"photo_id":"1350674899","filename":"file4"},{"photo_id":"1350674890","filename":"file1"},{"photo_id":"1350674886","filename":"file0"},{"photo_id":"1350674896","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674899":["hashtag1","hashtag2"]},{"1350674890":["hashtag1","hashtag2"]},{"1350674893":["hashtag1","hashtag2"]},{"1350674896":["hashtag1","hashtag2"]},{"1350674886":["hashtag1","hashtag2"]},{"1350674901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674899, 1350674890, 1350674893, 1350674896, 1350674886, 1350674901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74068307876587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:21:32.804511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/10/image_06042025_08_11_06_9336.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_16_10349.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_26_10387.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_36_9352.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_46_10424.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_56_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/10/image_06042025_08_11_06_9336.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_16_10349.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_26_10387.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_36_9352.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_46_10424.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_56_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674929","1350674920","1350674923","1350674932","1350674926","1350674931"],"photo_ids_order":["1350674920","1350674923","1350674926","1350674929","1350674931","1350674932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc7b8b93de2dff55841da3d7440914c4.jpg","text":"TemporaryFile(/tmp/multipartBody1600375552514246498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158154714,"filename":"image_06042025_08_11_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/4/9/871d1498fb963cb5f21c46f9176508d7.jpg","text":"TemporaryFile(/tmp/multipartBody6323156456944546988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158154714,"filename":"image_06042025_08_11_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/4/9/4a427a5d665db6a245f83480c442c1ed.jpg","text":"TemporaryFile(/tmp/multipartBody7562023244378785330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158154714,"filename":"image_06042025_08_11_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23a1c89565a8d28b4a03575ad92b529b.jpg","text":"TemporaryFile(/tmp/multipartBody611260145143215688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158154714,"filename":"image_06042025_08_11_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/575c16473fe37b405ba236d963541c26.jpg","text":"TemporaryFile(/tmp/multipartBody629438904670372842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158154714,"filename":"image_06042025_08_11_26_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6f470c763cb5d98c139b9d801903d7d7.jpg","text":"TemporaryFile(/tmp/multipartBody4846066354914526688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158154714,"filename":"image_06042025_08_11_46_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674926","file1":"1350674923","file0":"1350674920","file4":"1350674931","file5":"1350674932","file3":"1350674929"},"map_files_photo_id_array":[{"photo_id":"1350674932","filename":"file5"},{"photo_id":"1350674926","filename":"file2"},{"photo_id":"1350674931","filename":"file4"},{"photo_id":"1350674923","filename":"file1"},{"photo_id":"1350674920","filename":"file0"},{"photo_id":"1350674929","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674929":["hashtag1","hashtag2"]},{"1350674920":["hashtag1","hashtag2"]},{"1350674923":["hashtag1","hashtag2"]},{"1350674932":["hashtag1","hashtag2"]},{"1350674926":["hashtag1","hashtag2"]},{"1350674931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674929, 1350674920, 1350674923, 1350674932, 1350674926, 1350674931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04443717002869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:22:33.166445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/11/image_06042025_08_12_06_9414.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_16_10361.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_26_9336.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_36_10445.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_46_10355.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_56_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_12_06_9414.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_16_10361.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_26_9336.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_36_10445.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_46_10355.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_56_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674965","1350674962","1350674958","1350674960","1350674954","1350674963"],"photo_ids_order":["1350674954","1350674958","1350674960","1350674962","1350674963","1350674965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57420ea19f73e2766f0a8bf4e8070100.jpg","text":"TemporaryFile(/tmp/multipartBody3640462050155370338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158215078,"filename":"image_06042025_08_12_56_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd7ed971e897f48eb1b264581b219c83.jpg","text":"TemporaryFile(/tmp/multipartBody6273408724328717901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158215078,"filename":"image_06042025_08_12_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f79aaedc31ddc44e209f52bb38ce712a.jpg","text":"TemporaryFile(/tmp/multipartBody1308638689724726117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158215078,"filename":"image_06042025_08_12_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/4/9/36f8fd142e2c074155bc8f7e36c749f5.jpg","text":"TemporaryFile(/tmp/multipartBody4144274737994020011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158215078,"filename":"image_06042025_08_12_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/4/9/6a63d213c423f59a16a29dd4e7a85a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4406140491656757212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158215078,"filename":"image_06042025_08_12_06_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/829e653b5865789aca6d071e87c0c8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2921079816637301905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158215078,"filename":"image_06042025_08_12_46_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674960","file1":"1350674958","file0":"1350674954","file4":"1350674963","file5":"1350674965","file3":"1350674962"},"map_files_photo_id_array":[{"photo_id":"1350674965","filename":"file5"},{"photo_id":"1350674960","filename":"file2"},{"photo_id":"1350674963","filename":"file4"},{"photo_id":"1350674958","filename":"file1"},{"photo_id":"1350674954","filename":"file0"},{"photo_id":"1350674962","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674965":["hashtag1","hashtag2"]},{"1350674962":["hashtag1","hashtag2"]},{"1350674958":["hashtag1","hashtag2"]},{"1350674960":["hashtag1","hashtag2"]},{"1350674954":["hashtag1","hashtag2"]},{"1350674963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674965, 1350674962, 1350674958, 1350674960, 1350674954, 1350674963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.658172845840454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:23:32.494153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/12/image_06042025_08_13_06_10407.jpg', '/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_16_9349.jpg', '/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_26_10454.jpg', '/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_36_10410.jpg', '/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_46_9408.jpg', '/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_56_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_13_06_10407.jpg
/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_16_9349.jpg
/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_26_10454.jpg
/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_36_10410.jpg
/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_46_9408.jpg
/home/pi/Desktop/images/06042025/08/13/image_06042025_08_13_56_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350674983","1350674986","1350674980","1350674988","1350674990","1350674993"],"photo_ids_order":["1350674980","1350674983","1350674986","1350674988","1350674990","1350674993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4ecba9bf63179ebe48ff1d02d67b8c3.jpg","text":"TemporaryFile(/tmp/multipartBody3481191314930324378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158274406,"filename":"image_06042025_08_13_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a371ebe2ba37f9f4e2d521e00d8f4cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6921574873459410688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158274406,"filename":"image_06042025_08_13_26_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/70ea221ce240f4d025bc39dadb6312c1.jpg","text":"TemporaryFile(/tmp/multipartBody5083165209872942176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158274406,"filename":"image_06042025_08_13_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/4/9/f3c1c371cc034e47821f2f276e65c0e7.jpg","text":"TemporaryFile(/tmp/multipartBody4382381629449040203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158274406,"filename":"image_06042025_08_13_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/4/9/15a183fddf0e997e4e7b3fc24a72fdec.jpg","text":"TemporaryFile(/tmp/multipartBody2102653787786604012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158274406,"filename":"image_06042025_08_13_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b295ffb696cf867c45775b20a655be07.jpg","text":"TemporaryFile(/tmp/multipartBody5098167828334591778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158274406,"filename":"image_06042025_08_13_56_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350674986","file1":"1350674983","file0":"1350674980","file4":"1350674990","file5":"1350674993","file3":"1350674988"},"map_files_photo_id_array":[{"photo_id":"1350674993","filename":"file5"},{"photo_id":"1350674986","filename":"file2"},{"photo_id":"1350674990","filename":"file4"},{"photo_id":"1350674983","filename":"file1"},{"photo_id":"1350674980","filename":"file0"},{"photo_id":"1350674988","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350674983":["hashtag1","hashtag2"]},{"1350674986":["hashtag1","hashtag2"]},{"1350674980":["hashtag1","hashtag2"]},{"1350674988":["hashtag1","hashtag2"]},{"1350674990":["hashtag1","hashtag2"]},{"1350674993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350674983, 1350674986, 1350674980, 1350674988, 1350674990, 1350674993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.103320598602295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:24:32.640251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/13/image_06042025_08_14_06_9359.jpg', '/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_16_10348.jpg', '/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_26_10365.jpg', '/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_36_9465.jpg', '/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_46_10436.jpg', '/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_56_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/13/image_06042025_08_14_06_9359.jpg
/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_16_10348.jpg
/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_26_10365.jpg
/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_36_9465.jpg
/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_46_10436.jpg
/home/pi/Desktop/images/06042025/08/14/image_06042025_08_14_56_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":["1350675014","1350675016","1350675012","1350675009","1350675018","1350675017"],"photo_ids_order":["1350675009","1350675012","1350675014","1350675016","1350675017","1350675018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c12d330b16f162e4c4d701bf9f8419a8.jpg","text":"TemporaryFile(/tmp/multipartBody95975639977076442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158334568,"filename":"image_06042025_08_14_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/4/9/12dbebf609fe958db908361fef0ea3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8201459258553708005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158334568,"filename":"image_06042025_08_14_36_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8eb3f232767d73ac87c3243bda394ddf.jpg","text":"TemporaryFile(/tmp/multipartBody5387518412368277171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158334568,"filename":"image_06042025_08_14_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/4/9/654701ba7f0e0ffaa149adf6b9b1135e.jpg","text":"TemporaryFile(/tmp/multipartBody243226456207195283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158334568,"filename":"image_06042025_08_14_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/4/9/8826efcd0507807a9295f93098d22358.jpg","text":"TemporaryFile(/tmp/multipartBody808593309217259448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158334568,"filename":"image_06042025_08_14_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0cde89a2a83ac0a494a2e141949be1bd.jpg","text":"TemporaryFile(/tmp/multipartBody2249445362335456776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158334568,"filename":"image_06042025_08_14_46_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675014","file1":"1350675012","file0":"1350675009","file4":"1350675017","file5":"1350675018","file3":"1350675016"},"map_files_photo_id_array":[{"photo_id":"1350675018","filename":"file5"},{"photo_id":"1350675014","filename":"file2"},{"photo_id":"1350675017","filename":"file4"},{"photo_id":"1350675012","filename":"file1"},{"photo_id":"1350675009","filename":"file0"},{"photo_id":"1350675016","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675014":["hashtag1","hashtag2"]},{"1350675016":["hashtag1","hashtag2"]},{"1350675012":["hashtag1","hashtag2"]},{"1350675009":["hashtag1","hashtag2"]},{"1350675018":["hashtag1","hashtag2"]},{"1350675017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675014, 1350675016, 1350675012, 1350675009, 1350675018, 1350675017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88078236579895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:25:32.861922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/14/image_06042025_08_15_06_10363.jpg', '/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_16_10451.jpg', '/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_26_9531.jpg', '/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_36_10385.jpg', '/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_46_9478.jpg', '/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/14/image_06042025_08_15_06_10363.jpg
/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_16_10451.jpg
/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_26_9531.jpg
/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_36_10385.jpg
/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_46_9478.jpg
/home/pi/Desktop/images/06042025/08/15/image_06042025_08_15_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675040","1350675043","1350675045","1350675033","1350675036","1350675047"],"photo_ids_order":["1350675033","1350675036","1350675040","1350675043","1350675045","1350675047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e43110d3e8b06bd480723abcf365b1c1.jpg","text":"TemporaryFile(/tmp/multipartBody8412138415390071439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158394777,"filename":"image_06042025_08_15_26_9531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f78570a670d220bb6b3e8037db355603.jpg","text":"TemporaryFile(/tmp/multipartBody7894897448709669359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158394777,"filename":"image_06042025_08_15_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/4/9/2870cd597e9fece56ede3362e75c3d92.jpg","text":"TemporaryFile(/tmp/multipartBody6283049289133243206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158394777,"filename":"image_06042025_08_15_46_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d361fbcf5d3eaa0946255c889c1ea76.jpg","text":"TemporaryFile(/tmp/multipartBody5750054440964991888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158394777,"filename":"image_06042025_08_15_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf54154677f9db9dad09d295217c4dd5.jpg","text":"TemporaryFile(/tmp/multipartBody6723798138410560080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158394777,"filename":"image_06042025_08_15_16_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ea246c63b0c8ede44fd30044d85eda4.jpg","text":"TemporaryFile(/tmp/multipartBody6437154715269192980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158394777,"filename":"image_06042025_08_15_56_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675040","file1":"1350675036","file0":"1350675033","file4":"1350675045","file5":"1350675047","file3":"1350675043"},"map_files_photo_id_array":[{"photo_id":"1350675047","filename":"file5"},{"photo_id":"1350675040","filename":"file2"},{"photo_id":"1350675045","filename":"file4"},{"photo_id":"1350675036","filename":"file1"},{"photo_id":"1350675033","filename":"file0"},{"photo_id":"1350675043","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675040":["hashtag1","hashtag2"]},{"1350675043":["hashtag1","hashtag2"]},{"1350675045":["hashtag1","hashtag2"]},{"1350675033":["hashtag1","hashtag2"]},{"1350675036":["hashtag1","hashtag2"]},{"1350675047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675040, 1350675043, 1350675045, 1350675033, 1350675036, 1350675047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35785794258118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:26:33.079530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/15/image_06042025_08_16_06_9362.jpg', '/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_16_10348.jpg', '/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_26_10364.jpg', '/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_36_9378.jpg', '/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_46_10448.jpg', '/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_56_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/15/image_06042025_08_16_06_9362.jpg
/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_16_10348.jpg
/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_26_10364.jpg
/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_36_9378.jpg
/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_46_10448.jpg
/home/pi/Desktop/images/06042025/08/16/image_06042025_08_16_56_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675079","1350675081","1350675071","1350675074","1350675068","1350675083"],"photo_ids_order":["1350675068","1350675071","1350675074","1350675079","1350675081","1350675083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd04c5f98c0f8344186cc9819c156257.jpg","text":"TemporaryFile(/tmp/multipartBody4185572960788801260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158455002,"filename":"image_06042025_08_16_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/4/9/0bcc3c0e772b6fa6bc2062d3b57b1163.jpg","text":"TemporaryFile(/tmp/multipartBody9063384008120674893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158455002,"filename":"image_06042025_08_16_46_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19869dc20cd91d2c04ee7c486bbacf15.jpg","text":"TemporaryFile(/tmp/multipartBody1664313472032821846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158455002,"filename":"image_06042025_08_16_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7603d0d00dd6f636fa4789fe3a455f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4581935055697538852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158455002,"filename":"image_06042025_08_16_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/4/9/12d93671f08d76133e1e83d4faa743bf.jpg","text":"TemporaryFile(/tmp/multipartBody810085410086937773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158455002,"filename":"image_06042025_08_16_06_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/422b7def3df9c44ae18d8661a0f62973.jpg","text":"TemporaryFile(/tmp/multipartBody8287747848136664534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158455002,"filename":"image_06042025_08_16_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675074","file1":"1350675071","file0":"1350675068","file4":"1350675081","file5":"1350675083","file3":"1350675079"},"map_files_photo_id_array":[{"photo_id":"1350675083","filename":"file5"},{"photo_id":"1350675074","filename":"file2"},{"photo_id":"1350675081","filename":"file4"},{"photo_id":"1350675071","filename":"file1"},{"photo_id":"1350675068","filename":"file0"},{"photo_id":"1350675079","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675079":["hashtag1","hashtag2"]},{"1350675081":["hashtag1","hashtag2"]},{"1350675071":["hashtag1","hashtag2"]},{"1350675074":["hashtag1","hashtag2"]},{"1350675068":["hashtag1","hashtag2"]},{"1350675083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675079, 1350675081, 1350675071, 1350675074, 1350675068, 1350675083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41044783592224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:27:32.279116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/16/image_06042025_08_17_06_9370.jpg', '/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_16_10384.jpg', '/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_26_9358.jpg', '/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_36_10359.jpg', '/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_46_10373.jpg', '/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_56_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/16/image_06042025_08_17_06_9370.jpg
/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_16_10384.jpg
/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_26_9358.jpg
/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_36_10359.jpg
/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_46_10373.jpg
/home/pi/Desktop/images/06042025/08/17/image_06042025_08_17_56_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":["1350675107","1350675101","1350675103","1350675105","1350675098","1350675095"],"photo_ids_order":["1350675095","1350675098","1350675101","1350675103","1350675105","1350675107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbf72e5d6b43d99d627c715a4deafecd.jpg","text":"TemporaryFile(/tmp/multipartBody2394189294335950542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158514194,"filename":"image_06042025_08_17_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/4/9/f8c24d6614dc2cbd7d5cd2995fe7ff98.jpg","text":"TemporaryFile(/tmp/multipartBody1053458709103635822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158514194,"filename":"image_06042025_08_17_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/198516cdb73271c65ad03067e559b0d4.jpg","text":"TemporaryFile(/tmp/multipartBody6148839900905984068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158514194,"filename":"image_06042025_08_17_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/4/9/521c6168fa9bcbb92d58f333ab0c22ff.jpg","text":"TemporaryFile(/tmp/multipartBody4939699070067909684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158514194,"filename":"image_06042025_08_17_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/4/9/b33e03c30106db6079be6e4ee684d6f8.jpg","text":"TemporaryFile(/tmp/multipartBody8793796045146718914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158514194,"filename":"image_06042025_08_17_16_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa8dea0c0f10a84e722242a0c6cc0731.jpg","text":"TemporaryFile(/tmp/multipartBody7617972211390617912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158514194,"filename":"image_06042025_08_17_06_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675101","file1":"1350675098","file0":"1350675095","file4":"1350675105","file5":"1350675107","file3":"1350675103"},"map_files_photo_id_array":[{"photo_id":"1350675107","filename":"file5"},{"photo_id":"1350675101","filename":"file2"},{"photo_id":"1350675105","filename":"file4"},{"photo_id":"1350675098","filename":"file1"},{"photo_id":"1350675095","filename":"file0"},{"photo_id":"1350675103","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675107":["hashtag1","hashtag2"]},{"1350675101":["hashtag1","hashtag2"]},{"1350675103":["hashtag1","hashtag2"]},{"1350675105":["hashtag1","hashtag2"]},{"1350675098":["hashtag1","hashtag2"]},{"1350675095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675107, 1350675101, 1350675103, 1350675105, 1350675098, 1350675095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.266594409942627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:28:32.528663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/17/image_06042025_08_18_06_10377.jpg', '/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_26_9438.jpg', '/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_36_10429.jpg', '/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_56_10440.jpg', '/home/pi/Desktop/images/06042025/08/18/image_06042025_08_19_05_9420.jpg', '/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_16_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/17/image_06042025_08_18_06_10377.jpg
/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_26_9438.jpg
/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_36_10429.jpg
/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_56_10440.jpg
/home/pi/Desktop/images/06042025/08/18/image_06042025_08_19_05_9420.jpg
/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_16_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8528141975402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 02:28:42.499499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/17/image_06042025_08_18_06_10377.jpg', '/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_26_9438.jpg', '/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_36_10429.jpg', '/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_56_10440.jpg', '/home/pi/Desktop/images/06042025/08/18/image_06042025_08_19_05_9420.jpg', '/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_16_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/17/image_06042025_08_18_06_10377.jpg
/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_26_9438.jpg
/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_36_10429.jpg
/home/pi/Desktop/images/06042025/08/18/image_06042025_08_18_56_10440.jpg
/home/pi/Desktop/images/06042025/08/18/image_06042025_08_19_05_9420.jpg
/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_16_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":["1350675128","1350675139","1350675133","1350675136","1350675130","1350675135"],"photo_ids_order":["1350675128","1350675130","1350675133","1350675135","1350675136","1350675139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e5e1418904b0e652af1a5a2c7ef58c1.jpg","text":"TemporaryFile(/tmp/multipartBody8771348048195085573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158583469,"filename":"image_06042025_08_18_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/4/9/83c62946c6ea3efb05765020ab50e12f.jpg","text":"TemporaryFile(/tmp/multipartBody6955458501706487788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158583469,"filename":"image_06042025_08_19_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5bddbf1cd6a5f489e4094354154ca1da.jpg","text":"TemporaryFile(/tmp/multipartBody3321202017978160545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158583469,"filename":"image_06042025_08_18_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/4/9/e80f5ce0e256207121400bb6313916db.jpg","text":"TemporaryFile(/tmp/multipartBody9152783112912899508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158583469,"filename":"image_06042025_08_19_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/4/9/9f8d746256ab46fe84ff5b5cc7b63531.jpg","text":"TemporaryFile(/tmp/multipartBody8769440901136841507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158583469,"filename":"image_06042025_08_18_26_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/00d119da89409cf51b5208b35b4a36f5.jpg","text":"TemporaryFile(/tmp/multipartBody2798525738734961959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158583469,"filename":"image_06042025_08_18_56_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675133","file1":"1350675130","file0":"1350675128","file4":"1350675136","file5":"1350675139","file3":"1350675135"},"map_files_photo_id_array":[{"photo_id":"1350675139","filename":"file5"},{"photo_id":"1350675133","filename":"file2"},{"photo_id":"1350675136","filename":"file4"},{"photo_id":"1350675130","filename":"file1"},{"photo_id":"1350675128","filename":"file0"},{"photo_id":"1350675135","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675128":["hashtag1","hashtag2"]},{"1350675139":["hashtag1","hashtag2"]},{"1350675133":["hashtag1","hashtag2"]},{"1350675136":["hashtag1","hashtag2"]},{"1350675130":["hashtag1","hashtag2"]},{"1350675135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675128, 1350675139, 1350675133, 1350675136, 1350675130, 1350675135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.87190008163452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:29:32.684152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_26_10427.jpg', '/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_36_9387.jpg', '/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_46_10369.jpg', '/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_56_10376.jpg', '/home/pi/Desktop/images/06042025/08/19/image_06042025_08_20_06_9448.jpg', '/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_16_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_26_10427.jpg
/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_36_9387.jpg
/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_46_10369.jpg
/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_56_10376.jpg
/home/pi/Desktop/images/06042025/08/19/image_06042025_08_20_06_9448.jpg
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_16_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675160","1350675162","1350675167","1350675155","1350675164","1350675158"],"photo_ids_order":["1350675155","1350675158","1350675160","1350675162","1350675164","1350675167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94e0de5f091c2ac175c5894daa756e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5187805083375134059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158634619,"filename":"image_06042025_08_19_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/4/9/702c690741db40264155b60099d25621.jpg","text":"TemporaryFile(/tmp/multipartBody2854108037654524676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158634619,"filename":"image_06042025_08_19_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/4/9/b465f9d9218e08d779c5d180deeb0173.jpg","text":"TemporaryFile(/tmp/multipartBody5633603907694080295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158634619,"filename":"image_06042025_08_20_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e03ac3fe34e9a7c0fb222ffc286ea7bb.jpg","text":"TemporaryFile(/tmp/multipartBody378144024359567708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158634619,"filename":"image_06042025_08_19_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9017f167449a5c8db6a5f3feb70fad77.jpg","text":"TemporaryFile(/tmp/multipartBody3579807866297022778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158634619,"filename":"image_06042025_08_20_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/4/9/ea8ae220b3c39b4bbf60ab6d13f6e481.jpg","text":"TemporaryFile(/tmp/multipartBody6720161567444426486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158634619,"filename":"image_06042025_08_19_36_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675160","file1":"1350675158","file0":"1350675155","file4":"1350675164","file5":"1350675167","file3":"1350675162"},"map_files_photo_id_array":[{"photo_id":"1350675167","filename":"file5"},{"photo_id":"1350675160","filename":"file2"},{"photo_id":"1350675164","filename":"file4"},{"photo_id":"1350675158","filename":"file1"},{"photo_id":"1350675155","filename":"file0"},{"photo_id":"1350675162","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675160":["hashtag1","hashtag2"]},{"1350675162":["hashtag1","hashtag2"]},{"1350675167":["hashtag1","hashtag2"]},{"1350675155":["hashtag1","hashtag2"]},{"1350675164":["hashtag1","hashtag2"]},{"1350675158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675160, 1350675162, 1350675167, 1350675155, 1350675164, 1350675158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47101020812988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:30:32.921686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_26_9365.jpg', '/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_36_10412.jpg', '/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_46_10368.jpg', '/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_56_9409.jpg', '/home/pi/Desktop/images/06042025/08/20/image_06042025_08_21_06_10423.jpg', '/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_16_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_26_9365.jpg
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_36_10412.jpg
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_46_10368.jpg
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_56_9409.jpg
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_21_06_10423.jpg
/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_16_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":["1350675200","1350675190","1350675202","1350675195","1350675197","1350675193"],"photo_ids_order":["1350675190","1350675193","1350675195","1350675197","1350675200","1350675202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f99449ee083b1bb9c020081b308ff2e2.jpg","text":"TemporaryFile(/tmp/multipartBody1959331869722666515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158694840,"filename":"image_06042025_08_21_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/173f58a7c6477954620af40d7aec37fd.jpg","text":"TemporaryFile(/tmp/multipartBody7449077406256301905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158694840,"filename":"image_06042025_08_20_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/4/9/86355d606d3a5249691926c0dc1548e6.jpg","text":"TemporaryFile(/tmp/multipartBody8500626990364674335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158694840,"filename":"image_06042025_08_21_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/4/9/4abdf950d9e8828f31a697b33ac36b64.jpg","text":"TemporaryFile(/tmp/multipartBody6064984591336436133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158694840,"filename":"image_06042025_08_20_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/4/9/ffb4e2dabef50afa1d06491e04210977.jpg","text":"TemporaryFile(/tmp/multipartBody7335566106030311417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158694840,"filename":"image_06042025_08_20_56_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30dba5767bf59e5328376d14d943ee53.jpg","text":"TemporaryFile(/tmp/multipartBody4726943074632704565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158694840,"filename":"image_06042025_08_20_36_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675195","file1":"1350675193","file0":"1350675190","file4":"1350675200","file5":"1350675202","file3":"1350675197"},"map_files_photo_id_array":[{"photo_id":"1350675202","filename":"file5"},{"photo_id":"1350675195","filename":"file2"},{"photo_id":"1350675200","filename":"file4"},{"photo_id":"1350675193","filename":"file1"},{"photo_id":"1350675190","filename":"file0"},{"photo_id":"1350675197","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675200":["hashtag1","hashtag2"]},{"1350675190":["hashtag1","hashtag2"]},{"1350675202":["hashtag1","hashtag2"]},{"1350675195":["hashtag1","hashtag2"]},{"1350675197":["hashtag1","hashtag2"]},{"1350675193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675200, 1350675190, 1350675202, 1350675195, 1350675197, 1350675193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90536427497864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:31:33.130123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_26_10458.jpg', '/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_36_10410.jpg', '/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_46_9451.jpg', '/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_56_10458.jpg', '/home/pi/Desktop/images/06042025/08/21/image_06042025_08_22_06_9427.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_16_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_26_10458.jpg
/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_36_10410.jpg
/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_46_9451.jpg
/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_56_10458.jpg
/home/pi/Desktop/images/06042025/08/21/image_06042025_08_22_06_9427.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_16_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":["1350675227","1350675229","1350675223","1350675225","1350675219","1350675230"],"photo_ids_order":["1350675219","1350675223","1350675225","1350675227","1350675229","1350675230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33c2346789cce4a0afcb410c3254f29e.jpg","text":"TemporaryFile(/tmp/multipartBody28274781877476119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158755066,"filename":"image_06042025_08_21_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/4/9/8b2d8300438f64ddffa91c2b327962d2.jpg","text":"TemporaryFile(/tmp/multipartBody3481286802310228552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158755066,"filename":"image_06042025_08_22_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db97feb8ae73df5bab6268b26f18fa53.jpg","text":"TemporaryFile(/tmp/multipartBody1403511055644696559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158755066,"filename":"image_06042025_08_21_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/4/9/6b8acb9a199785e232c995bbd23af3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5933797770888855084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158755066,"filename":"image_06042025_08_21_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/4/9/00b296fd857a3641ffee93325eb89242.jpg","text":"TemporaryFile(/tmp/multipartBody2497201202041031991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158755066,"filename":"image_06042025_08_21_26_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b57624c035fcee45e194055e9fdb3cec.jpg","text":"TemporaryFile(/tmp/multipartBody2439839335611282414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158755066,"filename":"image_06042025_08_22_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675225","file1":"1350675223","file0":"1350675219","file4":"1350675229","file5":"1350675230","file3":"1350675227"},"map_files_photo_id_array":[{"photo_id":"1350675230","filename":"file5"},{"photo_id":"1350675225","filename":"file2"},{"photo_id":"1350675229","filename":"file4"},{"photo_id":"1350675223","filename":"file1"},{"photo_id":"1350675219","filename":"file0"},{"photo_id":"1350675227","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675227":["hashtag1","hashtag2"]},{"1350675229":["hashtag1","hashtag2"]},{"1350675223":["hashtag1","hashtag2"]},{"1350675225":["hashtag1","hashtag2"]},{"1350675219":["hashtag1","hashtag2"]},{"1350675230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675227, 1350675229, 1350675223, 1350675225, 1350675219, 1350675230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93796896934509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:32:32.246399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_26_9351.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_36_10368.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_56_9401.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_23_06_10439.jpg', '/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_26_10460.jpg', '/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_26_9351.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_36_10368.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_56_9401.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_23_06_10439.jpg
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_26_10460.jpg
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_36_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675256","1350675259","1350675253","1350675261","1350675266","1350675263"],"photo_ids_order":["1350675253","1350675256","1350675259","1350675261","1350675263","1350675266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d176d4e06e4846cb094b68bc1256def2.jpg","text":"TemporaryFile(/tmp/multipartBody596918404802853850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158814240,"filename":"image_06042025_08_22_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/4/9/8daf248ce80486687f6ab38898dd8450.jpg","text":"TemporaryFile(/tmp/multipartBody2189868711435565087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158814240,"filename":"image_06042025_08_22_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/4/9/18a8c717bc068ac5187d1d7741755712.jpg","text":"TemporaryFile(/tmp/multipartBody2242848072436536123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158814240,"filename":"image_06042025_08_22_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/980f9a91caa05da6b5c85e42d21f66d8.jpg","text":"TemporaryFile(/tmp/multipartBody1272763128606208502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158814240,"filename":"image_06042025_08_23_06_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d228dbdcf50ec4849a2cc31f12ceaed5.jpg","text":"TemporaryFile(/tmp/multipartBody2869641343437253341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158814240,"filename":"image_06042025_08_23_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3881d2e95706dbe6fb4b0a86c8b7ab1a.jpg","text":"TemporaryFile(/tmp/multipartBody7701062411309639528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158814240,"filename":"image_06042025_08_23_26_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675259","file1":"1350675256","file0":"1350675253","file4":"1350675263","file5":"1350675266","file3":"1350675261"},"map_files_photo_id_array":[{"photo_id":"1350675266","filename":"file5"},{"photo_id":"1350675259","filename":"file2"},{"photo_id":"1350675263","filename":"file4"},{"photo_id":"1350675256","filename":"file1"},{"photo_id":"1350675253","filename":"file0"},{"photo_id":"1350675261","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675256":["hashtag1","hashtag2"]},{"1350675259":["hashtag1","hashtag2"]},{"1350675253":["hashtag1","hashtag2"]},{"1350675261":["hashtag1","hashtag2"]},{"1350675266":["hashtag1","hashtag2"]},{"1350675263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675256, 1350675259, 1350675253, 1350675261, 1350675266, 1350675263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79335856437683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:33:32.419569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_46_9372.jpg', '/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_56_10413.jpg', '/home/pi/Desktop/images/06042025/08/23/image_06042025_08_24_06_10338.jpg', '/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_16_9399.jpg', '/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_26_10379.jpg', '/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_36_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_46_9372.jpg
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_56_10413.jpg
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_24_06_10338.jpg
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_16_9399.jpg
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_26_10379.jpg
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_36_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":["1350675289","1350675298","1350675286","1350675294","1350675297","1350675299"],"photo_ids_order":["1350675286","1350675289","1350675294","1350675297","1350675298","1350675299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e598ac3dda58ba2aaec8e5b50a4c657d.jpg","text":"TemporaryFile(/tmp/multipartBody7858600964568337426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158874347,"filename":"image_06042025_08_23_56_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e91733d061ac3f55ea3c7ede16719a9.jpg","text":"TemporaryFile(/tmp/multipartBody8222575608386171591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158874347,"filename":"image_06042025_08_24_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/4/9/22d941c802962c0434909b51d2e08d06.jpg","text":"TemporaryFile(/tmp/multipartBody3456120656018245964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158874347,"filename":"image_06042025_08_23_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b2da8c5c884487727c99f3cf5a19840.jpg","text":"TemporaryFile(/tmp/multipartBody9208167705268517619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158874347,"filename":"image_06042025_08_24_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/4/9/82bbe01eece5768d4744732c77644486.jpg","text":"TemporaryFile(/tmp/multipartBody5590125196542915764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158874347,"filename":"image_06042025_08_24_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/4/9/8d60690ec6f4779ff35ba9debac5b087.jpg","text":"TemporaryFile(/tmp/multipartBody6232329478975658160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158874347,"filename":"image_06042025_08_24_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675294","file1":"1350675289","file0":"1350675286","file4":"1350675298","file5":"1350675299","file3":"1350675297"},"map_files_photo_id_array":[{"photo_id":"1350675299","filename":"file5"},{"photo_id":"1350675294","filename":"file2"},{"photo_id":"1350675298","filename":"file4"},{"photo_id":"1350675289","filename":"file1"},{"photo_id":"1350675286","filename":"file0"},{"photo_id":"1350675297","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675289":["hashtag1","hashtag2"]},{"1350675298":["hashtag1","hashtag2"]},{"1350675286":["hashtag1","hashtag2"]},{"1350675294":["hashtag1","hashtag2"]},{"1350675297":["hashtag1","hashtag2"]},{"1350675299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675289, 1350675298, 1350675286, 1350675294, 1350675297, 1350675299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15347623825073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:34:32.618380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_46_10453.jpg', '/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_56_10361.jpg', '/home/pi/Desktop/images/06042025/08/24/image_06042025_08_25_06_9467.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_16_10363.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_26_9368.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_36_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_46_10453.jpg
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_56_10361.jpg
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_25_06_9467.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_16_10363.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_26_9368.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_36_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":["1350675322","1350675324","1350675318","1350675327","1350675320","1350675317"],"photo_ids_order":["1350675317","1350675318","1350675320","1350675322","1350675324","1350675327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9ae151ca41bae4b67be50f8c2dc2a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1528247386046309195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158934536,"filename":"image_06042025_08_25_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0fb4eca6915378f84adc1f8bf6a49b54.jpg","text":"TemporaryFile(/tmp/multipartBody8810496623256485125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158934536,"filename":"image_06042025_08_25_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36952a234a79351998e17800051fdbcf.jpg","text":"TemporaryFile(/tmp/multipartBody6702995494985373655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158934536,"filename":"image_06042025_08_24_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/4/9/9540c2372406df0c90d7d4d3a293d852.jpg","text":"TemporaryFile(/tmp/multipartBody4776937280567917463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158934536,"filename":"image_06042025_08_25_36_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/343b552b89118de51bd4e1e142bebe38.jpg","text":"TemporaryFile(/tmp/multipartBody2593684664206601930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158934536,"filename":"image_06042025_08_25_06_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4526c262a1faf8b0c2b298b45e89d651.jpg","text":"TemporaryFile(/tmp/multipartBody1915916985763341280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158934536,"filename":"image_06042025_08_24_46_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675320","file1":"1350675318","file0":"1350675317","file4":"1350675324","file5":"1350675327","file3":"1350675322"},"map_files_photo_id_array":[{"photo_id":"1350675327","filename":"file5"},{"photo_id":"1350675320","filename":"file2"},{"photo_id":"1350675324","filename":"file4"},{"photo_id":"1350675318","filename":"file1"},{"photo_id":"1350675317","filename":"file0"},{"photo_id":"1350675322","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675322":["hashtag1","hashtag2"]},{"1350675324":["hashtag1","hashtag2"]},{"1350675318":["hashtag1","hashtag2"]},{"1350675327":["hashtag1","hashtag2"]},{"1350675320":["hashtag1","hashtag2"]},{"1350675317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675322, 1350675324, 1350675318, 1350675327, 1350675320, 1350675317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53467607498169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:35:32.871392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_46_10420.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_56_9395.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_26_06_10418.jpg', '/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_16_9361.jpg', '/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_26_10457.jpg', '/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_36_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_46_10420.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_56_9395.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_26_06_10418.jpg
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_16_9361.jpg
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_26_10457.jpg
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_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":["1350675343","1350675352","1350675351","1350675350","1350675353","1350675347"],"photo_ids_order":["1350675343","1350675347","1350675350","1350675351","1350675352","1350675353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5faa881e142cfc838f150c34d9c84475.jpg","text":"TemporaryFile(/tmp/multipartBody2245891824861461882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158994787,"filename":"image_06042025_08_25_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/4/9/2eb337cc909c61552888bc233f4a1a47.jpg","text":"TemporaryFile(/tmp/multipartBody6279141085056551229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158994787,"filename":"image_06042025_08_26_26_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c3445fea05e67c3da9285b4eb955562.jpg","text":"TemporaryFile(/tmp/multipartBody4380000483093853309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158994787,"filename":"image_06042025_08_26_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/4/9/c1ebcf1cd247a52320b8fae81a49d81a.jpg","text":"TemporaryFile(/tmp/multipartBody7261161962905830847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158994787,"filename":"image_06042025_08_26_06_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff6cbc0761f0872220de822150f6aaaf.jpg","text":"TemporaryFile(/tmp/multipartBody4076814508574144295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158994787,"filename":"image_06042025_08_26_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/564ab6dd5ed54babfa5c48f141d543ab.jpg","text":"TemporaryFile(/tmp/multipartBody7078140513230112986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744158994787,"filename":"image_06042025_08_25_56_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675350","file1":"1350675347","file0":"1350675343","file4":"1350675352","file5":"1350675353","file3":"1350675351"},"map_files_photo_id_array":[{"photo_id":"1350675353","filename":"file5"},{"photo_id":"1350675350","filename":"file2"},{"photo_id":"1350675352","filename":"file4"},{"photo_id":"1350675347","filename":"file1"},{"photo_id":"1350675343","filename":"file0"},{"photo_id":"1350675351","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675343":["hashtag1","hashtag2"]},{"1350675352":["hashtag1","hashtag2"]},{"1350675351":["hashtag1","hashtag2"]},{"1350675350":["hashtag1","hashtag2"]},{"1350675353":["hashtag1","hashtag2"]},{"1350675347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675343, 1350675352, 1350675351, 1350675350, 1350675353, 1350675347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.456249475479126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:36:33.072559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_46_9482.jpg', '/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_56_10429.jpg', '/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_16_10386.jpg', '/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_36_10391.jpg', '/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_46_10420.jpg', '/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_56_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_46_9482.jpg
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_56_10429.jpg
/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_16_10386.jpg
/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_36_10391.jpg
/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_46_10420.jpg
/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_56_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":["1350675384","1350675381","1350675375","1350675378","1350675383","1350675386"],"photo_ids_order":["1350675375","1350675378","1350675381","1350675383","1350675384","1350675386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa5e63886b5b409c9f1f8ae5320c40ca.jpg","text":"TemporaryFile(/tmp/multipartBody4192121590907862720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159054987,"filename":"image_06042025_08_27_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/4/9/cf92a78cbd190b541c8c88dde26434b9.jpg","text":"TemporaryFile(/tmp/multipartBody4345876523446457711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159054987,"filename":"image_06042025_08_27_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/4/9/41b581316c420e0653ea87c107be53d8.jpg","text":"TemporaryFile(/tmp/multipartBody9065857184889076389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159054987,"filename":"image_06042025_08_26_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/4/9/845bb17fffd9de370452137f5a635d3b.jpg","text":"TemporaryFile(/tmp/multipartBody8837543516708940735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159054987,"filename":"image_06042025_08_26_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38e8d449c8704c4c63f7699b8212740f.jpg","text":"TemporaryFile(/tmp/multipartBody9191888557458881263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159054987,"filename":"image_06042025_08_27_36_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5bcdb123f77667549cad1fa2a201f489.jpg","text":"TemporaryFile(/tmp/multipartBody1786571183238138495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159054987,"filename":"image_06042025_08_27_56_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675381","file1":"1350675378","file0":"1350675375","file4":"1350675384","file5":"1350675386","file3":"1350675383"},"map_files_photo_id_array":[{"photo_id":"1350675386","filename":"file5"},{"photo_id":"1350675381","filename":"file2"},{"photo_id":"1350675384","filename":"file4"},{"photo_id":"1350675378","filename":"file1"},{"photo_id":"1350675375","filename":"file0"},{"photo_id":"1350675383","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675384":["hashtag1","hashtag2"]},{"1350675381":["hashtag1","hashtag2"]},{"1350675375":["hashtag1","hashtag2"]},{"1350675378":["hashtag1","hashtag2"]},{"1350675383":["hashtag1","hashtag2"]},{"1350675386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675384, 1350675381, 1350675375, 1350675378, 1350675383, 1350675386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23716926574707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:37:32.342883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/27/image_06042025_08_28_06_10462.jpg', '/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_16_9434.jpg', '/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_26_10406.jpg', '/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_36_10433.jpg', '/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_46_9404.jpg', '/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_56_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/27/image_06042025_08_28_06_10462.jpg
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_16_9434.jpg
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_26_10406.jpg
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_36_10433.jpg
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_46_9404.jpg
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_56_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":["1350675412","1350675409","1350675411","1350675405","1350675413","1350675407"],"photo_ids_order":["1350675405","1350675407","1350675409","1350675411","1350675412","1350675413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1ef295a56e7c8b86e822214fffe74f0.jpg","text":"TemporaryFile(/tmp/multipartBody2497778394625957703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159114258,"filename":"image_06042025_08_28_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/4/9/e56f27ef98bf47e58b86c549e8594def.jpg","text":"TemporaryFile(/tmp/multipartBody7923394281217443247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159114258,"filename":"image_06042025_08_28_26_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ceffab612368f29b006db5776a0456d.jpg","text":"TemporaryFile(/tmp/multipartBody3565572723451761827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159114258,"filename":"image_06042025_08_28_36_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fcaef89340bc468c08a87f9a2caa45e0.jpg","text":"TemporaryFile(/tmp/multipartBody4450681344843676458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159114258,"filename":"image_06042025_08_28_06_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f41c74c8e327ec68841798c2874caca.jpg","text":"TemporaryFile(/tmp/multipartBody2884764016740671709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159114258,"filename":"image_06042025_08_28_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/4/9/d905f301e38dbcb6f9dd3cfaa80f98c1.jpg","text":"TemporaryFile(/tmp/multipartBody6195250896471606902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159114258,"filename":"image_06042025_08_28_16_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675409","file1":"1350675407","file0":"1350675405","file4":"1350675412","file5":"1350675413","file3":"1350675411"},"map_files_photo_id_array":[{"photo_id":"1350675413","filename":"file5"},{"photo_id":"1350675409","filename":"file2"},{"photo_id":"1350675412","filename":"file4"},{"photo_id":"1350675407","filename":"file1"},{"photo_id":"1350675405","filename":"file0"},{"photo_id":"1350675411","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675412":["hashtag1","hashtag2"]},{"1350675409":["hashtag1","hashtag2"]},{"1350675411":["hashtag1","hashtag2"]},{"1350675405":["hashtag1","hashtag2"]},{"1350675413":["hashtag1","hashtag2"]},{"1350675407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675412, 1350675409, 1350675411, 1350675405, 1350675413, 1350675407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99944996833801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:38:32.486047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/28/image_06042025_08_29_06_9342.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_16_10433.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_26_10376.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_36_9440.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_46_10381.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_56_9504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_29_06_9342.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_16_10433.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_26_10376.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_36_9440.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_46_10381.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_56_9504.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.837341070175171 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 02:38:42.508080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/28/image_06042025_08_29_06_9342.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_16_10433.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_26_10376.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_36_9440.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_46_10381.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_56_9504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_29_06_9342.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_16_10433.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_26_10376.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_36_9440.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_46_10381.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_56_9504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675453","1350675456","1350675450","1350675443","1350675446","1350675440"],"photo_ids_order":["1350675440","1350675443","1350675446","1350675450","1350675453","1350675456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/216f17f8ca00121df053c14d21a81c76.jpg","text":"TemporaryFile(/tmp/multipartBody2432717840408871675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159183498,"filename":"image_06042025_08_29_46_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/46fb51a7b668e36cf2df76394179315b.jpg","text":"TemporaryFile(/tmp/multipartBody5323801021243864764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159183498,"filename":"image_06042025_08_29_56_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a27e2bdde79b30138c6f35b51b83dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7763082380819737487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159183498,"filename":"image_06042025_08_29_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/722741daea89527f00e2a4479acbe8a8.jpg","text":"TemporaryFile(/tmp/multipartBody1854427686889874843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159183498,"filename":"image_06042025_08_29_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/4/9/7a2bb7b8877fa38d5bdb507377d91992.jpg","text":"TemporaryFile(/tmp/multipartBody2484919338449655452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159183498,"filename":"image_06042025_08_29_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1579ab1c9b8a2a4d348ea7625fec1ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6987920853690934954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159183498,"filename":"image_06042025_08_29_06_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675446","file1":"1350675443","file0":"1350675440","file4":"1350675453","file5":"1350675456","file3":"1350675450"},"map_files_photo_id_array":[{"photo_id":"1350675456","filename":"file5"},{"photo_id":"1350675446","filename":"file2"},{"photo_id":"1350675453","filename":"file4"},{"photo_id":"1350675443","filename":"file1"},{"photo_id":"1350675440","filename":"file0"},{"photo_id":"1350675450","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675453":["hashtag1","hashtag2"]},{"1350675456":["hashtag1","hashtag2"]},{"1350675450":["hashtag1","hashtag2"]},{"1350675443":["hashtag1","hashtag2"]},{"1350675446":["hashtag1","hashtag2"]},{"1350675440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675453, 1350675456, 1350675450, 1350675443, 1350675446, 1350675440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05885696411133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:39:32.785561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/29/image_06042025_08_30_06_10372.jpg', '/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_26_10427.jpg', '/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_36_10381.jpg', '/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_56_10400.jpg', '/home/pi/Desktop/images/06042025/08/30/image_06042025_08_31_06_10373.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_16_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_30_06_10372.jpg
/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_26_10427.jpg
/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_36_10381.jpg
/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_56_10400.jpg
/home/pi/Desktop/images/06042025/08/30/image_06042025_08_31_06_10373.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_16_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675487","1350675481","1350675484","1350675477","1350675486","1350675473"],"photo_ids_order":["1350675473","1350675477","1350675481","1350675484","1350675486","1350675487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1db020c5626ae3418a6835944c340083.jpg","text":"TemporaryFile(/tmp/multipartBody5392669354776191593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159234712,"filename":"image_06042025_08_31_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/4/9/2d9a067351aa9377f52b47a9352a4d22.jpg","text":"TemporaryFile(/tmp/multipartBody453178606282569153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159234712,"filename":"image_06042025_08_30_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/427d816028f6d72af0cb2caf0c2adf9d.jpg","text":"TemporaryFile(/tmp/multipartBody8029875210222361797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159234712,"filename":"image_06042025_08_30_56_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1f1a74c4368a3694aad6c51599d38c2.jpg","text":"TemporaryFile(/tmp/multipartBody3075903223460427689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159234712,"filename":"image_06042025_08_30_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efb522dc87b3290e4daca4178089e323.jpg","text":"TemporaryFile(/tmp/multipartBody1679525184278602323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159234712,"filename":"image_06042025_08_31_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/4/9/f79bf8f4e4b50d4ffdd5e5dbe9bc7732.jpg","text":"TemporaryFile(/tmp/multipartBody228886148518131454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159234712,"filename":"image_06042025_08_30_06_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675481","file1":"1350675477","file0":"1350675473","file4":"1350675486","file5":"1350675487","file3":"1350675484"},"map_files_photo_id_array":[{"photo_id":"1350675487","filename":"file5"},{"photo_id":"1350675481","filename":"file2"},{"photo_id":"1350675486","filename":"file4"},{"photo_id":"1350675477","filename":"file1"},{"photo_id":"1350675473","filename":"file0"},{"photo_id":"1350675484","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675487":["hashtag1","hashtag2"]},{"1350675481":["hashtag1","hashtag2"]},{"1350675484":["hashtag1","hashtag2"]},{"1350675477":["hashtag1","hashtag2"]},{"1350675486":["hashtag1","hashtag2"]},{"1350675473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675487, 1350675481, 1350675484, 1350675477, 1350675486, 1350675473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67872953414917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:40:32.985529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_26_10386.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_36_9447.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_46_10387.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_56_10413.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_32_06_9370.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_16_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_26_10386.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_36_9447.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_46_10387.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_56_10413.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_32_06_9370.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_16_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":["1350675505","1350675514","1350675508","1350675510","1350675512","1350675506"],"photo_ids_order":["1350675505","1350675506","1350675508","1350675510","1350675512","1350675514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/92342c56f4adb93c89740671a9f1504d.jpg","text":"TemporaryFile(/tmp/multipartBody3994386828445095549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159294960,"filename":"image_06042025_08_31_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/4/9/aea43a54915686c987cdf75a0596dd87.jpg","text":"TemporaryFile(/tmp/multipartBody8653001700776495755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159294960,"filename":"image_06042025_08_32_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/53a71b2ca12042d974ecd10fe903796c.jpg","text":"TemporaryFile(/tmp/multipartBody3517744188099983868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159294960,"filename":"image_06042025_08_31_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/503cb708e82ea2adbab7e24883151059.jpg","text":"TemporaryFile(/tmp/multipartBody9014983811794571207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159294960,"filename":"image_06042025_08_31_56_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b351887101c4bc70115f03e9b63311ad.jpg","text":"TemporaryFile(/tmp/multipartBody5049732968722867219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159294960,"filename":"image_06042025_08_32_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d65d9ee5d5af07a7b1e48eca3b91c27.jpg","text":"TemporaryFile(/tmp/multipartBody23547147909006070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159294960,"filename":"image_06042025_08_31_36_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675508","file1":"1350675506","file0":"1350675505","file4":"1350675512","file5":"1350675514","file3":"1350675510"},"map_files_photo_id_array":[{"photo_id":"1350675514","filename":"file5"},{"photo_id":"1350675508","filename":"file2"},{"photo_id":"1350675512","filename":"file4"},{"photo_id":"1350675506","filename":"file1"},{"photo_id":"1350675505","filename":"file0"},{"photo_id":"1350675510","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675505":["hashtag1","hashtag2"]},{"1350675514":["hashtag1","hashtag2"]},{"1350675508":["hashtag1","hashtag2"]},{"1350675510":["hashtag1","hashtag2"]},{"1350675512":["hashtag1","hashtag2"]},{"1350675506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675505, 1350675514, 1350675508, 1350675510, 1350675512, 1350675506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28149104118347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:41:32.284094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_26_9361.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_46_10373.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_56_9478.jpg', '/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_16_9355.jpg', '/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_26_10416.jpg', '/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_36_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_26_9361.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_46_10373.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_56_9478.jpg
/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_16_9355.jpg
/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_26_10416.jpg
/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_36_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675541","1350675526","1350675543","1350675530","1350675533","1350675536"],"photo_ids_order":["1350675526","1350675530","1350675533","1350675536","1350675541","1350675543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d32aa46975fd6610072133527ccc8ac2.jpg","text":"TemporaryFile(/tmp/multipartBody252400940227583160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159354210,"filename":"image_06042025_08_33_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/4/9/ffe4e141cd8c61c70f340e3753ff39cb.jpg","text":"TemporaryFile(/tmp/multipartBody8018211102282183800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159354210,"filename":"image_06042025_08_32_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f64c2ff54742fe4d7686250b668e43c8.jpg","text":"TemporaryFile(/tmp/multipartBody1568569011454290326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159354210,"filename":"image_06042025_08_33_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/4/9/e6833358959ba188ad6e3a452b72106a.jpg","text":"TemporaryFile(/tmp/multipartBody4138415984148580920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159354210,"filename":"image_06042025_08_32_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/4/9/50a69edee2f80cbbe84e701466b9e4c1.jpg","text":"TemporaryFile(/tmp/multipartBody3050526614264956767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159354210,"filename":"image_06042025_08_32_56_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e135e897889078fdf901fc6333ddaa44.jpg","text":"TemporaryFile(/tmp/multipartBody1972444428907431492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159354210,"filename":"image_06042025_08_33_16_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675533","file1":"1350675530","file0":"1350675526","file4":"1350675541","file5":"1350675543","file3":"1350675536"},"map_files_photo_id_array":[{"photo_id":"1350675543","filename":"file5"},{"photo_id":"1350675533","filename":"file2"},{"photo_id":"1350675541","filename":"file4"},{"photo_id":"1350675530","filename":"file1"},{"photo_id":"1350675526","filename":"file0"},{"photo_id":"1350675536","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675541":["hashtag1","hashtag2"]},{"1350675526":["hashtag1","hashtag2"]},{"1350675543":["hashtag1","hashtag2"]},{"1350675530":["hashtag1","hashtag2"]},{"1350675533":["hashtag1","hashtag2"]},{"1350675536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675541, 1350675526, 1350675543, 1350675530, 1350675533, 1350675536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.14232516288757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:42:32.524677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_46_9395.jpg', '/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_56_10432.jpg', '/home/pi/Desktop/images/06042025/08/33/image_06042025_08_34_06_9893.jpg', '/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_16_9560.jpg', '/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_26_10407.jpg', '/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_46_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_46_9395.jpg
/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_56_10432.jpg
/home/pi/Desktop/images/06042025/08/33/image_06042025_08_34_06_9893.jpg
/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_16_9560.jpg
/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_26_10407.jpg
/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_46_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675553","1350675559","1350675552","1350675555","1350675560","1350675557"],"photo_ids_order":["1350675552","1350675553","1350675555","1350675557","1350675559","1350675560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/062827b4dca7092ba8cb19f1b575b46b.jpg","text":"TemporaryFile(/tmp/multipartBody1949212631764868014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159414443,"filename":"image_06042025_08_33_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/4/9/c6884d20ca33e6c97f6ab0371bd2c10a.jpg","text":"TemporaryFile(/tmp/multipartBody917167028593905970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159414443,"filename":"image_06042025_08_34_26_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b8a841ea85ecc84e6b9a5730d4e96333.jpg","text":"TemporaryFile(/tmp/multipartBody2386377392046809655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159414443,"filename":"image_06042025_08_33_46_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e94fd4f55e9f59f40f25051a97eb9262.jpg","text":"TemporaryFile(/tmp/multipartBody9153567492877587488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159414443,"filename":"image_06042025_08_34_06_9893.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/010f6871fa3d533bae85780c3f65f5ab.jpg","text":"TemporaryFile(/tmp/multipartBody4031119113044309004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159414443,"filename":"image_06042025_08_34_46_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4876e0eb8652a4f4d3c2b1a428e07376.jpg","text":"TemporaryFile(/tmp/multipartBody4529175492420068276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159414443,"filename":"image_06042025_08_34_16_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675555","file1":"1350675553","file0":"1350675552","file4":"1350675559","file5":"1350675560","file3":"1350675557"},"map_files_photo_id_array":[{"photo_id":"1350675560","filename":"file5"},{"photo_id":"1350675555","filename":"file2"},{"photo_id":"1350675559","filename":"file4"},{"photo_id":"1350675553","filename":"file1"},{"photo_id":"1350675552","filename":"file0"},{"photo_id":"1350675557","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675553":["hashtag1","hashtag2"]},{"1350675559":["hashtag1","hashtag2"]},{"1350675552":["hashtag1","hashtag2"]},{"1350675555":["hashtag1","hashtag2"]},{"1350675560":["hashtag1","hashtag2"]},{"1350675557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675553, 1350675559, 1350675552, 1350675555, 1350675560, 1350675557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59578204154968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:43:32.870427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_56_10377.jpg', '/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_26_10376.jpg', '/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_36_9473.jpg', '/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_46_10342.jpg', '/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_56_9360.jpg', '/home/pi/Desktop/images/06042025/08/35/image_06042025_08_36_06_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_56_10377.jpg
/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_26_10376.jpg
/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_36_9473.jpg
/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_46_10342.jpg
/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_56_9360.jpg
/home/pi/Desktop/images/06042025/08/35/image_06042025_08_36_06_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675583","1350675585","1350675579","1350675587","1350675581","1350675578"],"photo_ids_order":["1350675578","1350675579","1350675581","1350675583","1350675585","1350675587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fad4f691e2970ab902b6355dda6c7dca.jpg","text":"TemporaryFile(/tmp/multipartBody8573886982416929169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159474787,"filename":"image_06042025_08_35_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/4/9/13ce39b2d752093c3829630a67f415e7.jpg","text":"TemporaryFile(/tmp/multipartBody8978146253478338733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159474787,"filename":"image_06042025_08_35_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc7bed7fcf307c6078733cc7356fa69b.jpg","text":"TemporaryFile(/tmp/multipartBody1319354529239837484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159474787,"filename":"image_06042025_08_35_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f35015e08a352c2c43e2b6c40c167b1.jpg","text":"TemporaryFile(/tmp/multipartBody7729154333299169259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159474787,"filename":"image_06042025_08_36_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/4/9/95328865413bfc818ebc13a9fc9f967a.jpg","text":"TemporaryFile(/tmp/multipartBody1091846989186293969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159474787,"filename":"image_06042025_08_35_36_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/521710ed1952da36e5b89eeedea09f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8752265929554486076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159474787,"filename":"image_06042025_08_34_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675581","file1":"1350675579","file0":"1350675578","file4":"1350675585","file5":"1350675587","file3":"1350675583"},"map_files_photo_id_array":[{"photo_id":"1350675587","filename":"file5"},{"photo_id":"1350675581","filename":"file2"},{"photo_id":"1350675585","filename":"file4"},{"photo_id":"1350675579","filename":"file1"},{"photo_id":"1350675578","filename":"file0"},{"photo_id":"1350675583","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675583":["hashtag1","hashtag2"]},{"1350675585":["hashtag1","hashtag2"]},{"1350675579":["hashtag1","hashtag2"]},{"1350675587":["hashtag1","hashtag2"]},{"1350675581":["hashtag1","hashtag2"]},{"1350675578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675583, 1350675585, 1350675579, 1350675587, 1350675581, 1350675578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22267556190491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:44:33.101751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_16_10360.jpg', '/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_26_9487.jpg', '/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_36_10362.jpg', '/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_46_9355.jpg', '/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_16_9352.jpg', '/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_46_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_16_10360.jpg
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_26_9487.jpg
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_36_10362.jpg
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_46_9355.jpg
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_16_9352.jpg
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_46_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675602","1350675612","1350675615","1350675609","1350675606","1350675614"],"photo_ids_order":["1350675602","1350675606","1350675609","1350675612","1350675614","1350675615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/daaa96169d9ca3a04141620b464094d1.jpg","text":"TemporaryFile(/tmp/multipartBody4768520382338733141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159535035,"filename":"image_06042025_08_36_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/048af974b36c2db9c70de97e4ceeb6f8.jpg","text":"TemporaryFile(/tmp/multipartBody6305760141954975652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159535035,"filename":"image_06042025_08_36_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/4/9/5014bc5fe96139986db6663c027b66b4.jpg","text":"TemporaryFile(/tmp/multipartBody7028311541797447194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159535035,"filename":"image_06042025_08_37_46_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/103fd8141e43075e37e24ef5555fa035.jpg","text":"TemporaryFile(/tmp/multipartBody1131031083289792414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159535035,"filename":"image_06042025_08_36_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/4/9/8655a96b18bebf1e8be541d20b87835f.jpg","text":"TemporaryFile(/tmp/multipartBody1560430630721237885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159535035,"filename":"image_06042025_08_36_26_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b09346c27e98a538556f4ef5caca36f3.jpg","text":"TemporaryFile(/tmp/multipartBody4573598473282690131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159535035,"filename":"image_06042025_08_37_16_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675609","file1":"1350675606","file0":"1350675602","file4":"1350675614","file5":"1350675615","file3":"1350675612"},"map_files_photo_id_array":[{"photo_id":"1350675615","filename":"file5"},{"photo_id":"1350675609","filename":"file2"},{"photo_id":"1350675614","filename":"file4"},{"photo_id":"1350675606","filename":"file1"},{"photo_id":"1350675602","filename":"file0"},{"photo_id":"1350675612","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675602":["hashtag1","hashtag2"]},{"1350675612":["hashtag1","hashtag2"]},{"1350675615":["hashtag1","hashtag2"]},{"1350675609":["hashtag1","hashtag2"]},{"1350675606":["hashtag1","hashtag2"]},{"1350675614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675602, 1350675612, 1350675615, 1350675609, 1350675606, 1350675614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1264488697052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:45:32.193075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_16_10426.jpg', '/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_46_10083.jpg', '/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_16_10412.jpg', '/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_26_9432.jpg', '/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_36_10442.jpg', '/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_46_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_16_10426.jpg
/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_46_10083.jpg
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_16_10412.jpg
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_26_9432.jpg
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_36_10442.jpg
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_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":["1350675634","1350675637","1350675631","1350675639","1350675626","1350675629"],"photo_ids_order":["1350675626","1350675629","1350675631","1350675634","1350675637","1350675639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed52a7f49539a3a6714b236e3e24f2be.jpg","text":"TemporaryFile(/tmp/multipartBody6268754634843300841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159594148,"filename":"image_06042025_08_39_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/633ab7ced0d6a709bbb8a2f1323b6e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8825665652061108758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159594148,"filename":"image_06042025_08_39_36_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad31c9713ff99677aeafec8d8b83e4da.jpg","text":"TemporaryFile(/tmp/multipartBody3435285713442724911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159594148,"filename":"image_06042025_08_39_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18f99e89c05ad43cb9a25804d67421b2.jpg","text":"TemporaryFile(/tmp/multipartBody5718770206634716258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159594148,"filename":"image_06042025_08_39_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/4/9/77eaf9470beba3b1333a3a9d6c6a215e.jpg","text":"TemporaryFile(/tmp/multipartBody4044067233612764563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159594148,"filename":"image_06042025_08_38_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/4/9/5825ba24f3e2cd128110556372be8547.jpg","text":"TemporaryFile(/tmp/multipartBody1712060672896873762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159594148,"filename":"image_06042025_08_38_46_10083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675631","file1":"1350675629","file0":"1350675626","file4":"1350675637","file5":"1350675639","file3":"1350675634"},"map_files_photo_id_array":[{"photo_id":"1350675639","filename":"file5"},{"photo_id":"1350675631","filename":"file2"},{"photo_id":"1350675637","filename":"file4"},{"photo_id":"1350675629","filename":"file1"},{"photo_id":"1350675626","filename":"file0"},{"photo_id":"1350675634","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675634":["hashtag1","hashtag2"]},{"1350675637":["hashtag1","hashtag2"]},{"1350675631":["hashtag1","hashtag2"]},{"1350675639":["hashtag1","hashtag2"]},{"1350675626":["hashtag1","hashtag2"]},{"1350675629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675634, 1350675637, 1350675631, 1350675639, 1350675626, 1350675629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11728477478027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:46:32.438444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_56_9459.jpg', '/home/pi/Desktop/images/06042025/08/39/image_06042025_08_40_06_10372.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_16_9352.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_26_10456.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_36_10353.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_46_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_56_9459.jpg
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_40_06_10372.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_16_9352.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_26_10456.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_36_10353.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_46_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":["1350675661","1350675664","1350675657","1350675660","1350675654","1350675659"],"photo_ids_order":["1350675654","1350675657","1350675659","1350675660","1350675661","1350675664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd05c0e5e00eafaaa39b33c1a9219efe.jpg","text":"TemporaryFile(/tmp/multipartBody5220787968431721371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159654368,"filename":"image_06042025_08_40_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0375d99ce0eedf44f60d9566c6b042e6.jpg","text":"TemporaryFile(/tmp/multipartBody3779330030717140831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159654368,"filename":"image_06042025_08_40_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a5999e19dc1c9b828ed0cbe160fd7f2.jpg","text":"TemporaryFile(/tmp/multipartBody2086030835332102778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159654368,"filename":"image_06042025_08_40_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/4/9/9534793a0f281b1806c8ad447d17f8bc.jpg","text":"TemporaryFile(/tmp/multipartBody1667313181618037972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159654368,"filename":"image_06042025_08_40_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/4/9/81844e81a4eee4a31a4e42f3553e4db9.jpg","text":"TemporaryFile(/tmp/multipartBody6909952335476445798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159654368,"filename":"image_06042025_08_39_56_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9cbae49b464aefa9e4f46f7e3a2c641d.jpg","text":"TemporaryFile(/tmp/multipartBody179487362044777728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159654368,"filename":"image_06042025_08_40_16_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675659","file1":"1350675657","file0":"1350675654","file4":"1350675661","file5":"1350675664","file3":"1350675660"},"map_files_photo_id_array":[{"photo_id":"1350675664","filename":"file5"},{"photo_id":"1350675659","filename":"file2"},{"photo_id":"1350675661","filename":"file4"},{"photo_id":"1350675657","filename":"file1"},{"photo_id":"1350675654","filename":"file0"},{"photo_id":"1350675660","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675661":["hashtag1","hashtag2"]},{"1350675664":["hashtag1","hashtag2"]},{"1350675657":["hashtag1","hashtag2"]},{"1350675660":["hashtag1","hashtag2"]},{"1350675654":["hashtag1","hashtag2"]},{"1350675659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675661, 1350675664, 1350675657, 1350675660, 1350675654, 1350675659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.5851571559906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:47:32.683077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_56_10405.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_41_06_10335.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_16_9405.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_26_10375.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_46_10499.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_56_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_56_10405.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_41_06_10335.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_16_9405.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_26_10375.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_46_10499.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_56_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675675","1350675684","1350675686","1350675680","1350675677","1350675682"],"photo_ids_order":["1350675675","1350675677","1350675680","1350675682","1350675684","1350675686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ceb2049e9f14ca9bcc21d18b0a6b849.jpg","text":"TemporaryFile(/tmp/multipartBody8052915252599099421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159714597,"filename":"image_06042025_08_40_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/4/9/d6e073a4c0010ebf12da4ff0e3cdd661.jpg","text":"TemporaryFile(/tmp/multipartBody426087665020669464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159714597,"filename":"image_06042025_08_41_46_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7d6dc618b3f5ec1fd45cd9d2c7529d8.jpg","text":"TemporaryFile(/tmp/multipartBody6066189242706762096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159714597,"filename":"image_06042025_08_41_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/4/9/5f3e61a43f8b9979d51c9839d5fa7582.jpg","text":"TemporaryFile(/tmp/multipartBody8725137334870109567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159714597,"filename":"image_06042025_08_41_16_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/750b43d3ffda219f9365c71ded8232f5.jpg","text":"TemporaryFile(/tmp/multipartBody4528000368067633465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159714597,"filename":"image_06042025_08_41_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/4/9/38814fd525bca7791962a31a002f1ee1.jpg","text":"TemporaryFile(/tmp/multipartBody4278308274145334831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159714597,"filename":"image_06042025_08_41_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675680","file1":"1350675677","file0":"1350675675","file4":"1350675684","file5":"1350675686","file3":"1350675682"},"map_files_photo_id_array":[{"photo_id":"1350675686","filename":"file5"},{"photo_id":"1350675680","filename":"file2"},{"photo_id":"1350675684","filename":"file4"},{"photo_id":"1350675677","filename":"file1"},{"photo_id":"1350675675","filename":"file0"},{"photo_id":"1350675682","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675675":["hashtag1","hashtag2"]},{"1350675684":["hashtag1","hashtag2"]},{"1350675686":["hashtag1","hashtag2"]},{"1350675680":["hashtag1","hashtag2"]},{"1350675677":["hashtag1","hashtag2"]},{"1350675682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675675, 1350675684, 1350675686, 1350675680, 1350675677, 1350675682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30977487564087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:48:32.930252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/41/image_06042025_08_42_06_9491.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_16_10332.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_26_9365.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_36_10422.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_56_9407.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_43_06_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_42_06_9491.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_16_10332.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_26_9365.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_36_10422.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_56_9407.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_43_06_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675701","1350675709","1350675708","1350675702","1350675705","1350675710"],"photo_ids_order":["1350675701","1350675702","1350675705","1350675708","1350675709","1350675710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/78dc6c6a6de98c3628dc7d1898d165ea.jpg","text":"TemporaryFile(/tmp/multipartBody1792307416547191385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159774827,"filename":"image_06042025_08_42_06_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d49158fecc13f7c401cf6d973322ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4630975969084834870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159774827,"filename":"image_06042025_08_42_56_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ecaf9e60f5d0c3063ea1e8faafe3a960.jpg","text":"TemporaryFile(/tmp/multipartBody3875279381693246814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159774827,"filename":"image_06042025_08_42_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b7be7ee2d3b755db9def1642c4a02cf7.jpg","text":"TemporaryFile(/tmp/multipartBody5324313288763187899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159774827,"filename":"image_06042025_08_42_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/4/9/01b5415f6083bf0eb1644ca7e3fc6d23.jpg","text":"TemporaryFile(/tmp/multipartBody9153544372039994643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159774827,"filename":"image_06042025_08_42_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/4/9/fb8af3b788fb4717d8c17c0a12306e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6942361187511318386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159774827,"filename":"image_06042025_08_43_06_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675705","file1":"1350675702","file0":"1350675701","file4":"1350675709","file5":"1350675710","file3":"1350675708"},"map_files_photo_id_array":[{"photo_id":"1350675710","filename":"file5"},{"photo_id":"1350675705","filename":"file2"},{"photo_id":"1350675709","filename":"file4"},{"photo_id":"1350675702","filename":"file1"},{"photo_id":"1350675701","filename":"file0"},{"photo_id":"1350675708","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675701":["hashtag1","hashtag2"]},{"1350675709":["hashtag1","hashtag2"]},{"1350675708":["hashtag1","hashtag2"]},{"1350675702":["hashtag1","hashtag2"]},{"1350675705":["hashtag1","hashtag2"]},{"1350675710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675701, 1350675709, 1350675708, 1350675702, 1350675705, 1350675710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20434236526489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:49:33.134148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_16_9392.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_26_10446.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_36_10368.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_44_06_9364.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_16_10376.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_26_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_16_9392.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_26_10446.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_36_10368.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_44_06_9364.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_16_10376.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_26_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675736","1350675738","1350675732","1350675729","1350675725","1350675734"],"photo_ids_order":["1350675725","1350675729","1350675732","1350675734","1350675736","1350675738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/796e237a35ddc00c8d4f0722cc3957f3.jpg","text":"TemporaryFile(/tmp/multipartBody6688193610285128813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159835056,"filename":"image_06042025_08_44_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf889f1ec00ef329057e3a07612abd98.jpg","text":"TemporaryFile(/tmp/multipartBody5537408144750857818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159835056,"filename":"image_06042025_08_44_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/4/9/be19241889750920fe62a5d657b1d71f.jpg","text":"TemporaryFile(/tmp/multipartBody6098965757196011138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159835056,"filename":"image_06042025_08_43_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/4/9/0b4d1b81f321dd728af4f45e11c53d20.jpg","text":"TemporaryFile(/tmp/multipartBody6526464068062041339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159835056,"filename":"image_06042025_08_43_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad0c72acc92ef2f3b09329f43d325c37.jpg","text":"TemporaryFile(/tmp/multipartBody8087464821231460773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159835056,"filename":"image_06042025_08_43_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/4/9/65080887dd0e995f28dd5054838edc9b.jpg","text":"TemporaryFile(/tmp/multipartBody8937227567620486531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159835056,"filename":"image_06042025_08_44_06_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675732","file1":"1350675729","file0":"1350675725","file4":"1350675736","file5":"1350675738","file3":"1350675734"},"map_files_photo_id_array":[{"photo_id":"1350675738","filename":"file5"},{"photo_id":"1350675732","filename":"file2"},{"photo_id":"1350675736","filename":"file4"},{"photo_id":"1350675729","filename":"file1"},{"photo_id":"1350675725","filename":"file0"},{"photo_id":"1350675734","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675736":["hashtag1","hashtag2"]},{"1350675738":["hashtag1","hashtag2"]},{"1350675732":["hashtag1","hashtag2"]},{"1350675729":["hashtag1","hashtag2"]},{"1350675725":["hashtag1","hashtag2"]},{"1350675734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675736, 1350675738, 1350675732, 1350675729, 1350675725, 1350675734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.016825437545776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:50:32.314172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_36_9465.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_46_10424.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_56_9372.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_45_06_10419.jpg', '/home/pi/Desktop/images/06042025/08/45/image_06042025_08_45_26_9387.jpg', '/home/pi/Desktop/images/06042025/08/45/image_06042025_08_45_46_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_36_9465.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_46_10424.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_56_9372.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_45_06_10419.jpg
/home/pi/Desktop/images/06042025/08/45/image_06042025_08_45_26_9387.jpg
/home/pi/Desktop/images/06042025/08/45/image_06042025_08_45_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":["1350675751","1350675748","1350675750","1350675753","1350675749","1350675752"],"photo_ids_order":["1350675748","1350675749","1350675750","1350675751","1350675752","1350675753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ae6011de4576c7493059741813675c8.jpg","text":"TemporaryFile(/tmp/multipartBody2251845175640270194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159894263,"filename":"image_06042025_08_45_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/4/9/129275876483e07800088b67aff6d24a.jpg","text":"TemporaryFile(/tmp/multipartBody7533565904516918689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159894263,"filename":"image_06042025_08_44_36_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69d36e216ff4e93708bbc51782aa3d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2167150099236345179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159894263,"filename":"image_06042025_08_44_56_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bbb77192e811a6ba9b213c16f9be1a64.jpg","text":"TemporaryFile(/tmp/multipartBody8311993899263696536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159894263,"filename":"image_06042025_08_45_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/4/9/d4abc3e744dbd38500ef24a752896aa6.jpg","text":"TemporaryFile(/tmp/multipartBody1564220795179553609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159894263,"filename":"image_06042025_08_44_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/4/9/291216eca11ec6604cd8df462ec8bdff.jpg","text":"TemporaryFile(/tmp/multipartBody3048847058060853306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159894263,"filename":"image_06042025_08_45_26_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675750","file1":"1350675749","file0":"1350675748","file4":"1350675752","file5":"1350675753","file3":"1350675751"},"map_files_photo_id_array":[{"photo_id":"1350675753","filename":"file5"},{"photo_id":"1350675750","filename":"file2"},{"photo_id":"1350675752","filename":"file4"},{"photo_id":"1350675749","filename":"file1"},{"photo_id":"1350675748","filename":"file0"},{"photo_id":"1350675751","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675751":["hashtag1","hashtag2"]},{"1350675748":["hashtag1","hashtag2"]},{"1350675750":["hashtag1","hashtag2"]},{"1350675753":["hashtag1","hashtag2"]},{"1350675749":["hashtag1","hashtag2"]},{"1350675752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675751, 1350675748, 1350675750, 1350675753, 1350675749, 1350675752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.012333393096924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:51:32.532359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/45/image_06042025_08_45_56_10374.jpg', '/home/pi/Desktop/images/06042025/08/45/image_06042025_08_46_06_10462.jpg', '/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_16_9470.jpg', '/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_26_10349.jpg', '/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_46_10467.jpg', '/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_56_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/45/image_06042025_08_45_56_10374.jpg
/home/pi/Desktop/images/06042025/08/45/image_06042025_08_46_06_10462.jpg
/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_16_9470.jpg
/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_26_10349.jpg
/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_46_10467.jpg
/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_56_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":["1350675766","1350675762","1350675771","1350675768","1350675770","1350675764"],"photo_ids_order":["1350675762","1350675764","1350675766","1350675768","1350675770","1350675771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f2ebb753fcee1299d1b7a7d6014273fa.jpg","text":"TemporaryFile(/tmp/multipartBody9197484369271223800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159954455,"filename":"image_06042025_08_46_16_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fdfd8711a29c9d41e7c131291bd564dc.jpg","text":"TemporaryFile(/tmp/multipartBody1731317575470194793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159954455,"filename":"image_06042025_08_45_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/4/9/d30a60e8f956029614c767a73bab18f9.jpg","text":"TemporaryFile(/tmp/multipartBody2108299431643833849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159954455,"filename":"image_06042025_08_46_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/4/9/c5b893da6ad755f8672f9961b6ea4929.jpg","text":"TemporaryFile(/tmp/multipartBody7980710418027711394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159954455,"filename":"image_06042025_08_46_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/4/9/5162f4abe9537efd27cd562ca80f24e1.jpg","text":"TemporaryFile(/tmp/multipartBody8622950626393735146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159954455,"filename":"image_06042025_08_46_46_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5d0ca6b12e459b52f3f908ac396626a.jpg","text":"TemporaryFile(/tmp/multipartBody1322734509839260261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744159954455,"filename":"image_06042025_08_46_06_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675766","file1":"1350675764","file0":"1350675762","file4":"1350675770","file5":"1350675771","file3":"1350675768"},"map_files_photo_id_array":[{"photo_id":"1350675771","filename":"file5"},{"photo_id":"1350675766","filename":"file2"},{"photo_id":"1350675770","filename":"file4"},{"photo_id":"1350675764","filename":"file1"},{"photo_id":"1350675762","filename":"file0"},{"photo_id":"1350675768","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675766":["hashtag1","hashtag2"]},{"1350675762":["hashtag1","hashtag2"]},{"1350675771":["hashtag1","hashtag2"]},{"1350675768":["hashtag1","hashtag2"]},{"1350675770":["hashtag1","hashtag2"]},{"1350675764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675766, 1350675762, 1350675771, 1350675768, 1350675770, 1350675764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.806129932403564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:52:32.699543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/46/image_06042025_08_47_06_9443.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_16_10438.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_26_9635.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_36_10358.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_46_9273.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/46/image_06042025_08_47_06_9443.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_16_10438.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_26_9635.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_36_10358.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_46_9273.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675784","1350675787","1350675789","1350675780","1350675785","1350675782"],"photo_ids_order":["1350675780","1350675782","1350675784","1350675785","1350675787","1350675789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3008cc1ccad017f9e6fbfdc941fc4026.jpg","text":"TemporaryFile(/tmp/multipartBody3387501882872725819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160014623,"filename":"image_06042025_08_47_26_9635.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f60bdc88a4859dc5aed8e66a3dc8f96.jpg","text":"TemporaryFile(/tmp/multipartBody8994789631452243082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160014623,"filename":"image_06042025_08_47_46_9273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bce12b28a038a93eede526b9de523113.jpg","text":"TemporaryFile(/tmp/multipartBody5392488748220341579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160014623,"filename":"image_06042025_08_47_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/4/9/ef2d80dd4ba824459e472425eb93635c.jpg","text":"TemporaryFile(/tmp/multipartBody51970414116184810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160014623,"filename":"image_06042025_08_47_06_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e292e50f92d9e00848a5fb6c0086ef4f.jpg","text":"TemporaryFile(/tmp/multipartBody3707815327865714677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160014623,"filename":"image_06042025_08_47_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff6bbf6540dfce3b5dea270082f787ce.jpg","text":"TemporaryFile(/tmp/multipartBody645573010229355449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160014623,"filename":"image_06042025_08_47_16_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675784","file1":"1350675782","file0":"1350675780","file4":"1350675787","file5":"1350675789","file3":"1350675785"},"map_files_photo_id_array":[{"photo_id":"1350675789","filename":"file5"},{"photo_id":"1350675784","filename":"file2"},{"photo_id":"1350675787","filename":"file4"},{"photo_id":"1350675782","filename":"file1"},{"photo_id":"1350675780","filename":"file0"},{"photo_id":"1350675785","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675784":["hashtag1","hashtag2"]},{"1350675787":["hashtag1","hashtag2"]},{"1350675789":["hashtag1","hashtag2"]},{"1350675780":["hashtag1","hashtag2"]},{"1350675785":["hashtag1","hashtag2"]},{"1350675782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675784, 1350675787, 1350675789, 1350675780, 1350675785, 1350675782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.442217111587524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:53:32.975189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/47/image_06042025_08_48_06_10348.jpg', '/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_16_9350.jpg', '/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_26_10459.jpg', '/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_36_10364.jpg', '/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_46_9432.jpg', '/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_56_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_48_06_10348.jpg
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_16_9350.jpg
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_26_10459.jpg
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_36_10364.jpg
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_46_9432.jpg
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_56_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675800","1350675802","1350675805","1350675798","1350675804","1350675796"],"photo_ids_order":["1350675796","1350675798","1350675800","1350675802","1350675804","1350675805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/634f3b791ffa1b63cf54fde67836543d.jpg","text":"TemporaryFile(/tmp/multipartBody7009252226787597874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160074894,"filename":"image_06042025_08_48_26_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6adfa9e11163fc8222702d6840a67f67.jpg","text":"TemporaryFile(/tmp/multipartBody8490402730490124192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160074894,"filename":"image_06042025_08_48_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/4/9/471f7847c29460c1ebfe7efb8642fe4c.jpg","text":"TemporaryFile(/tmp/multipartBody2533477048543396627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160074894,"filename":"image_06042025_08_48_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/4/9/4bf569913ea5e6d52389d1a7666a2a18.jpg","text":"TemporaryFile(/tmp/multipartBody2604843427203378195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160074894,"filename":"image_06042025_08_48_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efd7046d228aaa79c92045852d2cef6b.jpg","text":"TemporaryFile(/tmp/multipartBody4173468491733577337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160074894,"filename":"image_06042025_08_48_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/4/9/7992b3ee79551e590e685748a0c526f7.jpg","text":"TemporaryFile(/tmp/multipartBody4749044096973412360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160074894,"filename":"image_06042025_08_48_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675800","file1":"1350675798","file0":"1350675796","file4":"1350675804","file5":"1350675805","file3":"1350675802"},"map_files_photo_id_array":[{"photo_id":"1350675805","filename":"file5"},{"photo_id":"1350675800","filename":"file2"},{"photo_id":"1350675804","filename":"file4"},{"photo_id":"1350675798","filename":"file1"},{"photo_id":"1350675796","filename":"file0"},{"photo_id":"1350675802","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675800":["hashtag1","hashtag2"]},{"1350675802":["hashtag1","hashtag2"]},{"1350675805":["hashtag1","hashtag2"]},{"1350675798":["hashtag1","hashtag2"]},{"1350675804":["hashtag1","hashtag2"]},{"1350675796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675800, 1350675802, 1350675805, 1350675798, 1350675804, 1350675796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.637734174728394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:54:32.160244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/48/image_06042025_08_49_06_9365.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_16_10468.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_26_10375.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_36_9411.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_46_10364.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_56_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_49_06_9365.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_16_10468.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_26_10375.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_36_9411.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_46_10364.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_56_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":["1350675815","1350675820","1350675817","1350675819","1350675816","1350675818"],"photo_ids_order":["1350675815","1350675816","1350675817","1350675818","1350675819","1350675820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/43a1fa1e9fc57fd5b6ea289588bec334.jpg","text":"TemporaryFile(/tmp/multipartBody4856519585265040253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160134074,"filename":"image_06042025_08_49_06_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b5693256d874e29dcef439291d5e9ab3.jpg","text":"TemporaryFile(/tmp/multipartBody3945899126068236300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160134074,"filename":"image_06042025_08_49_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/4/9/0bc44e09538868efd3b6d202926ab460.jpg","text":"TemporaryFile(/tmp/multipartBody8909529169865621192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160134074,"filename":"image_06042025_08_49_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/4/9/e68c45c8e79f20f88beb5c6e51bf1993.jpg","text":"TemporaryFile(/tmp/multipartBody1172739646236675081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160134074,"filename":"image_06042025_08_49_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/4/9/bb4547ad13af56c3927d1ac7dc0ef642.jpg","text":"TemporaryFile(/tmp/multipartBody6758286670200334248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160134074,"filename":"image_06042025_08_49_16_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06f78dbf3e2883b901d81e645e8a15d1.jpg","text":"TemporaryFile(/tmp/multipartBody1450095716154109935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160134074,"filename":"image_06042025_08_49_36_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675817","file1":"1350675816","file0":"1350675815","file4":"1350675819","file5":"1350675820","file3":"1350675818"},"map_files_photo_id_array":[{"photo_id":"1350675820","filename":"file5"},{"photo_id":"1350675817","filename":"file2"},{"photo_id":"1350675819","filename":"file4"},{"photo_id":"1350675816","filename":"file1"},{"photo_id":"1350675815","filename":"file0"},{"photo_id":"1350675818","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675815":["hashtag1","hashtag2"]},{"1350675820":["hashtag1","hashtag2"]},{"1350675817":["hashtag1","hashtag2"]},{"1350675819":["hashtag1","hashtag2"]},{"1350675816":["hashtag1","hashtag2"]},{"1350675818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675815, 1350675820, 1350675817, 1350675819, 1350675816, 1350675818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60990381240845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:55:32.434387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/49/image_06042025_08_50_06_10364.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_16_10350.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_26_9364.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_36_10393.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_46_9441.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_26_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_50_06_10364.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_16_10350.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_26_9364.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_36_10393.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_46_9441.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_26_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9343905448913574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 02:55:42.450348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/49/image_06042025_08_50_06_10364.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_16_10350.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_26_9364.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_36_10393.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_46_9441.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_26_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_50_06_10364.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_16_10350.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_26_9364.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_36_10393.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_46_9441.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_26_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":["1350675835","1350675837","1350675836","1350675839","1350675830","1350675833"],"photo_ids_order":["1350675830","1350675833","1350675835","1350675836","1350675837","1350675839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a18bbc2ff5a76925687486aa303fa386.jpg","text":"TemporaryFile(/tmp/multipartBody3529575363392690165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160203523,"filename":"image_06042025_08_50_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/4/9/9f2251737002af5648a3b9b32a759098.jpg","text":"TemporaryFile(/tmp/multipartBody133815186456487397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160203523,"filename":"image_06042025_08_50_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/4/9/19ad738308c7abd74c99466a4013b5a7.jpg","text":"TemporaryFile(/tmp/multipartBody8017090459398663278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160203523,"filename":"image_06042025_08_50_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/4/9/c38958c0ef9fcb9df7c8af244c2a54a8.jpg","text":"TemporaryFile(/tmp/multipartBody5269076331728979231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160203523,"filename":"image_06042025_08_51_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/4/9/557a6a60ad75facc7bbf527acecc6dca.jpg","text":"TemporaryFile(/tmp/multipartBody1822477123011391420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160203523,"filename":"image_06042025_08_50_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/4/9/4e74bfe0339899cd177f1725780e90d9.jpg","text":"TemporaryFile(/tmp/multipartBody5431370438835471714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160203523,"filename":"image_06042025_08_50_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675835","file1":"1350675833","file0":"1350675830","file4":"1350675837","file5":"1350675839","file3":"1350675836"},"map_files_photo_id_array":[{"photo_id":"1350675839","filename":"file5"},{"photo_id":"1350675835","filename":"file2"},{"photo_id":"1350675837","filename":"file4"},{"photo_id":"1350675833","filename":"file1"},{"photo_id":"1350675830","filename":"file0"},{"photo_id":"1350675836","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675835":["hashtag1","hashtag2"]},{"1350675837":["hashtag1","hashtag2"]},{"1350675836":["hashtag1","hashtag2"]},{"1350675839":["hashtag1","hashtag2"]},{"1350675830":["hashtag1","hashtag2"]},{"1350675833":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675835, 1350675837, 1350675836, 1350675839, 1350675830, 1350675833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22466588020325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:56:32.717151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_36_9353.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_46_10401.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_52_06_9438.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_16_10361.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_26_9363.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_36_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_36_9353.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_46_10401.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_52_06_9438.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_16_10361.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_26_9363.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_36_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675850","1350675847","1350675846","1350675849","1350675848","1350675845"],"photo_ids_order":["1350675845","1350675846","1350675847","1350675848","1350675849","1350675850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ceb6060a9939af5d21ae3b7a4ca5e3bd.jpg","text":"TemporaryFile(/tmp/multipartBody5556347003683478888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160254872,"filename":"image_06042025_08_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/4/9/bf61da9ac4d0dc547b5c135b05ba05ed.jpg","text":"TemporaryFile(/tmp/multipartBody7979206743245238546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160254872,"filename":"image_06042025_08_52_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/4/9/de386a836fde4b7408ff59f8201fb63d.jpg","text":"TemporaryFile(/tmp/multipartBody7349137293698831645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160254872,"filename":"image_06042025_08_51_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/4/9/87c837337e97439c40e1a90cd0ddde48.jpg","text":"TemporaryFile(/tmp/multipartBody7791407106430623440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160254872,"filename":"image_06042025_08_52_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/93006b51bf9140476b926c353738a6ee.jpg","text":"TemporaryFile(/tmp/multipartBody5506213350458454888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160254872,"filename":"image_06042025_08_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/4/9/a4be10dd9cd707d923f6f9d37ff7ec35.jpg","text":"TemporaryFile(/tmp/multipartBody4585271750396390855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160254872,"filename":"image_06042025_08_51_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675847","file1":"1350675846","file0":"1350675845","file4":"1350675849","file5":"1350675850","file3":"1350675848"},"map_files_photo_id_array":[{"photo_id":"1350675850","filename":"file5"},{"photo_id":"1350675847","filename":"file2"},{"photo_id":"1350675849","filename":"file4"},{"photo_id":"1350675846","filename":"file1"},{"photo_id":"1350675845","filename":"file0"},{"photo_id":"1350675848","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675850":["hashtag1","hashtag2"]},{"1350675847":["hashtag1","hashtag2"]},{"1350675846":["hashtag1","hashtag2"]},{"1350675849":["hashtag1","hashtag2"]},{"1350675848":["hashtag1","hashtag2"]},{"1350675845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675850, 1350675847, 1350675846, 1350675849, 1350675848, 1350675845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15031099319458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 02:57:33.013862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_16_10347.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_56_10453.jpg', '/home/pi/Desktop/images/06042025/08/54/image_06042025_08_55_06_10403.jpg', '/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_26_9446.jpg', '/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_16_10365.jpg', '/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_16_10347.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_56_10453.jpg
/home/pi/Desktop/images/06042025/08/54/image_06042025_08_55_06_10403.jpg
/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_26_9446.jpg
/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_16_10365.jpg
/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_46_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 02:59:03.092189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_16_10347.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_56_10453.jpg', '/home/pi/Desktop/images/06042025/08/54/image_06042025_08_55_06_10403.jpg', '/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_26_9446.jpg', '/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_16_10365.jpg', '/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_16_10347.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_56_10453.jpg
/home/pi/Desktop/images/06042025/08/54/image_06042025_08_55_06_10403.jpg
/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_26_9446.jpg
/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_16_10365.jpg
/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_46_10370.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675894","1350675888","1350675897","1350675885","1350675878","1350675872"],"photo_ids_order":["1350675872","1350675878","1350675885","1350675888","1350675894","1350675897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3537c638e80966cba00d1af48e364a9e.jpg","text":"TemporaryFile(/tmp/multipartBody2101752277158568099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160404229,"filename":"image_06042025_08_56_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/4/9/92aa7e84f6f18f739af9dace71da8272.jpg","text":"TemporaryFile(/tmp/multipartBody8563173642315456544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160404229,"filename":"image_06042025_08_55_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/4/9/962232407a0324f2bacfb31b3567bffd.jpg","text":"TemporaryFile(/tmp/multipartBody8476789484194961418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160404229,"filename":"image_06042025_08_56_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/4/9/025c43f8a54a7f78cf034aa032d19435.jpg","text":"TemporaryFile(/tmp/multipartBody150489696660268557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160404229,"filename":"image_06042025_08_55_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/4/9/87b4148a1adf9c53e17476916583e6f4.jpg","text":"TemporaryFile(/tmp/multipartBody7626069060740002876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160404229,"filename":"image_06042025_08_53_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/4/9/94579c25d42dbb622a8e5d0daffd2c18.jpg","text":"TemporaryFile(/tmp/multipartBody4169873767930906298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160404229,"filename":"image_06042025_08_53_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675885","file1":"1350675878","file0":"1350675872","file4":"1350675894","file5":"1350675897","file3":"1350675888"},"map_files_photo_id_array":[{"photo_id":"1350675897","filename":"file5"},{"photo_id":"1350675885","filename":"file2"},{"photo_id":"1350675894","filename":"file4"},{"photo_id":"1350675878","filename":"file1"},{"photo_id":"1350675872","filename":"file0"},{"photo_id":"1350675888","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675894":["hashtag1","hashtag2"]},{"1350675888":["hashtag1","hashtag2"]},{"1350675897":["hashtag1","hashtag2"]},{"1350675885":["hashtag1","hashtag2"]},{"1350675878":["hashtag1","hashtag2"]},{"1350675872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675894, 1350675888, 1350675897, 1350675885, 1350675878, 1350675872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.421349048614502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 02:59:42.404514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_56_9360.jpg', '/home/pi/Desktop/images/06042025/08/56/image_06042025_08_57_06_10419.jpg', '/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_16_10366.jpg', '/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_26_9363.jpg', '/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_36_10363.jpg', '/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/56/image_06042025_08_56_56_9360.jpg
/home/pi/Desktop/images/06042025/08/56/image_06042025_08_57_06_10419.jpg
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_16_10366.jpg
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_26_9363.jpg
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_36_10363.jpg
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_46_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675908","1350675916","1350675919","1350675906","1350675914","1350675911"],"photo_ids_order":["1350675906","1350675908","1350675911","1350675914","1350675916","1350675919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9b6d34e47794a2a84f9bc3bab7ed519.jpg","text":"TemporaryFile(/tmp/multipartBody8895104393004057982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160443466,"filename":"image_06042025_08_57_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/4/9/a0c0cb1a7c63168db250cf324248abcd.jpg","text":"TemporaryFile(/tmp/multipartBody7711053636709627895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160443466,"filename":"image_06042025_08_57_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/acf05ae2b153ee73a2a8cd1672341b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1313296460335348318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160443466,"filename":"image_06042025_08_57_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/4/9/a07b842da757c6f8cecb7e9744b47f98.jpg","text":"TemporaryFile(/tmp/multipartBody8988696958162471740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160443466,"filename":"image_06042025_08_56_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d99c4512b03eede583c0b5d1955bf818.jpg","text":"TemporaryFile(/tmp/multipartBody3024348334435969674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160443466,"filename":"image_06042025_08_57_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/76af77f74b1d0772da014c7f094b7e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3739503258197838845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160443466,"filename":"image_06042025_08_57_16_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675911","file1":"1350675908","file0":"1350675906","file4":"1350675916","file5":"1350675919","file3":"1350675914"},"map_files_photo_id_array":[{"photo_id":"1350675919","filename":"file5"},{"photo_id":"1350675911","filename":"file2"},{"photo_id":"1350675916","filename":"file4"},{"photo_id":"1350675908","filename":"file1"},{"photo_id":"1350675906","filename":"file0"},{"photo_id":"1350675914","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675908":["hashtag1","hashtag2"]},{"1350675916":["hashtag1","hashtag2"]},{"1350675919":["hashtag1","hashtag2"]},{"1350675906":["hashtag1","hashtag2"]},{"1350675914":["hashtag1","hashtag2"]},{"1350675911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675908, 1350675916, 1350675919, 1350675906, 1350675914, 1350675911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65984773635864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:00:32.521106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/57/image_06042025_08_58_06_10425.jpg', '/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_16_9398.jpg', '/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_26_10354.jpg', '/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_46_9472.jpg', '/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_56_10368.jpg', '/home/pi/Desktop/images/06042025/08/58/image_06042025_08_59_06_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_58_06_10425.jpg
/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_16_9398.jpg
/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_26_10354.jpg
/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_46_9472.jpg
/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_56_10368.jpg
/home/pi/Desktop/images/06042025/08/58/image_06042025_08_59_06_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675943","1350675942","1350675936","1350675932","1350675941","1350675938"],"photo_ids_order":["1350675932","1350675936","1350675938","1350675941","1350675942","1350675943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aef5c5c3a5cf3e64e3bf0a8461c19d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3461429714995058400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160494433,"filename":"image_06042025_08_59_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/041f49eb6bf63ed56a0069b80a678050.jpg","text":"TemporaryFile(/tmp/multipartBody8275833344997683616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160494433,"filename":"image_06042025_08_58_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4f2de89e38476a14827dec2ad5f2cc4.jpg","text":"TemporaryFile(/tmp/multipartBody2233173507494297922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160494433,"filename":"image_06042025_08_58_16_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/797fdf9cfaf3304fb9eb2a227c078c8f.jpg","text":"TemporaryFile(/tmp/multipartBody5524904644969848818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160494433,"filename":"image_06042025_08_58_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b7655409fd97ba33b8b9a2424d452380.jpg","text":"TemporaryFile(/tmp/multipartBody9010648147193291279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160494433,"filename":"image_06042025_08_58_46_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9bc4fa1f14d5634512a841e4d3a08e9c.jpg","text":"TemporaryFile(/tmp/multipartBody941126268506228451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160494433,"filename":"image_06042025_08_58_26_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675938","file1":"1350675936","file0":"1350675932","file4":"1350675942","file5":"1350675943","file3":"1350675941"},"map_files_photo_id_array":[{"photo_id":"1350675943","filename":"file5"},{"photo_id":"1350675938","filename":"file2"},{"photo_id":"1350675942","filename":"file4"},{"photo_id":"1350675936","filename":"file1"},{"photo_id":"1350675932","filename":"file0"},{"photo_id":"1350675941","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675943":["hashtag1","hashtag2"]},{"1350675942":["hashtag1","hashtag2"]},{"1350675936":["hashtag1","hashtag2"]},{"1350675932":["hashtag1","hashtag2"]},{"1350675941":["hashtag1","hashtag2"]},{"1350675938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675943, 1350675942, 1350675936, 1350675932, 1350675941, 1350675938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.769482374191284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:01:32.849687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_16_10473.jpg', '/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_26_10391.jpg', '/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_36_9486.jpg', '/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_46_10364.jpg', '/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_56_9374.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_16_10075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_16_10473.jpg
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_26_10391.jpg
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_36_9486.jpg
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_46_10364.jpg
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_56_9374.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_16_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":["1350675970","1350675964","1350675967","1350675969","1350675966","1350675965"],"photo_ids_order":["1350675964","1350675965","1350675966","1350675967","1350675969","1350675970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23081a2e0cad7bb9ffdae0374d077540.jpg","text":"TemporaryFile(/tmp/multipartBody4141788114280801839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160555063,"filename":"image_06042025_09_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/4/9/d893a16c09f370e9ac166aa65aed034d.jpg","text":"TemporaryFile(/tmp/multipartBody2755945850741177583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160555063,"filename":"image_06042025_08_59_16_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdc381abf59a0d4f745f84ea64f83015.jpg","text":"TemporaryFile(/tmp/multipartBody3636710951733879827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160555063,"filename":"image_06042025_08_59_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec0f9ac17f2715bddb376475fecad151.jpg","text":"TemporaryFile(/tmp/multipartBody5962401601124160873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160555063,"filename":"image_06042025_08_59_56_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0cc79cd5de02542026d4d693e8d6bf49.jpg","text":"TemporaryFile(/tmp/multipartBody8565365836340758549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160555063,"filename":"image_06042025_08_59_36_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b2b1407a3d3d286538588ac2e16fe062.jpg","text":"TemporaryFile(/tmp/multipartBody7801343040858810063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160555063,"filename":"image_06042025_08_59_26_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675966","file1":"1350675965","file0":"1350675964","file4":"1350675969","file5":"1350675970","file3":"1350675967"},"map_files_photo_id_array":[{"photo_id":"1350675970","filename":"file5"},{"photo_id":"1350675966","filename":"file2"},{"photo_id":"1350675969","filename":"file4"},{"photo_id":"1350675965","filename":"file1"},{"photo_id":"1350675964","filename":"file0"},{"photo_id":"1350675967","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675970":["hashtag1","hashtag2"]},{"1350675964":["hashtag1","hashtag2"]},{"1350675967":["hashtag1","hashtag2"]},{"1350675969":["hashtag1","hashtag2"]},{"1350675966":["hashtag1","hashtag2"]},{"1350675965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675970, 1350675964, 1350675967, 1350675969, 1350675966, 1350675965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44467902183533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:02:32.992744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_26_10425.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_46_9459.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_56_10379.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_01_06_9486.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_16_10403.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_36_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_26_10425.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_46_9459.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_56_10379.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_01_06_9486.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_16_10403.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_36_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350675990","1350675993","1350675987","1350675995","1350675992","1350675994"],"photo_ids_order":["1350675987","1350675990","1350675992","1350675993","1350675994","1350675995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2035ff7793d6d2bbda0403cf69937085.jpg","text":"TemporaryFile(/tmp/multipartBody1385580753059801136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160614921,"filename":"image_06042025_09_00_46_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8bf9eca1c7a0d9471c76a5517221ae8f.jpg","text":"TemporaryFile(/tmp/multipartBody4746966614581523715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160614921,"filename":"image_06042025_09_01_06_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/68514dedfb392dec5307d1cbfd5e1260.jpg","text":"TemporaryFile(/tmp/multipartBody8418682882659611860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160614921,"filename":"image_06042025_09_00_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/4/9/05dcce2f59368742804fb9ec9e868aa9.jpg","text":"TemporaryFile(/tmp/multipartBody890859346688667992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160614921,"filename":"image_06042025_09_01_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/4/9/b30c2b3430865edebc2af27525fcaf73.jpg","text":"TemporaryFile(/tmp/multipartBody6220669292170071178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160614921,"filename":"image_06042025_09_00_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/4/9/f6560c4782f9f1fdbed071a069c4879e.jpg","text":"TemporaryFile(/tmp/multipartBody2427841515889685195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160614921,"filename":"image_06042025_09_01_16_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350675992","file1":"1350675990","file0":"1350675987","file4":"1350675994","file5":"1350675995","file3":"1350675993"},"map_files_photo_id_array":[{"photo_id":"1350675995","filename":"file5"},{"photo_id":"1350675992","filename":"file2"},{"photo_id":"1350675994","filename":"file4"},{"photo_id":"1350675990","filename":"file1"},{"photo_id":"1350675987","filename":"file0"},{"photo_id":"1350675993","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350675990":["hashtag1","hashtag2"]},{"1350675993":["hashtag1","hashtag2"]},{"1350675987":["hashtag1","hashtag2"]},{"1350675995":["hashtag1","hashtag2"]},{"1350675992":["hashtag1","hashtag2"]},{"1350675994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350675990, 1350675993, 1350675987, 1350675995, 1350675992, 1350675994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31954550743103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:03:32.177431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_17_10400.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_26_9360.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_36_10366.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_46_9350.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_56_10362.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_03_06_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_17_10400.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_26_9360.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_36_10366.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_46_9350.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_56_10362.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_03_06_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":["1350676012","1350676015","1350676009","1350676011","1350676014","1350676013"],"photo_ids_order":["1350676009","1350676011","1350676012","1350676013","1350676014","1350676015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/63cbb807c788f3736bd0c02bcc8d3988.jpg","text":"TemporaryFile(/tmp/multipartBody3807205355313272518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160674085,"filename":"image_06042025_09_02_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/4/9/2bf1f98563edf9f511df0f18bac6027d.jpg","text":"TemporaryFile(/tmp/multipartBody4626493512031245864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160674085,"filename":"image_06042025_09_03_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d9b4113fbc6dc6023f0b77b84ff8885.jpg","text":"TemporaryFile(/tmp/multipartBody7271858471992657083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160674085,"filename":"image_06042025_09_02_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf78ddd44821dbed83e998b9f0949d91.jpg","text":"TemporaryFile(/tmp/multipartBody2433470644630641803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160674085,"filename":"image_06042025_09_02_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/4/9/86e76dc438a7ad820c8d7e98a3b6a9bf.jpg","text":"TemporaryFile(/tmp/multipartBody9141358950709684053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160674085,"filename":"image_06042025_09_02_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/4/9/2ae3f92af077f444f4db49bbc733c3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2912993357436260200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160674085,"filename":"image_06042025_09_02_46_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676012","file1":"1350676011","file0":"1350676009","file4":"1350676014","file5":"1350676015","file3":"1350676013"},"map_files_photo_id_array":[{"photo_id":"1350676015","filename":"file5"},{"photo_id":"1350676012","filename":"file2"},{"photo_id":"1350676014","filename":"file4"},{"photo_id":"1350676011","filename":"file1"},{"photo_id":"1350676009","filename":"file0"},{"photo_id":"1350676013","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676012":["hashtag1","hashtag2"]},{"1350676015":["hashtag1","hashtag2"]},{"1350676009":["hashtag1","hashtag2"]},{"1350676011":["hashtag1","hashtag2"]},{"1350676014":["hashtag1","hashtag2"]},{"1350676013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676012, 1350676015, 1350676009, 1350676011, 1350676014, 1350676013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.586876153945923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:04:32.403546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_56_10363.jpg', '/home/pi/Desktop/images/06042025/09/03/image_06042025_09_04_06_9370.jpg', '/home/pi/Desktop/images/06042025/09/04/image_06042025_09_05_06_10398.jpg', '/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_46_9429.jpg', '/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_56_10375.jpg', '/home/pi/Desktop/images/06042025/09/05/image_06042025_09_06_06_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_56_10363.jpg
/home/pi/Desktop/images/06042025/09/03/image_06042025_09_04_06_9370.jpg
/home/pi/Desktop/images/06042025/09/04/image_06042025_09_05_06_10398.jpg
/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_46_9429.jpg
/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_56_10375.jpg
/home/pi/Desktop/images/06042025/09/05/image_06042025_09_06_06_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676027","1350676036","1350676038","1350676034","1350676031","1350676025"],"photo_ids_order":["1350676025","1350676027","1350676031","1350676034","1350676036","1350676038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26c037eeac74d6b6ea2d30626a7305dd.jpg","text":"TemporaryFile(/tmp/multipartBody5637712728260872471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160734319,"filename":"image_06042025_09_04_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd1d60389f006614da4270800804f719.jpg","text":"TemporaryFile(/tmp/multipartBody403512452451799185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160734319,"filename":"image_06042025_09_05_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/4/9/3328a9a2d1efb75b490809f6882508dc.jpg","text":"TemporaryFile(/tmp/multipartBody7048688043994790595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160734319,"filename":"image_06042025_09_06_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c7ea919212a61e851ac6a3a16d01945.jpg","text":"TemporaryFile(/tmp/multipartBody1405202414714106816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160734319,"filename":"image_06042025_09_05_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b24fe8a99232590f69f6649574a7ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody4079826546077225747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160734319,"filename":"image_06042025_09_05_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/4/9/030ec182cd420ca770d5e104678bca68.jpg","text":"TemporaryFile(/tmp/multipartBody8269339512065622875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160734319,"filename":"image_06042025_09_03_56_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676031","file1":"1350676027","file0":"1350676025","file4":"1350676036","file5":"1350676038","file3":"1350676034"},"map_files_photo_id_array":[{"photo_id":"1350676038","filename":"file5"},{"photo_id":"1350676031","filename":"file2"},{"photo_id":"1350676036","filename":"file4"},{"photo_id":"1350676027","filename":"file1"},{"photo_id":"1350676025","filename":"file0"},{"photo_id":"1350676034","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676027":["hashtag1","hashtag2"]},{"1350676036":["hashtag1","hashtag2"]},{"1350676038":["hashtag1","hashtag2"]},{"1350676034":["hashtag1","hashtag2"]},{"1350676031":["hashtag1","hashtag2"]},{"1350676025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676027, 1350676036, 1350676038, 1350676034, 1350676031, 1350676025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51986384391785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:05:32.682097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_16_9437.jpg', '/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_26_10364.jpg', '/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_36_9383.jpg', '/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_46_10450.jpg', '/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_56_10376.jpg', '/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_16_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_16_9437.jpg
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_26_10364.jpg
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_36_9383.jpg
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_46_10450.jpg
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_56_10376.jpg
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_16_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":["1350676053","1350676056","1350676059","1350676058","1350676055","1350676057"],"photo_ids_order":["1350676053","1350676055","1350676056","1350676057","1350676058","1350676059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d373429a270d3774a310be94cdf0806.jpg","text":"TemporaryFile(/tmp/multipartBody2677545809052927330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160794595,"filename":"image_06042025_09_06_16_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e348af4560523af1cc33c61a0c876bde.jpg","text":"TemporaryFile(/tmp/multipartBody6919890045483209853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160794595,"filename":"image_06042025_09_06_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/4/9/0534ee045924df8252585668cb2ffc7d.jpg","text":"TemporaryFile(/tmp/multipartBody4096991538551078630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160794595,"filename":"image_06042025_09_07_16_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bdee0c3d323d490042b8775f3479ed08.jpg","text":"TemporaryFile(/tmp/multipartBody2712957846858758420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160794595,"filename":"image_06042025_09_06_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/4/9/7854c94b644ed30247bdea718525dd2a.jpg","text":"TemporaryFile(/tmp/multipartBody5139400254832101207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160794595,"filename":"image_06042025_09_06_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/4/9/4c1d684cb65bce6a0f0ec5d2539fb465.jpg","text":"TemporaryFile(/tmp/multipartBody7583397410011376296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160794595,"filename":"image_06042025_09_06_46_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676056","file1":"1350676055","file0":"1350676053","file4":"1350676058","file5":"1350676059","file3":"1350676057"},"map_files_photo_id_array":[{"photo_id":"1350676059","filename":"file5"},{"photo_id":"1350676056","filename":"file2"},{"photo_id":"1350676058","filename":"file4"},{"photo_id":"1350676055","filename":"file1"},{"photo_id":"1350676053","filename":"file0"},{"photo_id":"1350676057","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676053":["hashtag1","hashtag2"]},{"1350676056":["hashtag1","hashtag2"]},{"1350676059":["hashtag1","hashtag2"]},{"1350676058":["hashtag1","hashtag2"]},{"1350676055":["hashtag1","hashtag2"]},{"1350676057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676053, 1350676056, 1350676059, 1350676058, 1350676055, 1350676057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74709224700928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:06:32.853725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_26_9436.jpg', '/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_36_10412.jpg', '/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_47_10366.jpg', '/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_56_9515.jpg', '/home/pi/Desktop/images/06042025/09/07/image_06042025_09_08_06_10360.jpg', '/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_16_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_26_9436.jpg
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_36_10412.jpg
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_47_10366.jpg
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_56_9515.jpg
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_08_06_10360.jpg
/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_16_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676072","1350676074","1350676077","1350676076","1350676073","1350676075"],"photo_ids_order":["1350676072","1350676073","1350676074","1350676075","1350676076","1350676077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0cbdad0c74105d453343532135b4cd73.jpg","text":"TemporaryFile(/tmp/multipartBody1506016701263540528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160854764,"filename":"image_06042025_09_07_26_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c963e815406e3fd1f79bf58b628b96f.jpg","text":"TemporaryFile(/tmp/multipartBody462757819381032790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160854764,"filename":"image_06042025_09_07_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/4/9/4e27508291456aefb1b59da50c63ab64.jpg","text":"TemporaryFile(/tmp/multipartBody6224563900125157847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160854764,"filename":"image_06042025_09_08_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bd1f0aeb51b8f6520dbbd4edf3e8e8bd.jpg","text":"TemporaryFile(/tmp/multipartBody5994112858186276536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160854764,"filename":"image_06042025_09_08_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0242ed1d7c42a70a984b142e1bd12036.jpg","text":"TemporaryFile(/tmp/multipartBody334696573977645783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160854764,"filename":"image_06042025_09_07_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/4/9/bdbebd05e774f32670b8828551cdd772.jpg","text":"TemporaryFile(/tmp/multipartBody6695056209813752364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160854764,"filename":"image_06042025_09_07_56_9515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676074","file1":"1350676073","file0":"1350676072","file4":"1350676076","file5":"1350676077","file3":"1350676075"},"map_files_photo_id_array":[{"photo_id":"1350676077","filename":"file5"},{"photo_id":"1350676074","filename":"file2"},{"photo_id":"1350676076","filename":"file4"},{"photo_id":"1350676073","filename":"file1"},{"photo_id":"1350676072","filename":"file0"},{"photo_id":"1350676075","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676072":["hashtag1","hashtag2"]},{"1350676074":["hashtag1","hashtag2"]},{"1350676077":["hashtag1","hashtag2"]},{"1350676076":["hashtag1","hashtag2"]},{"1350676073":["hashtag1","hashtag2"]},{"1350676075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676072, 1350676074, 1350676077, 1350676076, 1350676073, 1350676075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.741042375564575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:07:33.069317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_26_10366.jpg', '/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_37_10358.jpg', '/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_46_9369.jpg', '/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_56_10474.jpg', '/home/pi/Desktop/images/06042025/09/08/image_06042025_09_09_06_9462.jpg', '/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_16_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_26_10366.jpg
/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_37_10358.jpg
/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_46_9369.jpg
/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_56_10474.jpg
/home/pi/Desktop/images/06042025/09/08/image_06042025_09_09_06_9462.jpg
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_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":["1350676102","1350676095","1350676097","1350676091","1350676093","1350676099"],"photo_ids_order":["1350676091","1350676093","1350676095","1350676097","1350676099","1350676102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1534eff9ddb03e6fb0de9cf89775d374.jpg","text":"TemporaryFile(/tmp/multipartBody5486826052275806723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160914975,"filename":"image_06042025_09_09_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b3f09e9199f44a245d50b4eb67aa270.jpg","text":"TemporaryFile(/tmp/multipartBody1989873853922568680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160914975,"filename":"image_06042025_09_08_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/4/9/58ad7debbf896d4b1bb23167ded9bef6.jpg","text":"TemporaryFile(/tmp/multipartBody2580884268986431149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160914975,"filename":"image_06042025_09_08_56_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b5d5a82bb8d91eb40de6207d0ca99fa.jpg","text":"TemporaryFile(/tmp/multipartBody7788161069648658043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160914975,"filename":"image_06042025_09_08_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/4/9/9b6176d2a7714396e05180838b5e34d4.jpg","text":"TemporaryFile(/tmp/multipartBody3634478046931973478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160914975,"filename":"image_06042025_09_08_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d07779bea720f9aa5eab6e197faa6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2678272530573265813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160914975,"filename":"image_06042025_09_09_06_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676095","file1":"1350676093","file0":"1350676091","file4":"1350676099","file5":"1350676102","file3":"1350676097"},"map_files_photo_id_array":[{"photo_id":"1350676102","filename":"file5"},{"photo_id":"1350676095","filename":"file2"},{"photo_id":"1350676099","filename":"file4"},{"photo_id":"1350676093","filename":"file1"},{"photo_id":"1350676091","filename":"file0"},{"photo_id":"1350676097","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676102":["hashtag1","hashtag2"]},{"1350676095":["hashtag1","hashtag2"]},{"1350676097":["hashtag1","hashtag2"]},{"1350676091":["hashtag1","hashtag2"]},{"1350676093":["hashtag1","hashtag2"]},{"1350676099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676102, 1350676095, 1350676097, 1350676091, 1350676093, 1350676099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58353662490845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:08:32.299782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_36_10458.jpg', '/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_46_10377.jpg', '/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_56_9394.jpg', '/home/pi/Desktop/images/06042025/09/09/image_06042025_09_10_06_10366.jpg', '/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_16_9429.jpg', '/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_26_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_36_10458.jpg
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_46_10377.jpg
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_56_9394.jpg
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_10_06_10366.jpg
/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_16_9429.jpg
/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_26_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":["1350676123","1350676120","1350676117","1350676119","1350676121","1350676118"],"photo_ids_order":["1350676117","1350676118","1350676119","1350676120","1350676121","1350676123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9bdc65a22de2b16833e7167a0a810961.jpg","text":"TemporaryFile(/tmp/multipartBody7367752693786694035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160974213,"filename":"image_06042025_09_10_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/4/9/b5a3c83076d16f11143aa9ae0e29eee7.jpg","text":"TemporaryFile(/tmp/multipartBody1202298340552684857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160974213,"filename":"image_06042025_09_10_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fb3f55a7fd8c252835d85e598f18eba7.jpg","text":"TemporaryFile(/tmp/multipartBody2572806891454300523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160974213,"filename":"image_06042025_09_09_36_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48c27393d1e5166cb3d4f11f1ea14e0d.jpg","text":"TemporaryFile(/tmp/multipartBody1075538218637613819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160974213,"filename":"image_06042025_09_09_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/4/9/482f088eb9002fa3086c02bff3957f4f.jpg","text":"TemporaryFile(/tmp/multipartBody4564587018106602565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160974213,"filename":"image_06042025_09_10_16_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42ee725671eec2d7b8049aea37d4259b.jpg","text":"TemporaryFile(/tmp/multipartBody4610626823205337265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744160974213,"filename":"image_06042025_09_09_46_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676119","file1":"1350676118","file0":"1350676117","file4":"1350676121","file5":"1350676123","file3":"1350676120"},"map_files_photo_id_array":[{"photo_id":"1350676123","filename":"file5"},{"photo_id":"1350676119","filename":"file2"},{"photo_id":"1350676121","filename":"file4"},{"photo_id":"1350676118","filename":"file1"},{"photo_id":"1350676117","filename":"file0"},{"photo_id":"1350676120","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676123":["hashtag1","hashtag2"]},{"1350676120":["hashtag1","hashtag2"]},{"1350676117":["hashtag1","hashtag2"]},{"1350676119":["hashtag1","hashtag2"]},{"1350676121":["hashtag1","hashtag2"]},{"1350676118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676123, 1350676120, 1350676117, 1350676119, 1350676121, 1350676118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3090136051178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:09:32.653927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_36_10416.jpg', '/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_56_10396.jpg', '/home/pi/Desktop/images/06042025/09/10/image_06042025_09_11_06_9349.jpg', '/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_26_9432.jpg', '/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_36_10456.jpg', '/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_46_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_36_10416.jpg
/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_56_10396.jpg
/home/pi/Desktop/images/06042025/09/10/image_06042025_09_11_06_9349.jpg
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_26_9432.jpg
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_36_10456.jpg
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_46_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676144","1350676135","1350676137","1350676145","1350676139","1350676141"],"photo_ids_order":["1350676135","1350676137","1350676139","1350676141","1350676144","1350676145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4536616a9093c37c0cc4b084b0e8adf3.jpg","text":"TemporaryFile(/tmp/multipartBody2030079946240665921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161034553,"filename":"image_06042025_09_11_36_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39712676ff3a99c98d633ed4dfeb56f2.jpg","text":"TemporaryFile(/tmp/multipartBody8016520565218461165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161034553,"filename":"image_06042025_09_10_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/4/9/cd08a74e72001878a144126d1c4e9823.jpg","text":"TemporaryFile(/tmp/multipartBody57505393345879709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161034553,"filename":"image_06042025_09_10_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0831e68c64ccf14cecce69513419f932.jpg","text":"TemporaryFile(/tmp/multipartBody3302171240449780020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161034553,"filename":"image_06042025_09_11_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da4cf8987cc4017fdb1cd32ba3e8968a.jpg","text":"TemporaryFile(/tmp/multipartBody8569596704378380195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161034553,"filename":"image_06042025_09_11_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/4/9/97008729b7cde4664bdfc52ea4971287.jpg","text":"TemporaryFile(/tmp/multipartBody4622104335817279121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161034553,"filename":"image_06042025_09_11_26_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676139","file1":"1350676137","file0":"1350676135","file4":"1350676144","file5":"1350676145","file3":"1350676141"},"map_files_photo_id_array":[{"photo_id":"1350676145","filename":"file5"},{"photo_id":"1350676139","filename":"file2"},{"photo_id":"1350676144","filename":"file4"},{"photo_id":"1350676137","filename":"file1"},{"photo_id":"1350676135","filename":"file0"},{"photo_id":"1350676141","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676144":["hashtag1","hashtag2"]},{"1350676135":["hashtag1","hashtag2"]},{"1350676137":["hashtag1","hashtag2"]},{"1350676145":["hashtag1","hashtag2"]},{"1350676139":["hashtag1","hashtag2"]},{"1350676141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676144, 1350676135, 1350676137, 1350676145, 1350676139, 1350676141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.349785566329956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:10:32.834828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_56_9423.jpg', '/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_16_9336.jpg', '/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_26_10472.jpg', '/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_36_10373.jpg', '/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_46_9399.jpg', '/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_16_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_56_9423.jpg
/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_16_9336.jpg
/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_26_10472.jpg
/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_36_10373.jpg
/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_46_9399.jpg
/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_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":["1350676164","1350676176","1350676161","1350676158","1350676174","1350676168"],"photo_ids_order":["1350676158","1350676161","1350676164","1350676168","1350676174","1350676176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa08e650660120ccfdb5313e9d915427.jpg","text":"TemporaryFile(/tmp/multipartBody1636352142355321185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161094746,"filename":"image_06042025_09_12_26_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/997d4b40abcead18a658e4b613410952.jpg","text":"TemporaryFile(/tmp/multipartBody5273857240041271319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161094746,"filename":"image_06042025_09_13_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/4/9/d36654930d406d1130806e4e90a900ab.jpg","text":"TemporaryFile(/tmp/multipartBody8743701410905614307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161094746,"filename":"image_06042025_09_12_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/4/9/50e6428ecfd26203c00c9ebcf6c9cd95.jpg","text":"TemporaryFile(/tmp/multipartBody3028871158325071533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161094746,"filename":"image_06042025_09_11_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a5c4ece326b85fd39d9faf532b6bbf3b.jpg","text":"TemporaryFile(/tmp/multipartBody1961203104888046663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161094746,"filename":"image_06042025_09_12_46_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bda13977c880fd5c156d49bb3abfc9d3.jpg","text":"TemporaryFile(/tmp/multipartBody4800712832481958509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161094746,"filename":"image_06042025_09_12_36_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676164","file1":"1350676161","file0":"1350676158","file4":"1350676174","file5":"1350676176","file3":"1350676168"},"map_files_photo_id_array":[{"photo_id":"1350676176","filename":"file5"},{"photo_id":"1350676164","filename":"file2"},{"photo_id":"1350676174","filename":"file4"},{"photo_id":"1350676161","filename":"file1"},{"photo_id":"1350676158","filename":"file0"},{"photo_id":"1350676168","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676164":["hashtag1","hashtag2"]},{"1350676176":["hashtag1","hashtag2"]},{"1350676161":["hashtag1","hashtag2"]},{"1350676158":["hashtag1","hashtag2"]},{"1350676174":["hashtag1","hashtag2"]},{"1350676168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676164, 1350676176, 1350676161, 1350676158, 1350676174, 1350676168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.411466121673584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:11:33.069611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_26_10369.jpg', '/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_36_9338.jpg', '/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_46_10387.jpg', '/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_56_10378.jpg', '/home/pi/Desktop/images/06042025/09/13/image_06042025_09_14_06_9419.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_26_10369.jpg
/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_36_9338.jpg
/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_46_10387.jpg
/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_56_10378.jpg
/home/pi/Desktop/images/06042025/09/13/image_06042025_09_14_06_9419.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_16_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":["1350676204","1350676203","1350676193","1350676200","1350676189","1350676198"],"photo_ids_order":["1350676189","1350676193","1350676198","1350676200","1350676203","1350676204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c05e0be4d33a0e41a8aa95f5227d26eb.jpg","text":"TemporaryFile(/tmp/multipartBody4100070781886640353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161154976,"filename":"image_06042025_09_14_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/4/9/79e8ed89e2a3a912bb1143d3c2db8518.jpg","text":"TemporaryFile(/tmp/multipartBody312014730236189420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161154976,"filename":"image_06042025_09_14_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1310b6766edc7faed61f768dbf1dfce.jpg","text":"TemporaryFile(/tmp/multipartBody6084896123760194019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161154976,"filename":"image_06042025_09_13_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/622d88a522456cf9ef1d7ce97549ca67.jpg","text":"TemporaryFile(/tmp/multipartBody3362016424118569650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161154976,"filename":"image_06042025_09_13_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f486eab1d9a5e2fac637e42962fc78b4.jpg","text":"TemporaryFile(/tmp/multipartBody1354495299498311533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161154976,"filename":"image_06042025_09_13_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/4/9/bbdbcb34c3368365dc906d369e88aa5e.jpg","text":"TemporaryFile(/tmp/multipartBody1071926005563571452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161154976,"filename":"image_06042025_09_13_46_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676198","file1":"1350676193","file0":"1350676189","file4":"1350676203","file5":"1350676204","file3":"1350676200"},"map_files_photo_id_array":[{"photo_id":"1350676204","filename":"file5"},{"photo_id":"1350676198","filename":"file2"},{"photo_id":"1350676203","filename":"file4"},{"photo_id":"1350676193","filename":"file1"},{"photo_id":"1350676189","filename":"file0"},{"photo_id":"1350676200","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676204":["hashtag1","hashtag2"]},{"1350676203":["hashtag1","hashtag2"]},{"1350676193":["hashtag1","hashtag2"]},{"1350676200":["hashtag1","hashtag2"]},{"1350676189":["hashtag1","hashtag2"]},{"1350676198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676204, 1350676203, 1350676193, 1350676200, 1350676189, 1350676198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.342920541763306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:12:32.240453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_27_10359.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_36_9362.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_46_10356.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_56_9355.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_15_06_10382.jpg', '/home/pi/Desktop/images/06042025/09/15/image_06042025_09_15_16_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_27_10359.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_36_9362.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_46_10356.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_56_9355.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_15_06_10382.jpg
/home/pi/Desktop/images/06042025/09/15/image_06042025_09_15_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":["1350676222","1350676225","1350676227","1350676224","1350676232","1350676229"],"photo_ids_order":["1350676222","1350676224","1350676225","1350676227","1350676229","1350676232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/72cf8b8e81e347164cc452c76d1f539a.jpg","text":"TemporaryFile(/tmp/multipartBody9028151449591740775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161214179,"filename":"image_06042025_09_14_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/4/9/0184687d269f143f74574a4474f837c3.jpg","text":"TemporaryFile(/tmp/multipartBody1652719824246792783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161214179,"filename":"image_06042025_09_14_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6124e8f31d828d7a460b47bd22c79957.jpg","text":"TemporaryFile(/tmp/multipartBody471593287196494388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161214179,"filename":"image_06042025_09_14_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/4/9/1b4373a9f867f537752e693c022710a0.jpg","text":"TemporaryFile(/tmp/multipartBody8612126107301275078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161214179,"filename":"image_06042025_09_14_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/4/9/8458f25412fd76ee93c12aa634d289ea.jpg","text":"TemporaryFile(/tmp/multipartBody3376898107878989137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161214179,"filename":"image_06042025_09_15_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6a59fcd7d3632e37c161b71d6f20377.jpg","text":"TemporaryFile(/tmp/multipartBody118151867067098574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161214179,"filename":"image_06042025_09_15_06_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676225","file1":"1350676224","file0":"1350676222","file4":"1350676229","file5":"1350676232","file3":"1350676227"},"map_files_photo_id_array":[{"photo_id":"1350676232","filename":"file5"},{"photo_id":"1350676225","filename":"file2"},{"photo_id":"1350676229","filename":"file4"},{"photo_id":"1350676224","filename":"file1"},{"photo_id":"1350676222","filename":"file0"},{"photo_id":"1350676227","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676222":["hashtag1","hashtag2"]},{"1350676225":["hashtag1","hashtag2"]},{"1350676227":["hashtag1","hashtag2"]},{"1350676224":["hashtag1","hashtag2"]},{"1350676232":["hashtag1","hashtag2"]},{"1350676229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676222, 1350676225, 1350676227, 1350676224, 1350676232, 1350676229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.252150535583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:13:32.459735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/15/image_06042025_09_15_36_10362.jpg', '/home/pi/Desktop/images/06042025/09/15/image_06042025_09_15_46_10365.jpg', '/home/pi/Desktop/images/06042025/09/15/image_06042025_09_16_06_10420.jpg', '/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_16_9333.jpg', '/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_26_10386.jpg', '/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_37_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/15/image_06042025_09_15_36_10362.jpg
/home/pi/Desktop/images/06042025/09/15/image_06042025_09_15_46_10365.jpg
/home/pi/Desktop/images/06042025/09/15/image_06042025_09_16_06_10420.jpg
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_16_9333.jpg
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_26_10386.jpg
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_37_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":["1350676258","1350676252","1350676254","1350676257","1350676256","1350676250"],"photo_ids_order":["1350676250","1350676252","1350676254","1350676256","1350676257","1350676258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01e39daef887c8e8b0612d58da683d13.jpg","text":"TemporaryFile(/tmp/multipartBody3560186719519179978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161274375,"filename":"image_06042025_09_16_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8004f92c4580a94205ef2f2e7c8a7c27.jpg","text":"TemporaryFile(/tmp/multipartBody1900320904594192405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161274375,"filename":"image_06042025_09_15_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/4/9/3611d39cff67b4380342754371a6e31f.jpg","text":"TemporaryFile(/tmp/multipartBody4137717547223842582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161274375,"filename":"image_06042025_09_16_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/4/9/5a6569c011929f560ad060896d20caa0.jpg","text":"TemporaryFile(/tmp/multipartBody3293634619768919525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161274375,"filename":"image_06042025_09_16_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/4/9/b6af978833d7371054f93d5b0490833e.jpg","text":"TemporaryFile(/tmp/multipartBody3222107951693523984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161274375,"filename":"image_06042025_09_16_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8fb90608ed3c351f3588905f3c73edd.jpg","text":"TemporaryFile(/tmp/multipartBody1780973864981387132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161274375,"filename":"image_06042025_09_15_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676254","file1":"1350676252","file0":"1350676250","file4":"1350676257","file5":"1350676258","file3":"1350676256"},"map_files_photo_id_array":[{"photo_id":"1350676258","filename":"file5"},{"photo_id":"1350676254","filename":"file2"},{"photo_id":"1350676257","filename":"file4"},{"photo_id":"1350676252","filename":"file1"},{"photo_id":"1350676250","filename":"file0"},{"photo_id":"1350676256","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676258":["hashtag1","hashtag2"]},{"1350676252":["hashtag1","hashtag2"]},{"1350676254":["hashtag1","hashtag2"]},{"1350676257":["hashtag1","hashtag2"]},{"1350676256":["hashtag1","hashtag2"]},{"1350676250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676258, 1350676252, 1350676254, 1350676257, 1350676256, 1350676250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.404911279678345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:14:32.651281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_46_9430.jpg', '/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_56_10376.jpg', '/home/pi/Desktop/images/06042025/09/17/image_06042025_09_17_26_10357.jpg', '/home/pi/Desktop/images/06042025/09/17/image_06042025_09_17_36_9427.jpg', '/home/pi/Desktop/images/06042025/09/17/image_06042025_09_18_06_10438.jpg', '/home/pi/Desktop/images/06042025/09/18/image_06042025_09_18_36_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_46_9430.jpg
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_56_10376.jpg
/home/pi/Desktop/images/06042025/09/17/image_06042025_09_17_26_10357.jpg
/home/pi/Desktop/images/06042025/09/17/image_06042025_09_17_36_9427.jpg
/home/pi/Desktop/images/06042025/09/17/image_06042025_09_18_06_10438.jpg
/home/pi/Desktop/images/06042025/09/18/image_06042025_09_18_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":["1350676284","1350676278","1350676280","1350676273","1350676282","1350676276"],"photo_ids_order":["1350676273","1350676276","1350676278","1350676280","1350676282","1350676284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba4ffa2ae1b9405dc60090b8496cfa7c.jpg","text":"TemporaryFile(/tmp/multipartBody3391753864247359536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161334568,"filename":"image_06042025_09_18_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/4/9/e7a3d89b394bffdb1bbda3ac367265b3.jpg","text":"TemporaryFile(/tmp/multipartBody2751433376267409745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161334568,"filename":"image_06042025_09_17_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/4/9/f8273cfe34bc7bd551cca7bfe3db1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody7286439119202511809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161334568,"filename":"image_06042025_09_17_36_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0aad3b71aecb570059545764265dd9b6.jpg","text":"TemporaryFile(/tmp/multipartBody6886833823362402369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161334568,"filename":"image_06042025_09_16_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e7d8712a401954195b5ffcfde867e34.jpg","text":"TemporaryFile(/tmp/multipartBody4342491842219629100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161334568,"filename":"image_06042025_09_18_06_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e83e34216ccddfcf82e11e9d7c36fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3665008900349759171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161334568,"filename":"image_06042025_09_16_56_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676278","file1":"1350676276","file0":"1350676273","file4":"1350676282","file5":"1350676284","file3":"1350676280"},"map_files_photo_id_array":[{"photo_id":"1350676284","filename":"file5"},{"photo_id":"1350676278","filename":"file2"},{"photo_id":"1350676282","filename":"file4"},{"photo_id":"1350676276","filename":"file1"},{"photo_id":"1350676273","filename":"file0"},{"photo_id":"1350676280","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676284":["hashtag1","hashtag2"]},{"1350676278":["hashtag1","hashtag2"]},{"1350676280":["hashtag1","hashtag2"]},{"1350676273":["hashtag1","hashtag2"]},{"1350676282":["hashtag1","hashtag2"]},{"1350676276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676284, 1350676278, 1350676280, 1350676273, 1350676282, 1350676276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68903875350952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:15:32.976625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/18/image_06042025_09_18_56_10450.jpg', '/home/pi/Desktop/images/06042025/09/18/image_06042025_09_19_06_9401.jpg', '/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_16_10340.jpg', '/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_26_10367.jpg', '/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_36_9422.jpg', '/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_46_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/18/image_06042025_09_18_56_10450.jpg
/home/pi/Desktop/images/06042025/09/18/image_06042025_09_19_06_9401.jpg
/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_16_10340.jpg
/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_26_10367.jpg
/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_36_9422.jpg
/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_46_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676309","1350676314","1350676308","1350676311","1350676305","1350676313"],"photo_ids_order":["1350676305","1350676308","1350676309","1350676311","1350676313","1350676314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b64e7ed7f589acba88d60f7262c353e.jpg","text":"TemporaryFile(/tmp/multipartBody7959785365146862281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161394879,"filename":"image_06042025_09_19_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/4/9/2c0ad179abc948260ffd7058935234b2.jpg","text":"TemporaryFile(/tmp/multipartBody2004338247829235511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161394879,"filename":"image_06042025_09_19_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/4/9/e0d3e1bd68300b6e82e8e8443bbe9928.jpg","text":"TemporaryFile(/tmp/multipartBody2320347337713485145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161394879,"filename":"image_06042025_09_19_06_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ddd802ec46d4256c27fc14f6dfd3784.jpg","text":"TemporaryFile(/tmp/multipartBody114705245434107718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161394879,"filename":"image_06042025_09_19_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/4/9/aab2e7dbcf504414d3ef59c17da78e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5034639632046497810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161394879,"filename":"image_06042025_09_18_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/4/9/95ecad792b7ab9c5fa2fdea649ee5272.jpg","text":"TemporaryFile(/tmp/multipartBody1107610363585019751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161394879,"filename":"image_06042025_09_19_36_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676309","file1":"1350676308","file0":"1350676305","file4":"1350676313","file5":"1350676314","file3":"1350676311"},"map_files_photo_id_array":[{"photo_id":"1350676314","filename":"file5"},{"photo_id":"1350676309","filename":"file2"},{"photo_id":"1350676313","filename":"file4"},{"photo_id":"1350676308","filename":"file1"},{"photo_id":"1350676305","filename":"file0"},{"photo_id":"1350676311","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676309":["hashtag1","hashtag2"]},{"1350676314":["hashtag1","hashtag2"]},{"1350676308":["hashtag1","hashtag2"]},{"1350676311":["hashtag1","hashtag2"]},{"1350676305":["hashtag1","hashtag2"]},{"1350676313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676309, 1350676314, 1350676308, 1350676311, 1350676305, 1350676313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62065505981445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:16:32.163254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_56_9463.jpg', '/home/pi/Desktop/images/06042025/09/19/image_06042025_09_20_06_10365.jpg', '/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_17_10365.jpg', '/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_26_9355.jpg', '/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_36_10410.jpg', '/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_46_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_56_9463.jpg
/home/pi/Desktop/images/06042025/09/19/image_06042025_09_20_06_10365.jpg
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_17_10365.jpg
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_26_9355.jpg
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_36_10410.jpg
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_46_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676336","1350676339","1350676330","1350676333","1350676335","1350676338"],"photo_ids_order":["1350676330","1350676333","1350676335","1350676336","1350676338","1350676339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a229a82183f7b7fa1593567b58d8abd5.jpg","text":"TemporaryFile(/tmp/multipartBody3563745575587666638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161454104,"filename":"image_06042025_09_20_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/4/9/ae4ec7956b654637532d6cfc92baa353.jpg","text":"TemporaryFile(/tmp/multipartBody6187195112690142807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161454104,"filename":"image_06042025_09_20_46_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c652b392f3eb89523a0c554010d02be.jpg","text":"TemporaryFile(/tmp/multipartBody3351713542784184495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161454104,"filename":"image_06042025_09_19_56_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e033a7a5f943e9358d99db1623ad3b83.jpg","text":"TemporaryFile(/tmp/multipartBody3021542939016620947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161454104,"filename":"image_06042025_09_20_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/4/9/27e0df10f411484af807812394f21337.jpg","text":"TemporaryFile(/tmp/multipartBody5721221732541944618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161454104,"filename":"image_06042025_09_20_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/4/9/8a38a8a0d715f0d0061972c12c0c64c2.jpg","text":"TemporaryFile(/tmp/multipartBody1178634836600960299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161454104,"filename":"image_06042025_09_20_36_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676335","file1":"1350676333","file0":"1350676330","file4":"1350676338","file5":"1350676339","file3":"1350676336"},"map_files_photo_id_array":[{"photo_id":"1350676339","filename":"file5"},{"photo_id":"1350676335","filename":"file2"},{"photo_id":"1350676338","filename":"file4"},{"photo_id":"1350676333","filename":"file1"},{"photo_id":"1350676330","filename":"file0"},{"photo_id":"1350676336","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676336":["hashtag1","hashtag2"]},{"1350676339":["hashtag1","hashtag2"]},{"1350676330":["hashtag1","hashtag2"]},{"1350676333":["hashtag1","hashtag2"]},{"1350676335":["hashtag1","hashtag2"]},{"1350676338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676336, 1350676339, 1350676330, 1350676333, 1350676335, 1350676338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78486442565918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:17:32.568956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_56_10384.jpg', '/home/pi/Desktop/images/06042025/09/20/image_06042025_09_21_06_10347.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_16_9403.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_26_10385.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_37_10348.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_46_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_56_10384.jpg
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_21_06_10347.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_16_9403.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_26_10385.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_37_10348.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_46_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676362","1350676365","1350676368","1350676370","1350676372","1350676366"],"photo_ids_order":["1350676362","1350676365","1350676366","1350676368","1350676370","1350676372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23521dc21bf6318fd0cdd8344bd7329f.jpg","text":"TemporaryFile(/tmp/multipartBody5606569560602541569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161514482,"filename":"image_06042025_09_20_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa8276f60b2ad68e6c067a0affaaaf6b.jpg","text":"TemporaryFile(/tmp/multipartBody7782557337605086605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161514482,"filename":"image_06042025_09_21_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/4/9/4a7c97c1b5620c6f0601b9c5c4be3f97.jpg","text":"TemporaryFile(/tmp/multipartBody6616434806320050914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161514482,"filename":"image_06042025_09_21_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/4/9/be2179dea735e220ce4116940eb6830f.jpg","text":"TemporaryFile(/tmp/multipartBody2726764645426628958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161514482,"filename":"image_06042025_09_21_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/4/9/2fe58c47f3a5faae5b2b47b2cb4ccde7.jpg","text":"TemporaryFile(/tmp/multipartBody2801736501504453727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161514482,"filename":"image_06042025_09_21_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/4/9/32b033b9d974ad56e62cccdb4e846acf.jpg","text":"TemporaryFile(/tmp/multipartBody1905944063260258209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161514482,"filename":"image_06042025_09_21_16_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676366","file1":"1350676365","file0":"1350676362","file4":"1350676370","file5":"1350676372","file3":"1350676368"},"map_files_photo_id_array":[{"photo_id":"1350676372","filename":"file5"},{"photo_id":"1350676366","filename":"file2"},{"photo_id":"1350676370","filename":"file4"},{"photo_id":"1350676365","filename":"file1"},{"photo_id":"1350676362","filename":"file0"},{"photo_id":"1350676368","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676362":["hashtag1","hashtag2"]},{"1350676365":["hashtag1","hashtag2"]},{"1350676368":["hashtag1","hashtag2"]},{"1350676370":["hashtag1","hashtag2"]},{"1350676372":["hashtag1","hashtag2"]},{"1350676366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676362, 1350676365, 1350676368, 1350676370, 1350676372, 1350676366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.054104804992676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:18:32.725223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_56_10537.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_22_06_9405.jpg', '/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_16_10347.jpg', '/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_26_9428.jpg', '/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_36_10446.jpg', '/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_56_10537.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_22_06_9405.jpg
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_16_10347.jpg
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_26_9428.jpg
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_36_10446.jpg
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_46_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676408","1350676392","1350676406","1350676396","1350676400","1350676403"],"photo_ids_order":["1350676392","1350676396","1350676400","1350676403","1350676406","1350676408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c8cbb6e75268fbc5fb81e82f11d8a2f.jpg","text":"TemporaryFile(/tmp/multipartBody2217118783397135265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161574633,"filename":"image_06042025_09_22_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2cfe271dcede83ec57b4e7a810c53140.jpg","text":"TemporaryFile(/tmp/multipartBody3879800143207125334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161574633,"filename":"image_06042025_09_21_56_10537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca10d87ac8bba2c89ad2ae0f5d5e985f.jpg","text":"TemporaryFile(/tmp/multipartBody514105636670582490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161574633,"filename":"image_06042025_09_22_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/4/9/80e426fe6509b08cbc5086aeeb5935c8.jpg","text":"TemporaryFile(/tmp/multipartBody7596435192388066575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161574633,"filename":"image_06042025_09_22_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/4/9/f40890715b5b00ed13a13ac259164188.jpg","text":"TemporaryFile(/tmp/multipartBody7097251698144083144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161574633,"filename":"image_06042025_09_22_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/4/9/a44e2bd58ab289e1db57a54d8fa505ba.jpg","text":"TemporaryFile(/tmp/multipartBody7107447016858916819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161574633,"filename":"image_06042025_09_22_26_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676400","file1":"1350676396","file0":"1350676392","file4":"1350676406","file5":"1350676408","file3":"1350676403"},"map_files_photo_id_array":[{"photo_id":"1350676408","filename":"file5"},{"photo_id":"1350676400","filename":"file2"},{"photo_id":"1350676406","filename":"file4"},{"photo_id":"1350676396","filename":"file1"},{"photo_id":"1350676392","filename":"file0"},{"photo_id":"1350676403","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676408":["hashtag1","hashtag2"]},{"1350676392":["hashtag1","hashtag2"]},{"1350676406":["hashtag1","hashtag2"]},{"1350676396":["hashtag1","hashtag2"]},{"1350676400":["hashtag1","hashtag2"]},{"1350676403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676408, 1350676392, 1350676406, 1350676396, 1350676400, 1350676403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26410102844238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:19:32.899603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/22/image_06042025_09_23_06_10350.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_16_9357.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_26_10454.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_36_10362.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_46_9507.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_56_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_23_06_10350.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_16_9357.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_26_10454.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_36_10362.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_46_9507.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_56_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":["1350676435","1350676423","1350676426","1350676428","1350676430","1350676433"],"photo_ids_order":["1350676423","1350676426","1350676428","1350676430","1350676433","1350676435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee0cfa719d1d577c1c3e755b0623fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody201543851787430108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161634804,"filename":"image_06042025_09_23_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/4/9/6a575f3d766a18917d21aab06fe803fc.jpg","text":"TemporaryFile(/tmp/multipartBody259187173328374582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161634804,"filename":"image_06042025_09_23_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/4/9/a288c7eef915d0993c0e1df94f156e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5921629337296753133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161634804,"filename":"image_06042025_09_23_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/4/9/777a35285472d995f5e6b45b5a392c80.jpg","text":"TemporaryFile(/tmp/multipartBody7862979268825575546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161634804,"filename":"image_06042025_09_23_26_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d611ef25b6392fbd2ae010fb0f53201e.jpg","text":"TemporaryFile(/tmp/multipartBody6433054592384879902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161634804,"filename":"image_06042025_09_23_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/4/9/34fae9d22186a56dfe89e41f83707610.jpg","text":"TemporaryFile(/tmp/multipartBody1221144253622769693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161634804,"filename":"image_06042025_09_23_46_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676428","file1":"1350676426","file0":"1350676423","file4":"1350676433","file5":"1350676435","file3":"1350676430"},"map_files_photo_id_array":[{"photo_id":"1350676435","filename":"file5"},{"photo_id":"1350676428","filename":"file2"},{"photo_id":"1350676433","filename":"file4"},{"photo_id":"1350676426","filename":"file1"},{"photo_id":"1350676423","filename":"file0"},{"photo_id":"1350676430","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676435":["hashtag1","hashtag2"]},{"1350676423":["hashtag1","hashtag2"]},{"1350676426":["hashtag1","hashtag2"]},{"1350676428":["hashtag1","hashtag2"]},{"1350676430":["hashtag1","hashtag2"]},{"1350676433":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676435, 1350676423, 1350676426, 1350676428, 1350676430, 1350676433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.54161238670349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:20:33.251062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/23/image_06042025_09_24_06_9388.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_16_10440.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_26_10381.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_36_9423.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_46_10458.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_56_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_24_06_9388.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_16_10440.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_26_10381.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_36_9423.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_46_10458.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_56_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676456","1350676460","1350676451","1350676459","1350676453","1350676447"],"photo_ids_order":["1350676447","1350676451","1350676453","1350676456","1350676459","1350676460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8347d48e97cafbe512868fab6d8cb3b4.jpg","text":"TemporaryFile(/tmp/multipartBody7056868646424952126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161695161,"filename":"image_06042025_09_24_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19d4b8018af1d97b8a592f58fec9258a.jpg","text":"TemporaryFile(/tmp/multipartBody6500585836476340527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161695161,"filename":"image_06042025_09_24_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/4/9/c4626db352c6bbc92a0df6f515f8127a.jpg","text":"TemporaryFile(/tmp/multipartBody2079946690486592195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161695161,"filename":"image_06042025_09_24_16_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3149a50e48a69f57a57fddb9afd55578.jpg","text":"TemporaryFile(/tmp/multipartBody274069766506955450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161695161,"filename":"image_06042025_09_24_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/4/9/0ff489d7a3de47ab22405892d097a5cd.jpg","text":"TemporaryFile(/tmp/multipartBody7121935839997117952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161695161,"filename":"image_06042025_09_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/4/9/363ce669fb93c5827906da1be9f5cd19.jpg","text":"TemporaryFile(/tmp/multipartBody8834963265344708029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161695161,"filename":"image_06042025_09_24_06_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676453","file1":"1350676451","file0":"1350676447","file4":"1350676459","file5":"1350676460","file3":"1350676456"},"map_files_photo_id_array":[{"photo_id":"1350676460","filename":"file5"},{"photo_id":"1350676453","filename":"file2"},{"photo_id":"1350676459","filename":"file4"},{"photo_id":"1350676451","filename":"file1"},{"photo_id":"1350676447","filename":"file0"},{"photo_id":"1350676456","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676456":["hashtag1","hashtag2"]},{"1350676460":["hashtag1","hashtag2"]},{"1350676451":["hashtag1","hashtag2"]},{"1350676459":["hashtag1","hashtag2"]},{"1350676453":["hashtag1","hashtag2"]},{"1350676447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676456, 1350676460, 1350676451, 1350676459, 1350676453, 1350676447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24300742149353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:21:32.382804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/24/image_06042025_09_25_06_10387.jpg', '/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_16_10368.jpg', '/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_26_9401.jpg', '/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_36_10362.jpg', '/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_46_9414.jpg', '/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_56_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_25_06_10387.jpg
/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_16_10368.jpg
/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_26_9401.jpg
/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_36_10362.jpg
/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_46_9414.jpg
/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_56_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676488","1350676482","1350676475","1350676478","1350676483","1350676486"],"photo_ids_order":["1350676475","1350676478","1350676482","1350676483","1350676486","1350676488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f621b257c393793f93aa3ee0ee8bc5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8117074764443501845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161754284,"filename":"image_06042025_09_25_56_10551.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1e1d3c9835c6384f82993010ad805ef.jpg","text":"TemporaryFile(/tmp/multipartBody2523471431611510526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161754284,"filename":"image_06042025_09_25_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/4/9/7ec9908c393f1b8be55439339625a6b6.jpg","text":"TemporaryFile(/tmp/multipartBody3714260057312962971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161754284,"filename":"image_06042025_09_25_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4eb9ec03bdc6ce1065adf7027c1ce550.jpg","text":"TemporaryFile(/tmp/multipartBody6823656329731418574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161754284,"filename":"image_06042025_09_25_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/4/9/5d33d0030e917601acb6f30b8039638e.jpg","text":"TemporaryFile(/tmp/multipartBody8445404152984499656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161754284,"filename":"image_06042025_09_25_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/4/9/9d23d8e191b9a293a47808e1b1b43427.jpg","text":"TemporaryFile(/tmp/multipartBody2200661777917644250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161754284,"filename":"image_06042025_09_25_46_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676482","file1":"1350676478","file0":"1350676475","file4":"1350676486","file5":"1350676488","file3":"1350676483"},"map_files_photo_id_array":[{"photo_id":"1350676488","filename":"file5"},{"photo_id":"1350676482","filename":"file2"},{"photo_id":"1350676486","filename":"file4"},{"photo_id":"1350676478","filename":"file1"},{"photo_id":"1350676475","filename":"file0"},{"photo_id":"1350676483","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676488":["hashtag1","hashtag2"]},{"1350676482":["hashtag1","hashtag2"]},{"1350676475":["hashtag1","hashtag2"]},{"1350676478":["hashtag1","hashtag2"]},{"1350676483":["hashtag1","hashtag2"]},{"1350676486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676488, 1350676482, 1350676475, 1350676478, 1350676483, 1350676486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.170462131500244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:22:32.544751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/25/image_06042025_09_26_06_9368.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_16_10467.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_26_10380.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_36_9469.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_46_10349.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_27_06_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/25/image_06042025_09_26_06_9368.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_16_10467.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_26_10380.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_36_9469.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_46_10349.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_27_06_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676504","1350676507","1350676512","1350676506","1350676509","1350676511"],"photo_ids_order":["1350676504","1350676506","1350676507","1350676509","1350676511","1350676512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4bf806e5ab37045df03224d6a19a844f.jpg","text":"TemporaryFile(/tmp/multipartBody781096671508486621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161814458,"filename":"image_06042025_09_26_06_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b047203152933f0f9a81bb0868463cde.jpg","text":"TemporaryFile(/tmp/multipartBody5738201895546433303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161814458,"filename":"image_06042025_09_26_26_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dca773a559e2ecafb517c01279a388c3.jpg","text":"TemporaryFile(/tmp/multipartBody465927305335669043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161814458,"filename":"image_06042025_09_27_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/4/9/7af1013e7877fc21d3b9ecb154aa96bf.jpg","text":"TemporaryFile(/tmp/multipartBody6242902262323079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161814458,"filename":"image_06042025_09_26_16_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7b228d01ba69572c0673d964fae1dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2470640131275448461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161814458,"filename":"image_06042025_09_26_36_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8bc8c013a23063b4d6af67b423385acd.jpg","text":"TemporaryFile(/tmp/multipartBody1263400518342495065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161814458,"filename":"image_06042025_09_26_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676507","file1":"1350676506","file0":"1350676504","file4":"1350676511","file5":"1350676512","file3":"1350676509"},"map_files_photo_id_array":[{"photo_id":"1350676512","filename":"file5"},{"photo_id":"1350676507","filename":"file2"},{"photo_id":"1350676511","filename":"file4"},{"photo_id":"1350676506","filename":"file1"},{"photo_id":"1350676504","filename":"file0"},{"photo_id":"1350676509","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676504":["hashtag1","hashtag2"]},{"1350676507":["hashtag1","hashtag2"]},{"1350676512":["hashtag1","hashtag2"]},{"1350676506":["hashtag1","hashtag2"]},{"1350676509":["hashtag1","hashtag2"]},{"1350676511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676504, 1350676507, 1350676512, 1350676506, 1350676509, 1350676511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.814181566238403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:23:32.788138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_26_9378.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_36_10432.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_56_10357.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_28_06_10401.jpg', '/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_16_9406.jpg', '/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_37_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_26_9378.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_36_10432.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_56_10357.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_28_06_10401.jpg
/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_16_9406.jpg
/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_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":["1350676537","1350676539","1350676533","1350676535","1350676529","1350676531"],"photo_ids_order":["1350676529","1350676531","1350676533","1350676535","1350676537","1350676539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c115cec6b48b65798df0fb96cea9d67.jpg","text":"TemporaryFile(/tmp/multipartBody9000994631533903387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161874710,"filename":"image_06042025_09_28_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/4/9/4bed7c7f878dd7cc42b1778a3e02e47d.jpg","text":"TemporaryFile(/tmp/multipartBody8748393200836814248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161874710,"filename":"image_06042025_09_28_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9110d2c248305f7e7ca76e343b7dbfc2.jpg","text":"TemporaryFile(/tmp/multipartBody6008032243341328091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161874710,"filename":"image_06042025_09_27_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae76820f32f2ac3e0ce21a7d18a90b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5986419181346471531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161874710,"filename":"image_06042025_09_28_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/4/9/49d66cce98f887f3eab00132aa89f072.jpg","text":"TemporaryFile(/tmp/multipartBody2000542692947512582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161874710,"filename":"image_06042025_09_27_26_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/be668f92f87bd545d8822009182da992.jpg","text":"TemporaryFile(/tmp/multipartBody4557046391077595297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161874710,"filename":"image_06042025_09_27_36_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676533","file1":"1350676531","file0":"1350676529","file4":"1350676537","file5":"1350676539","file3":"1350676535"},"map_files_photo_id_array":[{"photo_id":"1350676539","filename":"file5"},{"photo_id":"1350676533","filename":"file2"},{"photo_id":"1350676537","filename":"file4"},{"photo_id":"1350676531","filename":"file1"},{"photo_id":"1350676529","filename":"file0"},{"photo_id":"1350676535","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676537":["hashtag1","hashtag2"]},{"1350676539":["hashtag1","hashtag2"]},{"1350676533":["hashtag1","hashtag2"]},{"1350676535":["hashtag1","hashtag2"]},{"1350676529":["hashtag1","hashtag2"]},{"1350676531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676537, 1350676539, 1350676533, 1350676535, 1350676529, 1350676531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17943334579468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:24:33.011298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_46_9485.jpg', '/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_56_10366.jpg', '/home/pi/Desktop/images/06042025/09/28/image_06042025_09_29_06_9438.jpg', '/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_16_10397.jpg', '/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_26_9350.jpg', '/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_36_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_46_9485.jpg
/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_56_10366.jpg
/home/pi/Desktop/images/06042025/09/28/image_06042025_09_29_06_9438.jpg
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_16_10397.jpg
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_26_9350.jpg
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_36_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676569","1350676560","1350676563","1350676565","1350676568","1350676570"],"photo_ids_order":["1350676560","1350676563","1350676565","1350676568","1350676569","1350676570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/113bec4108cd26d68316a039dcf8d0c1.jpg","text":"TemporaryFile(/tmp/multipartBody823490980859803060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161934948,"filename":"image_06042025_09_29_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6037f3331ad268ef2e93b165df095c43.jpg","text":"TemporaryFile(/tmp/multipartBody1807789165209662404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161934948,"filename":"image_06042025_09_28_46_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/532c372132bf67d9924ac129729f50a3.jpg","text":"TemporaryFile(/tmp/multipartBody5364088882330368423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161934948,"filename":"image_06042025_09_28_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/4/9/22c55de192afd6aa7583b8f9d9b9c697.jpg","text":"TemporaryFile(/tmp/multipartBody8388275848024393265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161934948,"filename":"image_06042025_09_29_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/4/9/e9415e246b6528c1314ac50d7be5d20f.jpg","text":"TemporaryFile(/tmp/multipartBody4369472684492816328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161934948,"filename":"image_06042025_09_29_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/150f46ec5f7e7dd62ca94552722feddc.jpg","text":"TemporaryFile(/tmp/multipartBody1887228694166004334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161934948,"filename":"image_06042025_09_29_36_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676565","file1":"1350676563","file0":"1350676560","file4":"1350676569","file5":"1350676570","file3":"1350676568"},"map_files_photo_id_array":[{"photo_id":"1350676570","filename":"file5"},{"photo_id":"1350676565","filename":"file2"},{"photo_id":"1350676569","filename":"file4"},{"photo_id":"1350676563","filename":"file1"},{"photo_id":"1350676560","filename":"file0"},{"photo_id":"1350676568","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676569":["hashtag1","hashtag2"]},{"1350676560":["hashtag1","hashtag2"]},{"1350676563":["hashtag1","hashtag2"]},{"1350676565":["hashtag1","hashtag2"]},{"1350676568":["hashtag1","hashtag2"]},{"1350676570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676569, 1350676560, 1350676563, 1350676565, 1350676568, 1350676570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85013699531555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:25:32.264094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_46_10385.jpg', '/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_56_9362.jpg', '/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_16_10355.jpg', '/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_26_9425.jpg', '/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_36_10367.jpg', '/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_46_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_46_10385.jpg
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_56_9362.jpg
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_16_10355.jpg
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_26_9425.jpg
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_36_10367.jpg
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_46_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676596","1350676590","1350676598","1350676592","1350676594","1350676588"],"photo_ids_order":["1350676588","1350676590","1350676592","1350676594","1350676596","1350676598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/857e6f62615988262550549bb8d072d7.jpg","text":"TemporaryFile(/tmp/multipartBody3578898967404228137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161994188,"filename":"image_06042025_09_30_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/4/9/048835a545dd366a5b512856d5844b08.jpg","text":"TemporaryFile(/tmp/multipartBody4898114213964672495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161994188,"filename":"image_06042025_09_29_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3bb85d121debdd48bea692d58453fbd7.jpg","text":"TemporaryFile(/tmp/multipartBody6326773158720255043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161994188,"filename":"image_06042025_09_30_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/4/9/dd7ad52fe095113e0c0002eadb753dcd.jpg","text":"TemporaryFile(/tmp/multipartBody3928865847205126795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161994188,"filename":"image_06042025_09_30_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/4/9/c148db32a8a1353b435ac52492b9e637.jpg","text":"TemporaryFile(/tmp/multipartBody5141012720618564646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161994188,"filename":"image_06042025_09_30_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/4/9/122edc2b097812d0e05810faa83eccf7.jpg","text":"TemporaryFile(/tmp/multipartBody9011811346030039321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744161994188,"filename":"image_06042025_09_29_46_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676592","file1":"1350676590","file0":"1350676588","file4":"1350676596","file5":"1350676598","file3":"1350676594"},"map_files_photo_id_array":[{"photo_id":"1350676598","filename":"file5"},{"photo_id":"1350676592","filename":"file2"},{"photo_id":"1350676596","filename":"file4"},{"photo_id":"1350676590","filename":"file1"},{"photo_id":"1350676588","filename":"file0"},{"photo_id":"1350676594","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676596":["hashtag1","hashtag2"]},{"1350676590":["hashtag1","hashtag2"]},{"1350676598":["hashtag1","hashtag2"]},{"1350676592":["hashtag1","hashtag2"]},{"1350676594":["hashtag1","hashtag2"]},{"1350676588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676596, 1350676590, 1350676598, 1350676592, 1350676594, 1350676588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20500135421753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:26:32.500725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_56_10380.jpg', '/home/pi/Desktop/images/06042025/09/30/image_06042025_09_31_06_10387.jpg', '/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_16_9386.jpg', '/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_37_10377.jpg', '/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_46_9432.jpg', '/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_56_10515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_56_10380.jpg
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_31_06_10387.jpg
/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_16_9386.jpg
/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_37_10377.jpg
/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_46_9432.jpg
/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_56_10515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676621","1350676624","1350676618","1350676626","1350676628","1350676630"],"photo_ids_order":["1350676618","1350676621","1350676624","1350676626","1350676628","1350676630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a0599da03a66b1b8cd72435d89d72e39.jpg","text":"TemporaryFile(/tmp/multipartBody949607020000186858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162054407,"filename":"image_06042025_09_31_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65e8b96263b087c24c0e5b95b68c442e.jpg","text":"TemporaryFile(/tmp/multipartBody5789719581102612460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162054407,"filename":"image_06042025_09_31_16_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a64fbeb94e57ec554411ef85a8987d88.jpg","text":"TemporaryFile(/tmp/multipartBody1682939917359237508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162054407,"filename":"image_06042025_09_30_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/4/9/0b49bd9addba345166bca0ca62c3bee3.jpg","text":"TemporaryFile(/tmp/multipartBody2609819024738172894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162054407,"filename":"image_06042025_09_31_37_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c6b7c5414795c81d25c69c5684588ea.jpg","text":"TemporaryFile(/tmp/multipartBody2808446583069950024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162054407,"filename":"image_06042025_09_31_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/4/9/765adfe275ed5c033e2bc5d9e5f03c43.jpg","text":"TemporaryFile(/tmp/multipartBody5495242280472307207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162054407,"filename":"image_06042025_09_31_56_10515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676624","file1":"1350676621","file0":"1350676618","file4":"1350676628","file5":"1350676630","file3":"1350676626"},"map_files_photo_id_array":[{"photo_id":"1350676630","filename":"file5"},{"photo_id":"1350676624","filename":"file2"},{"photo_id":"1350676628","filename":"file4"},{"photo_id":"1350676621","filename":"file1"},{"photo_id":"1350676618","filename":"file0"},{"photo_id":"1350676626","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676621":["hashtag1","hashtag2"]},{"1350676624":["hashtag1","hashtag2"]},{"1350676618":["hashtag1","hashtag2"]},{"1350676626":["hashtag1","hashtag2"]},{"1350676628":["hashtag1","hashtag2"]},{"1350676630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676621, 1350676624, 1350676618, 1350676626, 1350676628, 1350676630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.662477254867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:27:32.717533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/31/image_06042025_09_32_06_9444.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_16_10410.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_26_9386.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_36_10361.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_56_9419.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_33_06_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/31/image_06042025_09_32_06_9444.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_16_10410.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_26_9386.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_36_10361.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_56_9419.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_33_06_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":["1350676648","1350676652","1350676646","1350676661","1350676655","1350676658"],"photo_ids_order":["1350676646","1350676648","1350676652","1350676655","1350676658","1350676661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9895b2e20e19644ca564844d17c0d0dc.jpg","text":"TemporaryFile(/tmp/multipartBody2522336444157385541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162117897,"filename":"image_06042025_09_32_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10a585c7918190eec62c27fc5bfd40ff.jpg","text":"TemporaryFile(/tmp/multipartBody553703242127855531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162117897,"filename":"image_06042025_09_32_26_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ac88996ec71ee6f3a50aa3cd482bf6a.jpg","text":"TemporaryFile(/tmp/multipartBody7342072792823454483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162117897,"filename":"image_06042025_09_32_06_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e2f1ef240ca90ee5d9647e813b5bbe3.jpg","text":"TemporaryFile(/tmp/multipartBody1546384201678186624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162117897,"filename":"image_06042025_09_33_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/019625803e906cac1360f2642be6c615.jpg","text":"TemporaryFile(/tmp/multipartBody8070314369919449902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162117897,"filename":"image_06042025_09_32_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/4/9/c36cef19524f4abfcb9a190bb3d76c46.jpg","text":"TemporaryFile(/tmp/multipartBody5482208419709423251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162117897,"filename":"image_06042025_09_32_56_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676652","file1":"1350676648","file0":"1350676646","file4":"1350676658","file5":"1350676661","file3":"1350676655"},"map_files_photo_id_array":[{"photo_id":"1350676661","filename":"file5"},{"photo_id":"1350676652","filename":"file2"},{"photo_id":"1350676658","filename":"file4"},{"photo_id":"1350676648","filename":"file1"},{"photo_id":"1350676646","filename":"file0"},{"photo_id":"1350676655","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676648":["hashtag1","hashtag2"]},{"1350676652":["hashtag1","hashtag2"]},{"1350676646":["hashtag1","hashtag2"]},{"1350676661":["hashtag1","hashtag2"]},{"1350676655":["hashtag1","hashtag2"]},{"1350676658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676648, 1350676652, 1350676646, 1350676661, 1350676655, 1350676658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34213352203369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:28:32.856555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_26_10374.jpg', '/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_36_10343.jpg', '/home/pi/Desktop/images/06042025/09/33/image_06042025_09_34_07_10351.jpg', '/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_26_10386.jpg', '/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_36_9345.jpg', '/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_26_10374.jpg
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_36_10343.jpg
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_34_07_10351.jpg
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_26_10386.jpg
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_36_9345.jpg
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_46_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676686","1350676682","1350676681","1350676675","1350676684","1350676678"],"photo_ids_order":["1350676675","1350676678","1350676681","1350676682","1350676684","1350676686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de77da15b7425f5c1b134bff75ecfe09.jpg","text":"TemporaryFile(/tmp/multipartBody6553888455784695653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162174758,"filename":"image_06042025_09_34_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/4/9/83eada40c3b2a8019747d30c74287a10.jpg","text":"TemporaryFile(/tmp/multipartBody5791297526175706400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162174758,"filename":"image_06042025_09_34_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/4/9/9ba9f58c9e1dd7b0eec28b24694ae9dc.jpg","text":"TemporaryFile(/tmp/multipartBody6367975583406731355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162174758,"filename":"image_06042025_09_34_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/4/9/e6246a237312b081ec7a30456efcd294.jpg","text":"TemporaryFile(/tmp/multipartBody5137614583023651570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162174758,"filename":"image_06042025_09_33_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1afb8f95bcbed3aca7d735be4754b4de.jpg","text":"TemporaryFile(/tmp/multipartBody2845763508143576502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162174758,"filename":"image_06042025_09_34_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/936e96938c26480db01db0abdc322bcc.jpg","text":"TemporaryFile(/tmp/multipartBody73264317504108210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162174758,"filename":"image_06042025_09_33_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676681","file1":"1350676678","file0":"1350676675","file4":"1350676684","file5":"1350676686","file3":"1350676682"},"map_files_photo_id_array":[{"photo_id":"1350676686","filename":"file5"},{"photo_id":"1350676681","filename":"file2"},{"photo_id":"1350676684","filename":"file4"},{"photo_id":"1350676678","filename":"file1"},{"photo_id":"1350676675","filename":"file0"},{"photo_id":"1350676682","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676686":["hashtag1","hashtag2"]},{"1350676682":["hashtag1","hashtag2"]},{"1350676681":["hashtag1","hashtag2"]},{"1350676675":["hashtag1","hashtag2"]},{"1350676684":["hashtag1","hashtag2"]},{"1350676678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676686, 1350676682, 1350676681, 1350676675, 1350676684, 1350676678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.446004152297974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:29:33.253740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_56_10366.jpg', '/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_26_9372.jpg', '/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_36_10370.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_26_9363.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_36_10371.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_46_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_56_10366.jpg
/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_26_9372.jpg
/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_36_10370.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_26_9363.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_36_10371.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_46_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8285443782806396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 03:29:43.188593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_56_10366.jpg', '/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_26_9372.jpg', '/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_36_10370.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_26_9363.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_36_10371.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_46_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_56_10366.jpg
/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_26_9372.jpg
/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_36_10370.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_26_9363.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_36_10371.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_46_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":["1350676711","1350676720","1350676714","1350676717","1350676716","1350676709"],"photo_ids_order":["1350676709","1350676711","1350676714","1350676716","1350676717","1350676720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/356849449dd588f4c362d2988400391f.jpg","text":"TemporaryFile(/tmp/multipartBody7108034416957570142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162244169,"filename":"image_06042025_09_35_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/4/9/61d4710e9a8e9cebade4c11effea9315.jpg","text":"TemporaryFile(/tmp/multipartBody96007566235054927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162244169,"filename":"image_06042025_09_36_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/4/9/1e1fe562c1a774efaf7a27d40d7dad9e.jpg","text":"TemporaryFile(/tmp/multipartBody6461515066152892760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162244169,"filename":"image_06042025_09_35_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/4/9/789d33fdf64a88c0bd1f783298576fa6.jpg","text":"TemporaryFile(/tmp/multipartBody4946316028585688523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162244169,"filename":"image_06042025_09_36_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/4/9/6e97a7a2e832dcd6f17b27e27d463e4b.jpg","text":"TemporaryFile(/tmp/multipartBody3282130123712071239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162244169,"filename":"image_06042025_09_36_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8dc346b2223f808fe6f18ab2b8b92cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5909765439175305331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162244169,"filename":"image_06042025_09_34_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676714","file1":"1350676711","file0":"1350676709","file4":"1350676717","file5":"1350676720","file3":"1350676716"},"map_files_photo_id_array":[{"photo_id":"1350676720","filename":"file5"},{"photo_id":"1350676714","filename":"file2"},{"photo_id":"1350676717","filename":"file4"},{"photo_id":"1350676711","filename":"file1"},{"photo_id":"1350676709","filename":"file0"},{"photo_id":"1350676716","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676711":["hashtag1","hashtag2"]},{"1350676720":["hashtag1","hashtag2"]},{"1350676714":["hashtag1","hashtag2"]},{"1350676717":["hashtag1","hashtag2"]},{"1350676716":["hashtag1","hashtag2"]},{"1350676709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676711, 1350676720, 1350676714, 1350676717, 1350676716, 1350676709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44634127616882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:30:32.330725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_56_10344.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_37_06_10363.jpg', '/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_56_10424.jpg', '/home/pi/Desktop/images/06042025/09/37/image_06042025_09_38_06_9369.jpg', '/home/pi/Desktop/images/06042025/09/38/image_06042025_09_38_26_10371.jpg', '/home/pi/Desktop/images/06042025/09/38/image_06042025_09_38_56_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_56_10344.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_37_06_10363.jpg
/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_56_10424.jpg
/home/pi/Desktop/images/06042025/09/37/image_06042025_09_38_06_9369.jpg
/home/pi/Desktop/images/06042025/09/38/image_06042025_09_38_26_10371.jpg
/home/pi/Desktop/images/06042025/09/38/image_06042025_09_38_56_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":["1350676741","1350676735","1350676740","1350676743","1350676737","1350676736"],"photo_ids_order":["1350676735","1350676736","1350676737","1350676740","1350676741","1350676743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f76044e8a83509d62b1b380b254e0f2a.jpg","text":"TemporaryFile(/tmp/multipartBody883484781483933626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162294253,"filename":"image_06042025_09_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/4/9/0f0b60236254de6530f472c08f9c383c.jpg","text":"TemporaryFile(/tmp/multipartBody6796498603298845565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162294253,"filename":"image_06042025_09_36_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/4/9/d97da9c0c0a9bf3d09bb7877da69f77d.jpg","text":"TemporaryFile(/tmp/multipartBody7227044978973258415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162294253,"filename":"image_06042025_09_38_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/4/9/cc59b7bcc973ac44d943e5037315ccda.jpg","text":"TemporaryFile(/tmp/multipartBody1627859628853857143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162294253,"filename":"image_06042025_09_38_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/4/9/521e0186e1b4b16781c835521cc3c977.jpg","text":"TemporaryFile(/tmp/multipartBody6104508403879209932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162294253,"filename":"image_06042025_09_37_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c73c15d3dc5e2293ae5610d4b6542360.jpg","text":"TemporaryFile(/tmp/multipartBody7125038099436948384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162294253,"filename":"image_06042025_09_37_06_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676737","file1":"1350676736","file0":"1350676735","file4":"1350676741","file5":"1350676743","file3":"1350676740"},"map_files_photo_id_array":[{"photo_id":"1350676743","filename":"file5"},{"photo_id":"1350676737","filename":"file2"},{"photo_id":"1350676741","filename":"file4"},{"photo_id":"1350676736","filename":"file1"},{"photo_id":"1350676735","filename":"file0"},{"photo_id":"1350676740","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676741":["hashtag1","hashtag2"]},{"1350676735":["hashtag1","hashtag2"]},{"1350676740":["hashtag1","hashtag2"]},{"1350676743":["hashtag1","hashtag2"]},{"1350676737":["hashtag1","hashtag2"]},{"1350676736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676741, 1350676735, 1350676740, 1350676743, 1350676737, 1350676736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48317503929138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:31:32.575462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_16_10367.jpg', '/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_26_9357.jpg', '/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_46_10365.jpg', '/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_56_9423.jpg', '/home/pi/Desktop/images/06042025/09/39/image_06042025_09_40_06_10421.jpg', '/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_16_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_16_10367.jpg
/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_26_9357.jpg
/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_46_10365.jpg
/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_56_9423.jpg
/home/pi/Desktop/images/06042025/09/39/image_06042025_09_40_06_10421.jpg
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_16_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":["1350676768","1350676767","1350676764","1350676766","1350676760","1350676762"],"photo_ids_order":["1350676760","1350676762","1350676764","1350676766","1350676767","1350676768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/159e985919c1a45ba26d5812a111f55c.jpg","text":"TemporaryFile(/tmp/multipartBody8649006840731539213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162354486,"filename":"image_06042025_09_40_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09fcb981decd1aca4604ba0883389ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3111824565699374354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162354486,"filename":"image_06042025_09_40_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/4/9/a7d65ce654bec923680f72b679f13a9d.jpg","text":"TemporaryFile(/tmp/multipartBody9169751469449857005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162354486,"filename":"image_06042025_09_39_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/4/9/b3ea85ee8d76df4b54067e8dd98b9c00.jpg","text":"TemporaryFile(/tmp/multipartBody5332411510436835116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162354486,"filename":"image_06042025_09_39_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51652b75136e257a713e3a29ea4c9b72.jpg","text":"TemporaryFile(/tmp/multipartBody1722408030037019702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162354486,"filename":"image_06042025_09_39_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d93b824279fde3082f9f00dec4f6362.jpg","text":"TemporaryFile(/tmp/multipartBody882443353993799690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162354486,"filename":"image_06042025_09_39_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676764","file1":"1350676762","file0":"1350676760","file4":"1350676767","file5":"1350676768","file3":"1350676766"},"map_files_photo_id_array":[{"photo_id":"1350676768","filename":"file5"},{"photo_id":"1350676764","filename":"file2"},{"photo_id":"1350676767","filename":"file4"},{"photo_id":"1350676762","filename":"file1"},{"photo_id":"1350676760","filename":"file0"},{"photo_id":"1350676766","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676768":["hashtag1","hashtag2"]},{"1350676767":["hashtag1","hashtag2"]},{"1350676764":["hashtag1","hashtag2"]},{"1350676766":["hashtag1","hashtag2"]},{"1350676760":["hashtag1","hashtag2"]},{"1350676762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676768, 1350676767, 1350676764, 1350676766, 1350676760, 1350676762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08161926269531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:32:32.778939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_26_10365.jpg', '/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_36_10365.jpg', '/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_46_9420.jpg', '/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_56_10396.jpg', '/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_16_10355.jpg', '/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_26_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_26_10365.jpg
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_36_10365.jpg
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_46_9420.jpg
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_56_10396.jpg
/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_16_10355.jpg
/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_26_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":["1350676807","1350676797","1350676803","1350676800","1350676789","1350676798"],"photo_ids_order":["1350676789","1350676797","1350676798","1350676800","1350676803","1350676807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db0f835cbf58fbcc40c5e8d76d3abb34.jpg","text":"TemporaryFile(/tmp/multipartBody1293488887425551980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162414700,"filename":"image_06042025_09_41_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/4/9/3a2d475d04fba6454a5f71fbd727037d.jpg","text":"TemporaryFile(/tmp/multipartBody270086062258671213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162414700,"filename":"image_06042025_09_40_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/45fcb3bab9d5601f30d47c24845b2379.jpg","text":"TemporaryFile(/tmp/multipartBody7975017174684246992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162414700,"filename":"image_06042025_09_41_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/4/9/aeb67ccf85129f6d0aaf2573bbd08966.jpg","text":"TemporaryFile(/tmp/multipartBody666766903620279118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162414700,"filename":"image_06042025_09_40_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a056ba049f8cfdab3b895e11a323895e.jpg","text":"TemporaryFile(/tmp/multipartBody8662183113813223881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162414700,"filename":"image_06042025_09_40_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/4/9/5d17c3d366ce65fc363cee2562a462f1.jpg","text":"TemporaryFile(/tmp/multipartBody4248139267334223925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162414700,"filename":"image_06042025_09_40_46_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676798","file1":"1350676797","file0":"1350676789","file4":"1350676803","file5":"1350676807","file3":"1350676800"},"map_files_photo_id_array":[{"photo_id":"1350676807","filename":"file5"},{"photo_id":"1350676798","filename":"file2"},{"photo_id":"1350676803","filename":"file4"},{"photo_id":"1350676797","filename":"file1"},{"photo_id":"1350676789","filename":"file0"},{"photo_id":"1350676800","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676807":["hashtag1","hashtag2"]},{"1350676797":["hashtag1","hashtag2"]},{"1350676803":["hashtag1","hashtag2"]},{"1350676800":["hashtag1","hashtag2"]},{"1350676789":["hashtag1","hashtag2"]},{"1350676798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676807, 1350676797, 1350676803, 1350676800, 1350676789, 1350676798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.55470323562622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:33:33.052053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_36_9429.jpg', '/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_46_10393.jpg', '/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_56_9351.jpg', '/home/pi/Desktop/images/06042025/09/41/image_06042025_09_42_06_10365.jpg', '/home/pi/Desktop/images/06042025/09/42/image_06042025_09_42_16_10354.jpg', '/home/pi/Desktop/images/06042025/09/42/image_06042025_09_42_36_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_36_9429.jpg
/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_46_10393.jpg
/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_56_9351.jpg
/home/pi/Desktop/images/06042025/09/41/image_06042025_09_42_06_10365.jpg
/home/pi/Desktop/images/06042025/09/42/image_06042025_09_42_16_10354.jpg
/home/pi/Desktop/images/06042025/09/42/image_06042025_09_42_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":["1350676825","1350676822","1350676821","1350676824","1350676820","1350676823"],"photo_ids_order":["1350676820","1350676821","1350676822","1350676823","1350676824","1350676825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0495623cbcd32dd33274bb5de471326.jpg","text":"TemporaryFile(/tmp/multipartBody7831461244692746440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162474962,"filename":"image_06042025_09_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/4/9/5607410254cfb9393a9f623d0e069539.jpg","text":"TemporaryFile(/tmp/multipartBody317271857065845264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162474962,"filename":"image_06042025_09_41_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2d19f9471c6b818093381c9d8ceee91.jpg","text":"TemporaryFile(/tmp/multipartBody9100021869008510780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162474962,"filename":"image_06042025_09_41_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/4/9/2576415a212e22d2b856d6db9730008c.jpg","text":"TemporaryFile(/tmp/multipartBody6305139982606803293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162474962,"filename":"image_06042025_09_42_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/4/9/a8481f7c7c32e33201fa1c6e1fc5c274.jpg","text":"TemporaryFile(/tmp/multipartBody8353410445821715967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162474962,"filename":"image_06042025_09_41_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3575927d53c3b30ca8dc48ffe7ad080c.jpg","text":"TemporaryFile(/tmp/multipartBody6572690926836083626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162474962,"filename":"image_06042025_09_42_06_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676822","file1":"1350676821","file0":"1350676820","file4":"1350676824","file5":"1350676825","file3":"1350676823"},"map_files_photo_id_array":[{"photo_id":"1350676825","filename":"file5"},{"photo_id":"1350676822","filename":"file2"},{"photo_id":"1350676824","filename":"file4"},{"photo_id":"1350676821","filename":"file1"},{"photo_id":"1350676820","filename":"file0"},{"photo_id":"1350676823","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676825":["hashtag1","hashtag2"]},{"1350676822":["hashtag1","hashtag2"]},{"1350676821":["hashtag1","hashtag2"]},{"1350676824":["hashtag1","hashtag2"]},{"1350676820":["hashtag1","hashtag2"]},{"1350676823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676825, 1350676822, 1350676821, 1350676824, 1350676820, 1350676823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64127850532532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:34:33.078821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/42/image_06042025_09_42_46_10360.jpg', '/home/pi/Desktop/images/06042025/09/42/image_06042025_09_42_56_9475.jpg', '/home/pi/Desktop/images/06042025/09/43/image_06042025_09_43_16_9354.jpg', '/home/pi/Desktop/images/06042025/09/43/image_06042025_09_43_46_9442.jpg', '/home/pi/Desktop/images/06042025/09/43/image_06042025_09_44_06_10339.jpg', '/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_16_9484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/42/image_06042025_09_42_46_10360.jpg
/home/pi/Desktop/images/06042025/09/42/image_06042025_09_42_56_9475.jpg
/home/pi/Desktop/images/06042025/09/43/image_06042025_09_43_16_9354.jpg
/home/pi/Desktop/images/06042025/09/43/image_06042025_09_43_46_9442.jpg
/home/pi/Desktop/images/06042025/09/43/image_06042025_09_44_06_10339.jpg
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_16_9484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676840","1350676834","1350676842","1350676839","1350676841","1350676837"],"photo_ids_order":["1350676834","1350676837","1350676839","1350676840","1350676841","1350676842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31183fb32aa1649b6cab432cdcb9af3a.jpg","text":"TemporaryFile(/tmp/multipartBody9078676741726733080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162534986,"filename":"image_06042025_09_43_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b18f453dc6a765753abe52135e07992f.jpg","text":"TemporaryFile(/tmp/multipartBody4644094038226992380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162534986,"filename":"image_06042025_09_42_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/4/9/86e5f9b1637084136c28f3513e5b21fa.jpg","text":"TemporaryFile(/tmp/multipartBody3713944842733730219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162534986,"filename":"image_06042025_09_44_16_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e7e8ee336a8fe26c84e304c6046b714.jpg","text":"TemporaryFile(/tmp/multipartBody7926006457022358428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162534986,"filename":"image_06042025_09_43_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2cd12990028059af584c07cd342ad839.jpg","text":"TemporaryFile(/tmp/multipartBody2294595690104038791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162534986,"filename":"image_06042025_09_44_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/4/9/76847595c19d763a965c64fb6a2f9a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4025817781871770740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162534986,"filename":"image_06042025_09_42_56_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676839","file1":"1350676837","file0":"1350676834","file4":"1350676841","file5":"1350676842","file3":"1350676840"},"map_files_photo_id_array":[{"photo_id":"1350676842","filename":"file5"},{"photo_id":"1350676839","filename":"file2"},{"photo_id":"1350676841","filename":"file4"},{"photo_id":"1350676837","filename":"file1"},{"photo_id":"1350676834","filename":"file0"},{"photo_id":"1350676840","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676840":["hashtag1","hashtag2"]},{"1350676834":["hashtag1","hashtag2"]},{"1350676842":["hashtag1","hashtag2"]},{"1350676839":["hashtag1","hashtag2"]},{"1350676841":["hashtag1","hashtag2"]},{"1350676837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676840, 1350676834, 1350676842, 1350676839, 1350676841, 1350676837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92724323272705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:35:32.400199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_36_9454.jpg', '/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_46_10357.jpg', '/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_56_9352.jpg', '/home/pi/Desktop/images/06042025/09/44/image_06042025_09_45_06_10362.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_16_10369.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_26_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_36_9454.jpg
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_46_10357.jpg
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_56_9352.jpg
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_45_06_10362.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_16_10369.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_26_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676860","1350676862","1350676859","1350676856","1350676861","1350676858"],"photo_ids_order":["1350676856","1350676858","1350676859","1350676860","1350676861","1350676862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09d121c27ac7b049e557d224125b7df3.jpg","text":"TemporaryFile(/tmp/multipartBody8718917953827301828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162594312,"filename":"image_06042025_09_45_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/4/9/e84282af5194a2bb792c459443b77d8d.jpg","text":"TemporaryFile(/tmp/multipartBody203747123540498860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162594312,"filename":"image_06042025_09_45_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01c5d4807aac32f40de8b8f006d26790.jpg","text":"TemporaryFile(/tmp/multipartBody5885626639047430292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162594312,"filename":"image_06042025_09_44_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/4/9/3cfecab9dd92c8de92c2a9b4688ab174.jpg","text":"TemporaryFile(/tmp/multipartBody6525657379057750299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162594312,"filename":"image_06042025_09_44_36_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b129fa2d0e3b696721c180180c07ee5.jpg","text":"TemporaryFile(/tmp/multipartBody53729975855089633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162594312,"filename":"image_06042025_09_45_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/4/9/60777d685d19e5789439348a6eea84bc.jpg","text":"TemporaryFile(/tmp/multipartBody5623982419508940214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162594312,"filename":"image_06042025_09_44_46_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676859","file1":"1350676858","file0":"1350676856","file4":"1350676861","file5":"1350676862","file3":"1350676860"},"map_files_photo_id_array":[{"photo_id":"1350676862","filename":"file5"},{"photo_id":"1350676859","filename":"file2"},{"photo_id":"1350676861","filename":"file4"},{"photo_id":"1350676858","filename":"file1"},{"photo_id":"1350676856","filename":"file0"},{"photo_id":"1350676860","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676860":["hashtag1","hashtag2"]},{"1350676862":["hashtag1","hashtag2"]},{"1350676859":["hashtag1","hashtag2"]},{"1350676856":["hashtag1","hashtag2"]},{"1350676861":["hashtag1","hashtag2"]},{"1350676858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676860, 1350676862, 1350676859, 1350676856, 1350676861, 1350676858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63949513435364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:36:32.609858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_36_10379.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_46_10359.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_56_9443.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_46_06_10355.jpg', '/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_16_9337.jpg', '/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_36_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_36_10379.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_46_10359.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_56_9443.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_46_06_10355.jpg
/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_16_9337.jpg
/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_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":["1350676884","1350676878","1350676886","1350676885","1350676882","1350676876"],"photo_ids_order":["1350676876","1350676878","1350676882","1350676884","1350676885","1350676886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1b9ee0c70f0e2fd1089e2e0af335c26.jpg","text":"TemporaryFile(/tmp/multipartBody602805476375068855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162654530,"filename":"image_06042025_09_46_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3a757e526da5d8c60a5f3cf90cadce6.jpg","text":"TemporaryFile(/tmp/multipartBody3545273748507231005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162654530,"filename":"image_06042025_09_45_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/4/9/22435b78cb298136e43963423ee96fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8513344475921616395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162654530,"filename":"image_06042025_09_46_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/4/9/607e4bf515b5feb7d4befe810f72a5b2.jpg","text":"TemporaryFile(/tmp/multipartBody8038645724377087250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162654530,"filename":"image_06042025_09_46_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/4/9/fe93fb947080adfb9e4bdb54fb280ad8.jpg","text":"TemporaryFile(/tmp/multipartBody2167860871728152615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162654530,"filename":"image_06042025_09_45_56_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f5f197419c6a42dd62a217307542139.jpg","text":"TemporaryFile(/tmp/multipartBody2009122221991568477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162654530,"filename":"image_06042025_09_45_36_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676882","file1":"1350676878","file0":"1350676876","file4":"1350676885","file5":"1350676886","file3":"1350676884"},"map_files_photo_id_array":[{"photo_id":"1350676886","filename":"file5"},{"photo_id":"1350676882","filename":"file2"},{"photo_id":"1350676885","filename":"file4"},{"photo_id":"1350676878","filename":"file1"},{"photo_id":"1350676876","filename":"file0"},{"photo_id":"1350676884","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676884":["hashtag1","hashtag2"]},{"1350676878":["hashtag1","hashtag2"]},{"1350676886":["hashtag1","hashtag2"]},{"1350676885":["hashtag1","hashtag2"]},{"1350676882":["hashtag1","hashtag2"]},{"1350676876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676884, 1350676878, 1350676886, 1350676885, 1350676882, 1350676876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11035490036011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:37:32.758238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_56_10373.jpg', '/home/pi/Desktop/images/06042025/09/46/image_06042025_09_47_06_9351.jpg', '/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_16_10448.jpg', '/home/pi/Desktop/images/06042025/09/48/image_06042025_09_49_06_10353.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_16_9402.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_26_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_56_10373.jpg
/home/pi/Desktop/images/06042025/09/46/image_06042025_09_47_06_9351.jpg
/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_16_10448.jpg
/home/pi/Desktop/images/06042025/09/48/image_06042025_09_49_06_10353.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_16_9402.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_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":["1350676912","1350676915","1350676909","1350676913","1350676907","1350676904"],"photo_ids_order":["1350676904","1350676907","1350676909","1350676912","1350676913","1350676915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf85da213eb54a854ce0816589cb5c11.jpg","text":"TemporaryFile(/tmp/multipartBody7983203169784351288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162714664,"filename":"image_06042025_09_49_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/4/9/ff9d42a13c1b6294f6914401805edf0d.jpg","text":"TemporaryFile(/tmp/multipartBody6429312551706225394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162714664,"filename":"image_06042025_09_49_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/4/9/d612f5a1a10fe3f03cb395778c4b1136.jpg","text":"TemporaryFile(/tmp/multipartBody6446998986236194409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162714664,"filename":"image_06042025_09_47_16_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3981c4bd3bdcf784a3663b36f6a9706.jpg","text":"TemporaryFile(/tmp/multipartBody7317135862282865072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162714664,"filename":"image_06042025_09_49_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/4/9/9e727a68260de195f7740d8971055499.jpg","text":"TemporaryFile(/tmp/multipartBody6821094197049771843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162714664,"filename":"image_06042025_09_47_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/4/9/c61e307731927bb7f2bbf1c97601ab29.jpg","text":"TemporaryFile(/tmp/multipartBody2170566852047990989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162714664,"filename":"image_06042025_09_46_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676909","file1":"1350676907","file0":"1350676904","file4":"1350676913","file5":"1350676915","file3":"1350676912"},"map_files_photo_id_array":[{"photo_id":"1350676915","filename":"file5"},{"photo_id":"1350676909","filename":"file2"},{"photo_id":"1350676913","filename":"file4"},{"photo_id":"1350676907","filename":"file1"},{"photo_id":"1350676904","filename":"file0"},{"photo_id":"1350676912","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676912":["hashtag1","hashtag2"]},{"1350676915":["hashtag1","hashtag2"]},{"1350676909":["hashtag1","hashtag2"]},{"1350676913":["hashtag1","hashtag2"]},{"1350676907":["hashtag1","hashtag2"]},{"1350676904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676912, 1350676915, 1350676909, 1350676913, 1350676907, 1350676904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53711199760437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:38:34.074118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_36_10352.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_46_9414.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_50_06_9353.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_16_10353.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_26_10413.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_46_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_36_10352.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_46_9414.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_50_06_9353.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_16_10353.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_26_10413.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_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":["1350676939","1350676933","1350676943","1350676934","1350676937","1350676936"],"photo_ids_order":["1350676933","1350676934","1350676936","1350676937","1350676939","1350676943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b7fe5e60573838395ca8ad8c128a1beb.jpg","text":"TemporaryFile(/tmp/multipartBody2534576924740010459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162775990,"filename":"image_06042025_09_50_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/4/9/b6651abc7172c6eda2c7f1712c64b634.jpg","text":"TemporaryFile(/tmp/multipartBody1503658960583994612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162775990,"filename":"image_06042025_09_49_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/4/9/59ab4d268fa5bb63fe5c29c1e44c2bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1357096342364857054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162775990,"filename":"image_06042025_09_50_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/4/9/522b81ead9a273695e9dbac434a368e1.jpg","text":"TemporaryFile(/tmp/multipartBody1132688215765593055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162775990,"filename":"image_06042025_09_49_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f22ab0da669776e3f462853a1e4d890.jpg","text":"TemporaryFile(/tmp/multipartBody3817723042913539119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162775990,"filename":"image_06042025_09_50_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/4/9/32cda84725817e90c884871c0391bd3e.jpg","text":"TemporaryFile(/tmp/multipartBody7035626443039222919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162775990,"filename":"image_06042025_09_50_06_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676936","file1":"1350676934","file0":"1350676933","file4":"1350676939","file5":"1350676943","file3":"1350676937"},"map_files_photo_id_array":[{"photo_id":"1350676943","filename":"file5"},{"photo_id":"1350676936","filename":"file2"},{"photo_id":"1350676939","filename":"file4"},{"photo_id":"1350676934","filename":"file1"},{"photo_id":"1350676933","filename":"file0"},{"photo_id":"1350676937","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676939":["hashtag1","hashtag2"]},{"1350676933":["hashtag1","hashtag2"]},{"1350676943":["hashtag1","hashtag2"]},{"1350676934":["hashtag1","hashtag2"]},{"1350676937":["hashtag1","hashtag2"]},{"1350676936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676939, 1350676933, 1350676943, 1350676934, 1350676937, 1350676936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.506412744522095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:39:32.185257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_56_10353.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_51_06_9398.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_16_10430.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_26_9358.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_36_10478.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_46_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_56_10353.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_51_06_9398.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_16_10430.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_26_9358.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_36_10478.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_46_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676970","1350676958","1350676967","1350676955","1350676960","1350676963"],"photo_ids_order":["1350676955","1350676958","1350676960","1350676963","1350676967","1350676970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66ef532369d16dffb865b4b3e5d133fe.jpg","text":"TemporaryFile(/tmp/multipartBody4191421288936845712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162834096,"filename":"image_06042025_09_51_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f316ec7924b02372c31cf9643f57ffbe.jpg","text":"TemporaryFile(/tmp/multipartBody2450440245538517098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162834096,"filename":"image_06042025_09_51_06_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9692dc0394397ff3ec12b22472e8ff85.jpg","text":"TemporaryFile(/tmp/multipartBody4189761039786251790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162834096,"filename":"image_06042025_09_51_36_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/100319a99985f91ea0821a35c03b5a8f.jpg","text":"TemporaryFile(/tmp/multipartBody4471084961865269356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162834096,"filename":"image_06042025_09_50_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/4/9/1851afcc6e4683f88de98b8acdd3a830.jpg","text":"TemporaryFile(/tmp/multipartBody6132411479505108565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162834096,"filename":"image_06042025_09_51_16_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b74e672372c99631b19867aef6266e54.jpg","text":"TemporaryFile(/tmp/multipartBody6830589445010125290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162834096,"filename":"image_06042025_09_51_26_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676960","file1":"1350676958","file0":"1350676955","file4":"1350676967","file5":"1350676970","file3":"1350676963"},"map_files_photo_id_array":[{"photo_id":"1350676970","filename":"file5"},{"photo_id":"1350676960","filename":"file2"},{"photo_id":"1350676967","filename":"file4"},{"photo_id":"1350676958","filename":"file1"},{"photo_id":"1350676955","filename":"file0"},{"photo_id":"1350676963","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676970":["hashtag1","hashtag2"]},{"1350676958":["hashtag1","hashtag2"]},{"1350676967":["hashtag1","hashtag2"]},{"1350676955":["hashtag1","hashtag2"]},{"1350676960":["hashtag1","hashtag2"]},{"1350676963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676970, 1350676958, 1350676967, 1350676955, 1350676960, 1350676963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.140522718429565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:40:32.502516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_56_9471.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_52_06_10351.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_16_9347.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_26_10375.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_36_10386.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_46_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_56_9471.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_52_06_10351.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_16_9347.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_26_10375.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_36_10386.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_46_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350676994","1350676997","1350676991","1350677000","1350676999","1350676996"],"photo_ids_order":["1350676991","1350676994","1350676996","1350676997","1350676999","1350677000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f5d9ce8fe998167e58f4afedd3ec594.jpg","text":"TemporaryFile(/tmp/multipartBody1526390430951837406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162894427,"filename":"image_06042025_09_52_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/4/9/0cb8924437a1f01b3d0b5f38f95dd614.jpg","text":"TemporaryFile(/tmp/multipartBody3815015993082182370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162894427,"filename":"image_06042025_09_52_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/4/9/bdda1302ed398127e3c03b7b157afa6a.jpg","text":"TemporaryFile(/tmp/multipartBody8533080240830116659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162894427,"filename":"image_06042025_09_51_56_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b821e4a98f827f3c1d672a858b56c11e.jpg","text":"TemporaryFile(/tmp/multipartBody8307429533287788868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162894427,"filename":"image_06042025_09_52_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/548a469c2be5c8471c0c9fcb5c0545c8.jpg","text":"TemporaryFile(/tmp/multipartBody7538301259777653702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162894427,"filename":"image_06042025_09_52_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/4/9/6d0d74f8e1bb7d06cffc86f9794c93be.jpg","text":"TemporaryFile(/tmp/multipartBody4827344433267768318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162894427,"filename":"image_06042025_09_52_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350676996","file1":"1350676994","file0":"1350676991","file4":"1350676999","file5":"1350677000","file3":"1350676997"},"map_files_photo_id_array":[{"photo_id":"1350677000","filename":"file5"},{"photo_id":"1350676996","filename":"file2"},{"photo_id":"1350676999","filename":"file4"},{"photo_id":"1350676994","filename":"file1"},{"photo_id":"1350676991","filename":"file0"},{"photo_id":"1350676997","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350676994":["hashtag1","hashtag2"]},{"1350676997":["hashtag1","hashtag2"]},{"1350676991":["hashtag1","hashtag2"]},{"1350677000":["hashtag1","hashtag2"]},{"1350676999":["hashtag1","hashtag2"]},{"1350676996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350676994, 1350676997, 1350676991, 1350677000, 1350676999, 1350676996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00058674812317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:41:32.758405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/52/image_06042025_09_53_07_10345.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_16_9403.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_26_10376.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_36_9337.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_46_10453.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_57_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_53_07_10345.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_16_9403.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_26_10376.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_36_9337.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_46_10453.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_57_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":["1350677013","1350677016","1350677015","1350677018","1350677017","1350677011"],"photo_ids_order":["1350677011","1350677013","1350677015","1350677016","1350677017","1350677018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51b3c626f8adf610b9b28986efcd2b34.jpg","text":"TemporaryFile(/tmp/multipartBody1057407897765774529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162954684,"filename":"image_06042025_09_53_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1566fc0783cac62971a98442696be1f0.jpg","text":"TemporaryFile(/tmp/multipartBody1826600716276594084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162954684,"filename":"image_06042025_09_53_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ee7afd1b9cd2611cf0aed40c8ee847b.jpg","text":"TemporaryFile(/tmp/multipartBody960781535884340766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162954684,"filename":"image_06042025_09_53_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec8562c11e10dc96d63fc87f01667e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2829385810919668177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162954684,"filename":"image_06042025_09_53_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/4/9/52e4595e39102a4c960dc9157f744c96.jpg","text":"TemporaryFile(/tmp/multipartBody1908764894581698505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162954684,"filename":"image_06042025_09_53_46_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15fa0564bc63a6d1cb3f3fc812176526.jpg","text":"TemporaryFile(/tmp/multipartBody437900319731864719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744162954684,"filename":"image_06042025_09_53_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677015","file1":"1350677013","file0":"1350677011","file4":"1350677017","file5":"1350677018","file3":"1350677016"},"map_files_photo_id_array":[{"photo_id":"1350677018","filename":"file5"},{"photo_id":"1350677015","filename":"file2"},{"photo_id":"1350677017","filename":"file4"},{"photo_id":"1350677013","filename":"file1"},{"photo_id":"1350677011","filename":"file0"},{"photo_id":"1350677016","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677013":["hashtag1","hashtag2"]},{"1350677016":["hashtag1","hashtag2"]},{"1350677015":["hashtag1","hashtag2"]},{"1350677018":["hashtag1","hashtag2"]},{"1350677017":["hashtag1","hashtag2"]},{"1350677011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677013, 1350677016, 1350677015, 1350677018, 1350677017, 1350677011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53096389770508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:42:32.924356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/53/image_06042025_09_54_06_9388.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_16_10369.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_26_9443.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_36_10405.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_46_10372.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_56_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_54_06_9388.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_16_10369.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_26_9443.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_36_10405.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_46_10372.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_56_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677031","1350677034","1350677030","1350677033","1350677029","1350677032"],"photo_ids_order":["1350677029","1350677030","1350677031","1350677032","1350677033","1350677034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0502f189648336bf1ebfd8e05f66f373.jpg","text":"TemporaryFile(/tmp/multipartBody6886495084339294377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163014831,"filename":"image_06042025_09_54_26_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf7a5461da75eeab12db217e3808208e.jpg","text":"TemporaryFile(/tmp/multipartBody3031000615923676286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163014831,"filename":"image_06042025_09_54_56_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/35201e8abb074d1b9935245c683d573b.jpg","text":"TemporaryFile(/tmp/multipartBody4480177221204040058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163014831,"filename":"image_06042025_09_54_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/4/9/48e61671c2477f9e085fcc3bd581bddc.jpg","text":"TemporaryFile(/tmp/multipartBody4333682032122971590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163014831,"filename":"image_06042025_09_54_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d992bd4973de75f348cc1cb7b988a302.jpg","text":"TemporaryFile(/tmp/multipartBody3285866606924141443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163014831,"filename":"image_06042025_09_54_06_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a59a8be11b2eae06e393d0e6c39fb9f5.jpg","text":"TemporaryFile(/tmp/multipartBody4203163493409059754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163014831,"filename":"image_06042025_09_54_36_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677031","file1":"1350677030","file0":"1350677029","file4":"1350677033","file5":"1350677034","file3":"1350677032"},"map_files_photo_id_array":[{"photo_id":"1350677034","filename":"file5"},{"photo_id":"1350677031","filename":"file2"},{"photo_id":"1350677033","filename":"file4"},{"photo_id":"1350677030","filename":"file1"},{"photo_id":"1350677029","filename":"file0"},{"photo_id":"1350677032","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677031":["hashtag1","hashtag2"]},{"1350677034":["hashtag1","hashtag2"]},{"1350677030":["hashtag1","hashtag2"]},{"1350677033":["hashtag1","hashtag2"]},{"1350677029":["hashtag1","hashtag2"]},{"1350677032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677031, 1350677034, 1350677030, 1350677033, 1350677029, 1350677032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78214883804321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:43:33.113543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_16_9330.jpg', '/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_26_10368.jpg', '/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_36_10478.jpg', '/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_46_9471.jpg', '/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_56_10471.jpg', '/home/pi/Desktop/images/06042025/09/55/image_06042025_09_56_06_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_16_9330.jpg
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_26_10368.jpg
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_36_10478.jpg
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_46_9471.jpg
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_56_10471.jpg
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_56_06_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677052","1350677049","1350677042","1350677051","1350677045","1350677047"],"photo_ids_order":["1350677042","1350677045","1350677047","1350677049","1350677051","1350677052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe60c717455d1ad6e9fce3adc88423b5.jpg","text":"TemporaryFile(/tmp/multipartBody3737777623306808108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163075043,"filename":"image_06042025_09_56_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/4/9/b4b8e61ed5097a74df069831feb23f23.jpg","text":"TemporaryFile(/tmp/multipartBody2808211696283246304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163075043,"filename":"image_06042025_09_55_46_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/adc5a267b708e566c4a80564e34cc5ce.jpg","text":"TemporaryFile(/tmp/multipartBody5113264822245564526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163075043,"filename":"image_06042025_09_55_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/4/9/f1e44a6e1fde3871524b6bb8eab94b84.jpg","text":"TemporaryFile(/tmp/multipartBody1293922278648116127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163075043,"filename":"image_06042025_09_55_56_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6294d0314a5a7013e22243bdfdc95b75.jpg","text":"TemporaryFile(/tmp/multipartBody1032433170635505633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163075043,"filename":"image_06042025_09_55_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/4/9/fee17bd7a1f5dca1d4485a85901d9014.jpg","text":"TemporaryFile(/tmp/multipartBody4713621870054187822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163075043,"filename":"image_06042025_09_55_36_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677047","file1":"1350677045","file0":"1350677042","file4":"1350677051","file5":"1350677052","file3":"1350677049"},"map_files_photo_id_array":[{"photo_id":"1350677052","filename":"file5"},{"photo_id":"1350677047","filename":"file2"},{"photo_id":"1350677051","filename":"file4"},{"photo_id":"1350677045","filename":"file1"},{"photo_id":"1350677042","filename":"file0"},{"photo_id":"1350677049","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677052":["hashtag1","hashtag2"]},{"1350677049":["hashtag1","hashtag2"]},{"1350677042":["hashtag1","hashtag2"]},{"1350677051":["hashtag1","hashtag2"]},{"1350677045":["hashtag1","hashtag2"]},{"1350677047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677052, 1350677049, 1350677042, 1350677051, 1350677045, 1350677047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.20998764038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:44:32.351905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_16_10410.jpg', '/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_26_10364.jpg', '/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_36_9425.jpg', '/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_46_10368.jpg', '/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_56_9373.jpg', '/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_16_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_16_10410.jpg
/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_26_10364.jpg
/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_36_9425.jpg
/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_46_10368.jpg
/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_56_9373.jpg
/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_16_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":["1350677070","1350677073","1350677072","1350677066","1350677074","1350677068"],"photo_ids_order":["1350677066","1350677068","1350677070","1350677072","1350677073","1350677074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dee8172acaad1656e49d3e243aa5d101.jpg","text":"TemporaryFile(/tmp/multipartBody5346845261844749599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163134270,"filename":"image_06042025_09_56_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd291e659ac53da54c21c1768e9e9831.jpg","text":"TemporaryFile(/tmp/multipartBody398570020236282537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163134270,"filename":"image_06042025_09_56_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/4/9/576ebb4f2caf160811a4078922980909.jpg","text":"TemporaryFile(/tmp/multipartBody2207997043816961314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163134270,"filename":"image_06042025_09_56_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/4/9/de27bebd205ca51b59cc4454f3b5f507.jpg","text":"TemporaryFile(/tmp/multipartBody745141566861597400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163134270,"filename":"image_06042025_09_56_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b43b4305006e9f602d3e4498e4cd4132.jpg","text":"TemporaryFile(/tmp/multipartBody1196061961463854718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163134270,"filename":"image_06042025_09_57_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a39425883ae15b9eb1d3654d9555e06.jpg","text":"TemporaryFile(/tmp/multipartBody2762214301505346823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163134270,"filename":"image_06042025_09_56_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677070","file1":"1350677068","file0":"1350677066","file4":"1350677073","file5":"1350677074","file3":"1350677072"},"map_files_photo_id_array":[{"photo_id":"1350677074","filename":"file5"},{"photo_id":"1350677070","filename":"file2"},{"photo_id":"1350677073","filename":"file4"},{"photo_id":"1350677068","filename":"file1"},{"photo_id":"1350677066","filename":"file0"},{"photo_id":"1350677072","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677070":["hashtag1","hashtag2"]},{"1350677073":["hashtag1","hashtag2"]},{"1350677072":["hashtag1","hashtag2"]},{"1350677066":["hashtag1","hashtag2"]},{"1350677074":["hashtag1","hashtag2"]},{"1350677068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677070, 1350677073, 1350677072, 1350677066, 1350677074, 1350677068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60159230232239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:45:32.653677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_26_9540.jpg', '/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_36_10345.jpg', '/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_46_9341.jpg', '/home/pi/Desktop/images/06042025/09/57/image_06042025_09_58_06_10347.jpg', '/home/pi/Desktop/images/06042025/09/58/image_06042025_09_58_56_10373.jpg', '/home/pi/Desktop/images/06042025/09/58/image_06042025_09_59_06_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_26_9540.jpg
/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_36_10345.jpg
/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_46_9341.jpg
/home/pi/Desktop/images/06042025/09/57/image_06042025_09_58_06_10347.jpg
/home/pi/Desktop/images/06042025/09/58/image_06042025_09_58_56_10373.jpg
/home/pi/Desktop/images/06042025/09/58/image_06042025_09_59_06_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677091","1350677088","1350677093","1350677096","1350677095","1350677094"],"photo_ids_order":["1350677088","1350677091","1350677093","1350677094","1350677095","1350677096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e68bf9a60529009cbc5189e2d77bc3c9.jpg","text":"TemporaryFile(/tmp/multipartBody4298871271176306654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163194562,"filename":"image_06042025_09_57_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e493a27d07ebea2369385aba8ed5bb3f.jpg","text":"TemporaryFile(/tmp/multipartBody3927137360692249486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163194562,"filename":"image_06042025_09_57_26_9540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b13fb14511440d94b91bde07c468ab03.jpg","text":"TemporaryFile(/tmp/multipartBody7402422100963836701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163194562,"filename":"image_06042025_09_57_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/4/9/3e39e9e71ecb35112eccffa00e8d9142.jpg","text":"TemporaryFile(/tmp/multipartBody8250951176230913803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163194562,"filename":"image_06042025_09_59_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/4/9/7f5633f1b5cb210ce8e7c07c39ddf92f.jpg","text":"TemporaryFile(/tmp/multipartBody7696076184813016964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163194562,"filename":"image_06042025_09_58_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3759623b0726cadd6022fb01b2c43ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2328918891577852879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163194562,"filename":"image_06042025_09_58_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677093","file1":"1350677091","file0":"1350677088","file4":"1350677095","file5":"1350677096","file3":"1350677094"},"map_files_photo_id_array":[{"photo_id":"1350677096","filename":"file5"},{"photo_id":"1350677093","filename":"file2"},{"photo_id":"1350677095","filename":"file4"},{"photo_id":"1350677091","filename":"file1"},{"photo_id":"1350677088","filename":"file0"},{"photo_id":"1350677094","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677091":["hashtag1","hashtag2"]},{"1350677088":["hashtag1","hashtag2"]},{"1350677093":["hashtag1","hashtag2"]},{"1350677096":["hashtag1","hashtag2"]},{"1350677095":["hashtag1","hashtag2"]},{"1350677094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677091, 1350677088, 1350677093, 1350677096, 1350677095, 1350677094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.236624240875244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:46:32.914047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_26_10429.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_36_9461.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_46_10376.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_56_9395.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_15_10078.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_25_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_26_10429.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_36_9461.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_46_10376.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_56_9395.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_15_10078.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_25_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":["1350677113","1350677109","1350677118","1350677114","1350677116","1350677110"],"photo_ids_order":["1350677109","1350677110","1350677113","1350677114","1350677116","1350677118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/68c8f20920a5a4b4e1079a447a14a5bf.jpg","text":"TemporaryFile(/tmp/multipartBody3473705118716272734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163254817,"filename":"image_06042025_09_59_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/4/9/cf884bb0256a9883b19806ddf440290c.jpg","text":"TemporaryFile(/tmp/multipartBody5943336982493071229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163254817,"filename":"image_06042025_09_59_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/4/9/f29c6750ac1ae113f75499d4e279e00d.jpg","text":"TemporaryFile(/tmp/multipartBody8048579389595629975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163254817,"filename":"image_06042025_10_01_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/caa0f1d0b37ebd259c8f8ffcc523f549.jpg","text":"TemporaryFile(/tmp/multipartBody1932190242791677963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163254817,"filename":"image_06042025_09_59_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/4/9/12fca10f6d79a3d76fcff9b7b177494b.jpg","text":"TemporaryFile(/tmp/multipartBody3716312117905440899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163254817,"filename":"image_06042025_10_01_15_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af1bd3dfbcd64f6839fd9b8cf4e33fbb.jpg","text":"TemporaryFile(/tmp/multipartBody8777926025889288019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163254817,"filename":"image_06042025_09_59_36_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677113","file1":"1350677110","file0":"1350677109","file4":"1350677116","file5":"1350677118","file3":"1350677114"},"map_files_photo_id_array":[{"photo_id":"1350677118","filename":"file5"},{"photo_id":"1350677113","filename":"file2"},{"photo_id":"1350677116","filename":"file4"},{"photo_id":"1350677110","filename":"file1"},{"photo_id":"1350677109","filename":"file0"},{"photo_id":"1350677114","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677113":["hashtag1","hashtag2"]},{"1350677109":["hashtag1","hashtag2"]},{"1350677118":["hashtag1","hashtag2"]},{"1350677114":["hashtag1","hashtag2"]},{"1350677116":["hashtag1","hashtag2"]},{"1350677110":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677113, 1350677109, 1350677118, 1350677114, 1350677116, 1350677110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.561607122421265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:47:33.113182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_36_10376.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_45_9463.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_55_10384.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_02_05_9431.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_15_10356.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_35_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_36_10376.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_45_9463.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_55_10384.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_02_05_9431.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_15_10356.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_35_9419.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8291633129119873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 03:47:43.169714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_36_10376.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_45_9463.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_55_10384.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_02_05_9431.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_15_10356.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_35_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_36_10376.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_45_9463.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_55_10384.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_02_05_9431.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_15_10356.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_35_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":["1350677151","1350677142","1350677156","1350677150","1350677153","1350677147"],"photo_ids_order":["1350677142","1350677147","1350677150","1350677151","1350677153","1350677156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c779f6ca58dfcc20c135e0269d3eef65.jpg","text":"TemporaryFile(/tmp/multipartBody3934016036235777596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163324151,"filename":"image_06042025_10_02_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9077b65f2fc926f766c12d3200a0d876.jpg","text":"TemporaryFile(/tmp/multipartBody6199803565387996967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163324151,"filename":"image_06042025_10_01_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e4239d3cc6b6d57a83566bf2c8a201a1.jpg","text":"TemporaryFile(/tmp/multipartBody6253910963294971403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163324151,"filename":"image_06042025_10_02_35_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96165b16e30fcc4bff3df7616e6df153.jpg","text":"TemporaryFile(/tmp/multipartBody3197743741785975645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163324151,"filename":"image_06042025_10_01_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f018a2791bae45f5696478548143df0.jpg","text":"TemporaryFile(/tmp/multipartBody7825939341007264776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163324151,"filename":"image_06042025_10_02_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/4/9/b3ab423f6e2ae5ded67cfaacd9dbe2e7.jpg","text":"TemporaryFile(/tmp/multipartBody6014950187879351339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163324151,"filename":"image_06042025_10_01_45_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677150","file1":"1350677147","file0":"1350677142","file4":"1350677153","file5":"1350677156","file3":"1350677151"},"map_files_photo_id_array":[{"photo_id":"1350677156","filename":"file5"},{"photo_id":"1350677150","filename":"file2"},{"photo_id":"1350677153","filename":"file4"},{"photo_id":"1350677147","filename":"file1"},{"photo_id":"1350677142","filename":"file0"},{"photo_id":"1350677151","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677151":["hashtag1","hashtag2"]},{"1350677142":["hashtag1","hashtag2"]},{"1350677156":["hashtag1","hashtag2"]},{"1350677150":["hashtag1","hashtag2"]},{"1350677153":["hashtag1","hashtag2"]},{"1350677147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677151, 1350677142, 1350677156, 1350677150, 1350677153, 1350677147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88643527030945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:48:32.282651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_45_10381.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_55_9399.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_03_05_10356.jpg', '/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_16_10430.jpg', '/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_25_9358.jpg', '/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_45_10381.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_55_9399.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_03_05_10356.jpg
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_16_10430.jpg
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_25_9358.jpg
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_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":["1350677175","1350677166","1350677168","1350677177","1350677171","1350677173"],"photo_ids_order":["1350677166","1350677168","1350677171","1350677173","1350677175","1350677177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9dd3435a68c94750e3e2928302277db.jpg","text":"TemporaryFile(/tmp/multipartBody4448817939941433056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163374200,"filename":"image_06042025_10_03_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/4/9/e930a926dbd984afd42aca3aa51c7ecd.jpg","text":"TemporaryFile(/tmp/multipartBody5993049828782248364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163374200,"filename":"image_06042025_10_02_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/4/9/6816b3757626c0497d9c4ab74fe8fae6.jpg","text":"TemporaryFile(/tmp/multipartBody1567510113879725370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163374200,"filename":"image_06042025_10_02_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/4/9/9417297017f73b3da4d0625da30a482f.jpg","text":"TemporaryFile(/tmp/multipartBody6952757989357453385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163374200,"filename":"image_06042025_10_03_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/4/9/664bf4fa428ebf1fb8496ff7c1c5ed30.jpg","text":"TemporaryFile(/tmp/multipartBody4243659333555156722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163374200,"filename":"image_06042025_10_03_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/4/9/2233b9404d928af3e27a2c9de3294091.jpg","text":"TemporaryFile(/tmp/multipartBody3991487706862521597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163374200,"filename":"image_06042025_10_03_16_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677171","file1":"1350677168","file0":"1350677166","file4":"1350677175","file5":"1350677177","file3":"1350677173"},"map_files_photo_id_array":[{"photo_id":"1350677177","filename":"file5"},{"photo_id":"1350677171","filename":"file2"},{"photo_id":"1350677175","filename":"file4"},{"photo_id":"1350677168","filename":"file1"},{"photo_id":"1350677166","filename":"file0"},{"photo_id":"1350677173","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677175":["hashtag1","hashtag2"]},{"1350677166":["hashtag1","hashtag2"]},{"1350677168":["hashtag1","hashtag2"]},{"1350677177":["hashtag1","hashtag2"]},{"1350677171":["hashtag1","hashtag2"]},{"1350677173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677175, 1350677166, 1350677168, 1350677177, 1350677171, 1350677173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.781580686569214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:49:32.556411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_45_9493.jpg', '/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_55_10435.jpg', '/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_15_9408.jpg', '/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_25_10373.jpg', '/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_35_9486.jpg', '/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_45_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_45_9493.jpg
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_55_10435.jpg
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_15_9408.jpg
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_25_10373.jpg
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_35_9486.jpg
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_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":["1350677198","1350677192","1350677205","1350677195","1350677204","1350677201"],"photo_ids_order":["1350677192","1350677195","1350677198","1350677201","1350677204","1350677205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8fcc66bed717aac297427e8a9e123e76.jpg","text":"TemporaryFile(/tmp/multipartBody3154895827089602576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163434471,"filename":"image_06042025_10_04_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/4/9/6d1d6d4dcb6d7be3c69c1c7abde18178.jpg","text":"TemporaryFile(/tmp/multipartBody7174235960699545650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163434471,"filename":"image_06042025_10_03_45_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9efa58192d2f70b3ee89fbee1db00aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5138826553725323208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163434471,"filename":"image_06042025_10_04_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/4/9/496571f3e8a3d02653614f23bbf55a08.jpg","text":"TemporaryFile(/tmp/multipartBody5360376127485571229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163434471,"filename":"image_06042025_10_03_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/4/9/bd7b9131e146600c11cdeda667d43172.jpg","text":"TemporaryFile(/tmp/multipartBody7305530409211162292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163434471,"filename":"image_06042025_10_04_35_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/409bf0d35d2974ad8d19a7dd57be020a.jpg","text":"TemporaryFile(/tmp/multipartBody4354925510608548330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163434471,"filename":"image_06042025_10_04_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677198","file1":"1350677195","file0":"1350677192","file4":"1350677204","file5":"1350677205","file3":"1350677201"},"map_files_photo_id_array":[{"photo_id":"1350677205","filename":"file5"},{"photo_id":"1350677198","filename":"file2"},{"photo_id":"1350677204","filename":"file4"},{"photo_id":"1350677195","filename":"file1"},{"photo_id":"1350677192","filename":"file0"},{"photo_id":"1350677201","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677198":["hashtag1","hashtag2"]},{"1350677192":["hashtag1","hashtag2"]},{"1350677205":["hashtag1","hashtag2"]},{"1350677195":["hashtag1","hashtag2"]},{"1350677204":["hashtag1","hashtag2"]},{"1350677201":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677198, 1350677192, 1350677205, 1350677195, 1350677204, 1350677201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52486801147461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:50:32.762888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_56_10346.jpg', '/home/pi/Desktop/images/06042025/10/04/image_06042025_10_05_05_9349.jpg', '/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_35_10353.jpg', '/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_46_10353.jpg', '/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_55_9353.jpg', '/home/pi/Desktop/images/06042025/10/05/image_06042025_10_06_05_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_56_10346.jpg
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_05_05_9349.jpg
/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_35_10353.jpg
/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_46_10353.jpg
/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_55_9353.jpg
/home/pi/Desktop/images/06042025/10/05/image_06042025_10_06_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":["1350677226","1350677222","1350677228","1350677227","1350677221","1350677224"],"photo_ids_order":["1350677221","1350677222","1350677224","1350677226","1350677227","1350677228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73c385a8ec0c9d44e9fc6f8cf1d4b23e.jpg","text":"TemporaryFile(/tmp/multipartBody2034801424817401925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163494688,"filename":"image_06042025_10_05_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/4/9/b6a3989059be904b1ce1dbebd7f14836.jpg","text":"TemporaryFile(/tmp/multipartBody4971299397460422378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163494688,"filename":"image_06042025_10_05_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/4/9/934a2a1c193e7f98413850528f76cdd5.jpg","text":"TemporaryFile(/tmp/multipartBody7939331765534065561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163494688,"filename":"image_06042025_10_06_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae41a2cbe142197a78697bf04f52a33a.jpg","text":"TemporaryFile(/tmp/multipartBody4773721366138551975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163494688,"filename":"image_06042025_10_05_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/4/9/517419e2b9c44743b1bba1431c40888a.jpg","text":"TemporaryFile(/tmp/multipartBody1409717363331387759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163494688,"filename":"image_06042025_10_04_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b33e9858236387289e64bd23bac91ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2121943124674066292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163494688,"filename":"image_06042025_10_05_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677224","file1":"1350677222","file0":"1350677221","file4":"1350677227","file5":"1350677228","file3":"1350677226"},"map_files_photo_id_array":[{"photo_id":"1350677228","filename":"file5"},{"photo_id":"1350677224","filename":"file2"},{"photo_id":"1350677227","filename":"file4"},{"photo_id":"1350677222","filename":"file1"},{"photo_id":"1350677221","filename":"file0"},{"photo_id":"1350677226","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677226":["hashtag1","hashtag2"]},{"1350677222":["hashtag1","hashtag2"]},{"1350677228":["hashtag1","hashtag2"]},{"1350677227":["hashtag1","hashtag2"]},{"1350677221":["hashtag1","hashtag2"]},{"1350677224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677226, 1350677222, 1350677228, 1350677227, 1350677221, 1350677224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75433588027954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:51:32.893025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_16_10337.jpg', '/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_25_9466.jpg', '/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_35_10418.jpg', '/home/pi/Desktop/images/06042025/10/06/image_06042025_10_07_05_9491.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_15_10331.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_25_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_16_10337.jpg
/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_25_9466.jpg
/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_35_10418.jpg
/home/pi/Desktop/images/06042025/10/06/image_06042025_10_07_05_9491.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_15_10331.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_25_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677253","1350677255","1350677249","1350677251","1350677245","1350677242"],"photo_ids_order":["1350677242","1350677245","1350677249","1350677251","1350677253","1350677255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af63b31ce9ed58b1443d84bc67a205a8.jpg","text":"TemporaryFile(/tmp/multipartBody7054690463669618406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163554827,"filename":"image_06042025_10_07_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/4/9/2629018fb847795b22503ef7c3cde130.jpg","text":"TemporaryFile(/tmp/multipartBody5872897091618863178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163554827,"filename":"image_06042025_10_07_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/4/9/e092a15313d6be2751c58a49cfc069e9.jpg","text":"TemporaryFile(/tmp/multipartBody660118951660340356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163554827,"filename":"image_06042025_10_06_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdcc029ac36b01dfe9bc1bf989934ed0.jpg","text":"TemporaryFile(/tmp/multipartBody7859961668033914096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163554827,"filename":"image_06042025_10_07_05_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d306eb9fab850f99e385e9ffc7a4440.jpg","text":"TemporaryFile(/tmp/multipartBody105555345074293502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163554827,"filename":"image_06042025_10_06_25_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ac5daee3f733eda0232a8ef300fddd8.jpg","text":"TemporaryFile(/tmp/multipartBody4205437240793033968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163554827,"filename":"image_06042025_10_06_16_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677249","file1":"1350677245","file0":"1350677242","file4":"1350677253","file5":"1350677255","file3":"1350677251"},"map_files_photo_id_array":[{"photo_id":"1350677255","filename":"file5"},{"photo_id":"1350677249","filename":"file2"},{"photo_id":"1350677253","filename":"file4"},{"photo_id":"1350677245","filename":"file1"},{"photo_id":"1350677242","filename":"file0"},{"photo_id":"1350677251","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677253":["hashtag1","hashtag2"]},{"1350677255":["hashtag1","hashtag2"]},{"1350677249":["hashtag1","hashtag2"]},{"1350677251":["hashtag1","hashtag2"]},{"1350677245":["hashtag1","hashtag2"]},{"1350677242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677253, 1350677255, 1350677249, 1350677251, 1350677245, 1350677242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.123046875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:52:33.177278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_35_9398.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_45_10436.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_56_10375.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_08_05_9419.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_16_10416.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_25_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_35_9398.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_45_10436.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_56_10375.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_08_05_9419.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_16_10416.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_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":["1350677277","1350677271","1350677279","1350677273","1350677278","1350677275"],"photo_ids_order":["1350677271","1350677273","1350677275","1350677277","1350677278","1350677279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/949618bfded4f1dd6e19a1554576c7b0.jpg","text":"TemporaryFile(/tmp/multipartBody1931373422565986387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163615097,"filename":"image_06042025_10_08_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/283e3f4ef837606496e2a73d11fb24ab.jpg","text":"TemporaryFile(/tmp/multipartBody3107987155787847271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163615097,"filename":"image_06042025_10_07_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/91f596a936668486de708ee6f23c4164.jpg","text":"TemporaryFile(/tmp/multipartBody240729590361967586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163615097,"filename":"image_06042025_10_08_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/4/9/083b6d658865dcd5ad62880411c1a0d6.jpg","text":"TemporaryFile(/tmp/multipartBody1660754508174447808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163615097,"filename":"image_06042025_10_07_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/943da63a1c91b9506385d10401833d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4513218808228573851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163615097,"filename":"image_06042025_10_08_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/4/9/884f153dc71d9f57ec7cfb5972e32101.jpg","text":"TemporaryFile(/tmp/multipartBody7804693760356797106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163615097,"filename":"image_06042025_10_07_56_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677275","file1":"1350677273","file0":"1350677271","file4":"1350677278","file5":"1350677279","file3":"1350677277"},"map_files_photo_id_array":[{"photo_id":"1350677279","filename":"file5"},{"photo_id":"1350677275","filename":"file2"},{"photo_id":"1350677278","filename":"file4"},{"photo_id":"1350677273","filename":"file1"},{"photo_id":"1350677271","filename":"file0"},{"photo_id":"1350677277","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677277":["hashtag1","hashtag2"]},{"1350677271":["hashtag1","hashtag2"]},{"1350677279":["hashtag1","hashtag2"]},{"1350677273":["hashtag1","hashtag2"]},{"1350677278":["hashtag1","hashtag2"]},{"1350677275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677277, 1350677271, 1350677279, 1350677273, 1350677278, 1350677275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.537842750549316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:53:32.540570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_35_10414.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_46_10379.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_55_9364.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_09_05_10357.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_15_9506.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_25_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_35_10414.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_46_10379.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_55_9364.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_09_05_10357.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_15_9506.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_25_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":["1350677295","1350677298","1350677301","1350677304","1350677294","1350677306"],"photo_ids_order":["1350677294","1350677295","1350677298","1350677301","1350677304","1350677306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b7202b5eca4efab4cfdef33ad0942070.jpg","text":"TemporaryFile(/tmp/multipartBody226704699296722444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163674461,"filename":"image_06042025_10_08_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/4/9/00edcbfd77bdada05ccf139363651dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3291750350968927171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163674461,"filename":"image_06042025_10_08_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/4/9/c490f6196e01ebe34033e0bf6af1c84a.jpg","text":"TemporaryFile(/tmp/multipartBody7076897684920386961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163674461,"filename":"image_06042025_10_09_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/4/9/28767eb6e14d9ba09664a3477c7d7aac.jpg","text":"TemporaryFile(/tmp/multipartBody6041096707209068604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163674461,"filename":"image_06042025_10_09_15_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db481e162c1997b7d9749fe1ba164dcc.jpg","text":"TemporaryFile(/tmp/multipartBody2766691732629368009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163674461,"filename":"image_06042025_10_08_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/4/9/33b91050cd3c3cd93f3e6029e710a555.jpg","text":"TemporaryFile(/tmp/multipartBody4755065893936907419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163674461,"filename":"image_06042025_10_09_25_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677298","file1":"1350677295","file0":"1350677294","file4":"1350677304","file5":"1350677306","file3":"1350677301"},"map_files_photo_id_array":[{"photo_id":"1350677306","filename":"file5"},{"photo_id":"1350677298","filename":"file2"},{"photo_id":"1350677304","filename":"file4"},{"photo_id":"1350677295","filename":"file1"},{"photo_id":"1350677294","filename":"file0"},{"photo_id":"1350677301","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677295":["hashtag1","hashtag2"]},{"1350677298":["hashtag1","hashtag2"]},{"1350677301":["hashtag1","hashtag2"]},{"1350677304":["hashtag1","hashtag2"]},{"1350677294":["hashtag1","hashtag2"]},{"1350677306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677295, 1350677298, 1350677301, 1350677304, 1350677294, 1350677306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.827694177627563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:54:32.682777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_36_10369.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_45_9422.jpg', '/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_15_10375.jpg', '/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_26_10374.jpg', '/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_35_9368.jpg', '/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_55_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_36_10369.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_45_9422.jpg
/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_15_10375.jpg
/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_26_10374.jpg
/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_35_9368.jpg
/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_55_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":["1350677328","1350677330","1350677326","1350677329","1350677320","1350677323"],"photo_ids_order":["1350677320","1350677323","1350677326","1350677328","1350677329","1350677330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4819a73b2826fbd80ecd1b22a969f822.jpg","text":"TemporaryFile(/tmp/multipartBody1164606011932480018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163734617,"filename":"image_06042025_10_10_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c576b0db3e42d98b3e2d314048745883.jpg","text":"TemporaryFile(/tmp/multipartBody2769254254981466614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163734617,"filename":"image_06042025_10_10_55_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94dfc45ba1cc635b370bfaace804c828.jpg","text":"TemporaryFile(/tmp/multipartBody2327991214310884312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163734617,"filename":"image_06042025_10_10_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96514e33a0fd84363480d3ce3d40d69a.jpg","text":"TemporaryFile(/tmp/multipartBody7496719220729842215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163734617,"filename":"image_06042025_10_10_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a05ed56eb7c1d618fce14b0d2751fcd4.jpg","text":"TemporaryFile(/tmp/multipartBody4019172165554637711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163734617,"filename":"image_06042025_10_09_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e481e0b156b78875843e66802baa0597.jpg","text":"TemporaryFile(/tmp/multipartBody1945485006897005470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163734617,"filename":"image_06042025_10_09_45_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677326","file1":"1350677323","file0":"1350677320","file4":"1350677329","file5":"1350677330","file3":"1350677328"},"map_files_photo_id_array":[{"photo_id":"1350677330","filename":"file5"},{"photo_id":"1350677326","filename":"file2"},{"photo_id":"1350677329","filename":"file4"},{"photo_id":"1350677323","filename":"file1"},{"photo_id":"1350677320","filename":"file0"},{"photo_id":"1350677328","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677328":["hashtag1","hashtag2"]},{"1350677330":["hashtag1","hashtag2"]},{"1350677326":["hashtag1","hashtag2"]},{"1350677329":["hashtag1","hashtag2"]},{"1350677320":["hashtag1","hashtag2"]},{"1350677323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677328, 1350677330, 1350677326, 1350677329, 1350677320, 1350677323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64828968048096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:55:32.901641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/10/image_06042025_10_11_05_10484.jpg', '/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_16_10344.jpg', '/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_35_9827.jpg', '/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_55_9454.jpg', '/home/pi/Desktop/images/06042025/10/11/image_06042025_10_12_05_10427.jpg', '/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_15_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/10/image_06042025_10_11_05_10484.jpg
/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_16_10344.jpg
/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_35_9827.jpg
/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_55_9454.jpg
/home/pi/Desktop/images/06042025/10/11/image_06042025_10_12_05_10427.jpg
/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_15_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":["1350677355","1350677352","1350677346","1350677348","1350677350","1350677347"],"photo_ids_order":["1350677346","1350677347","1350677348","1350677350","1350677352","1350677355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82458d8e9fd8583664e07c2dbc84c2e5.jpg","text":"TemporaryFile(/tmp/multipartBody8433356109967601745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163794837,"filename":"image_06042025_10_12_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/4/9/42bc83d454687adffcda867c3c7475f6.jpg","text":"TemporaryFile(/tmp/multipartBody8655922936842732278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163794837,"filename":"image_06042025_10_12_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/4/9/638d2252b88d64b69f70746d311b7853.jpg","text":"TemporaryFile(/tmp/multipartBody9079769599618343245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163794837,"filename":"image_06042025_10_11_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/4/9/f12002a2e7f7c43e1184ab1e0b077c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1197005567731105269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163794837,"filename":"image_06042025_10_11_35_9827.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3baac0ae89f9e858b397f5bc94678355.jpg","text":"TemporaryFile(/tmp/multipartBody8150297728542329360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163794837,"filename":"image_06042025_10_11_55_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a4eab6e1328365179d1ddf91d41b165a.jpg","text":"TemporaryFile(/tmp/multipartBody2919157028649574674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163794837,"filename":"image_06042025_10_11_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677348","file1":"1350677347","file0":"1350677346","file4":"1350677352","file5":"1350677355","file3":"1350677350"},"map_files_photo_id_array":[{"photo_id":"1350677355","filename":"file5"},{"photo_id":"1350677348","filename":"file2"},{"photo_id":"1350677352","filename":"file4"},{"photo_id":"1350677347","filename":"file1"},{"photo_id":"1350677346","filename":"file0"},{"photo_id":"1350677350","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677355":["hashtag1","hashtag2"]},{"1350677352":["hashtag1","hashtag2"]},{"1350677346":["hashtag1","hashtag2"]},{"1350677348":["hashtag1","hashtag2"]},{"1350677350":["hashtag1","hashtag2"]},{"1350677347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677355, 1350677352, 1350677346, 1350677348, 1350677350, 1350677347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28636384010315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:56:33.109035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_36_10380.jpg', '/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_45_9455.jpg', '/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_55_10403.jpg', '/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_15_10368.jpg', '/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_35_9445.jpg', '/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_55_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_36_10380.jpg
/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_45_9455.jpg
/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_55_10403.jpg
/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_15_10368.jpg
/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_35_9445.jpg
/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_55_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677376","1350677379","1350677387","1350677381","1350677383","1350677385"],"photo_ids_order":["1350677376","1350677379","1350677381","1350677383","1350677385","1350677387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff2a45c9ac7025cac0e46d1404e16978.jpg","text":"TemporaryFile(/tmp/multipartBody759799751099021287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163855028,"filename":"image_06042025_10_12_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0cd5a216eec04922f4d81d723b85a672.jpg","text":"TemporaryFile(/tmp/multipartBody2756998193935008295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163855028,"filename":"image_06042025_10_12_45_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5e4a7346f60925593d3084014f570b19.jpg","text":"TemporaryFile(/tmp/multipartBody7045891000292727872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163855028,"filename":"image_06042025_10_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/4/9/66423d8132b135be043983889b876063.jpg","text":"TemporaryFile(/tmp/multipartBody5031443549765890555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163855028,"filename":"image_06042025_10_12_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/4/9/e4716987bd7ca7a2dd626210b24835c4.jpg","text":"TemporaryFile(/tmp/multipartBody646148337518067899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163855028,"filename":"image_06042025_10_13_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/4/9/e31c08e6acd74659d427a1274a3757f7.jpg","text":"TemporaryFile(/tmp/multipartBody8497891433746511494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744163855028,"filename":"image_06042025_10_13_35_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677381","file1":"1350677379","file0":"1350677376","file4":"1350677385","file5":"1350677387","file3":"1350677383"},"map_files_photo_id_array":[{"photo_id":"1350677387","filename":"file5"},{"photo_id":"1350677381","filename":"file2"},{"photo_id":"1350677385","filename":"file4"},{"photo_id":"1350677379","filename":"file1"},{"photo_id":"1350677376","filename":"file0"},{"photo_id":"1350677383","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677376":["hashtag1","hashtag2"]},{"1350677379":["hashtag1","hashtag2"]},{"1350677387":["hashtag1","hashtag2"]},{"1350677381":["hashtag1","hashtag2"]},{"1350677383":["hashtag1","hashtag2"]},{"1350677385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677376, 1350677379, 1350677387, 1350677381, 1350677383, 1350677385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.987998485565186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 03:57:32.320661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250325 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250326 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_16_10354.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_25_9432.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_35_10365.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_46_10364.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_55_9471.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_15_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_16_10354.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_25_9432.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_35_10365.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_46_10364.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_55_9471.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_15_06_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.845869779586792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 03:57:42.253324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_16_10354.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_25_9432.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_35_10365.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_46_10364.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_55_9471.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_15_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_16_10354.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_25_9432.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_35_10365.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_46_10364.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_55_9471.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_15_06_10357.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 03:59:03.772416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_16_10354.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_25_9432.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_35_10365.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_46_10364.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_55_9471.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_15_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_16_10354.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_25_9432.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_35_10365.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_46_10364.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_55_9471.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_15_06_10357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677454","1350677457","1350677446","1350677449","1350677440","1350677437"],"photo_ids_order":["1350677437","1350677440","1350677446","1350677449","1350677454","1350677457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f97ab3d137d6eeedc0820fec345ba64.jpg","text":"TemporaryFile(/tmp/multipartBody455945506411182306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164004933,"filename":"image_06042025_10_14_55_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a93b0143f048a0ea0433e387ea05b94b.jpg","text":"TemporaryFile(/tmp/multipartBody7141095722371963396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164004933,"filename":"image_06042025_10_15_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bfd6277161d55809d624c3735e87f69c.jpg","text":"TemporaryFile(/tmp/multipartBody5318142238928756563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164004933,"filename":"image_06042025_10_14_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/4/9/587bb171a96be43733d87b262a563c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7513397569676910091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164004933,"filename":"image_06042025_10_14_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/4/9/795bedb13f8560a0afd0c9b4e8283b19.jpg","text":"TemporaryFile(/tmp/multipartBody6054131702125093160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164004933,"filename":"image_06042025_10_14_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/4/9/9d04c6efd89b8f7f52198e15cdf0c4a7.jpg","text":"TemporaryFile(/tmp/multipartBody2553817175453300510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164004933,"filename":"image_06042025_10_14_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677446","file1":"1350677440","file0":"1350677437","file4":"1350677454","file5":"1350677457","file3":"1350677449"},"map_files_photo_id_array":[{"photo_id":"1350677457","filename":"file5"},{"photo_id":"1350677446","filename":"file2"},{"photo_id":"1350677454","filename":"file4"},{"photo_id":"1350677440","filename":"file1"},{"photo_id":"1350677437","filename":"file0"},{"photo_id":"1350677449","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1350677454":["hashtag1","hashtag2"]},{"1350677457":["hashtag1","hashtag2"]},{"1350677446":["hashtag1","hashtag2"]},{"1350677449":["hashtag1","hashtag2"]},{"1350677440":["hashtag1","hashtag2"]},{"1350677437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1350677454, 1350677457, 1350677446, 1350677449, 1350677440, 1350677437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.704326152801514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 03:59:42.682067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 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_09042025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 22151747, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1744164043000}
4310
2733404
4310
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_24_16326.jpg', '/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_28_4538.jpg', '/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_37_9324.jpg', '/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_48_10409.jpg', '/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_57_9434.jpg', '/home/pi/Desktop/images/09042025/00/01/image_09042025_00_02_08_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_24_16326.jpg
/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_28_4538.jpg
/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_37_9324.jpg
/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_48_10409.jpg
/home/pi/Desktop/images/09042025/00/01/image_09042025_00_01_57_9434.jpg
/home/pi/Desktop/images/09042025/00/01/image_09042025_00_02_08_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":["1350677466","1350677475","1350677469","1350677477","1350677479","1350677473"],"photo_ids_order":["1350677466","1350677469","1350677473","1350677475","1350677477","1350677479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2735f441f2515f9ff25567c5119887df.jpg","text":"TemporaryFile(/tmp/multipartBody3794829544450186859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164044004,"filename":"image_09042025_00_01_24_16326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b487d6c4092eea3fdefb9e293a3e1c7.jpg","text":"TemporaryFile(/tmp/multipartBody7744115474441288553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164044004,"filename":"image_09042025_00_01_48_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e819dd8d5323bc85c8ba94bfe6e6b50.jpg","text":"TemporaryFile(/tmp/multipartBody1818034976295738499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164044004,"filename":"image_09042025_00_01_28_4538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6585aa4301ee95f1a013750ca9891253.jpg","text":"TemporaryFile(/tmp/multipartBody8656688690594075884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164044004,"filename":"image_09042025_00_01_57_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c17fbe6707f9830114b7c989ebf5eb35.jpg","text":"TemporaryFile(/tmp/multipartBody2738344693685731894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164044004,"filename":"image_09042025_00_02_08_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/828b6d6e9ebaad758b40974c883f4699.jpg","text":"TemporaryFile(/tmp/multipartBody2516582452327938296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164044004,"filename":"image_09042025_00_01_37_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677473","file1":"1350677469","file0":"1350677466","file4":"1350677477","file5":"1350677479","file3":"1350677475"},"map_files_photo_id_array":[{"photo_id":"1350677479","filename":"file5"},{"photo_id":"1350677473","filename":"file2"},{"photo_id":"1350677477","filename":"file4"},{"photo_id":"1350677469","filename":"file1"},{"photo_id":"1350677466","filename":"file0"},{"photo_id":"1350677475","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677466":["hashtag1","hashtag2"]},{"1350677475":["hashtag1","hashtag2"]},{"1350677469":["hashtag1","hashtag2"]},{"1350677477":["hashtag1","hashtag2"]},{"1350677479":["hashtag1","hashtag2"]},{"1350677473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677466, 1350677475, 1350677469, 1350677477, 1350677479, 1350677473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.274924993515015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:00:32.964365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_18_10466.jpg', '/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_28_9364.jpg', '/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_38_10441.jpg', '/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_47_9346.jpg', '/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_58_10366.jpg', '/home/pi/Desktop/images/09042025/00/02/image_09042025_00_03_08_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_18_10466.jpg
/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_28_9364.jpg
/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_38_10441.jpg
/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_47_9346.jpg
/home/pi/Desktop/images/09042025/00/02/image_09042025_00_02_58_10366.jpg
/home/pi/Desktop/images/09042025/00/02/image_09042025_00_03_08_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":["1350677502","1350677508","1350677498","1350677501","1350677504","1350677490"],"photo_ids_order":["1350677490","1350677498","1350677501","1350677502","1350677504","1350677508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1f2110f8dfba785d4f81da849a2717c.jpg","text":"TemporaryFile(/tmp/multipartBody8089851980226110892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164093450,"filename":"image_09042025_00_02_47_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1292724aa0c5a23c2ccfb333210c9364.jpg","text":"TemporaryFile(/tmp/multipartBody613972398735103906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164093450,"filename":"image_09042025_00_03_08_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb7d99aaad87fd1e64959c89fb5fa178.jpg","text":"TemporaryFile(/tmp/multipartBody390350639828818456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164093450,"filename":"image_09042025_00_02_28_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aaab61fe569bcf2cac26287083c305ab.jpg","text":"TemporaryFile(/tmp/multipartBody9199671167001835125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164093450,"filename":"image_09042025_00_02_38_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/748674b076f8491af273ab8843ff586d.jpg","text":"TemporaryFile(/tmp/multipartBody5843607627359905935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164093450,"filename":"image_09042025_00_02_58_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4fa0ab6db1aff7e6dc0769e969773fd.jpg","text":"TemporaryFile(/tmp/multipartBody3423314720223394114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164093450,"filename":"image_09042025_00_02_18_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677501","file1":"1350677498","file0":"1350677490","file4":"1350677504","file5":"1350677508","file3":"1350677502"},"map_files_photo_id_array":[{"photo_id":"1350677508","filename":"file5"},{"photo_id":"1350677501","filename":"file2"},{"photo_id":"1350677504","filename":"file4"},{"photo_id":"1350677498","filename":"file1"},{"photo_id":"1350677490","filename":"file0"},{"photo_id":"1350677502","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677502":["hashtag1","hashtag2"]},{"1350677508":["hashtag1","hashtag2"]},{"1350677498":["hashtag1","hashtag2"]},{"1350677501":["hashtag1","hashtag2"]},{"1350677504":["hashtag1","hashtag2"]},{"1350677490":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677502, 1350677508, 1350677498, 1350677501, 1350677504, 1350677490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.12319588661194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:01:32.199877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_18_9460.jpg', '/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_28_10423.jpg', '/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_37_9357.jpg', '/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_48_10381.jpg', '/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_08_9365.jpg', '/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_28_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_18_9460.jpg
/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_28_10423.jpg
/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_37_9357.jpg
/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_48_10381.jpg
/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_08_9365.jpg
/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_28_9483.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3842761516571045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 04:01:42.176889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_18_9460.jpg', '/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_28_10423.jpg', '/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_37_9357.jpg', '/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_48_10381.jpg', '/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_08_9365.jpg', '/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_28_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_18_9460.jpg
/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_28_10423.jpg
/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_37_9357.jpg
/home/pi/Desktop/images/09042025/00/03/image_09042025_00_03_48_10381.jpg
/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_08_9365.jpg
/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_28_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677520","1350677532","1350677534","1350677530","1350677524","1350677527"],"photo_ids_order":["1350677520","1350677524","1350677527","1350677530","1350677532","1350677534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/390831948755876944e8c2b61582c6f7.jpg","text":"TemporaryFile(/tmp/multipartBody4262849246535757394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164162649,"filename":"image_09042025_00_03_18_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/919339c9d8fa498ffac0cec3825b4fcc.jpg","text":"TemporaryFile(/tmp/multipartBody4278141348180323897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164162649,"filename":"image_09042025_00_04_08_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7dd67f0216fa46cd1834d50d5bbf4815.jpg","text":"TemporaryFile(/tmp/multipartBody889668703827419233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164162649,"filename":"image_09042025_00_04_28_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/833cce4f226c9bf16cc14f1add155a87.jpg","text":"TemporaryFile(/tmp/multipartBody2654872585346576136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164162649,"filename":"image_09042025_00_03_48_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21496117e4d082824bb74fb2facb09ec.jpg","text":"TemporaryFile(/tmp/multipartBody6836906619468314767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164162649,"filename":"image_09042025_00_03_28_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3316df1361e37a7730b6e7cfbc6219ea.jpg","text":"TemporaryFile(/tmp/multipartBody5893052942677254279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164162649,"filename":"image_09042025_00_03_37_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677527","file1":"1350677524","file0":"1350677520","file4":"1350677532","file5":"1350677534","file3":"1350677530"},"map_files_photo_id_array":[{"photo_id":"1350677534","filename":"file5"},{"photo_id":"1350677527","filename":"file2"},{"photo_id":"1350677532","filename":"file4"},{"photo_id":"1350677524","filename":"file1"},{"photo_id":"1350677520","filename":"file0"},{"photo_id":"1350677530","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677520":["hashtag1","hashtag2"]},{"1350677532":["hashtag1","hashtag2"]},{"1350677534":["hashtag1","hashtag2"]},{"1350677530":["hashtag1","hashtag2"]},{"1350677524":["hashtag1","hashtag2"]},{"1350677527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677520, 1350677532, 1350677534, 1350677530, 1350677524, 1350677527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.819775104522705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:02:32.423661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_38_10423.jpg', '/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_47_9362.jpg', '/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_58_10384.jpg', '/home/pi/Desktop/images/09042025/00/04/image_09042025_00_05_07_9474.jpg', '/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_18_10375.jpg', '/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_28_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_38_10423.jpg
/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_47_9362.jpg
/home/pi/Desktop/images/09042025/00/04/image_09042025_00_04_58_10384.jpg
/home/pi/Desktop/images/09042025/00/04/image_09042025_00_05_07_9474.jpg
/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_18_10375.jpg
/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_28_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677556","1350677552","1350677549","1350677557","1350677554","1350677548"],"photo_ids_order":["1350677548","1350677549","1350677552","1350677554","1350677556","1350677557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b92fc30a42b9943ca40dfe62e9b2e142.jpg","text":"TemporaryFile(/tmp/multipartBody7642273864126432445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164212909,"filename":"image_09042025_00_05_18_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e50a94d14984255986d6352f28f5707.jpg","text":"TemporaryFile(/tmp/multipartBody5128404861217448067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164212909,"filename":"image_09042025_00_04_58_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da3b2745f0dc15ecae6e2e8bef793fc5.jpg","text":"TemporaryFile(/tmp/multipartBody5519595665414642569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164212909,"filename":"image_09042025_00_04_47_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2424a2855b9cc4e8ee731aa69ee76b10.jpg","text":"TemporaryFile(/tmp/multipartBody5778624951678073979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164212909,"filename":"image_09042025_00_05_28_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/02337777e4632c08efd9bd7c7d3128cc.jpg","text":"TemporaryFile(/tmp/multipartBody9120798369479275739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164212909,"filename":"image_09042025_00_05_07_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b165b326bdf810950365b85e56df834.jpg","text":"TemporaryFile(/tmp/multipartBody4246952798103879405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164212909,"filename":"image_09042025_00_04_38_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677552","file1":"1350677549","file0":"1350677548","file4":"1350677556","file5":"1350677557","file3":"1350677554"},"map_files_photo_id_array":[{"photo_id":"1350677557","filename":"file5"},{"photo_id":"1350677552","filename":"file2"},{"photo_id":"1350677556","filename":"file4"},{"photo_id":"1350677549","filename":"file1"},{"photo_id":"1350677548","filename":"file0"},{"photo_id":"1350677554","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677556":["hashtag1","hashtag2"]},{"1350677552":["hashtag1","hashtag2"]},{"1350677549":["hashtag1","hashtag2"]},{"1350677557":["hashtag1","hashtag2"]},{"1350677554":["hashtag1","hashtag2"]},{"1350677548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677556, 1350677552, 1350677549, 1350677557, 1350677554, 1350677548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.644150495529175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:03:32.664188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_37_9355.jpg', '/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_48_10379.jpg', '/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_57_9413.jpg', '/home/pi/Desktop/images/09042025/00/05/image_09042025_00_06_08_10360.jpg', '/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_18_10490.jpg', '/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_27_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_37_9355.jpg
/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_48_10379.jpg
/home/pi/Desktop/images/09042025/00/05/image_09042025_00_05_57_9413.jpg
/home/pi/Desktop/images/09042025/00/05/image_09042025_00_06_08_10360.jpg
/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_18_10490.jpg
/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_27_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":["1350677577","1350677576","1350677570","1350677573","1350677567","1350677575"],"photo_ids_order":["1350677567","1350677570","1350677573","1350677575","1350677576","1350677577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fb0a597d152fbfc1cf8189918348fc2a.jpg","text":"TemporaryFile(/tmp/multipartBody5824511654808390992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164273142,"filename":"image_09042025_00_06_27_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38adf6a3bed33d165649abf11c39e588.jpg","text":"TemporaryFile(/tmp/multipartBody2397669243588754165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164273142,"filename":"image_09042025_00_06_18_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b83c07e113b312aebb3f0020d0f695a6.jpg","text":"TemporaryFile(/tmp/multipartBody2291345710017087687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164273142,"filename":"image_09042025_00_05_48_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/164b9d5cdb88730a49848d917027c269.jpg","text":"TemporaryFile(/tmp/multipartBody4292976862610228399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164273142,"filename":"image_09042025_00_05_57_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/729736916b866a0a64774dc90d55e43c.jpg","text":"TemporaryFile(/tmp/multipartBody160435050565290860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164273142,"filename":"image_09042025_00_05_37_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b5d10addc9d14d8b80723dfe25d0d9d.jpg","text":"TemporaryFile(/tmp/multipartBody8039811136411398598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164273142,"filename":"image_09042025_00_06_08_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677573","file1":"1350677570","file0":"1350677567","file4":"1350677576","file5":"1350677577","file3":"1350677575"},"map_files_photo_id_array":[{"photo_id":"1350677577","filename":"file5"},{"photo_id":"1350677573","filename":"file2"},{"photo_id":"1350677576","filename":"file4"},{"photo_id":"1350677570","filename":"file1"},{"photo_id":"1350677567","filename":"file0"},{"photo_id":"1350677575","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677577":["hashtag1","hashtag2"]},{"1350677576":["hashtag1","hashtag2"]},{"1350677570":["hashtag1","hashtag2"]},{"1350677573":["hashtag1","hashtag2"]},{"1350677567":["hashtag1","hashtag2"]},{"1350677575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677577, 1350677576, 1350677570, 1350677573, 1350677567, 1350677575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75649070739746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:04:32.809474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_38_10390.jpg', '/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_47_9432.jpg', '/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_58_10384.jpg', '/home/pi/Desktop/images/09042025/00/06/image_09042025_00_07_08_10474.jpg', '/home/pi/Desktop/images/09042025/00/07/image_09042025_00_07_18_9371.jpg', '/home/pi/Desktop/images/09042025/00/07/image_09042025_00_07_28_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_38_10390.jpg
/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_47_9432.jpg
/home/pi/Desktop/images/09042025/00/06/image_09042025_00_06_58_10384.jpg
/home/pi/Desktop/images/09042025/00/06/image_09042025_00_07_08_10474.jpg
/home/pi/Desktop/images/09042025/00/07/image_09042025_00_07_18_9371.jpg
/home/pi/Desktop/images/09042025/00/07/image_09042025_00_07_28_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":["1350677602","1350677604","1350677607","1350677609","1350677606","1350677611"],"photo_ids_order":["1350677602","1350677604","1350677606","1350677607","1350677609","1350677611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6561bf8d401cc8ea65517e016cbab66.jpg","text":"TemporaryFile(/tmp/multipartBody4957406836724844551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164333300,"filename":"image_09042025_00_06_38_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30e7e7959cb734cd8005bf5a3fa18740.jpg","text":"TemporaryFile(/tmp/multipartBody7156674130116041257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164333300,"filename":"image_09042025_00_06_47_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f089063ebaadc114206584c2f6c03686.jpg","text":"TemporaryFile(/tmp/multipartBody987238290929270361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164333300,"filename":"image_09042025_00_07_08_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6a1498d17b805f57ddc1d6229e0f2a6.jpg","text":"TemporaryFile(/tmp/multipartBody6878438432941764523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164333300,"filename":"image_09042025_00_07_18_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1dcb82d96a8e3342018ed89a812b852.jpg","text":"TemporaryFile(/tmp/multipartBody3387066257906336536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164333300,"filename":"image_09042025_00_06_58_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc7c07a8b69473a329f4d8b019ff20d3.jpg","text":"TemporaryFile(/tmp/multipartBody4103558673904609877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164333300,"filename":"image_09042025_00_07_28_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677606","file1":"1350677604","file0":"1350677602","file4":"1350677609","file5":"1350677611","file3":"1350677607"},"map_files_photo_id_array":[{"photo_id":"1350677611","filename":"file5"},{"photo_id":"1350677606","filename":"file2"},{"photo_id":"1350677609","filename":"file4"},{"photo_id":"1350677604","filename":"file1"},{"photo_id":"1350677602","filename":"file0"},{"photo_id":"1350677607","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677602":["hashtag1","hashtag2"]},{"1350677604":["hashtag1","hashtag2"]},{"1350677607":["hashtag1","hashtag2"]},{"1350677609":["hashtag1","hashtag2"]},{"1350677606":["hashtag1","hashtag2"]},{"1350677611":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677602, 1350677604, 1350677607, 1350677609, 1350677606, 1350677611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.830021142959595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:05:33.151251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/07/image_09042025_00_07_48_10433.jpg', '/home/pi/Desktop/images/09042025/00/07/image_09042025_00_07_58_10372.jpg', '/home/pi/Desktop/images/09042025/00/07/image_09042025_00_08_08_9396.jpg', '/home/pi/Desktop/images/09042025/00/08/image_09042025_00_08_27_9383.jpg', '/home/pi/Desktop/images/09042025/00/08/image_09042025_00_08_48_10366.jpg', '/home/pi/Desktop/images/09042025/00/08/image_09042025_00_08_58_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/07/image_09042025_00_07_48_10433.jpg
/home/pi/Desktop/images/09042025/00/07/image_09042025_00_07_58_10372.jpg
/home/pi/Desktop/images/09042025/00/07/image_09042025_00_08_08_9396.jpg
/home/pi/Desktop/images/09042025/00/08/image_09042025_00_08_27_9383.jpg
/home/pi/Desktop/images/09042025/00/08/image_09042025_00_08_48_10366.jpg
/home/pi/Desktop/images/09042025/00/08/image_09042025_00_08_58_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":["1350677640","1350677634","1350677630","1350677636","1350677638","1350677632"],"photo_ids_order":["1350677630","1350677632","1350677634","1350677636","1350677638","1350677640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b8118d4af07eea84e07a78f1c5ada84.jpg","text":"TemporaryFile(/tmp/multipartBody2587161605252267083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164393626,"filename":"image_09042025_00_08_58_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0fb4ec7a25212188c08312a24fa21c80.jpg","text":"TemporaryFile(/tmp/multipartBody6488325797568053790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164393626,"filename":"image_09042025_00_08_08_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6688f057c78973604f04d9c856588c5.jpg","text":"TemporaryFile(/tmp/multipartBody3576903579312260771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164393626,"filename":"image_09042025_00_07_48_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d544fb450928dfbab9f94327c281799c.jpg","text":"TemporaryFile(/tmp/multipartBody4808864793600484109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164393626,"filename":"image_09042025_00_08_27_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a47483702aa7ba4a72fbe0772c319ade.jpg","text":"TemporaryFile(/tmp/multipartBody2284916024946151161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164393626,"filename":"image_09042025_00_08_48_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b05c29098264d412bd58e330d5020fb.jpg","text":"TemporaryFile(/tmp/multipartBody1646776790717041543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164393626,"filename":"image_09042025_00_07_58_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677634","file1":"1350677632","file0":"1350677630","file4":"1350677638","file5":"1350677640","file3":"1350677636"},"map_files_photo_id_array":[{"photo_id":"1350677640","filename":"file5"},{"photo_id":"1350677634","filename":"file2"},{"photo_id":"1350677638","filename":"file4"},{"photo_id":"1350677632","filename":"file1"},{"photo_id":"1350677630","filename":"file0"},{"photo_id":"1350677636","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677640":["hashtag1","hashtag2"]},{"1350677634":["hashtag1","hashtag2"]},{"1350677630":["hashtag1","hashtag2"]},{"1350677636":["hashtag1","hashtag2"]},{"1350677638":["hashtag1","hashtag2"]},{"1350677632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677640, 1350677634, 1350677630, 1350677636, 1350677638, 1350677632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.253485918045044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:06:32.376749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/08/image_09042025_00_09_08_10415.jpg', '/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_17_9371.jpg', '/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_28_10389.jpg', '/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_38_10421.jpg', '/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_48_9418.jpg', '/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_58_10501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/08/image_09042025_00_09_08_10415.jpg
/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_17_9371.jpg
/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_28_10389.jpg
/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_38_10421.jpg
/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_48_9418.jpg
/home/pi/Desktop/images/09042025/00/09/image_09042025_00_09_58_10501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677661","1350677663","1350677657","1350677666","1350677669","1350677668"],"photo_ids_order":["1350677657","1350677661","1350677663","1350677666","1350677668","1350677669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ba8327d31000dbd61c015378b74ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody4944379097716792966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164452851,"filename":"image_09042025_00_09_17_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a59e48f5d8014a9520cd41487d86689.jpg","text":"TemporaryFile(/tmp/multipartBody4694729270771577209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164452851,"filename":"image_09042025_00_09_28_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f97ddc524f21882b88394fe0f92f6eb.jpg","text":"TemporaryFile(/tmp/multipartBody145058803235866343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164452851,"filename":"image_09042025_00_09_08_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ce00958921c8935a49ac6791b255c83c.jpg","text":"TemporaryFile(/tmp/multipartBody7389596543156579559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164452851,"filename":"image_09042025_00_09_38_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff768bf29eb3bbecbe3183e41ce43c81.jpg","text":"TemporaryFile(/tmp/multipartBody7243146164472445262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164452851,"filename":"image_09042025_00_09_58_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a60c1e9a11fb7a9cc4493e0a8bbe0321.jpg","text":"TemporaryFile(/tmp/multipartBody8960867121877146775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164452851,"filename":"image_09042025_00_09_48_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677663","file1":"1350677661","file0":"1350677657","file4":"1350677668","file5":"1350677669","file3":"1350677666"},"map_files_photo_id_array":[{"photo_id":"1350677669","filename":"file5"},{"photo_id":"1350677663","filename":"file2"},{"photo_id":"1350677668","filename":"file4"},{"photo_id":"1350677661","filename":"file1"},{"photo_id":"1350677657","filename":"file0"},{"photo_id":"1350677666","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677661":["hashtag1","hashtag2"]},{"1350677663":["hashtag1","hashtag2"]},{"1350677657":["hashtag1","hashtag2"]},{"1350677666":["hashtag1","hashtag2"]},{"1350677669":["hashtag1","hashtag2"]},{"1350677668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677661, 1350677663, 1350677657, 1350677666, 1350677669, 1350677668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80260682106018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:07:32.589759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/09/image_09042025_00_10_08_9365.jpg', '/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_18_10472.jpg', '/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_27_9415.jpg', '/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_38_10395.jpg', '/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_47_9471.jpg', '/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_58_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/09/image_09042025_00_10_08_9365.jpg
/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_18_10472.jpg
/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_27_9415.jpg
/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_38_10395.jpg
/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_47_9471.jpg
/home/pi/Desktop/images/09042025/00/10/image_09042025_00_10_58_10481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677693","1350677699","1350677702","1350677692","1350677695","1350677697"],"photo_ids_order":["1350677692","1350677693","1350677695","1350677697","1350677699","1350677702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/692f5f431dc3a99b8eb1c9cb4baf7d26.jpg","text":"TemporaryFile(/tmp/multipartBody681797091740395648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164513067,"filename":"image_09042025_00_10_18_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e937aef5cebecae52a71210540f88ab8.jpg","text":"TemporaryFile(/tmp/multipartBody683420287814629249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164513067,"filename":"image_09042025_00_10_47_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38aab613593e5a3c556b6dfc5bc51e5f.jpg","text":"TemporaryFile(/tmp/multipartBody3747579608044803275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164513067,"filename":"image_09042025_00_10_58_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b166fbe81d5059ce83a34addf1332bbb.jpg","text":"TemporaryFile(/tmp/multipartBody5650569879501156983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164513067,"filename":"image_09042025_00_10_08_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9476fa76e6b7449a02baf4f898cdc48c.jpg","text":"TemporaryFile(/tmp/multipartBody2526191873979204447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164513067,"filename":"image_09042025_00_10_27_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/58213ec8097afee892a0af4c6a4beba9.jpg","text":"TemporaryFile(/tmp/multipartBody1250750181637169079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164513067,"filename":"image_09042025_00_10_38_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677695","file1":"1350677693","file0":"1350677692","file4":"1350677699","file5":"1350677702","file3":"1350677697"},"map_files_photo_id_array":[{"photo_id":"1350677702","filename":"file5"},{"photo_id":"1350677695","filename":"file2"},{"photo_id":"1350677699","filename":"file4"},{"photo_id":"1350677693","filename":"file1"},{"photo_id":"1350677692","filename":"file0"},{"photo_id":"1350677697","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677693":["hashtag1","hashtag2"]},{"1350677699":["hashtag1","hashtag2"]},{"1350677702":["hashtag1","hashtag2"]},{"1350677692":["hashtag1","hashtag2"]},{"1350677695":["hashtag1","hashtag2"]},{"1350677697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677693, 1350677699, 1350677702, 1350677692, 1350677695, 1350677697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68852758407593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:08:32.856623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/10/image_09042025_00_11_08_10379.jpg', '/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_18_9375.jpg', '/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_28_10373.jpg', '/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_37_9421.jpg', '/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_48_10361.jpg', '/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_58_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/10/image_09042025_00_11_08_10379.jpg
/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_18_9375.jpg
/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_28_10373.jpg
/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_37_9421.jpg
/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_48_10361.jpg
/home/pi/Desktop/images/09042025/00/11/image_09042025_00_11_58_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":["1350677727","1350677720","1350677723","1350677717","1350677725","1350677728"],"photo_ids_order":["1350677717","1350677720","1350677723","1350677725","1350677727","1350677728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d10b283c4f03750dd969b564d99c967.jpg","text":"TemporaryFile(/tmp/multipartBody3256037143795028045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164573358,"filename":"image_09042025_00_11_48_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8274368d7968f3e09a939a031c422f83.jpg","text":"TemporaryFile(/tmp/multipartBody3565905298570710270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164573358,"filename":"image_09042025_00_11_18_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/60f7af271788091444a8894ce01011fa.jpg","text":"TemporaryFile(/tmp/multipartBody8605178001940408576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164573358,"filename":"image_09042025_00_11_28_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc8753a182b80e269bd60aceead2b8b1.jpg","text":"TemporaryFile(/tmp/multipartBody4375830770330665867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164573358,"filename":"image_09042025_00_11_08_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b90f95bbf64cdb4a552346be06202424.jpg","text":"TemporaryFile(/tmp/multipartBody4682487868957389204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164573358,"filename":"image_09042025_00_11_37_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee63ebb006636c13914152a16236f85a.jpg","text":"TemporaryFile(/tmp/multipartBody5783114331905520997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164573358,"filename":"image_09042025_00_11_58_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677723","file1":"1350677720","file0":"1350677717","file4":"1350677727","file5":"1350677728","file3":"1350677725"},"map_files_photo_id_array":[{"photo_id":"1350677728","filename":"file5"},{"photo_id":"1350677723","filename":"file2"},{"photo_id":"1350677727","filename":"file4"},{"photo_id":"1350677720","filename":"file1"},{"photo_id":"1350677717","filename":"file0"},{"photo_id":"1350677725","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677727":["hashtag1","hashtag2"]},{"1350677720":["hashtag1","hashtag2"]},{"1350677723":["hashtag1","hashtag2"]},{"1350677717":["hashtag1","hashtag2"]},{"1350677725":["hashtag1","hashtag2"]},{"1350677728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677727, 1350677720, 1350677723, 1350677717, 1350677725, 1350677728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31809735298157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:09:33.148442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/11/image_09042025_00_12_07_9369.jpg', '/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_18_10397.jpg', '/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_28_10355.jpg', '/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_38_9462.jpg', '/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_48_10464.jpg', '/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_58_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/11/image_09042025_00_12_07_9369.jpg
/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_18_10397.jpg
/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_28_10355.jpg
/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_38_9462.jpg
/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_48_10464.jpg
/home/pi/Desktop/images/09042025/00/12/image_09042025_00_12_58_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":["1350677757","1350677744","1350677753","1350677747","1350677755","1350677749"],"photo_ids_order":["1350677744","1350677747","1350677749","1350677753","1350677755","1350677757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e27d140932a42c09c81d4d75af6cdb0.jpg","text":"TemporaryFile(/tmp/multipartBody8289496497851453157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164633620,"filename":"image_09042025_00_12_58_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e8404b9c7c0491979bba031137f23ef.jpg","text":"TemporaryFile(/tmp/multipartBody8041056568618856572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164633620,"filename":"image_09042025_00_12_07_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a564165bac240b718142c45c153c114.jpg","text":"TemporaryFile(/tmp/multipartBody8508746336675728187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164633620,"filename":"image_09042025_00_12_38_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c85408c17631db53a2a265d137fbb2e6.jpg","text":"TemporaryFile(/tmp/multipartBody6949178111467951033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164633620,"filename":"image_09042025_00_12_18_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b16b9b6c471724596f9705bd964739f0.jpg","text":"TemporaryFile(/tmp/multipartBody2720128100287098638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164633620,"filename":"image_09042025_00_12_48_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9650fe4ee68c27a5b27dac3d129c959.jpg","text":"TemporaryFile(/tmp/multipartBody247290503116902850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164633620,"filename":"image_09042025_00_12_28_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677749","file1":"1350677747","file0":"1350677744","file4":"1350677755","file5":"1350677757","file3":"1350677753"},"map_files_photo_id_array":[{"photo_id":"1350677757","filename":"file5"},{"photo_id":"1350677749","filename":"file2"},{"photo_id":"1350677755","filename":"file4"},{"photo_id":"1350677747","filename":"file1"},{"photo_id":"1350677744","filename":"file0"},{"photo_id":"1350677753","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677757":["hashtag1","hashtag2"]},{"1350677744":["hashtag1","hashtag2"]},{"1350677753":["hashtag1","hashtag2"]},{"1350677747":["hashtag1","hashtag2"]},{"1350677755":["hashtag1","hashtag2"]},{"1350677749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677757, 1350677744, 1350677753, 1350677747, 1350677755, 1350677749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.795979261398315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:10:32.338702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/12/image_09042025_00_13_08_10413.jpg', '/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_17_9379.jpg', '/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_28_10386.jpg', '/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_38_10502.jpg', '/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_48_9345.jpg', '/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_58_10538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/12/image_09042025_00_13_08_10413.jpg
/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_17_9379.jpg
/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_28_10386.jpg
/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_38_10502.jpg
/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_48_9345.jpg
/home/pi/Desktop/images/09042025/00/13/image_09042025_00_13_58_10538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677774","1350677783","1350677777","1350677779","1350677782","1350677781"],"photo_ids_order":["1350677774","1350677777","1350677779","1350677781","1350677782","1350677783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e61d1f60687b9db31738676b9b4cec38.jpg","text":"TemporaryFile(/tmp/multipartBody8990132498856375453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164692820,"filename":"image_09042025_00_13_08_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/768130ab1620c9fda179986a957bd83f.jpg","text":"TemporaryFile(/tmp/multipartBody4164791541882263491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164692820,"filename":"image_09042025_00_13_58_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a63ca31365802131961a8caddaa0363.jpg","text":"TemporaryFile(/tmp/multipartBody6728265903558068777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164692820,"filename":"image_09042025_00_13_17_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4acf326abd20fe8d6b78cdd5d912ad6d.jpg","text":"TemporaryFile(/tmp/multipartBody98047693890026764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164692820,"filename":"image_09042025_00_13_28_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8b1969db4e8b2cfefe7df827c0a0572.jpg","text":"TemporaryFile(/tmp/multipartBody191600838498690969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164692820,"filename":"image_09042025_00_13_48_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c52d3ffb6b7a47735e4762d46c887fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3806413737038799253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164692820,"filename":"image_09042025_00_13_38_10502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677779","file1":"1350677777","file0":"1350677774","file4":"1350677782","file5":"1350677783","file3":"1350677781"},"map_files_photo_id_array":[{"photo_id":"1350677783","filename":"file5"},{"photo_id":"1350677779","filename":"file2"},{"photo_id":"1350677782","filename":"file4"},{"photo_id":"1350677777","filename":"file1"},{"photo_id":"1350677774","filename":"file0"},{"photo_id":"1350677781","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677774":["hashtag1","hashtag2"]},{"1350677783":["hashtag1","hashtag2"]},{"1350677777":["hashtag1","hashtag2"]},{"1350677779":["hashtag1","hashtag2"]},{"1350677782":["hashtag1","hashtag2"]},{"1350677781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677774, 1350677783, 1350677777, 1350677779, 1350677782, 1350677781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26001834869385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:11:32.673258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/13/image_09042025_00_14_08_9462.jpg', '/home/pi/Desktop/images/09042025/00/14/image_09042025_00_14_18_10506.jpg', '/home/pi/Desktop/images/09042025/00/14/image_09042025_00_14_27_9376.jpg', '/home/pi/Desktop/images/09042025/00/14/image_09042025_00_14_38_10374.jpg', '/home/pi/Desktop/images/09042025/00/14/image_09042025_00_14_58_10434.jpg', '/home/pi/Desktop/images/09042025/00/14/image_09042025_00_15_08_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/13/image_09042025_00_14_08_9462.jpg
/home/pi/Desktop/images/09042025/00/14/image_09042025_00_14_18_10506.jpg
/home/pi/Desktop/images/09042025/00/14/image_09042025_00_14_27_9376.jpg
/home/pi/Desktop/images/09042025/00/14/image_09042025_00_14_38_10374.jpg
/home/pi/Desktop/images/09042025/00/14/image_09042025_00_14_58_10434.jpg
/home/pi/Desktop/images/09042025/00/14/image_09042025_00_15_08_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677795","1350677810","1350677801","1350677803","1350677812","1350677806"],"photo_ids_order":["1350677795","1350677801","1350677803","1350677806","1350677810","1350677812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/92e59c235d628df00083f0a06046b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody8702128879011994175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164753157,"filename":"image_09042025_00_14_08_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ce8cfeed11cf98d309e5b6eafdbf5f03.jpg","text":"TemporaryFile(/tmp/multipartBody2502704026508294816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164753157,"filename":"image_09042025_00_14_58_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48a43460f84c4c032b182ccdb03369e3.jpg","text":"TemporaryFile(/tmp/multipartBody5702486684663839291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164753157,"filename":"image_09042025_00_14_18_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/be13700325be94d9770ff44388a6f96a.jpg","text":"TemporaryFile(/tmp/multipartBody8506777084628729470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164753157,"filename":"image_09042025_00_14_27_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e222c95ec6576f5b643b2950d6d17e7.jpg","text":"TemporaryFile(/tmp/multipartBody1007420621866508531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164753157,"filename":"image_09042025_00_15_08_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/117993e6a880b5a210dbbc0b04e31b6c.jpg","text":"TemporaryFile(/tmp/multipartBody706852178024891274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164753157,"filename":"image_09042025_00_14_38_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677803","file1":"1350677801","file0":"1350677795","file4":"1350677810","file5":"1350677812","file3":"1350677806"},"map_files_photo_id_array":[{"photo_id":"1350677812","filename":"file5"},{"photo_id":"1350677803","filename":"file2"},{"photo_id":"1350677810","filename":"file4"},{"photo_id":"1350677801","filename":"file1"},{"photo_id":"1350677795","filename":"file0"},{"photo_id":"1350677806","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677795":["hashtag1","hashtag2"]},{"1350677810":["hashtag1","hashtag2"]},{"1350677801":["hashtag1","hashtag2"]},{"1350677803":["hashtag1","hashtag2"]},{"1350677812":["hashtag1","hashtag2"]},{"1350677806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677795, 1350677810, 1350677801, 1350677803, 1350677812, 1350677806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.50980353355408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:12:32.983165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_17_9368.jpg', '/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_28_10398.jpg', '/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_38_10405.jpg', '/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_48_9344.jpg', '/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_58_10444.jpg', '/home/pi/Desktop/images/09042025/00/15/image_09042025_00_16_07_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_17_9368.jpg
/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_28_10398.jpg
/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_38_10405.jpg
/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_48_9344.jpg
/home/pi/Desktop/images/09042025/00/15/image_09042025_00_15_58_10444.jpg
/home/pi/Desktop/images/09042025/00/15/image_09042025_00_16_07_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":["1350677826","1350677829","1350677825","1350677819","1350677822","1350677824"],"photo_ids_order":["1350677819","1350677822","1350677824","1350677825","1350677826","1350677829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d52c984d7f9befd2628806cb387f680.jpg","text":"TemporaryFile(/tmp/multipartBody1900800190111687883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164813458,"filename":"image_09042025_00_15_58_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0eb59095c6eaf3f5e238e4be72c2f90e.jpg","text":"TemporaryFile(/tmp/multipartBody5257550087903254862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164813458,"filename":"image_09042025_00_16_07_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cd010a04ca62d066ffce90d81aacac2.jpg","text":"TemporaryFile(/tmp/multipartBody9137569863301203286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164813458,"filename":"image_09042025_00_15_48_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/63c900492636b542152a5a2e06ec21bc.jpg","text":"TemporaryFile(/tmp/multipartBody6448112288281687883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164813458,"filename":"image_09042025_00_15_17_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/924afd420e99dfef465bc93d963d2297.jpg","text":"TemporaryFile(/tmp/multipartBody5370307687357518566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164813458,"filename":"image_09042025_00_15_28_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44b01587fc5b667f802974a15d9dd561.jpg","text":"TemporaryFile(/tmp/multipartBody4355408848107549919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164813458,"filename":"image_09042025_00_15_38_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677824","file1":"1350677822","file0":"1350677819","file4":"1350677826","file5":"1350677829","file3":"1350677825"},"map_files_photo_id_array":[{"photo_id":"1350677829","filename":"file5"},{"photo_id":"1350677824","filename":"file2"},{"photo_id":"1350677826","filename":"file4"},{"photo_id":"1350677822","filename":"file1"},{"photo_id":"1350677819","filename":"file0"},{"photo_id":"1350677825","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677826":["hashtag1","hashtag2"]},{"1350677829":["hashtag1","hashtag2"]},{"1350677825":["hashtag1","hashtag2"]},{"1350677819":["hashtag1","hashtag2"]},{"1350677822":["hashtag1","hashtag2"]},{"1350677824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677826, 1350677829, 1350677825, 1350677819, 1350677822, 1350677824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80015683174133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:13:32.393904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_18_10364.jpg', '/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_28_10446.jpg', '/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_38_9362.jpg', '/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_48_10473.jpg', '/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_57_9357.jpg', '/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_17_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_18_10364.jpg
/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_28_10446.jpg
/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_38_9362.jpg
/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_48_10473.jpg
/home/pi/Desktop/images/09042025/00/16/image_09042025_00_16_57_9357.jpg
/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_17_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350677847","1350677841","1350677835","1350677838","1350677837","1350677845"],"photo_ids_order":["1350677835","1350677837","1350677838","1350677841","1350677845","1350677847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/584a79e0f0d22add2b46eb26a3d9777d.jpg","text":"TemporaryFile(/tmp/multipartBody1795865679991648737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164872861,"filename":"image_09042025_00_17_17_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01a0ceb94bae9ea4d753e56e4d815468.jpg","text":"TemporaryFile(/tmp/multipartBody610257927404036199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164872861,"filename":"image_09042025_00_16_48_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c21a62ded85efebb309fc9d47ad510f4.jpg","text":"TemporaryFile(/tmp/multipartBody6974324655995944116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164872861,"filename":"image_09042025_00_16_18_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85d324baaa1b0b571f0f29e388f0c997.jpg","text":"TemporaryFile(/tmp/multipartBody2564190484417447051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164872861,"filename":"image_09042025_00_16_38_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18ebe4e6c848bb593c1772ad32a9fb07.jpg","text":"TemporaryFile(/tmp/multipartBody5163138059000709161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164872861,"filename":"image_09042025_00_16_28_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/034ea66217eec5f2c382a139264dbf18.jpg","text":"TemporaryFile(/tmp/multipartBody1827609202429962069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164872861,"filename":"image_09042025_00_16_57_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677838","file1":"1350677837","file0":"1350677835","file4":"1350677845","file5":"1350677847","file3":"1350677841"},"map_files_photo_id_array":[{"photo_id":"1350677847","filename":"file5"},{"photo_id":"1350677838","filename":"file2"},{"photo_id":"1350677845","filename":"file4"},{"photo_id":"1350677837","filename":"file1"},{"photo_id":"1350677835","filename":"file0"},{"photo_id":"1350677841","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677847":["hashtag1","hashtag2"]},{"1350677841":["hashtag1","hashtag2"]},{"1350677835":["hashtag1","hashtag2"]},{"1350677838":["hashtag1","hashtag2"]},{"1350677837":["hashtag1","hashtag2"]},{"1350677845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677847, 1350677841, 1350677835, 1350677838, 1350677837, 1350677845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25192332267761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:14:32.440440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_28_10386.jpg', '/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_38_10531.jpg', '/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_48_9355.jpg', '/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_58_10383.jpg', '/home/pi/Desktop/images/09042025/00/17/image_09042025_00_18_07_9372.jpg', '/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_18_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_28_10386.jpg
/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_38_10531.jpg
/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_48_9355.jpg
/home/pi/Desktop/images/09042025/00/17/image_09042025_00_17_58_10383.jpg
/home/pi/Desktop/images/09042025/00/17/image_09042025_00_18_07_9372.jpg
/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_18_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":["1350677868","1350677861","1350677864","1350677858","1350677866","1350677869"],"photo_ids_order":["1350677858","1350677861","1350677864","1350677866","1350677868","1350677869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5f74062e45d7c4159fa83a5ce04af10b.jpg","text":"TemporaryFile(/tmp/multipartBody2307649433483027487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164932928,"filename":"image_09042025_00_18_07_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/228883780d9256da4a25eeff9a0c1ad3.jpg","text":"TemporaryFile(/tmp/multipartBody5469878113450002371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164932928,"filename":"image_09042025_00_17_38_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/acf106db7bc64fff98d899e42c54cdf3.jpg","text":"TemporaryFile(/tmp/multipartBody4655322815687920759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164932928,"filename":"image_09042025_00_17_48_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66abc8fcfa188f6fcb12c60692f4d96d.jpg","text":"TemporaryFile(/tmp/multipartBody6726101155856951468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164932928,"filename":"image_09042025_00_17_28_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0aa2773a4028d418ef7ab14c5047ce39.jpg","text":"TemporaryFile(/tmp/multipartBody598057045697044119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164932928,"filename":"image_09042025_00_17_58_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b456c8e221c7d3e7960cbbc3a0ebe70.jpg","text":"TemporaryFile(/tmp/multipartBody4932122650982903867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164932928,"filename":"image_09042025_00_18_18_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677864","file1":"1350677861","file0":"1350677858","file4":"1350677868","file5":"1350677869","file3":"1350677866"},"map_files_photo_id_array":[{"photo_id":"1350677869","filename":"file5"},{"photo_id":"1350677864","filename":"file2"},{"photo_id":"1350677868","filename":"file4"},{"photo_id":"1350677861","filename":"file1"},{"photo_id":"1350677858","filename":"file0"},{"photo_id":"1350677866","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677868":["hashtag1","hashtag2"]},{"1350677861":["hashtag1","hashtag2"]},{"1350677864":["hashtag1","hashtag2"]},{"1350677858":["hashtag1","hashtag2"]},{"1350677866":["hashtag1","hashtag2"]},{"1350677869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677868, 1350677861, 1350677864, 1350677858, 1350677866, 1350677869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56514620780945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:15:32.653458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_28_10536.jpg', '/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_38_9371.jpg', '/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_48_10452.jpg', '/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_57_9451.jpg', '/home/pi/Desktop/images/09042025/00/18/image_09042025_00_19_08_10577.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_17_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_28_10536.jpg
/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_38_9371.jpg
/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_48_10452.jpg
/home/pi/Desktop/images/09042025/00/18/image_09042025_00_18_57_9451.jpg
/home/pi/Desktop/images/09042025/00/18/image_09042025_00_19_08_10577.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_17_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":["1350677883","1350677886","1350677885","1350677884","1350677881","1350677880"],"photo_ids_order":["1350677880","1350677881","1350677883","1350677884","1350677885","1350677886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2883550cf6f233a6e19d0558d57c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody2365921035040923981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164993117,"filename":"image_09042025_00_18_48_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8f9d10a0f1cff25aeb48dbed5e5851f5.jpg","text":"TemporaryFile(/tmp/multipartBody6017455584312319294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164993117,"filename":"image_09042025_00_19_17_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/209b3345d753fb79a1492bb9dc431b26.jpg","text":"TemporaryFile(/tmp/multipartBody9051925147801711703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164993117,"filename":"image_09042025_00_19_08_10577.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c638e36c1c1d53c9dc84e51490094bf.jpg","text":"TemporaryFile(/tmp/multipartBody7422035848803957905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164993117,"filename":"image_09042025_00_18_57_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/87ea9d28f9c6b753709ae7a41dc40ec5.jpg","text":"TemporaryFile(/tmp/multipartBody5124553142140537430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164993117,"filename":"image_09042025_00_18_38_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/063ed3bebf230b2f5699750b99cf6460.jpg","text":"TemporaryFile(/tmp/multipartBody1090120993938320053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744164993117,"filename":"image_09042025_00_18_28_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677883","file1":"1350677881","file0":"1350677880","file4":"1350677885","file5":"1350677886","file3":"1350677884"},"map_files_photo_id_array":[{"photo_id":"1350677886","filename":"file5"},{"photo_id":"1350677883","filename":"file2"},{"photo_id":"1350677885","filename":"file4"},{"photo_id":"1350677881","filename":"file1"},{"photo_id":"1350677880","filename":"file0"},{"photo_id":"1350677884","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677883":["hashtag1","hashtag2"]},{"1350677886":["hashtag1","hashtag2"]},{"1350677885":["hashtag1","hashtag2"]},{"1350677884":["hashtag1","hashtag2"]},{"1350677881":["hashtag1","hashtag2"]},{"1350677880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677883, 1350677886, 1350677885, 1350677884, 1350677881, 1350677880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88987994194031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:16:32.926027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_28_10382.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_38_10405.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_48_9398.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_58_10421.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_20_07_9352.jpg', '/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_18_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_28_10382.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_38_10405.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_48_9398.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_58_10421.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_20_07_9352.jpg
/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_18_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3957967758178711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 04:16:42.962313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_28_10382.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_38_10405.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_48_9398.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_58_10421.jpg', '/home/pi/Desktop/images/09042025/00/19/image_09042025_00_20_07_9352.jpg', '/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_18_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_28_10382.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_38_10405.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_48_9398.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_19_58_10421.jpg
/home/pi/Desktop/images/09042025/00/19/image_09042025_00_20_07_9352.jpg
/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_18_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":["1350677908","1350677913","1350677910","1350677903","1350677906","1350677915"],"photo_ids_order":["1350677903","1350677906","1350677908","1350677910","1350677913","1350677915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/95c019fa9375a784266a6f693f0cf371.jpg","text":"TemporaryFile(/tmp/multipartBody7899953634326568368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165063430,"filename":"image_09042025_00_19_48_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db29b76858ce832d3ed2c2d7cb87ebd8.jpg","text":"TemporaryFile(/tmp/multipartBody5310704954238302934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165063430,"filename":"image_09042025_00_20_07_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dede6ca80ca418a3c73bbaf4887b42ba.jpg","text":"TemporaryFile(/tmp/multipartBody5519804294614240466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165063430,"filename":"image_09042025_00_19_58_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36a234ebaec7ca3e186e20915dad2d40.jpg","text":"TemporaryFile(/tmp/multipartBody8185693419717556991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165063430,"filename":"image_09042025_00_19_28_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/695f087810b84f124dd68c59db371618.jpg","text":"TemporaryFile(/tmp/multipartBody204322205407851307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165063430,"filename":"image_09042025_00_19_38_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf3480a9c69e26823265959182e810a9.jpg","text":"TemporaryFile(/tmp/multipartBody8731893728711480348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165063430,"filename":"image_09042025_00_20_18_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677908","file1":"1350677906","file0":"1350677903","file4":"1350677913","file5":"1350677915","file3":"1350677910"},"map_files_photo_id_array":[{"photo_id":"1350677915","filename":"file5"},{"photo_id":"1350677908","filename":"file2"},{"photo_id":"1350677913","filename":"file4"},{"photo_id":"1350677906","filename":"file1"},{"photo_id":"1350677903","filename":"file0"},{"photo_id":"1350677910","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677908":["hashtag1","hashtag2"]},{"1350677913":["hashtag1","hashtag2"]},{"1350677910":["hashtag1","hashtag2"]},{"1350677903":["hashtag1","hashtag2"]},{"1350677906":["hashtag1","hashtag2"]},{"1350677915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677908, 1350677913, 1350677910, 1350677903, 1350677906, 1350677915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69081926345825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:17:32.223225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_28_10448.jpg', '/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_38_9379.jpg', '/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_48_10358.jpg', '/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_57_9376.jpg', '/home/pi/Desktop/images/09042025/00/20/image_09042025_00_21_08_10421.jpg', '/home/pi/Desktop/images/09042025/00/21/image_09042025_00_21_18_10520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_28_10448.jpg
/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_38_9379.jpg
/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_48_10358.jpg
/home/pi/Desktop/images/09042025/00/20/image_09042025_00_20_57_9376.jpg
/home/pi/Desktop/images/09042025/00/20/image_09042025_00_21_08_10421.jpg
/home/pi/Desktop/images/09042025/00/21/image_09042025_00_21_18_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":["1350677931","1350677934","1350677924","1350677933","1350677927","1350677929"],"photo_ids_order":["1350677924","1350677927","1350677929","1350677931","1350677933","1350677934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfc71913e7c086f1532da565fbae0332.jpg","text":"TemporaryFile(/tmp/multipartBody9182649627119630173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165112696,"filename":"image_09042025_00_20_57_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11e81dd70743fff0e4da0dc7a951d955.jpg","text":"TemporaryFile(/tmp/multipartBody6599097807775487198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165112696,"filename":"image_09042025_00_21_18_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c9d38cc57deb4b0cab43b9d73d173c96.jpg","text":"TemporaryFile(/tmp/multipartBody935589002193509876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165112696,"filename":"image_09042025_00_20_28_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/763d26ea27cd833d891bb5dafdc5d3e3.jpg","text":"TemporaryFile(/tmp/multipartBody4555206515898758745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165112696,"filename":"image_09042025_00_21_08_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c8bb6c54b8e7053ae86ac3749889d40.jpg","text":"TemporaryFile(/tmp/multipartBody1815904370948163559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165112696,"filename":"image_09042025_00_20_38_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c917aa8b56706822d305bb38d5e2b6e5.jpg","text":"TemporaryFile(/tmp/multipartBody6268805567928781111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165112696,"filename":"image_09042025_00_20_48_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677929","file1":"1350677927","file0":"1350677924","file4":"1350677933","file5":"1350677934","file3":"1350677931"},"map_files_photo_id_array":[{"photo_id":"1350677934","filename":"file5"},{"photo_id":"1350677929","filename":"file2"},{"photo_id":"1350677933","filename":"file4"},{"photo_id":"1350677927","filename":"file1"},{"photo_id":"1350677924","filename":"file0"},{"photo_id":"1350677931","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677931":["hashtag1","hashtag2"]},{"1350677934":["hashtag1","hashtag2"]},{"1350677924":["hashtag1","hashtag2"]},{"1350677933":["hashtag1","hashtag2"]},{"1350677927":["hashtag1","hashtag2"]},{"1350677929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677931, 1350677934, 1350677924, 1350677933, 1350677927, 1350677929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18059325218201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:18:32.432010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/21/image_09042025_00_21_38_10486.jpg', '/home/pi/Desktop/images/09042025/00/21/image_09042025_00_21_58_10352.jpg', '/home/pi/Desktop/images/09042025/00/21/image_09042025_00_22_07_9459.jpg', '/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_18_10375.jpg', '/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_28_10516.jpg', '/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_38_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/21/image_09042025_00_21_38_10486.jpg
/home/pi/Desktop/images/09042025/00/21/image_09042025_00_21_58_10352.jpg
/home/pi/Desktop/images/09042025/00/21/image_09042025_00_22_07_9459.jpg
/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_18_10375.jpg
/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_28_10516.jpg
/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_38_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":["1350677943","1350677949","1350677954","1350677951","1350677945","1350677947"],"photo_ids_order":["1350677943","1350677945","1350677947","1350677949","1350677951","1350677954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64a0671634c186cc1ca1442080cf4e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2949566354796803796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165172898,"filename":"image_09042025_00_21_38_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1205b4ea062473b36551bfae5d8053f1.jpg","text":"TemporaryFile(/tmp/multipartBody5672252077650998678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165172898,"filename":"image_09042025_00_22_18_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80a39a316857fbddc83e2fcdf8ca8b67.jpg","text":"TemporaryFile(/tmp/multipartBody5767172542247621590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165172898,"filename":"image_09042025_00_22_38_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5941d40cab95c00adcb49238ce0ede78.jpg","text":"TemporaryFile(/tmp/multipartBody6105141863269908958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165172898,"filename":"image_09042025_00_22_28_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37d90ce963d2afc429ce2d3221463bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6208625598321920593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165172898,"filename":"image_09042025_00_21_58_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a6fdc0baef314c9288470c78d5d0501.jpg","text":"TemporaryFile(/tmp/multipartBody303134879358080080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165172898,"filename":"image_09042025_00_22_07_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677947","file1":"1350677945","file0":"1350677943","file4":"1350677951","file5":"1350677954","file3":"1350677949"},"map_files_photo_id_array":[{"photo_id":"1350677954","filename":"file5"},{"photo_id":"1350677947","filename":"file2"},{"photo_id":"1350677951","filename":"file4"},{"photo_id":"1350677945","filename":"file1"},{"photo_id":"1350677943","filename":"file0"},{"photo_id":"1350677949","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677943":["hashtag1","hashtag2"]},{"1350677949":["hashtag1","hashtag2"]},{"1350677954":["hashtag1","hashtag2"]},{"1350677951":["hashtag1","hashtag2"]},{"1350677945":["hashtag1","hashtag2"]},{"1350677947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677943, 1350677949, 1350677954, 1350677951, 1350677945, 1350677947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.307623624801636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:19:32.587703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_48_10371.jpg', '/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_57_9467.jpg', '/home/pi/Desktop/images/09042025/00/22/image_09042025_00_23_08_10406.jpg', '/home/pi/Desktop/images/09042025/00/23/image_09042025_00_23_18_10383.jpg', '/home/pi/Desktop/images/09042025/00/23/image_09042025_00_23_38_10521.jpg', '/home/pi/Desktop/images/09042025/00/23/image_09042025_00_23_48_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_48_10371.jpg
/home/pi/Desktop/images/09042025/00/22/image_09042025_00_22_57_9467.jpg
/home/pi/Desktop/images/09042025/00/22/image_09042025_00_23_08_10406.jpg
/home/pi/Desktop/images/09042025/00/23/image_09042025_00_23_18_10383.jpg
/home/pi/Desktop/images/09042025/00/23/image_09042025_00_23_38_10521.jpg
/home/pi/Desktop/images/09042025/00/23/image_09042025_00_23_48_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":["1350677970","1350677972","1350677975","1350677978","1350677977","1350677973"],"photo_ids_order":["1350677970","1350677972","1350677973","1350677975","1350677977","1350677978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3cfb555133669e9229437765b7780d06.jpg","text":"TemporaryFile(/tmp/multipartBody5101825317385611868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165233057,"filename":"image_09042025_00_22_48_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6de0afcb886a2b85c586d8bebfafc9d6.jpg","text":"TemporaryFile(/tmp/multipartBody8744522486011910531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165233057,"filename":"image_09042025_00_22_57_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1ded311e2b186e71ca0f8f5e7d0df81.jpg","text":"TemporaryFile(/tmp/multipartBody9038570925009634362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165233057,"filename":"image_09042025_00_23_18_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7be5ab14a78c9c9b327c06787328cd0e.jpg","text":"TemporaryFile(/tmp/multipartBody7219195903916542299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165233057,"filename":"image_09042025_00_23_48_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/939c79c35ea709b0091b2fd8c8b60485.jpg","text":"TemporaryFile(/tmp/multipartBody7244416378512478856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165233057,"filename":"image_09042025_00_23_38_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bfc898191e9de2586bb6fef0f300884c.jpg","text":"TemporaryFile(/tmp/multipartBody1031471863258779058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165233057,"filename":"image_09042025_00_23_08_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677973","file1":"1350677972","file0":"1350677970","file4":"1350677977","file5":"1350677978","file3":"1350677975"},"map_files_photo_id_array":[{"photo_id":"1350677978","filename":"file5"},{"photo_id":"1350677973","filename":"file2"},{"photo_id":"1350677977","filename":"file4"},{"photo_id":"1350677972","filename":"file1"},{"photo_id":"1350677970","filename":"file0"},{"photo_id":"1350677975","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350677970":["hashtag1","hashtag2"]},{"1350677972":["hashtag1","hashtag2"]},{"1350677975":["hashtag1","hashtag2"]},{"1350677978":["hashtag1","hashtag2"]},{"1350677977":["hashtag1","hashtag2"]},{"1350677973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350677970, 1350677972, 1350677975, 1350677978, 1350677977, 1350677973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36485481262207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:20:32.922694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/23/image_09042025_00_23_58_10482.jpg', '/home/pi/Desktop/images/09042025/00/23/image_09042025_00_24_07_9389.jpg', '/home/pi/Desktop/images/09042025/00/24/image_09042025_00_24_28_10463.jpg', '/home/pi/Desktop/images/09042025/00/24/image_09042025_00_24_48_10418.jpg', '/home/pi/Desktop/images/09042025/00/24/image_09042025_00_24_57_9362.jpg', '/home/pi/Desktop/images/09042025/00/24/image_09042025_00_25_08_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/23/image_09042025_00_23_58_10482.jpg
/home/pi/Desktop/images/09042025/00/23/image_09042025_00_24_07_9389.jpg
/home/pi/Desktop/images/09042025/00/24/image_09042025_00_24_28_10463.jpg
/home/pi/Desktop/images/09042025/00/24/image_09042025_00_24_48_10418.jpg
/home/pi/Desktop/images/09042025/00/24/image_09042025_00_24_57_9362.jpg
/home/pi/Desktop/images/09042025/00/24/image_09042025_00_25_08_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":["1350678003","1350677993","1350677996","1350677998","1350678001","1350677994"],"photo_ids_order":["1350677993","1350677994","1350677996","1350677998","1350678001","1350678003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a791269d5f7f6db7bb4ee36f5532948.jpg","text":"TemporaryFile(/tmp/multipartBody5688714743221715971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165293397,"filename":"image_09042025_00_25_08_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d28a95c336dd2a3c07c8712414eee56f.jpg","text":"TemporaryFile(/tmp/multipartBody1850035357821820961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165293397,"filename":"image_09042025_00_23_58_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/835369e37843f5fcf978da608cb083c8.jpg","text":"TemporaryFile(/tmp/multipartBody8154819363625488285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165293397,"filename":"image_09042025_00_24_28_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b75d3c14988cee78df90ea4f591751b1.jpg","text":"TemporaryFile(/tmp/multipartBody2149141782320602160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165293397,"filename":"image_09042025_00_24_48_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/876a30b0946cd7d9e616c9d954289ffd.jpg","text":"TemporaryFile(/tmp/multipartBody3536498390943324432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165293397,"filename":"image_09042025_00_24_57_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d422df3c29d3061dfb6698ae7229d48.jpg","text":"TemporaryFile(/tmp/multipartBody7331429500100762103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165293397,"filename":"image_09042025_00_24_07_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350677996","file1":"1350677994","file0":"1350677993","file4":"1350678001","file5":"1350678003","file3":"1350677998"},"map_files_photo_id_array":[{"photo_id":"1350678003","filename":"file5"},{"photo_id":"1350677996","filename":"file2"},{"photo_id":"1350678001","filename":"file4"},{"photo_id":"1350677994","filename":"file1"},{"photo_id":"1350677993","filename":"file0"},{"photo_id":"1350677998","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678003":["hashtag1","hashtag2"]},{"1350677993":["hashtag1","hashtag2"]},{"1350677996":["hashtag1","hashtag2"]},{"1350677998":["hashtag1","hashtag2"]},{"1350678001":["hashtag1","hashtag2"]},{"1350677994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678003, 1350677993, 1350677996, 1350677998, 1350678001, 1350677994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.823264598846436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:21:32.999369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/25/image_09042025_00_25_18_10369.jpg', '/home/pi/Desktop/images/09042025/00/25/image_09042025_00_25_27_9357.jpg', '/home/pi/Desktop/images/09042025/00/25/image_09042025_00_25_38_10388.jpg', '/home/pi/Desktop/images/09042025/00/25/image_09042025_00_25_48_10371.jpg', '/home/pi/Desktop/images/09042025/00/25/image_09042025_00_26_08_10508.jpg', '/home/pi/Desktop/images/09042025/00/26/image_09042025_00_26_18_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/25/image_09042025_00_25_18_10369.jpg
/home/pi/Desktop/images/09042025/00/25/image_09042025_00_25_27_9357.jpg
/home/pi/Desktop/images/09042025/00/25/image_09042025_00_25_38_10388.jpg
/home/pi/Desktop/images/09042025/00/25/image_09042025_00_25_48_10371.jpg
/home/pi/Desktop/images/09042025/00/25/image_09042025_00_26_08_10508.jpg
/home/pi/Desktop/images/09042025/00/26/image_09042025_00_26_18_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678024","1350678021","1350678017","1350678026","1350678014","1350678019"],"photo_ids_order":["1350678014","1350678017","1350678019","1350678021","1350678024","1350678026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed792f9304331d6c07f9c2cb3f07b2da.jpg","text":"TemporaryFile(/tmp/multipartBody5944191299189205133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165353478,"filename":"image_09042025_00_26_08_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/645a3cac560f9ecb935fe4f68458e933.jpg","text":"TemporaryFile(/tmp/multipartBody9182775208765510594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165353478,"filename":"image_09042025_00_25_48_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/875fe887672850db5678b24fdd582e7f.jpg","text":"TemporaryFile(/tmp/multipartBody3936771568263731475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165353478,"filename":"image_09042025_00_25_27_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dcc4dfe15137b5c8abe96a350f96bbfb.jpg","text":"TemporaryFile(/tmp/multipartBody5759970183152963704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165353478,"filename":"image_09042025_00_26_18_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c8359ce4a295e059b0ee2d3aa1a95f1.jpg","text":"TemporaryFile(/tmp/multipartBody4785435013170832769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165353478,"filename":"image_09042025_00_25_18_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67e1dd75cfe57b18e506b8f4305c1c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6118066475726121043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165353478,"filename":"image_09042025_00_25_38_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678019","file1":"1350678017","file0":"1350678014","file4":"1350678024","file5":"1350678026","file3":"1350678021"},"map_files_photo_id_array":[{"photo_id":"1350678026","filename":"file5"},{"photo_id":"1350678019","filename":"file2"},{"photo_id":"1350678024","filename":"file4"},{"photo_id":"1350678017","filename":"file1"},{"photo_id":"1350678014","filename":"file0"},{"photo_id":"1350678021","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678024":["hashtag1","hashtag2"]},{"1350678021":["hashtag1","hashtag2"]},{"1350678017":["hashtag1","hashtag2"]},{"1350678026":["hashtag1","hashtag2"]},{"1350678014":["hashtag1","hashtag2"]},{"1350678019":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678024, 1350678021, 1350678017, 1350678026, 1350678014, 1350678019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.135374546051025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:22:32.191182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/26/image_09042025_00_26_28_10358.jpg', '/home/pi/Desktop/images/09042025/00/26/image_09042025_00_26_37_9474.jpg', '/home/pi/Desktop/images/09042025/00/26/image_09042025_00_27_08_9363.jpg', '/home/pi/Desktop/images/09042025/00/27/image_09042025_00_27_28_10361.jpg', '/home/pi/Desktop/images/09042025/00/27/image_09042025_00_27_48_10516.jpg', '/home/pi/Desktop/images/09042025/00/27/image_09042025_00_27_57_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/26/image_09042025_00_26_28_10358.jpg
/home/pi/Desktop/images/09042025/00/26/image_09042025_00_26_37_9474.jpg
/home/pi/Desktop/images/09042025/00/26/image_09042025_00_27_08_9363.jpg
/home/pi/Desktop/images/09042025/00/27/image_09042025_00_27_28_10361.jpg
/home/pi/Desktop/images/09042025/00/27/image_09042025_00_27_48_10516.jpg
/home/pi/Desktop/images/09042025/00/27/image_09042025_00_27_57_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":["1350678039","1350678048","1350678041","1350678044","1350678046","1350678037"],"photo_ids_order":["1350678037","1350678039","1350678041","1350678044","1350678046","1350678048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ead4e572877a1186727f6d16954e42f.jpg","text":"TemporaryFile(/tmp/multipartBody6866477775095411113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165412658,"filename":"image_09042025_00_26_37_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1abc4d36805caa3831674cadbb477991.jpg","text":"TemporaryFile(/tmp/multipartBody2636013333594519386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165412658,"filename":"image_09042025_00_27_57_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a9e3e8bb34e593abe80eb8ea3a55445.jpg","text":"TemporaryFile(/tmp/multipartBody1326168108968745180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165412658,"filename":"image_09042025_00_27_08_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed1a5ed86a5d7f04bdb9f5c3a2026099.jpg","text":"TemporaryFile(/tmp/multipartBody4520091908413406854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165412658,"filename":"image_09042025_00_27_28_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27dc83695f3c76bfc610cdfe9edd282b.jpg","text":"TemporaryFile(/tmp/multipartBody4460174491136076133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165412658,"filename":"image_09042025_00_27_48_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d98fb72be51ebae9f889eb933fcc963.jpg","text":"TemporaryFile(/tmp/multipartBody86414298361094057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165412658,"filename":"image_09042025_00_26_28_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678041","file1":"1350678039","file0":"1350678037","file4":"1350678046","file5":"1350678048","file3":"1350678044"},"map_files_photo_id_array":[{"photo_id":"1350678048","filename":"file5"},{"photo_id":"1350678041","filename":"file2"},{"photo_id":"1350678046","filename":"file4"},{"photo_id":"1350678039","filename":"file1"},{"photo_id":"1350678037","filename":"file0"},{"photo_id":"1350678044","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678039":["hashtag1","hashtag2"]},{"1350678048":["hashtag1","hashtag2"]},{"1350678041":["hashtag1","hashtag2"]},{"1350678044":["hashtag1","hashtag2"]},{"1350678046":["hashtag1","hashtag2"]},{"1350678037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678039, 1350678048, 1350678041, 1350678044, 1350678046, 1350678037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.764723300933838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:23:32.422459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/27/image_09042025_00_28_08_10369.jpg', '/home/pi/Desktop/images/09042025/00/28/image_09042025_00_28_28_9431.jpg', '/home/pi/Desktop/images/09042025/00/28/image_09042025_00_28_38_10475.jpg', '/home/pi/Desktop/images/09042025/00/28/image_09042025_00_28_47_9369.jpg', '/home/pi/Desktop/images/09042025/00/28/image_09042025_00_28_58_10442.jpg', '/home/pi/Desktop/images/09042025/00/28/image_09042025_00_29_07_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/27/image_09042025_00_28_08_10369.jpg
/home/pi/Desktop/images/09042025/00/28/image_09042025_00_28_28_9431.jpg
/home/pi/Desktop/images/09042025/00/28/image_09042025_00_28_38_10475.jpg
/home/pi/Desktop/images/09042025/00/28/image_09042025_00_28_47_9369.jpg
/home/pi/Desktop/images/09042025/00/28/image_09042025_00_28_58_10442.jpg
/home/pi/Desktop/images/09042025/00/28/image_09042025_00_29_07_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":["1350678065","1350678070","1350678067","1350678061","1350678069","1350678063"],"photo_ids_order":["1350678061","1350678063","1350678065","1350678067","1350678069","1350678070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b8cfccb2e27de84ddd59bcce0cb8b239.jpg","text":"TemporaryFile(/tmp/multipartBody6596765519338987283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165472907,"filename":"image_09042025_00_28_38_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b63c02e486bd31bb6f4d1f82d554756a.jpg","text":"TemporaryFile(/tmp/multipartBody610401446430534326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165472907,"filename":"image_09042025_00_29_07_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e62a317678b03186fc1dbf46159fb29.jpg","text":"TemporaryFile(/tmp/multipartBody1131928663328461581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165472907,"filename":"image_09042025_00_28_47_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/275c2b3e3aba89ebf5d9f95b33d58898.jpg","text":"TemporaryFile(/tmp/multipartBody7337359716359683983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165472907,"filename":"image_09042025_00_28_08_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c6f593b6f2e34ab4751821023de8133.jpg","text":"TemporaryFile(/tmp/multipartBody1971641694583858056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165472907,"filename":"image_09042025_00_28_58_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49443d27b5caac6042e801426b1fc464.jpg","text":"TemporaryFile(/tmp/multipartBody185875584276104867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165472907,"filename":"image_09042025_00_28_28_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678065","file1":"1350678063","file0":"1350678061","file4":"1350678069","file5":"1350678070","file3":"1350678067"},"map_files_photo_id_array":[{"photo_id":"1350678070","filename":"file5"},{"photo_id":"1350678065","filename":"file2"},{"photo_id":"1350678069","filename":"file4"},{"photo_id":"1350678063","filename":"file1"},{"photo_id":"1350678061","filename":"file0"},{"photo_id":"1350678067","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678065":["hashtag1","hashtag2"]},{"1350678070":["hashtag1","hashtag2"]},{"1350678067":["hashtag1","hashtag2"]},{"1350678061":["hashtag1","hashtag2"]},{"1350678069":["hashtag1","hashtag2"]},{"1350678063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678065, 1350678070, 1350678067, 1350678061, 1350678069, 1350678063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39255404472351 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:24:32.653477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/29/image_09042025_00_29_18_10381.jpg', '/home/pi/Desktop/images/09042025/00/29/image_09042025_00_29_48_10357.jpg', '/home/pi/Desktop/images/09042025/00/29/image_09042025_00_29_58_10359.jpg', '/home/pi/Desktop/images/09042025/00/30/image_09042025_00_30_08_9467.jpg', '/home/pi/Desktop/images/09042025/00/30/image_09042025_00_30_18_10425.jpg', '/home/pi/Desktop/images/09042025/00/30/image_09042025_00_30_27_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/29/image_09042025_00_29_18_10381.jpg
/home/pi/Desktop/images/09042025/00/29/image_09042025_00_29_48_10357.jpg
/home/pi/Desktop/images/09042025/00/29/image_09042025_00_29_58_10359.jpg
/home/pi/Desktop/images/09042025/00/30/image_09042025_00_30_08_9467.jpg
/home/pi/Desktop/images/09042025/00/30/image_09042025_00_30_18_10425.jpg
/home/pi/Desktop/images/09042025/00/30/image_09042025_00_30_27_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":["1350678083","1350678092","1350678089","1350678094","1350678085","1350678087"],"photo_ids_order":["1350678083","1350678085","1350678087","1350678089","1350678092","1350678094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44f731ce88838457281248a14a9ff29e.jpg","text":"TemporaryFile(/tmp/multipartBody1357682333558585794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165533198,"filename":"image_09042025_00_29_18_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/61bebe3d9047c80ef8152f3596919f81.jpg","text":"TemporaryFile(/tmp/multipartBody3952302693237428343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165533198,"filename":"image_09042025_00_30_18_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b20fd377db05bf30f9cf1550b44e238.jpg","text":"TemporaryFile(/tmp/multipartBody5037394283981649300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165533198,"filename":"image_09042025_00_30_08_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc9a23018bf57676a3f633ad48500685.jpg","text":"TemporaryFile(/tmp/multipartBody746537199998930221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165533198,"filename":"image_09042025_00_30_27_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/504808ca8f076fda45aa38bcee681356.jpg","text":"TemporaryFile(/tmp/multipartBody8530052862206982653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165533198,"filename":"image_09042025_00_29_48_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39ed94011cc1bb6bc9ec8f7ea705b428.jpg","text":"TemporaryFile(/tmp/multipartBody3249972822675911905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165533198,"filename":"image_09042025_00_29_58_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678087","file1":"1350678085","file0":"1350678083","file4":"1350678092","file5":"1350678094","file3":"1350678089"},"map_files_photo_id_array":[{"photo_id":"1350678094","filename":"file5"},{"photo_id":"1350678087","filename":"file2"},{"photo_id":"1350678092","filename":"file4"},{"photo_id":"1350678085","filename":"file1"},{"photo_id":"1350678083","filename":"file0"},{"photo_id":"1350678089","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678083":["hashtag1","hashtag2"]},{"1350678092":["hashtag1","hashtag2"]},{"1350678089":["hashtag1","hashtag2"]},{"1350678094":["hashtag1","hashtag2"]},{"1350678085":["hashtag1","hashtag2"]},{"1350678087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678083, 1350678092, 1350678089, 1350678094, 1350678085, 1350678087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68100643157959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:25:33.046577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/30/image_09042025_00_31_08_10449.jpg', '/home/pi/Desktop/images/09042025/00/31/image_09042025_00_31_17_9355.jpg', '/home/pi/Desktop/images/09042025/00/31/image_09042025_00_31_28_10421.jpg', '/home/pi/Desktop/images/09042025/00/31/image_09042025_00_31_58_10466.jpg', '/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_18_10364.jpg', '/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_28_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/30/image_09042025_00_31_08_10449.jpg
/home/pi/Desktop/images/09042025/00/31/image_09042025_00_31_17_9355.jpg
/home/pi/Desktop/images/09042025/00/31/image_09042025_00_31_28_10421.jpg
/home/pi/Desktop/images/09042025/00/31/image_09042025_00_31_58_10466.jpg
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_18_10364.jpg
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_28_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":["1350678114","1350678108","1350678116","1350678110","1350678112","1350678115"],"photo_ids_order":["1350678108","1350678110","1350678112","1350678114","1350678115","1350678116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b18d790f4f4000d833a6ac7cbe75bd74.jpg","text":"TemporaryFile(/tmp/multipartBody5771554803480025199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165593507,"filename":"image_09042025_00_31_58_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd6f5305cc34c175c0b2e251d98a2834.jpg","text":"TemporaryFile(/tmp/multipartBody519331248327822560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165593507,"filename":"image_09042025_00_31_08_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77a1a7e2ff3aac3dbe933d6e544294f0.jpg","text":"TemporaryFile(/tmp/multipartBody440388956709001739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165593507,"filename":"image_09042025_00_32_28_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/688ea50c281a29bbbffc6d03eb77cf5e.jpg","text":"TemporaryFile(/tmp/multipartBody3097542634754323580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165593507,"filename":"image_09042025_00_31_17_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/005c39c2e8a12b0cfe752fbbcea5dbd6.jpg","text":"TemporaryFile(/tmp/multipartBody3615377420911467347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165593507,"filename":"image_09042025_00_31_28_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7bc38a71e97fed054a1e87c1bd6f30e6.jpg","text":"TemporaryFile(/tmp/multipartBody2696641370064132610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165593507,"filename":"image_09042025_00_32_18_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678112","file1":"1350678110","file0":"1350678108","file4":"1350678115","file5":"1350678116","file3":"1350678114"},"map_files_photo_id_array":[{"photo_id":"1350678116","filename":"file5"},{"photo_id":"1350678112","filename":"file2"},{"photo_id":"1350678115","filename":"file4"},{"photo_id":"1350678110","filename":"file1"},{"photo_id":"1350678108","filename":"file0"},{"photo_id":"1350678114","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678114":["hashtag1","hashtag2"]},{"1350678108":["hashtag1","hashtag2"]},{"1350678116":["hashtag1","hashtag2"]},{"1350678110":["hashtag1","hashtag2"]},{"1350678112":["hashtag1","hashtag2"]},{"1350678115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678114, 1350678108, 1350678116, 1350678110, 1350678112, 1350678115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16111636161804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:26:32.157379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_38_9457.jpg', '/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_48_10373.jpg', '/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_57_9359.jpg', '/home/pi/Desktop/images/09042025/00/32/image_09042025_00_33_08_10402.jpg', '/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_17_9448.jpg', '/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_28_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_38_9457.jpg
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_48_10373.jpg
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_57_9359.jpg
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_33_08_10402.jpg
/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_17_9448.jpg
/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_28_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3887147903442383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 04:26:42.103605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_38_9457.jpg', '/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_48_10373.jpg', '/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_57_9359.jpg', '/home/pi/Desktop/images/09042025/00/32/image_09042025_00_33_08_10402.jpg', '/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_17_9448.jpg', '/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_28_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_38_9457.jpg
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_48_10373.jpg
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_32_57_9359.jpg
/home/pi/Desktop/images/09042025/00/32/image_09042025_00_33_08_10402.jpg
/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_17_9448.jpg
/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_28_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":["1350678144","1350678138","1350678147","1350678149","1350678133","1350678142"],"photo_ids_order":["1350678133","1350678138","1350678142","1350678144","1350678147","1350678149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8df08e91164c5aeb669d8af5413088ac.jpg","text":"TemporaryFile(/tmp/multipartBody8278278294667751572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165662561,"filename":"image_09042025_00_33_08_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5f7a4b13c3e55e54e00f33f3597fee30.jpg","text":"TemporaryFile(/tmp/multipartBody1927469261610402562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165662561,"filename":"image_09042025_00_32_48_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee5c0d251b8601e58efb8afefd3d3ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3750780834147282026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165662561,"filename":"image_09042025_00_33_17_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/71ec70b3006d3736a457e8ad32be0c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2592435197523368299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165662561,"filename":"image_09042025_00_33_28_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a1b13ee8e4c5834d5c68b46c0e66aff.jpg","text":"TemporaryFile(/tmp/multipartBody6845125908533991942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165662561,"filename":"image_09042025_00_32_38_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3b9bd06e0e8ef3c0997a33d7aa3fe7f.jpg","text":"TemporaryFile(/tmp/multipartBody2529546579769537701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165662561,"filename":"image_09042025_00_32_57_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678142","file1":"1350678138","file0":"1350678133","file4":"1350678147","file5":"1350678149","file3":"1350678144"},"map_files_photo_id_array":[{"photo_id":"1350678149","filename":"file5"},{"photo_id":"1350678142","filename":"file2"},{"photo_id":"1350678147","filename":"file4"},{"photo_id":"1350678138","filename":"file1"},{"photo_id":"1350678133","filename":"file0"},{"photo_id":"1350678144","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678144":["hashtag1","hashtag2"]},{"1350678138":["hashtag1","hashtag2"]},{"1350678147":["hashtag1","hashtag2"]},{"1350678149":["hashtag1","hashtag2"]},{"1350678133":["hashtag1","hashtag2"]},{"1350678142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678144, 1350678138, 1350678147, 1350678149, 1350678133, 1350678142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95192766189575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:27:32.461815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_38_10449.jpg', '/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_47_9348.jpg', '/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_58_10354.jpg', '/home/pi/Desktop/images/09042025/00/33/image_09042025_00_34_08_10385.jpg', '/home/pi/Desktop/images/09042025/00/34/image_09042025_00_34_37_9427.jpg', '/home/pi/Desktop/images/09042025/00/34/image_09042025_00_35_08_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_38_10449.jpg
/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_47_9348.jpg
/home/pi/Desktop/images/09042025/00/33/image_09042025_00_33_58_10354.jpg
/home/pi/Desktop/images/09042025/00/33/image_09042025_00_34_08_10385.jpg
/home/pi/Desktop/images/09042025/00/34/image_09042025_00_34_37_9427.jpg
/home/pi/Desktop/images/09042025/00/34/image_09042025_00_35_08_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":["1350678165","1350678167","1350678161","1350678163","1350678160","1350678168"],"photo_ids_order":["1350678160","1350678161","1350678163","1350678165","1350678167","1350678168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aaaf1c1a8278ed69c59d3f994472c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody3319565138675354723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165712929,"filename":"image_09042025_00_34_08_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7210b8e9ecde218e87d5c71c6e9db9f.jpg","text":"TemporaryFile(/tmp/multipartBody7323320113548067806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165712929,"filename":"image_09042025_00_34_37_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df072564f1f697be3e027233beadcd6f.jpg","text":"TemporaryFile(/tmp/multipartBody7279808284672975517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165712929,"filename":"image_09042025_00_33_47_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b0b7ece19bb03f6e6411b189ff18b10f.jpg","text":"TemporaryFile(/tmp/multipartBody3598036119851669785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165712929,"filename":"image_09042025_00_33_58_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19e2324514ab691efaed27b9e44cabcc.jpg","text":"TemporaryFile(/tmp/multipartBody9110004924671097951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165712929,"filename":"image_09042025_00_33_38_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31488ae3e7cf6d3148316c01c7fe491f.jpg","text":"TemporaryFile(/tmp/multipartBody118216692666245749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165712929,"filename":"image_09042025_00_35_08_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678163","file1":"1350678161","file0":"1350678160","file4":"1350678167","file5":"1350678168","file3":"1350678165"},"map_files_photo_id_array":[{"photo_id":"1350678168","filename":"file5"},{"photo_id":"1350678163","filename":"file2"},{"photo_id":"1350678167","filename":"file4"},{"photo_id":"1350678161","filename":"file1"},{"photo_id":"1350678160","filename":"file0"},{"photo_id":"1350678165","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678165":["hashtag1","hashtag2"]},{"1350678167":["hashtag1","hashtag2"]},{"1350678161":["hashtag1","hashtag2"]},{"1350678163":["hashtag1","hashtag2"]},{"1350678160":["hashtag1","hashtag2"]},{"1350678168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678165, 1350678167, 1350678161, 1350678163, 1350678160, 1350678168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.477266788482666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:28:32.684181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/35/image_09042025_00_35_18_10524.jpg', '/home/pi/Desktop/images/09042025/00/35/image_09042025_00_35_27_9360.jpg', '/home/pi/Desktop/images/09042025/00/35/image_09042025_00_35_58_9462.jpg', '/home/pi/Desktop/images/09042025/00/35/image_09042025_00_36_08_10437.jpg', '/home/pi/Desktop/images/09042025/00/36/image_09042025_00_36_18_9397.jpg', '/home/pi/Desktop/images/09042025/00/36/image_09042025_00_36_28_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/35/image_09042025_00_35_18_10524.jpg
/home/pi/Desktop/images/09042025/00/35/image_09042025_00_35_27_9360.jpg
/home/pi/Desktop/images/09042025/00/35/image_09042025_00_35_58_9462.jpg
/home/pi/Desktop/images/09042025/00/35/image_09042025_00_36_08_10437.jpg
/home/pi/Desktop/images/09042025/00/36/image_09042025_00_36_18_9397.jpg
/home/pi/Desktop/images/09042025/00/36/image_09042025_00_36_28_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":["1350678179","1350678181","1350678184","1350678192","1350678195","1350678189"],"photo_ids_order":["1350678179","1350678181","1350678184","1350678189","1350678192","1350678195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/863413b9805936e1a19f319cb18f57b8.jpg","text":"TemporaryFile(/tmp/multipartBody6203380450332875249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165773299,"filename":"image_09042025_00_35_18_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4dd87a799a1aaa50028ea798551b415.jpg","text":"TemporaryFile(/tmp/multipartBody8872375906662840221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165773299,"filename":"image_09042025_00_35_27_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb051fea68154a6dc98a4303c0b136ee.jpg","text":"TemporaryFile(/tmp/multipartBody2928919970445542407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165773299,"filename":"image_09042025_00_35_58_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e362453f67347d31aafce1258006f848.jpg","text":"TemporaryFile(/tmp/multipartBody4305615367497150593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165773299,"filename":"image_09042025_00_36_18_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3069d69f1b1a84af682d31726db972c9.jpg","text":"TemporaryFile(/tmp/multipartBody1771966292361245390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165773299,"filename":"image_09042025_00_36_28_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a2a252fad8ebdc94c67377d213f28fc.jpg","text":"TemporaryFile(/tmp/multipartBody291983031568997171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165773299,"filename":"image_09042025_00_36_08_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678184","file1":"1350678181","file0":"1350678179","file4":"1350678192","file5":"1350678195","file3":"1350678189"},"map_files_photo_id_array":[{"photo_id":"1350678195","filename":"file5"},{"photo_id":"1350678184","filename":"file2"},{"photo_id":"1350678192","filename":"file4"},{"photo_id":"1350678181","filename":"file1"},{"photo_id":"1350678179","filename":"file0"},{"photo_id":"1350678189","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678179":["hashtag1","hashtag2"]},{"1350678181":["hashtag1","hashtag2"]},{"1350678184":["hashtag1","hashtag2"]},{"1350678192":["hashtag1","hashtag2"]},{"1350678195":["hashtag1","hashtag2"]},{"1350678189":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678179, 1350678181, 1350678184, 1350678192, 1350678195, 1350678189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.880860328674316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:29:32.828931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/36/image_09042025_00_36_37_9378.jpg', '/home/pi/Desktop/images/09042025/00/36/image_09042025_00_37_07_9343.jpg', '/home/pi/Desktop/images/09042025/00/37/image_09042025_00_37_18_10430.jpg', '/home/pi/Desktop/images/09042025/00/37/image_09042025_00_37_28_10434.jpg', '/home/pi/Desktop/images/09042025/00/37/image_09042025_00_37_48_10450.jpg', '/home/pi/Desktop/images/09042025/00/37/image_09042025_00_37_58_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/36/image_09042025_00_36_37_9378.jpg
/home/pi/Desktop/images/09042025/00/36/image_09042025_00_37_07_9343.jpg
/home/pi/Desktop/images/09042025/00/37/image_09042025_00_37_18_10430.jpg
/home/pi/Desktop/images/09042025/00/37/image_09042025_00_37_28_10434.jpg
/home/pi/Desktop/images/09042025/00/37/image_09042025_00_37_48_10450.jpg
/home/pi/Desktop/images/09042025/00/37/image_09042025_00_37_58_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":["1350678210","1350678213","1350678207","1350678215","1350678203","1350678217"],"photo_ids_order":["1350678203","1350678207","1350678210","1350678213","1350678215","1350678217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/45ddc5c7574bc98b29b6bdfb357a42de.jpg","text":"TemporaryFile(/tmp/multipartBody273375539555605106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165833303,"filename":"image_09042025_00_37_18_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37281fc3b43afa44b2d07c8ac30fb689.jpg","text":"TemporaryFile(/tmp/multipartBody1186723861837403786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165833303,"filename":"image_09042025_00_37_28_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/61da3b8e1a970029796e820ff20a0f81.jpg","text":"TemporaryFile(/tmp/multipartBody6099129374938149015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165833303,"filename":"image_09042025_00_37_07_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37d0aed4b06dfbbb20e289240e82a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody1299734017579122041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165833303,"filename":"image_09042025_00_37_48_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc3fb7c17e3bbeee3c25eb822c549503.jpg","text":"TemporaryFile(/tmp/multipartBody3998164668180260278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165833303,"filename":"image_09042025_00_36_37_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/151d1d7995d940466be0379dcdc9884a.jpg","text":"TemporaryFile(/tmp/multipartBody5748483526594703168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165833303,"filename":"image_09042025_00_37_58_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678210","file1":"1350678207","file0":"1350678203","file4":"1350678215","file5":"1350678217","file3":"1350678213"},"map_files_photo_id_array":[{"photo_id":"1350678217","filename":"file5"},{"photo_id":"1350678210","filename":"file2"},{"photo_id":"1350678215","filename":"file4"},{"photo_id":"1350678207","filename":"file1"},{"photo_id":"1350678203","filename":"file0"},{"photo_id":"1350678213","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678210":["hashtag1","hashtag2"]},{"1350678213":["hashtag1","hashtag2"]},{"1350678207":["hashtag1","hashtag2"]},{"1350678215":["hashtag1","hashtag2"]},{"1350678203":["hashtag1","hashtag2"]},{"1350678217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678210, 1350678213, 1350678207, 1350678215, 1350678203, 1350678217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.82026696205139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:30:32.160372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/37/image_09042025_00_38_08_10439.jpg', '/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_17_9397.jpg', '/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_28_10395.jpg', '/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_38_10386.jpg', '/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_48_9362.jpg', '/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_58_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/37/image_09042025_00_38_08_10439.jpg
/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_17_9397.jpg
/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_28_10395.jpg
/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_38_10386.jpg
/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_48_9362.jpg
/home/pi/Desktop/images/09042025/00/38/image_09042025_00_38_58_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":["1350678228","1350678233","1350678236","1350678230","1350678238","1350678226"],"photo_ids_order":["1350678226","1350678228","1350678230","1350678233","1350678236","1350678238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e1c6e4e45225f9f5526f8c3552284a1.jpg","text":"TemporaryFile(/tmp/multipartBody9101844003775530782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165892618,"filename":"image_09042025_00_38_17_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e45adb78fd81b57b5a5b69b4f542744.jpg","text":"TemporaryFile(/tmp/multipartBody2806459639637372702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165892618,"filename":"image_09042025_00_38_38_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ecfbba138bd14a6bd13e0cbccf1cdcc8.jpg","text":"TemporaryFile(/tmp/multipartBody4197954705012952513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165892618,"filename":"image_09042025_00_38_48_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efe722242547595d62b740ec6883980d.jpg","text":"TemporaryFile(/tmp/multipartBody6791207493217482624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165892618,"filename":"image_09042025_00_38_28_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ab27e5427fea47bc69dea98b6c73ee55.jpg","text":"TemporaryFile(/tmp/multipartBody9044606144700547265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165892618,"filename":"image_09042025_00_38_58_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/70b26949bef7f519211fefa13be11383.jpg","text":"TemporaryFile(/tmp/multipartBody4144427967074897379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165892618,"filename":"image_09042025_00_38_08_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678230","file1":"1350678228","file0":"1350678226","file4":"1350678236","file5":"1350678238","file3":"1350678233"},"map_files_photo_id_array":[{"photo_id":"1350678238","filename":"file5"},{"photo_id":"1350678230","filename":"file2"},{"photo_id":"1350678236","filename":"file4"},{"photo_id":"1350678228","filename":"file1"},{"photo_id":"1350678226","filename":"file0"},{"photo_id":"1350678233","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678228":["hashtag1","hashtag2"]},{"1350678233":["hashtag1","hashtag2"]},{"1350678236":["hashtag1","hashtag2"]},{"1350678230":["hashtag1","hashtag2"]},{"1350678238":["hashtag1","hashtag2"]},{"1350678226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678228, 1350678233, 1350678236, 1350678230, 1350678238, 1350678226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.569251775741577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:31:32.357534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/38/image_09042025_00_39_07_9427.jpg', '/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_18_10424.jpg', '/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_28_10479.jpg', '/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_38_9345.jpg', '/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_48_10412.jpg', '/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_57_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/38/image_09042025_00_39_07_9427.jpg
/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_18_10424.jpg
/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_28_10479.jpg
/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_38_9345.jpg
/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_48_10412.jpg
/home/pi/Desktop/images/09042025/00/39/image_09042025_00_39_57_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":["1350678258","1350678251","1350678254","1350678256","1350678259","1350678252"],"photo_ids_order":["1350678251","1350678252","1350678254","1350678256","1350678258","1350678259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba0d5b7de80014cc543beb0ec236256e.jpg","text":"TemporaryFile(/tmp/multipartBody3725734441640976632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165952828,"filename":"image_09042025_00_39_48_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/91de99070e39da5538311972f37eb954.jpg","text":"TemporaryFile(/tmp/multipartBody6803428936360806399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165952828,"filename":"image_09042025_00_39_07_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/823bc0e26c88c04cbb89fcf2e2625fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8569929622864683499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165952828,"filename":"image_09042025_00_39_28_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf9fba1a38acb5fd0b4ada6cdee58e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6725114661996674841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165952828,"filename":"image_09042025_00_39_38_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b68c622691c1e3cd56e85969711fe0f8.jpg","text":"TemporaryFile(/tmp/multipartBody1348666020027677853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165952828,"filename":"image_09042025_00_39_57_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ab5842afc9a48d58b4f01c5744a931c0.jpg","text":"TemporaryFile(/tmp/multipartBody7996244296627593125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744165952828,"filename":"image_09042025_00_39_18_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678254","file1":"1350678252","file0":"1350678251","file4":"1350678258","file5":"1350678259","file3":"1350678256"},"map_files_photo_id_array":[{"photo_id":"1350678259","filename":"file5"},{"photo_id":"1350678254","filename":"file2"},{"photo_id":"1350678258","filename":"file4"},{"photo_id":"1350678252","filename":"file1"},{"photo_id":"1350678251","filename":"file0"},{"photo_id":"1350678256","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678258":["hashtag1","hashtag2"]},{"1350678251":["hashtag1","hashtag2"]},{"1350678254":["hashtag1","hashtag2"]},{"1350678256":["hashtag1","hashtag2"]},{"1350678259":["hashtag1","hashtag2"]},{"1350678252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678258, 1350678251, 1350678254, 1350678256, 1350678259, 1350678252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.914936542510986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:32:32.655837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/39/image_09042025_00_40_08_10456.jpg', '/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_17_9374.jpg', '/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_28_10379.jpg', '/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_38_10479.jpg', '/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_48_9474.jpg', '/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_58_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/39/image_09042025_00_40_08_10456.jpg
/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_17_9374.jpg
/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_28_10379.jpg
/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_38_10479.jpg
/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_48_9474.jpg
/home/pi/Desktop/images/09042025/00/40/image_09042025_00_40_58_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678281","1350678272","1350678274","1350678283","1350678279","1350678276"],"photo_ids_order":["1350678272","1350678274","1350678276","1350678279","1350678281","1350678283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d71ca178b0939dcb64608914ca1cbbf4.jpg","text":"TemporaryFile(/tmp/multipartBody1484139726858374634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166013128,"filename":"image_09042025_00_40_48_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2af13cd291937ea4e903ef54e3f2ae88.jpg","text":"TemporaryFile(/tmp/multipartBody2880931578023659092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166013128,"filename":"image_09042025_00_40_08_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b5f86e73c6bae0280216eebc41672a33.jpg","text":"TemporaryFile(/tmp/multipartBody4133190120976791431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166013128,"filename":"image_09042025_00_40_17_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe41a687bc776da9be9c7d717349082c.jpg","text":"TemporaryFile(/tmp/multipartBody3608281366118545577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166013128,"filename":"image_09042025_00_40_58_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2b4f4b068b42a2aaa42a072204326f8.jpg","text":"TemporaryFile(/tmp/multipartBody7205484252964947902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166013128,"filename":"image_09042025_00_40_38_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9ee248b43e776a3b18ef11964d45249e.jpg","text":"TemporaryFile(/tmp/multipartBody3165360235198881912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166013128,"filename":"image_09042025_00_40_28_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678276","file1":"1350678274","file0":"1350678272","file4":"1350678281","file5":"1350678283","file3":"1350678279"},"map_files_photo_id_array":[{"photo_id":"1350678283","filename":"file5"},{"photo_id":"1350678276","filename":"file2"},{"photo_id":"1350678281","filename":"file4"},{"photo_id":"1350678274","filename":"file1"},{"photo_id":"1350678272","filename":"file0"},{"photo_id":"1350678279","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678281":["hashtag1","hashtag2"]},{"1350678272":["hashtag1","hashtag2"]},{"1350678274":["hashtag1","hashtag2"]},{"1350678283":["hashtag1","hashtag2"]},{"1350678279":["hashtag1","hashtag2"]},{"1350678276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678281, 1350678272, 1350678274, 1350678283, 1350678279, 1350678276)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 29.503709316253662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:33:32.839077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/40/image_09042025_00_41_07_9360.jpg', '/home/pi/Desktop/images/09042025/00/41/image_09042025_00_41_18_10434.jpg', '/home/pi/Desktop/images/09042025/00/41/image_09042025_00_41_28_10353.jpg', '/home/pi/Desktop/images/09042025/00/41/image_09042025_00_41_48_10381.jpg', '/home/pi/Desktop/images/09042025/00/41/image_09042025_00_41_57_9416.jpg', '/home/pi/Desktop/images/09042025/00/41/image_09042025_00_42_08_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/40/image_09042025_00_41_07_9360.jpg
/home/pi/Desktop/images/09042025/00/41/image_09042025_00_41_18_10434.jpg
/home/pi/Desktop/images/09042025/00/41/image_09042025_00_41_28_10353.jpg
/home/pi/Desktop/images/09042025/00/41/image_09042025_00_41_48_10381.jpg
/home/pi/Desktop/images/09042025/00/41/image_09042025_00_41_57_9416.jpg
/home/pi/Desktop/images/09042025/00/41/image_09042025_00_42_08_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":["1350678303","1350678296","1350678300","1350678299","1350678305","1350678297"],"photo_ids_order":["1350678296","1350678297","1350678299","1350678300","1350678303","1350678305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3482d9f7e063528c8a05bd864fde6c48.jpg","text":"TemporaryFile(/tmp/multipartBody4818156189866195304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166073313,"filename":"image_09042025_00_41_57_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d473eeff0caf64b4f3f9b62d082cd18.jpg","text":"TemporaryFile(/tmp/multipartBody2430010586658305801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166073313,"filename":"image_09042025_00_41_07_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fedd3a57ee69f1a7e9d0944cf7800037.jpg","text":"TemporaryFile(/tmp/multipartBody2013270577978809552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166073313,"filename":"image_09042025_00_41_48_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/477c0d7d17af155a498f0423587d21e2.jpg","text":"TemporaryFile(/tmp/multipartBody7868460593305607701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166073313,"filename":"image_09042025_00_41_28_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/713e80c0e8ef5fcdf9b9c22cea759529.jpg","text":"TemporaryFile(/tmp/multipartBody2580385734633017093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166073313,"filename":"image_09042025_00_42_08_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f8e7b35929d883b3cd3a89d1ef38843.jpg","text":"TemporaryFile(/tmp/multipartBody3015278734988410012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166073313,"filename":"image_09042025_00_41_18_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678299","file1":"1350678297","file0":"1350678296","file4":"1350678303","file5":"1350678305","file3":"1350678300"},"map_files_photo_id_array":[{"photo_id":"1350678305","filename":"file5"},{"photo_id":"1350678299","filename":"file2"},{"photo_id":"1350678303","filename":"file4"},{"photo_id":"1350678297","filename":"file1"},{"photo_id":"1350678296","filename":"file0"},{"photo_id":"1350678300","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678303":["hashtag1","hashtag2"]},{"1350678296":["hashtag1","hashtag2"]},{"1350678300":["hashtag1","hashtag2"]},{"1350678299":["hashtag1","hashtag2"]},{"1350678305":["hashtag1","hashtag2"]},{"1350678297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678303, 1350678296, 1350678300, 1350678299, 1350678305, 1350678297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.276278018951416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:34:33.041121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_18_10361.jpg', '/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_27_9356.jpg', '/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_38_10356.jpg', '/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_47_9487.jpg', '/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_58_10450.jpg', '/home/pi/Desktop/images/09042025/00/42/image_09042025_00_43_08_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_18_10361.jpg
/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_27_9356.jpg
/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_38_10356.jpg
/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_47_9487.jpg
/home/pi/Desktop/images/09042025/00/42/image_09042025_00_42_58_10450.jpg
/home/pi/Desktop/images/09042025/00/42/image_09042025_00_43_08_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":["1350678321","1350678312","1350678320","1350678314","1350678317","1350678322"],"photo_ids_order":["1350678312","1350678314","1350678317","1350678320","1350678321","1350678322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/588935898464c088a8c168e208f731cf.jpg","text":"TemporaryFile(/tmp/multipartBody3571631945219819720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166133505,"filename":"image_09042025_00_42_58_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4dbba4d64c7acc7248670b4bdaa7e3f4.jpg","text":"TemporaryFile(/tmp/multipartBody4098881055007942611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166133505,"filename":"image_09042025_00_42_18_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4dac9f70f90ec62757606d83eff72fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8292076225922447166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166133505,"filename":"image_09042025_00_42_47_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/533eb8617bd9a07d35c523ccd5fcf90c.jpg","text":"TemporaryFile(/tmp/multipartBody5690119200479164763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166133505,"filename":"image_09042025_00_42_27_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c87ce3dae51f3b8e47cf7cc8c62e524.jpg","text":"TemporaryFile(/tmp/multipartBody5601511673358515369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166133505,"filename":"image_09042025_00_42_38_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aefbf1308f64346469f3c5add535b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody1880276135524671856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166133505,"filename":"image_09042025_00_43_08_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678317","file1":"1350678314","file0":"1350678312","file4":"1350678321","file5":"1350678322","file3":"1350678320"},"map_files_photo_id_array":[{"photo_id":"1350678322","filename":"file5"},{"photo_id":"1350678317","filename":"file2"},{"photo_id":"1350678321","filename":"file4"},{"photo_id":"1350678314","filename":"file1"},{"photo_id":"1350678312","filename":"file0"},{"photo_id":"1350678320","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678321":["hashtag1","hashtag2"]},{"1350678312":["hashtag1","hashtag2"]},{"1350678320":["hashtag1","hashtag2"]},{"1350678314":["hashtag1","hashtag2"]},{"1350678317":["hashtag1","hashtag2"]},{"1350678322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678321, 1350678312, 1350678320, 1350678314, 1350678317, 1350678322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91030669212341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:35:32.233078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_17_9367.jpg', '/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_28_10379.jpg', '/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_37_9440.jpg', '/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_48_10375.jpg', '/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_58_10440.jpg', '/home/pi/Desktop/images/09042025/00/43/image_09042025_00_44_07_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_17_9367.jpg
/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_28_10379.jpg
/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_37_9440.jpg
/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_48_10375.jpg
/home/pi/Desktop/images/09042025/00/43/image_09042025_00_43_58_10440.jpg
/home/pi/Desktop/images/09042025/00/43/image_09042025_00_44_07_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":["1350678342","1350678336","1350678339","1350678341","1350678335","1350678338"],"photo_ids_order":["1350678335","1350678336","1350678338","1350678339","1350678341","1350678342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3bb691f350492921152c89e9c84b0dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7862747819047587586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166192693,"filename":"image_09042025_00_44_07_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfcca75ba82388d07becbeb3db4312d1.jpg","text":"TemporaryFile(/tmp/multipartBody1616800343231594836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166192693,"filename":"image_09042025_00_43_28_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd60af5b2e23a5bb9617596311831c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6197190413788110206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166192693,"filename":"image_09042025_00_43_48_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f3fb7aa645b708b4b4916dc07eff64b0.jpg","text":"TemporaryFile(/tmp/multipartBody3138348553706562789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166192693,"filename":"image_09042025_00_43_58_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/40f4aa151bca411283d8e0f357115694.jpg","text":"TemporaryFile(/tmp/multipartBody2915734422088188685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166192693,"filename":"image_09042025_00_43_17_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6adc944ca8c6962087a5430db13b4c1.jpg","text":"TemporaryFile(/tmp/multipartBody8539250213412343252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166192693,"filename":"image_09042025_00_43_37_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678338","file1":"1350678336","file0":"1350678335","file4":"1350678341","file5":"1350678342","file3":"1350678339"},"map_files_photo_id_array":[{"photo_id":"1350678342","filename":"file5"},{"photo_id":"1350678338","filename":"file2"},{"photo_id":"1350678341","filename":"file4"},{"photo_id":"1350678336","filename":"file1"},{"photo_id":"1350678335","filename":"file0"},{"photo_id":"1350678339","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678342":["hashtag1","hashtag2"]},{"1350678336":["hashtag1","hashtag2"]},{"1350678339":["hashtag1","hashtag2"]},{"1350678341":["hashtag1","hashtag2"]},{"1350678335":["hashtag1","hashtag2"]},{"1350678338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678342, 1350678336, 1350678339, 1350678341, 1350678335, 1350678338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28296685218811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:36:32.345364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/44/image_09042025_00_44_18_10360.jpg', '/home/pi/Desktop/images/09042025/00/44/image_09042025_00_44_28_10392.jpg', '/home/pi/Desktop/images/09042025/00/44/image_09042025_00_44_48_10371.jpg', '/home/pi/Desktop/images/09042025/00/44/image_09042025_00_44_57_9372.jpg', '/home/pi/Desktop/images/09042025/00/44/image_09042025_00_45_08_10339.jpg', '/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_17_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/44/image_09042025_00_44_18_10360.jpg
/home/pi/Desktop/images/09042025/00/44/image_09042025_00_44_28_10392.jpg
/home/pi/Desktop/images/09042025/00/44/image_09042025_00_44_48_10371.jpg
/home/pi/Desktop/images/09042025/00/44/image_09042025_00_44_57_9372.jpg
/home/pi/Desktop/images/09042025/00/44/image_09042025_00_45_08_10339.jpg
/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_17_9473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678357","1350678356","1350678355","1350678349","1350678351","1350678354"],"photo_ids_order":["1350678349","1350678351","1350678354","1350678355","1350678356","1350678357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7cd5d63707b5a857f3daf9eeb9da7d27.jpg","text":"TemporaryFile(/tmp/multipartBody3566692599752669128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166252806,"filename":"image_09042025_00_45_17_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/95d2520a00dc29f36a15e06c0f1051bc.jpg","text":"TemporaryFile(/tmp/multipartBody9209212302418176838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166252806,"filename":"image_09042025_00_45_08_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a0016cc1567c3907049784980cf65198.jpg","text":"TemporaryFile(/tmp/multipartBody483519540447323184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166252806,"filename":"image_09042025_00_44_57_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ea33f2807e74752c563341479eb2ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1365752535192885466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166252806,"filename":"image_09042025_00_44_18_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/529224f45f99d35e3f7cca4393705ee1.jpg","text":"TemporaryFile(/tmp/multipartBody194380617489844319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166252806,"filename":"image_09042025_00_44_28_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f07f2b9233ba403bececf2f71311b79.jpg","text":"TemporaryFile(/tmp/multipartBody6790931387889957575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166252806,"filename":"image_09042025_00_44_48_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678354","file1":"1350678351","file0":"1350678349","file4":"1350678356","file5":"1350678357","file3":"1350678355"},"map_files_photo_id_array":[{"photo_id":"1350678357","filename":"file5"},{"photo_id":"1350678354","filename":"file2"},{"photo_id":"1350678356","filename":"file4"},{"photo_id":"1350678351","filename":"file1"},{"photo_id":"1350678349","filename":"file0"},{"photo_id":"1350678355","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678357":["hashtag1","hashtag2"]},{"1350678356":["hashtag1","hashtag2"]},{"1350678355":["hashtag1","hashtag2"]},{"1350678349":["hashtag1","hashtag2"]},{"1350678351":["hashtag1","hashtag2"]},{"1350678354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678357, 1350678356, 1350678355, 1350678349, 1350678351, 1350678354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42614030838013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:37:32.538045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_28_10426.jpg', '/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_38_10477.jpg', '/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_48_9369.jpg', '/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_58_10361.jpg', '/home/pi/Desktop/images/09042025/00/45/image_09042025_00_46_07_9434.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_18_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_28_10426.jpg
/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_38_10477.jpg
/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_48_9369.jpg
/home/pi/Desktop/images/09042025/00/45/image_09042025_00_45_58_10361.jpg
/home/pi/Desktop/images/09042025/00/45/image_09042025_00_46_07_9434.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_18_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":["1350678371","1350678368","1350678367","1350678370","1350678366","1350678369"],"photo_ids_order":["1350678366","1350678367","1350678368","1350678369","1350678370","1350678371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a8e3d0e3abf89d620dd323f5d4e8ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2715372302538423012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166312997,"filename":"image_09042025_00_46_18_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/761587c72d0111171ffefbc0fa563993.jpg","text":"TemporaryFile(/tmp/multipartBody4433337484968767224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166312997,"filename":"image_09042025_00_45_48_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9954de9dcfca1fed1812e9034c032246.jpg","text":"TemporaryFile(/tmp/multipartBody4168085042816446821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166312997,"filename":"image_09042025_00_45_38_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/208b22620bd52b800c07d0dd2d240a83.jpg","text":"TemporaryFile(/tmp/multipartBody7293431390303270732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166312997,"filename":"image_09042025_00_46_07_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/20187f5f79d19b58d5daa185d6948bb3.jpg","text":"TemporaryFile(/tmp/multipartBody7489498945989948337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166312997,"filename":"image_09042025_00_45_28_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7938391f787947e062e0f61a3cdef674.jpg","text":"TemporaryFile(/tmp/multipartBody2716760788715391890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166312997,"filename":"image_09042025_00_45_58_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678368","file1":"1350678367","file0":"1350678366","file4":"1350678370","file5":"1350678371","file3":"1350678369"},"map_files_photo_id_array":[{"photo_id":"1350678371","filename":"file5"},{"photo_id":"1350678368","filename":"file2"},{"photo_id":"1350678370","filename":"file4"},{"photo_id":"1350678367","filename":"file1"},{"photo_id":"1350678366","filename":"file0"},{"photo_id":"1350678369","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678371":["hashtag1","hashtag2"]},{"1350678368":["hashtag1","hashtag2"]},{"1350678367":["hashtag1","hashtag2"]},{"1350678370":["hashtag1","hashtag2"]},{"1350678366":["hashtag1","hashtag2"]},{"1350678369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678371, 1350678368, 1350678367, 1350678370, 1350678366, 1350678369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52825164794922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:38:32.781943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_28_10395.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_37_9359.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_48_10394.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_57_9435.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_47_08_10366.jpg', '/home/pi/Desktop/images/09042025/00/47/image_09042025_00_47_28_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_28_10395.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_37_9359.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_48_10394.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_57_9435.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_47_08_10366.jpg
/home/pi/Desktop/images/09042025/00/47/image_09042025_00_47_28_9353.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3933827877044678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 04:38:42.817147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_28_10395.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_37_9359.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_48_10394.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_57_9435.jpg', '/home/pi/Desktop/images/09042025/00/46/image_09042025_00_47_08_10366.jpg', '/home/pi/Desktop/images/09042025/00/47/image_09042025_00_47_28_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_28_10395.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_37_9359.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_48_10394.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_46_57_9435.jpg
/home/pi/Desktop/images/09042025/00/46/image_09042025_00_47_08_10366.jpg
/home/pi/Desktop/images/09042025/00/47/image_09042025_00_47_28_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":["1350678389","1350678383","1350678392","1350678391","1350678385","1350678390"],"photo_ids_order":["1350678383","1350678385","1350678389","1350678390","1350678391","1350678392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/568b0030f8dc35e23d5986ee18448120.jpg","text":"TemporaryFile(/tmp/multipartBody3324411976616548686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166383281,"filename":"image_09042025_00_46_48_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bebb97669ae84f26f6a4f636eba715b7.jpg","text":"TemporaryFile(/tmp/multipartBody7469752237214090088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166383281,"filename":"image_09042025_00_46_28_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/60d25359ecef5009c26ff1a4ee771849.jpg","text":"TemporaryFile(/tmp/multipartBody6659826741950592769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166383281,"filename":"image_09042025_00_47_28_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/abc8f8f7894e0c0b56c1072faeb77b36.jpg","text":"TemporaryFile(/tmp/multipartBody2707122732737231387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166383281,"filename":"image_09042025_00_47_08_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0af333c2472ed555e8d316b125ebbecf.jpg","text":"TemporaryFile(/tmp/multipartBody3280577153419602067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166383281,"filename":"image_09042025_00_46_37_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11b099d50233a7919de06fe7a56ba72b.jpg","text":"TemporaryFile(/tmp/multipartBody8963747191139492565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166383281,"filename":"image_09042025_00_46_57_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678389","file1":"1350678385","file0":"1350678383","file4":"1350678391","file5":"1350678392","file3":"1350678390"},"map_files_photo_id_array":[{"photo_id":"1350678392","filename":"file5"},{"photo_id":"1350678389","filename":"file2"},{"photo_id":"1350678391","filename":"file4"},{"photo_id":"1350678385","filename":"file1"},{"photo_id":"1350678383","filename":"file0"},{"photo_id":"1350678390","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678389":["hashtag1","hashtag2"]},{"1350678383":["hashtag1","hashtag2"]},{"1350678392":["hashtag1","hashtag2"]},{"1350678391":["hashtag1","hashtag2"]},{"1350678385":["hashtag1","hashtag2"]},{"1350678390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678389, 1350678383, 1350678392, 1350678391, 1350678385, 1350678390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50817656517029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:39:32.957860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/47/image_09042025_00_47_38_10365.jpg', '/home/pi/Desktop/images/09042025/00/47/image_09042025_00_47_47_9461.jpg', '/home/pi/Desktop/images/09042025/00/47/image_09042025_00_48_08_10484.jpg', '/home/pi/Desktop/images/09042025/00/48/image_09042025_00_48_28_10492.jpg', '/home/pi/Desktop/images/09042025/00/48/image_09042025_00_48_38_9379.jpg', '/home/pi/Desktop/images/09042025/00/48/image_09042025_00_48_48_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/47/image_09042025_00_47_38_10365.jpg
/home/pi/Desktop/images/09042025/00/47/image_09042025_00_47_47_9461.jpg
/home/pi/Desktop/images/09042025/00/47/image_09042025_00_48_08_10484.jpg
/home/pi/Desktop/images/09042025/00/48/image_09042025_00_48_28_10492.jpg
/home/pi/Desktop/images/09042025/00/48/image_09042025_00_48_38_9379.jpg
/home/pi/Desktop/images/09042025/00/48/image_09042025_00_48_48_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678402","1350678401","1350678404","1350678403","1350678400","1350678399"],"photo_ids_order":["1350678399","1350678400","1350678401","1350678402","1350678403","1350678404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/903ee409356da29b8bb3463dfea8e17c.jpg","text":"TemporaryFile(/tmp/multipartBody7901446128308420428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166433419,"filename":"image_09042025_00_48_28_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/034edeb114ce80c053e2bc03a51aa97e.jpg","text":"TemporaryFile(/tmp/multipartBody842774822660882664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166433419,"filename":"image_09042025_00_48_08_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f666d64416e1e778135c31a88166725.jpg","text":"TemporaryFile(/tmp/multipartBody2378123563975848307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166433419,"filename":"image_09042025_00_48_48_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79611501d343b01342768e84dda57576.jpg","text":"TemporaryFile(/tmp/multipartBody2616951527332547330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166433419,"filename":"image_09042025_00_48_38_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/909f5cd9659b696ad90bd446bcf8cdbf.jpg","text":"TemporaryFile(/tmp/multipartBody2218050420367677084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166433419,"filename":"image_09042025_00_47_47_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/02846d68c0e203a1da8b607424ff9415.jpg","text":"TemporaryFile(/tmp/multipartBody7576014439742179504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166433419,"filename":"image_09042025_00_47_38_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678401","file1":"1350678400","file0":"1350678399","file4":"1350678403","file5":"1350678404","file3":"1350678402"},"map_files_photo_id_array":[{"photo_id":"1350678404","filename":"file5"},{"photo_id":"1350678401","filename":"file2"},{"photo_id":"1350678403","filename":"file4"},{"photo_id":"1350678400","filename":"file1"},{"photo_id":"1350678399","filename":"file0"},{"photo_id":"1350678402","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678402":["hashtag1","hashtag2"]},{"1350678401":["hashtag1","hashtag2"]},{"1350678404":["hashtag1","hashtag2"]},{"1350678403":["hashtag1","hashtag2"]},{"1350678400":["hashtag1","hashtag2"]},{"1350678399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678402, 1350678401, 1350678404, 1350678403, 1350678400, 1350678399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3733811378479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:40:32.252277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/48/image_09042025_00_48_57_9372.jpg', '/home/pi/Desktop/images/09042025/00/48/image_09042025_00_49_08_10387.jpg', '/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_17_9481.jpg', '/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_28_10372.jpg', '/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_38_10446.jpg', '/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_48_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/48/image_09042025_00_48_57_9372.jpg
/home/pi/Desktop/images/09042025/00/48/image_09042025_00_49_08_10387.jpg
/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_17_9481.jpg
/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_28_10372.jpg
/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_38_10446.jpg
/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_48_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":["1350678414","1350678416","1350678410","1350678418","1350678412","1350678409"],"photo_ids_order":["1350678409","1350678410","1350678412","1350678414","1350678416","1350678418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de45c9c7f0efdde8678cad0ada22d279.jpg","text":"TemporaryFile(/tmp/multipartBody6876055374870086174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166492725,"filename":"image_09042025_00_49_28_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/922c99452af62fb2d6f7ec304ec74527.jpg","text":"TemporaryFile(/tmp/multipartBody7467793294936727994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166492725,"filename":"image_09042025_00_49_38_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c0701b2f26495691eb1659644d1217a.jpg","text":"TemporaryFile(/tmp/multipartBody777930325252989128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166492725,"filename":"image_09042025_00_49_08_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/319842b2741db6d88e76d066ef032e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3464938396697255519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166492725,"filename":"image_09042025_00_49_48_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/012300f42928a57480244d1568d2f5dc.jpg","text":"TemporaryFile(/tmp/multipartBody7987223541583171333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166492725,"filename":"image_09042025_00_49_17_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4bde21e91dda13511b2ab4b5581fc08.jpg","text":"TemporaryFile(/tmp/multipartBody4289047909815966178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166492725,"filename":"image_09042025_00_48_57_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678412","file1":"1350678410","file0":"1350678409","file4":"1350678416","file5":"1350678418","file3":"1350678414"},"map_files_photo_id_array":[{"photo_id":"1350678418","filename":"file5"},{"photo_id":"1350678412","filename":"file2"},{"photo_id":"1350678416","filename":"file4"},{"photo_id":"1350678410","filename":"file1"},{"photo_id":"1350678409","filename":"file0"},{"photo_id":"1350678414","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678414":["hashtag1","hashtag2"]},{"1350678416":["hashtag1","hashtag2"]},{"1350678410":["hashtag1","hashtag2"]},{"1350678418":["hashtag1","hashtag2"]},{"1350678412":["hashtag1","hashtag2"]},{"1350678409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678414, 1350678416, 1350678410, 1350678418, 1350678412, 1350678409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.238535404205322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:41:32.520040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_58_10366.jpg', '/home/pi/Desktop/images/09042025/00/49/image_09042025_00_50_07_9392.jpg', '/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_18_10476.jpg', '/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_28_10404.jpg', '/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_38_9373.jpg', '/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_48_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/49/image_09042025_00_49_58_10366.jpg
/home/pi/Desktop/images/09042025/00/49/image_09042025_00_50_07_9392.jpg
/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_18_10476.jpg
/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_28_10404.jpg
/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_38_9373.jpg
/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_48_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":["1350678429","1350678426","1350678428","1350678422","1350678424","1350678427"],"photo_ids_order":["1350678422","1350678424","1350678426","1350678427","1350678428","1350678429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cd9c78ec01a587cc71e622afdb4c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody1812357174868834918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166552996,"filename":"image_09042025_00_50_48_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06cb8fe2551b626944630faddd94d984.jpg","text":"TemporaryFile(/tmp/multipartBody2202474439335741516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166552996,"filename":"image_09042025_00_50_18_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ef6619fd43319ca767086a478eca782.jpg","text":"TemporaryFile(/tmp/multipartBody4363312397122641789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166552996,"filename":"image_09042025_00_50_38_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/934a04a80b5ddfbaab64cdeb3528f8cf.jpg","text":"TemporaryFile(/tmp/multipartBody4325110476977328904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166552996,"filename":"image_09042025_00_49_58_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/372d87484d04cc638d2e8abbf63ea218.jpg","text":"TemporaryFile(/tmp/multipartBody1983876474489597836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166552996,"filename":"image_09042025_00_50_07_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc417f49c1a6c9a3432384daef1e20c1.jpg","text":"TemporaryFile(/tmp/multipartBody4669906571412244789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166552996,"filename":"image_09042025_00_50_28_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678426","file1":"1350678424","file0":"1350678422","file4":"1350678428","file5":"1350678429","file3":"1350678427"},"map_files_photo_id_array":[{"photo_id":"1350678429","filename":"file5"},{"photo_id":"1350678426","filename":"file2"},{"photo_id":"1350678428","filename":"file4"},{"photo_id":"1350678424","filename":"file1"},{"photo_id":"1350678422","filename":"file0"},{"photo_id":"1350678427","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678429":["hashtag1","hashtag2"]},{"1350678426":["hashtag1","hashtag2"]},{"1350678428":["hashtag1","hashtag2"]},{"1350678422":["hashtag1","hashtag2"]},{"1350678424":["hashtag1","hashtag2"]},{"1350678427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678429, 1350678426, 1350678428, 1350678422, 1350678424, 1350678427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.582884788513184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:42:32.880391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_57_9377.jpg', '/home/pi/Desktop/images/09042025/00/50/image_09042025_00_51_08_10364.jpg', '/home/pi/Desktop/images/09042025/00/51/image_09042025_00_51_18_10427.jpg', '/home/pi/Desktop/images/09042025/00/51/image_09042025_00_51_27_9349.jpg', '/home/pi/Desktop/images/09042025/00/51/image_09042025_00_51_48_10365.jpg', '/home/pi/Desktop/images/09042025/00/51/image_09042025_00_51_58_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/50/image_09042025_00_50_57_9377.jpg
/home/pi/Desktop/images/09042025/00/50/image_09042025_00_51_08_10364.jpg
/home/pi/Desktop/images/09042025/00/51/image_09042025_00_51_18_10427.jpg
/home/pi/Desktop/images/09042025/00/51/image_09042025_00_51_27_9349.jpg
/home/pi/Desktop/images/09042025/00/51/image_09042025_00_51_48_10365.jpg
/home/pi/Desktop/images/09042025/00/51/image_09042025_00_51_58_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":["1350678441","1350678444","1350678446","1350678442","1350678436","1350678439"],"photo_ids_order":["1350678436","1350678439","1350678441","1350678442","1350678444","1350678446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36a220cc9330eec7b815af2f7807fb31.jpg","text":"TemporaryFile(/tmp/multipartBody8332160077923725031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166613364,"filename":"image_09042025_00_51_18_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f3e4d56eec81bb334cb36f9eeead4fe6.jpg","text":"TemporaryFile(/tmp/multipartBody866912514253163950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166613364,"filename":"image_09042025_00_51_48_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d0219c58db51c9354fcc09aea42155eb.jpg","text":"TemporaryFile(/tmp/multipartBody1000341670412455996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166613364,"filename":"image_09042025_00_51_58_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/84b2e4dc71edc3b6f857de2e790a13cd.jpg","text":"TemporaryFile(/tmp/multipartBody1001014606967087706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166613364,"filename":"image_09042025_00_51_27_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b86097567e7e8c5e7f3d6df71ff725e4.jpg","text":"TemporaryFile(/tmp/multipartBody5755941206104486930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166613364,"filename":"image_09042025_00_50_57_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b2acf42aa52ea9844d94953ede00ecb8.jpg","text":"TemporaryFile(/tmp/multipartBody7355949546725772348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166613364,"filename":"image_09042025_00_51_08_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678441","file1":"1350678439","file0":"1350678436","file4":"1350678444","file5":"1350678446","file3":"1350678442"},"map_files_photo_id_array":[{"photo_id":"1350678446","filename":"file5"},{"photo_id":"1350678441","filename":"file2"},{"photo_id":"1350678444","filename":"file4"},{"photo_id":"1350678439","filename":"file1"},{"photo_id":"1350678436","filename":"file0"},{"photo_id":"1350678442","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678441":["hashtag1","hashtag2"]},{"1350678444":["hashtag1","hashtag2"]},{"1350678446":["hashtag1","hashtag2"]},{"1350678442":["hashtag1","hashtag2"]},{"1350678436":["hashtag1","hashtag2"]},{"1350678439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678441, 1350678444, 1350678446, 1350678442, 1350678436, 1350678439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34110903739929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:43:33.116021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/51/image_09042025_00_52_08_10488.jpg', '/home/pi/Desktop/images/09042025/00/52/image_09042025_00_52_17_9359.jpg', '/home/pi/Desktop/images/09042025/00/52/image_09042025_00_52_28_10368.jpg', '/home/pi/Desktop/images/09042025/00/52/image_09042025_00_52_37_9444.jpg', '/home/pi/Desktop/images/09042025/00/52/image_09042025_00_52_48_10382.jpg', '/home/pi/Desktop/images/09042025/00/52/image_09042025_00_53_08_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/51/image_09042025_00_52_08_10488.jpg
/home/pi/Desktop/images/09042025/00/52/image_09042025_00_52_17_9359.jpg
/home/pi/Desktop/images/09042025/00/52/image_09042025_00_52_28_10368.jpg
/home/pi/Desktop/images/09042025/00/52/image_09042025_00_52_37_9444.jpg
/home/pi/Desktop/images/09042025/00/52/image_09042025_00_52_48_10382.jpg
/home/pi/Desktop/images/09042025/00/52/image_09042025_00_53_08_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":["1350678456","1350678455","1350678454","1350678457","1350678451","1350678453"],"photo_ids_order":["1350678451","1350678453","1350678454","1350678455","1350678456","1350678457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/335b95236058da62d68bd80b57fd26c8.jpg","text":"TemporaryFile(/tmp/multipartBody438847206057300101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166673582,"filename":"image_09042025_00_52_48_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aa55edf49b175aeb7a57a1b9dd5ad3da.jpg","text":"TemporaryFile(/tmp/multipartBody6024547546743559130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166673582,"filename":"image_09042025_00_52_37_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9509768175d80feb2331cf2dbf81028.jpg","text":"TemporaryFile(/tmp/multipartBody6577248962464693073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166673582,"filename":"image_09042025_00_52_28_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2509fac882f0340d984812df75db406d.jpg","text":"TemporaryFile(/tmp/multipartBody3823082485074546618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166673582,"filename":"image_09042025_00_53_08_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5eb301bd7d1805e2275e7382a0b85871.jpg","text":"TemporaryFile(/tmp/multipartBody8164756306426987512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166673582,"filename":"image_09042025_00_52_08_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36e54448d88278f8d5348964b4a90652.jpg","text":"TemporaryFile(/tmp/multipartBody3709853693808159802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166673582,"filename":"image_09042025_00_52_17_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678454","file1":"1350678453","file0":"1350678451","file4":"1350678456","file5":"1350678457","file3":"1350678455"},"map_files_photo_id_array":[{"photo_id":"1350678457","filename":"file5"},{"photo_id":"1350678454","filename":"file2"},{"photo_id":"1350678456","filename":"file4"},{"photo_id":"1350678453","filename":"file1"},{"photo_id":"1350678451","filename":"file0"},{"photo_id":"1350678455","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678456":["hashtag1","hashtag2"]},{"1350678455":["hashtag1","hashtag2"]},{"1350678454":["hashtag1","hashtag2"]},{"1350678457":["hashtag1","hashtag2"]},{"1350678451":["hashtag1","hashtag2"]},{"1350678453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678456, 1350678455, 1350678454, 1350678457, 1350678451, 1350678453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.057191610336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:44:32.253675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/53/image_09042025_00_53_18_10407.jpg', '/home/pi/Desktop/images/09042025/00/54/image_09042025_00_54_38_10418.jpg', '/home/pi/Desktop/images/09042025/00/54/image_09042025_00_54_48_9362.jpg', '/home/pi/Desktop/images/09042025/00/54/image_09042025_00_54_58_10454.jpg', '/home/pi/Desktop/images/09042025/00/54/image_09042025_00_55_07_9382.jpg', '/home/pi/Desktop/images/09042025/00/55/image_09042025_00_55_38_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/53/image_09042025_00_53_18_10407.jpg
/home/pi/Desktop/images/09042025/00/54/image_09042025_00_54_38_10418.jpg
/home/pi/Desktop/images/09042025/00/54/image_09042025_00_54_48_9362.jpg
/home/pi/Desktop/images/09042025/00/54/image_09042025_00_54_58_10454.jpg
/home/pi/Desktop/images/09042025/00/54/image_09042025_00_55_07_9382.jpg
/home/pi/Desktop/images/09042025/00/55/image_09042025_00_55_38_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678473","1350678470","1350678472","1350678469","1350678471","1350678468"],"photo_ids_order":["1350678468","1350678469","1350678470","1350678471","1350678472","1350678473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bbb2764b45ceca3263d069a65c44b396.jpg","text":"TemporaryFile(/tmp/multipartBody8770629090422113598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166732715,"filename":"image_09042025_00_55_38_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/93aebb935e562402788550300d041057.jpg","text":"TemporaryFile(/tmp/multipartBody5329731125545802232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166732715,"filename":"image_09042025_00_54_48_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c53362cc1dfbb99ced7b5a12a7f6f892.jpg","text":"TemporaryFile(/tmp/multipartBody1056303288920006209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166732715,"filename":"image_09042025_00_55_07_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea11bdd7b1c24e17ea06c294ad1fce51.jpg","text":"TemporaryFile(/tmp/multipartBody7999422317907814363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166732715,"filename":"image_09042025_00_54_38_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4ff6f21a5f4d9695577d95acf6b54ec.jpg","text":"TemporaryFile(/tmp/multipartBody4535315873824429447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166732715,"filename":"image_09042025_00_54_58_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4a1a7881d6639e4f8bb1594ba532c28.jpg","text":"TemporaryFile(/tmp/multipartBody5609246428722036365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166732715,"filename":"image_09042025_00_53_18_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678470","file1":"1350678469","file0":"1350678468","file4":"1350678472","file5":"1350678473","file3":"1350678471"},"map_files_photo_id_array":[{"photo_id":"1350678473","filename":"file5"},{"photo_id":"1350678470","filename":"file2"},{"photo_id":"1350678472","filename":"file4"},{"photo_id":"1350678469","filename":"file1"},{"photo_id":"1350678468","filename":"file0"},{"photo_id":"1350678471","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678473":["hashtag1","hashtag2"]},{"1350678470":["hashtag1","hashtag2"]},{"1350678472":["hashtag1","hashtag2"]},{"1350678469":["hashtag1","hashtag2"]},{"1350678471":["hashtag1","hashtag2"]},{"1350678468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678473, 1350678470, 1350678472, 1350678469, 1350678471, 1350678468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76559066772461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:45:32.458286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/55/image_09042025_00_56_08_10363.jpg', '/home/pi/Desktop/images/09042025/00/56/image_09042025_00_56_17_9479.jpg', '/home/pi/Desktop/images/09042025/00/56/image_09042025_00_56_28_10366.jpg', '/home/pi/Desktop/images/09042025/00/56/image_09042025_00_56_58_10470.jpg', '/home/pi/Desktop/images/09042025/00/56/image_09042025_00_57_07_9384.jpg', '/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_18_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/55/image_09042025_00_56_08_10363.jpg
/home/pi/Desktop/images/09042025/00/56/image_09042025_00_56_17_9479.jpg
/home/pi/Desktop/images/09042025/00/56/image_09042025_00_56_28_10366.jpg
/home/pi/Desktop/images/09042025/00/56/image_09042025_00_56_58_10470.jpg
/home/pi/Desktop/images/09042025/00/56/image_09042025_00_57_07_9384.jpg
/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_18_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":["1350678482","1350678485","1350678479","1350678484","1350678487","1350678486"],"photo_ids_order":["1350678479","1350678482","1350678484","1350678485","1350678486","1350678487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c9d30dc7c6102a9473de20bb8d99145.jpg","text":"TemporaryFile(/tmp/multipartBody1129463827470819665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166792915,"filename":"image_09042025_00_56_17_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/32faabacdb1594859654348488baac47.jpg","text":"TemporaryFile(/tmp/multipartBody539599583651539890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166792915,"filename":"image_09042025_00_56_58_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f7c117392c7de62c0f3d282e703fd03e.jpg","text":"TemporaryFile(/tmp/multipartBody1049438565938095133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166792915,"filename":"image_09042025_00_56_08_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6ceeffa0511b36c3211b2e54296920fd.jpg","text":"TemporaryFile(/tmp/multipartBody6388473960478011336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166792915,"filename":"image_09042025_00_56_28_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/132973ece5e64251a6abbec1705e9f7e.jpg","text":"TemporaryFile(/tmp/multipartBody972840809689887477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166792915,"filename":"image_09042025_00_57_18_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a63e827d769d780126e4cfc1b962fe44.jpg","text":"TemporaryFile(/tmp/multipartBody3718525289137357287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166792915,"filename":"image_09042025_00_57_07_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678484","file1":"1350678482","file0":"1350678479","file4":"1350678486","file5":"1350678487","file3":"1350678485"},"map_files_photo_id_array":[{"photo_id":"1350678487","filename":"file5"},{"photo_id":"1350678484","filename":"file2"},{"photo_id":"1350678486","filename":"file4"},{"photo_id":"1350678482","filename":"file1"},{"photo_id":"1350678479","filename":"file0"},{"photo_id":"1350678485","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678482":["hashtag1","hashtag2"]},{"1350678485":["hashtag1","hashtag2"]},{"1350678479":["hashtag1","hashtag2"]},{"1350678484":["hashtag1","hashtag2"]},{"1350678487":["hashtag1","hashtag2"]},{"1350678486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678482, 1350678485, 1350678479, 1350678484, 1350678487, 1350678486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.379385232925415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:46:32.729239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_28_10476.jpg', '/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_38_9482.jpg', '/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_48_10363.jpg', '/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_57_9369.jpg', '/home/pi/Desktop/images/09042025/00/57/image_09042025_00_58_08_10380.jpg', '/home/pi/Desktop/images/09042025/00/58/image_09042025_00_58_17_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_28_10476.jpg
/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_38_9482.jpg
/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_48_10363.jpg
/home/pi/Desktop/images/09042025/00/57/image_09042025_00_57_57_9369.jpg
/home/pi/Desktop/images/09042025/00/57/image_09042025_00_58_08_10380.jpg
/home/pi/Desktop/images/09042025/00/58/image_09042025_00_58_17_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":["1350678501","1350678497","1350678500","1350678499","1350678496","1350678498"],"photo_ids_order":["1350678496","1350678497","1350678498","1350678499","1350678500","1350678501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ac48e23fce1fbd99adfdb35bb014a8a0.jpg","text":"TemporaryFile(/tmp/multipartBody5494831005173171323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166853199,"filename":"image_09042025_00_58_17_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b053ebb60f211eba2323530e1b5a6f4.jpg","text":"TemporaryFile(/tmp/multipartBody7697543755983315099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166853199,"filename":"image_09042025_00_57_38_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f30cf55e4c9d457820c63d51ffaa1fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5277417573898104994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166853199,"filename":"image_09042025_00_58_08_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/84e37e14e1990559d38b5a3c7d4d279d.jpg","text":"TemporaryFile(/tmp/multipartBody5005558321658142254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166853199,"filename":"image_09042025_00_57_57_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/def8de5427071b282822ec33a2933452.jpg","text":"TemporaryFile(/tmp/multipartBody1599965902577729813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166853199,"filename":"image_09042025_00_57_28_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a8c8013e8462241fb21e8776fbd50b7.jpg","text":"TemporaryFile(/tmp/multipartBody4854060964139783129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166853199,"filename":"image_09042025_00_57_48_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678498","file1":"1350678497","file0":"1350678496","file4":"1350678500","file5":"1350678501","file3":"1350678499"},"map_files_photo_id_array":[{"photo_id":"1350678501","filename":"file5"},{"photo_id":"1350678498","filename":"file2"},{"photo_id":"1350678500","filename":"file4"},{"photo_id":"1350678497","filename":"file1"},{"photo_id":"1350678496","filename":"file0"},{"photo_id":"1350678499","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678501":["hashtag1","hashtag2"]},{"1350678497":["hashtag1","hashtag2"]},{"1350678500":["hashtag1","hashtag2"]},{"1350678499":["hashtag1","hashtag2"]},{"1350678496":["hashtag1","hashtag2"]},{"1350678498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678501, 1350678497, 1350678500, 1350678499, 1350678496, 1350678498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31194996833801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:47:32.963335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/58/image_09042025_00_58_28_10393.jpg', '/home/pi/Desktop/images/09042025/00/58/image_09042025_00_58_38_10497.jpg', '/home/pi/Desktop/images/09042025/00/58/image_09042025_00_58_48_9358.jpg', '/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_18_10378.jpg', '/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_28_10414.jpg', '/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_37_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/58/image_09042025_00_58_28_10393.jpg
/home/pi/Desktop/images/09042025/00/58/image_09042025_00_58_38_10497.jpg
/home/pi/Desktop/images/09042025/00/58/image_09042025_00_58_48_9358.jpg
/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_18_10378.jpg
/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_28_10414.jpg
/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_37_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":["1350678513","1350678510","1350678512","1350678506","1350678511","1350678508"],"photo_ids_order":["1350678506","1350678508","1350678510","1350678511","1350678512","1350678513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24d2fd25f229f4ff3d58474d2a00a197.jpg","text":"TemporaryFile(/tmp/multipartBody710066370910595420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166913435,"filename":"image_09042025_00_59_37_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9ca828b8c6b8112d5831b140aee13e1d.jpg","text":"TemporaryFile(/tmp/multipartBody8920562050941834314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166913435,"filename":"image_09042025_00_58_48_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42b7e65b6ba5aa2e9f0959c85405ffd1.jpg","text":"TemporaryFile(/tmp/multipartBody2818925269726137935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166913435,"filename":"image_09042025_00_59_28_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd81d5b636eb7d4ffc91cfc628228036.jpg","text":"TemporaryFile(/tmp/multipartBody3722075823361119483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166913435,"filename":"image_09042025_00_58_28_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9bf190802de05669085c1749a9110aec.jpg","text":"TemporaryFile(/tmp/multipartBody6463344744882725676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166913435,"filename":"image_09042025_00_59_18_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6771cca105919841a5167ddb78934f6.jpg","text":"TemporaryFile(/tmp/multipartBody1960146723528994371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166913435,"filename":"image_09042025_00_58_38_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678510","file1":"1350678508","file0":"1350678506","file4":"1350678512","file5":"1350678513","file3":"1350678511"},"map_files_photo_id_array":[{"photo_id":"1350678513","filename":"file5"},{"photo_id":"1350678510","filename":"file2"},{"photo_id":"1350678512","filename":"file4"},{"photo_id":"1350678508","filename":"file1"},{"photo_id":"1350678506","filename":"file0"},{"photo_id":"1350678511","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678513":["hashtag1","hashtag2"]},{"1350678510":["hashtag1","hashtag2"]},{"1350678512":["hashtag1","hashtag2"]},{"1350678506":["hashtag1","hashtag2"]},{"1350678511":["hashtag1","hashtag2"]},{"1350678508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678513, 1350678510, 1350678512, 1350678506, 1350678511, 1350678508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.055655002593994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:48:32.276183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_48_10473.jpg', '/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_58_10363.jpg', '/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_14_10086.jpg', '/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_25_10401.jpg', '/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_35_10446.jpg', '/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_45_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_48_10473.jpg
/home/pi/Desktop/images/09042025/00/59/image_09042025_00_59_58_10363.jpg
/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_14_10086.jpg
/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_25_10401.jpg
/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_35_10446.jpg
/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_45_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678522","1350678525","1350678524","1350678520","1350678523","1350678526"],"photo_ids_order":["1350678520","1350678522","1350678523","1350678524","1350678525","1350678526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d43d7dc51a52b7c72b53d2555bb102c8.jpg","text":"TemporaryFile(/tmp/multipartBody4256662007850707513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166972745,"filename":"image_09042025_00_59_58_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bcf7965e2154a3e9959926d539a3fef0.jpg","text":"TemporaryFile(/tmp/multipartBody2963382964011215036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166972745,"filename":"image_09042025_01_01_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/4/9/d843799b1e29c0e5efbd2f617b9992a3.jpg","text":"TemporaryFile(/tmp/multipartBody3175711658360858580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166972745,"filename":"image_09042025_01_01_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/4/9/1fde31fca72a951d4b1b84e4f369945d.jpg","text":"TemporaryFile(/tmp/multipartBody8597686791320902916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166972745,"filename":"image_09042025_00_59_48_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af09a7b394e15bf9b3dfec561a677dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5271664882000329615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166972745,"filename":"image_09042025_01_01_14_10086.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2df6d42be6b2dd19b1b8bd5fd8f9747.jpg","text":"TemporaryFile(/tmp/multipartBody1307653918741630099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744166972745,"filename":"image_09042025_01_01_45_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678523","file1":"1350678522","file0":"1350678520","file4":"1350678525","file5":"1350678526","file3":"1350678524"},"map_files_photo_id_array":[{"photo_id":"1350678526","filename":"file5"},{"photo_id":"1350678523","filename":"file2"},{"photo_id":"1350678525","filename":"file4"},{"photo_id":"1350678522","filename":"file1"},{"photo_id":"1350678520","filename":"file0"},{"photo_id":"1350678524","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678522":["hashtag1","hashtag2"]},{"1350678525":["hashtag1","hashtag2"]},{"1350678524":["hashtag1","hashtag2"]},{"1350678520":["hashtag1","hashtag2"]},{"1350678523":["hashtag1","hashtag2"]},{"1350678526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678522, 1350678525, 1350678524, 1350678520, 1350678523, 1350678526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95807981491089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:49:32.543198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_55_10514.jpg', '/home/pi/Desktop/images/09042025/01/01/image_09042025_01_02_05_9373.jpg', '/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_15_10364.jpg', '/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_25_10367.jpg', '/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_35_9350.jpg', '/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_45_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/01/image_09042025_01_01_55_10514.jpg
/home/pi/Desktop/images/09042025/01/01/image_09042025_01_02_05_9373.jpg
/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_15_10364.jpg
/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_25_10367.jpg
/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_35_9350.jpg
/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_45_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678540","1350678537","1350678539","1350678533","1350678535","1350678531"],"photo_ids_order":["1350678531","1350678533","1350678535","1350678537","1350678539","1350678540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/108e80953c4ed16d9913aff3bcb8ce8f.jpg","text":"TemporaryFile(/tmp/multipartBody6462073645059796796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167033022,"filename":"image_09042025_01_02_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/4/9/771e50eecca191f9941e80a88b3f7179.jpg","text":"TemporaryFile(/tmp/multipartBody5253578581848972703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167033022,"filename":"image_09042025_01_02_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b405cca70da119e804b8e0ef2790fd79.jpg","text":"TemporaryFile(/tmp/multipartBody3722285107277122148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167033022,"filename":"image_09042025_01_02_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf06e43c86b0130520863d1093fb17d2.jpg","text":"TemporaryFile(/tmp/multipartBody2352098448348236593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167033022,"filename":"image_09042025_01_02_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a039e2d3e89fd28066a054e8b08bfdc2.jpg","text":"TemporaryFile(/tmp/multipartBody4642766291831924227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167033022,"filename":"image_09042025_01_02_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/4/9/3b6374c173b3bed24fc2dbfbb331d144.jpg","text":"TemporaryFile(/tmp/multipartBody6167219693778322662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167033022,"filename":"image_09042025_01_01_55_10514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678535","file1":"1350678533","file0":"1350678531","file4":"1350678539","file5":"1350678540","file3":"1350678537"},"map_files_photo_id_array":[{"photo_id":"1350678540","filename":"file5"},{"photo_id":"1350678535","filename":"file2"},{"photo_id":"1350678539","filename":"file4"},{"photo_id":"1350678533","filename":"file1"},{"photo_id":"1350678531","filename":"file0"},{"photo_id":"1350678537","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678540":["hashtag1","hashtag2"]},{"1350678537":["hashtag1","hashtag2"]},{"1350678539":["hashtag1","hashtag2"]},{"1350678533":["hashtag1","hashtag2"]},{"1350678535":["hashtag1","hashtag2"]},{"1350678531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678540, 1350678537, 1350678539, 1350678533, 1350678535, 1350678531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.812793254852295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:50:32.892725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_54_9360.jpg', '/home/pi/Desktop/images/09042025/01/02/image_09042025_01_03_05_10362.jpg', '/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_15_10447.jpg', '/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_25_9368.jpg', '/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_35_10496.jpg', '/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_45_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/02/image_09042025_01_02_54_9360.jpg
/home/pi/Desktop/images/09042025/01/02/image_09042025_01_03_05_10362.jpg
/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_15_10447.jpg
/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_25_9368.jpg
/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_35_10496.jpg
/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_45_9458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678549","1350678551","1350678548","1350678547","1350678550","1350678552"],"photo_ids_order":["1350678547","1350678548","1350678549","1350678550","1350678551","1350678552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a75f8423a3a9372d76dcd208de8170a8.jpg","text":"TemporaryFile(/tmp/multipartBody8647691607275337266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167093365,"filename":"image_09042025_01_03_15_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4eb3ad3dfef706ef8e4e72bbe4e4654.jpg","text":"TemporaryFile(/tmp/multipartBody5287060076287898865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167093365,"filename":"image_09042025_01_03_35_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c1c14b8090b749e7db1857b0f840efc.jpg","text":"TemporaryFile(/tmp/multipartBody7755604850100879056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167093365,"filename":"image_09042025_01_03_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/4/9/45ae7ba9d3eb1b6c390d4e36b2cb4be4.jpg","text":"TemporaryFile(/tmp/multipartBody656750131434522266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167093365,"filename":"image_09042025_01_02_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/4/9/e9fcd276d861fd123213126a3edf012e.jpg","text":"TemporaryFile(/tmp/multipartBody1407415398794042893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167093365,"filename":"image_09042025_01_03_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6addfa8640e4d17d1dd3476d8006343.jpg","text":"TemporaryFile(/tmp/multipartBody6094217530970800572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167093365,"filename":"image_09042025_01_03_45_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678549","file1":"1350678548","file0":"1350678547","file4":"1350678551","file5":"1350678552","file3":"1350678550"},"map_files_photo_id_array":[{"photo_id":"1350678552","filename":"file5"},{"photo_id":"1350678549","filename":"file2"},{"photo_id":"1350678551","filename":"file4"},{"photo_id":"1350678548","filename":"file1"},{"photo_id":"1350678547","filename":"file0"},{"photo_id":"1350678550","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678549":["hashtag1","hashtag2"]},{"1350678551":["hashtag1","hashtag2"]},{"1350678548":["hashtag1","hashtag2"]},{"1350678547":["hashtag1","hashtag2"]},{"1350678550":["hashtag1","hashtag2"]},{"1350678552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678549, 1350678551, 1350678548, 1350678547, 1350678550, 1350678552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58058714866638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:51:33.032368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_55_10489.jpg', '/home/pi/Desktop/images/09042025/01/03/image_09042025_01_04_04_9350.jpg', '/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_15_10426.jpg', '/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_24_9534.jpg', '/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_35_10404.jpg', '/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_45_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/03/image_09042025_01_03_55_10489.jpg
/home/pi/Desktop/images/09042025/01/03/image_09042025_01_04_04_9350.jpg
/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_15_10426.jpg
/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_24_9534.jpg
/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_35_10404.jpg
/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_45_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":["1350678561","1350678560","1350678563","1350678565","1350678562","1350678559"],"photo_ids_order":["1350678559","1350678560","1350678561","1350678562","1350678563","1350678565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37c1e871dd65d09bedba1a8420a4c9a0.jpg","text":"TemporaryFile(/tmp/multipartBody5657649776252670647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167153503,"filename":"image_09042025_01_04_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/4/9/182def760f202c172488824c32d532b2.jpg","text":"TemporaryFile(/tmp/multipartBody6179321017643304823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167153503,"filename":"image_09042025_01_04_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/4/9/98244bdedf866e786f112e4610002ebd.jpg","text":"TemporaryFile(/tmp/multipartBody3835696989166466939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167153503,"filename":"image_09042025_01_04_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/4/9/3f66293f82853fee345479ef4179a9ff.jpg","text":"TemporaryFile(/tmp/multipartBody8680777271566544322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167153503,"filename":"image_09042025_01_04_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/4/9/c7a3700a3fc8ed4710ff84efeeddb177.jpg","text":"TemporaryFile(/tmp/multipartBody5360623311433833493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167153503,"filename":"image_09042025_01_04_24_9534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c6a745aa4f3dd7b0b48dc233356453c.jpg","text":"TemporaryFile(/tmp/multipartBody324739321801469158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167153503,"filename":"image_09042025_01_03_55_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678561","file1":"1350678560","file0":"1350678559","file4":"1350678563","file5":"1350678565","file3":"1350678562"},"map_files_photo_id_array":[{"photo_id":"1350678565","filename":"file5"},{"photo_id":"1350678561","filename":"file2"},{"photo_id":"1350678563","filename":"file4"},{"photo_id":"1350678560","filename":"file1"},{"photo_id":"1350678559","filename":"file0"},{"photo_id":"1350678562","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678561":["hashtag1","hashtag2"]},{"1350678560":["hashtag1","hashtag2"]},{"1350678563":["hashtag1","hashtag2"]},{"1350678565":["hashtag1","hashtag2"]},{"1350678562":["hashtag1","hashtag2"]},{"1350678559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678561, 1350678560, 1350678563, 1350678565, 1350678562, 1350678559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.126686573028564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:52:32.275204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_54_9393.jpg', '/home/pi/Desktop/images/09042025/01/04/image_09042025_01_05_05_10437.jpg', '/home/pi/Desktop/images/09042025/01/05/image_09042025_01_05_15_10370.jpg', '/home/pi/Desktop/images/09042025/01/05/image_09042025_01_05_35_10478.jpg', '/home/pi/Desktop/images/09042025/01/05/image_09042025_01_06_05_9429.jpg', '/home/pi/Desktop/images/09042025/01/06/image_09042025_01_06_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/04/image_09042025_01_04_54_9393.jpg
/home/pi/Desktop/images/09042025/01/04/image_09042025_01_05_05_10437.jpg
/home/pi/Desktop/images/09042025/01/05/image_09042025_01_05_15_10370.jpg
/home/pi/Desktop/images/09042025/01/05/image_09042025_01_05_35_10478.jpg
/home/pi/Desktop/images/09042025/01/05/image_09042025_01_06_05_9429.jpg
/home/pi/Desktop/images/09042025/01/06/image_09042025_01_06_25_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":["1350678572","1350678575","1350678574","1350678576","1350678570","1350678573"],"photo_ids_order":["1350678570","1350678572","1350678573","1350678574","1350678575","1350678576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c71c8061ff09cb2b1b5bac9d44d184e.jpg","text":"TemporaryFile(/tmp/multipartBody5140361742438244217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167212732,"filename":"image_09042025_01_05_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/4/9/e84eb642dc4f12f6d8f1c94d1bab25b6.jpg","text":"TemporaryFile(/tmp/multipartBody1614686582040488358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167212732,"filename":"image_09042025_01_06_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/4/9/977373c8404ddc6f9cae9113b9093bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3379584234697727329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167212732,"filename":"image_09042025_01_05_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/4/9/a84b153108cbf803f1f27d3c300e1524.jpg","text":"TemporaryFile(/tmp/multipartBody8446795663673715324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167212732,"filename":"image_09042025_01_06_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/4/9/bad7ee9ae3dde02477d77d6f371707d3.jpg","text":"TemporaryFile(/tmp/multipartBody8959688665359663084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167212732,"filename":"image_09042025_01_04_54_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfe46d86b81908beb9a88789b33e996d.jpg","text":"TemporaryFile(/tmp/multipartBody5575333694629220070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167212732,"filename":"image_09042025_01_05_15_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678573","file1":"1350678572","file0":"1350678570","file4":"1350678575","file5":"1350678576","file3":"1350678574"},"map_files_photo_id_array":[{"photo_id":"1350678576","filename":"file5"},{"photo_id":"1350678573","filename":"file2"},{"photo_id":"1350678575","filename":"file4"},{"photo_id":"1350678572","filename":"file1"},{"photo_id":"1350678570","filename":"file0"},{"photo_id":"1350678574","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678572":["hashtag1","hashtag2"]},{"1350678575":["hashtag1","hashtag2"]},{"1350678574":["hashtag1","hashtag2"]},{"1350678576":["hashtag1","hashtag2"]},{"1350678570":["hashtag1","hashtag2"]},{"1350678573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678572, 1350678575, 1350678574, 1350678576, 1350678570, 1350678573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.935723066329956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:53:32.476598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/06/image_09042025_01_06_35_9421.jpg', '/home/pi/Desktop/images/09042025/01/06/image_09042025_01_06_45_10445.jpg', '/home/pi/Desktop/images/09042025/01/06/image_09042025_01_06_55_9440.jpg', '/home/pi/Desktop/images/09042025/01/06/image_09042025_01_07_05_10470.jpg', '/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_14_9357.jpg', '/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/06/image_09042025_01_06_35_9421.jpg
/home/pi/Desktop/images/09042025/01/06/image_09042025_01_06_45_10445.jpg
/home/pi/Desktop/images/09042025/01/06/image_09042025_01_06_55_9440.jpg
/home/pi/Desktop/images/09042025/01/06/image_09042025_01_07_05_10470.jpg
/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_14_9357.jpg
/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_25_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":["1350678587","1350678584","1350678586","1350678589","1350678588","1350678585"],"photo_ids_order":["1350678584","1350678585","1350678586","1350678587","1350678588","1350678589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba90f6eefe08777a8c89dbece77b50f9.jpg","text":"TemporaryFile(/tmp/multipartBody4534287860976469862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167272948,"filename":"image_09042025_01_07_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/4/9/7b8e2a7b7c5260777e9f1a6424de6adc.jpg","text":"TemporaryFile(/tmp/multipartBody8484832605297750402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167272948,"filename":"image_09042025_01_06_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/4/9/08f6403c27abc9670e26755ffba1b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody4853174213503743494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167272948,"filename":"image_09042025_01_06_55_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f5b9d60484b07f7cb55aa2d871464aad.jpg","text":"TemporaryFile(/tmp/multipartBody3624338842848069522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167272948,"filename":"image_09042025_01_07_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/4/9/5515546f86f7e0d5bc3c6b4fd0caf1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3061832120414814941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167272948,"filename":"image_09042025_01_07_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/4/9/c16a759a64c5418febeba5e5a7e09980.jpg","text":"TemporaryFile(/tmp/multipartBody79516189958874146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167272948,"filename":"image_09042025_01_06_45_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678586","file1":"1350678585","file0":"1350678584","file4":"1350678588","file5":"1350678589","file3":"1350678587"},"map_files_photo_id_array":[{"photo_id":"1350678589","filename":"file5"},{"photo_id":"1350678586","filename":"file2"},{"photo_id":"1350678588","filename":"file4"},{"photo_id":"1350678585","filename":"file1"},{"photo_id":"1350678584","filename":"file0"},{"photo_id":"1350678587","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678587":["hashtag1","hashtag2"]},{"1350678584":["hashtag1","hashtag2"]},{"1350678586":["hashtag1","hashtag2"]},{"1350678589":["hashtag1","hashtag2"]},{"1350678588":["hashtag1","hashtag2"]},{"1350678585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678587, 1350678584, 1350678586, 1350678589, 1350678588, 1350678585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.953923225402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:54:32.736256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_35_10429.jpg', '/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_45_9389.jpg', '/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_55_10504.jpg', '/home/pi/Desktop/images/09042025/01/07/image_09042025_01_08_04_9372.jpg', '/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_15_10374.jpg', '/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_35_10429.jpg
/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_45_9389.jpg
/home/pi/Desktop/images/09042025/01/07/image_09042025_01_07_55_10504.jpg
/home/pi/Desktop/images/09042025/01/07/image_09042025_01_08_04_9372.jpg
/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_15_10374.jpg
/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_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":["1350678599","1350678603","1350678593","1350678595","1350678601","1350678597"],"photo_ids_order":["1350678593","1350678595","1350678597","1350678599","1350678601","1350678603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27d2e54cb403cb0a608c502668379afe.jpg","text":"TemporaryFile(/tmp/multipartBody8674583447428905942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167333208,"filename":"image_09042025_01_08_04_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/46f396192edb309ed46810e733ed07fb.jpg","text":"TemporaryFile(/tmp/multipartBody8250520930014654012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167333208,"filename":"image_09042025_01_08_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/4/9/847cc1e4d0b12c367e2b9151b3ae4cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2937111491862555677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167333208,"filename":"image_09042025_01_07_35_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c079a733a0a3960c19935835dbe839bc.jpg","text":"TemporaryFile(/tmp/multipartBody6095230357078441090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167333208,"filename":"image_09042025_01_07_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca5089c0134ef9a580dbad446e212920.jpg","text":"TemporaryFile(/tmp/multipartBody7754417989168844806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167333208,"filename":"image_09042025_01_08_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9abae75240df7e317f80296f314ab15.jpg","text":"TemporaryFile(/tmp/multipartBody1632933381181018180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167333208,"filename":"image_09042025_01_07_55_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678597","file1":"1350678595","file0":"1350678593","file4":"1350678601","file5":"1350678603","file3":"1350678599"},"map_files_photo_id_array":[{"photo_id":"1350678603","filename":"file5"},{"photo_id":"1350678597","filename":"file2"},{"photo_id":"1350678601","filename":"file4"},{"photo_id":"1350678595","filename":"file1"},{"photo_id":"1350678593","filename":"file0"},{"photo_id":"1350678599","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678599":["hashtag1","hashtag2"]},{"1350678603":["hashtag1","hashtag2"]},{"1350678593":["hashtag1","hashtag2"]},{"1350678595":["hashtag1","hashtag2"]},{"1350678601":["hashtag1","hashtag2"]},{"1350678597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678599, 1350678603, 1350678593, 1350678595, 1350678601, 1350678597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62972331047058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:55:33.017316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_35_9381.jpg', '/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_45_10480.jpg', '/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_54_9382.jpg', '/home/pi/Desktop/images/09042025/01/08/image_09042025_01_09_05_10398.jpg', '/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_15_10383.jpg', '/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_25_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_35_9381.jpg
/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_45_10480.jpg
/home/pi/Desktop/images/09042025/01/08/image_09042025_01_08_54_9382.jpg
/home/pi/Desktop/images/09042025/01/08/image_09042025_01_09_05_10398.jpg
/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_15_10383.jpg
/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_25_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":["1350678609","1350678611","1350678605","1350678608","1350678610","1350678607"],"photo_ids_order":["1350678605","1350678607","1350678608","1350678609","1350678610","1350678611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e5e22a6d07a05447558818bd69dece3.jpg","text":"TemporaryFile(/tmp/multipartBody6661568079280371986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167393510,"filename":"image_09042025_01_09_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/4/9/b109ff46ed0504aee73feeaf0b876d47.jpg","text":"TemporaryFile(/tmp/multipartBody300077403285556092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167393510,"filename":"image_09042025_01_09_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/4/9/bff182519430e096b003df34389e202a.jpg","text":"TemporaryFile(/tmp/multipartBody6067574743085812592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167393510,"filename":"image_09042025_01_08_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/505d063c0973599e7d11f9e6050b2b5f.jpg","text":"TemporaryFile(/tmp/multipartBody7448917308996096911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167393510,"filename":"image_09042025_01_08_54_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f607c3196605fbd47d4b1e3e0a0c0ded.jpg","text":"TemporaryFile(/tmp/multipartBody7949359404954274669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167393510,"filename":"image_09042025_01_09_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/4/9/8ebce04b6923bb0ab81b44ea3c1f3415.jpg","text":"TemporaryFile(/tmp/multipartBody28494368045432692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167393510,"filename":"image_09042025_01_08_45_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678608","file1":"1350678607","file0":"1350678605","file4":"1350678610","file5":"1350678611","file3":"1350678609"},"map_files_photo_id_array":[{"photo_id":"1350678611","filename":"file5"},{"photo_id":"1350678608","filename":"file2"},{"photo_id":"1350678610","filename":"file4"},{"photo_id":"1350678607","filename":"file1"},{"photo_id":"1350678605","filename":"file0"},{"photo_id":"1350678609","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678609":["hashtag1","hashtag2"]},{"1350678611":["hashtag1","hashtag2"]},{"1350678605":["hashtag1","hashtag2"]},{"1350678608":["hashtag1","hashtag2"]},{"1350678610":["hashtag1","hashtag2"]},{"1350678607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678609, 1350678611, 1350678605, 1350678608, 1350678610, 1350678607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.262213468551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:56:32.306558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_35_10376.jpg', '/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_44_9382.jpg', '/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_55_10388.jpg', '/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_25_10484.jpg', '/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_34_9343.jpg', '/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_45_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_35_10376.jpg
/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_44_9382.jpg
/home/pi/Desktop/images/09042025/01/09/image_09042025_01_09_55_10388.jpg
/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_25_10484.jpg
/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_34_9343.jpg
/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_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":["1350678621","1350678624","1350678618","1350678620","1350678622","1350678619"],"photo_ids_order":["1350678618","1350678619","1350678620","1350678621","1350678622","1350678624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/818e41b7dbba30b16b241d054f907d8d.jpg","text":"TemporaryFile(/tmp/multipartBody7083499143188102335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167452765,"filename":"image_09042025_01_10_25_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0f58246a4b5df4d109140b45082e84d1.jpg","text":"TemporaryFile(/tmp/multipartBody3846469462890440499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167452765,"filename":"image_09042025_01_10_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/4/9/8cd2e72b4b644419f131f7845619eec2.jpg","text":"TemporaryFile(/tmp/multipartBody7565142906640995247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167452765,"filename":"image_09042025_01_09_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4256b6348eda735f271ce9db97a20324.jpg","text":"TemporaryFile(/tmp/multipartBody7362385469844344522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167452765,"filename":"image_09042025_01_09_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/4/9/dc02be2f45843bf9ab6f1a4bf1babb2e.jpg","text":"TemporaryFile(/tmp/multipartBody3272837742233323270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167452765,"filename":"image_09042025_01_10_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/4/9/41ecf55ebd1699b82db2e00066915ce0.jpg","text":"TemporaryFile(/tmp/multipartBody5437446346192226133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167452765,"filename":"image_09042025_01_09_44_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678620","file1":"1350678619","file0":"1350678618","file4":"1350678622","file5":"1350678624","file3":"1350678621"},"map_files_photo_id_array":[{"photo_id":"1350678624","filename":"file5"},{"photo_id":"1350678620","filename":"file2"},{"photo_id":"1350678622","filename":"file4"},{"photo_id":"1350678619","filename":"file1"},{"photo_id":"1350678618","filename":"file0"},{"photo_id":"1350678621","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678621":["hashtag1","hashtag2"]},{"1350678624":["hashtag1","hashtag2"]},{"1350678618":["hashtag1","hashtag2"]},{"1350678620":["hashtag1","hashtag2"]},{"1350678622":["hashtag1","hashtag2"]},{"1350678619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678621, 1350678624, 1350678618, 1350678620, 1350678622, 1350678619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46020221710205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 04:57:32.389723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_55_10373.jpg', '/home/pi/Desktop/images/09042025/01/10/image_09042025_01_11_05_9344.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_15_10420.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_24_9423.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_35_10412.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_44_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_55_10373.jpg
/home/pi/Desktop/images/09042025/01/10/image_09042025_01_11_05_9344.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_15_10420.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_24_9423.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_35_10412.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_44_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 04:59:04.902946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_55_10373.jpg', '/home/pi/Desktop/images/09042025/01/10/image_09042025_01_11_05_9344.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_15_10420.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_24_9423.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_35_10412.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_44_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/10/image_09042025_01_10_55_10373.jpg
/home/pi/Desktop/images/09042025/01/10/image_09042025_01_11_05_9344.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_15_10420.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_24_9423.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_35_10412.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_44_9450.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678653","1350678656","1350678659","1350678664","1350678661","1350678663"],"photo_ids_order":["1350678653","1350678656","1350678659","1350678661","1350678663","1350678664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6913df60b817ca2f973e766ab9b3d8c.jpg","text":"TemporaryFile(/tmp/multipartBody9041084904535388917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167605483,"filename":"image_09042025_01_10_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/4/9/8aebcceb9b56f37ebf1e370ca4993bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2863407466026542299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167605483,"filename":"image_09042025_01_11_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/4/9/7dfe3b600d9533982f22e8008461242c.jpg","text":"TemporaryFile(/tmp/multipartBody2273244694866654636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167605483,"filename":"image_09042025_01_11_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/4/9/eac38482395dc50af5c949fa51fc79e6.jpg","text":"TemporaryFile(/tmp/multipartBody3794524638493927103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167605483,"filename":"image_09042025_01_11_44_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5178597dfb47a1296c272d52f93c2791.jpg","text":"TemporaryFile(/tmp/multipartBody7734564218422009749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167605483,"filename":"image_09042025_01_11_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/4/9/bfbf0c4c07bc88d805511bfa3b85ef69.jpg","text":"TemporaryFile(/tmp/multipartBody2793793298005544049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167605483,"filename":"image_09042025_01_11_35_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678659","file1":"1350678656","file0":"1350678653","file4":"1350678663","file5":"1350678664","file3":"1350678661"},"map_files_photo_id_array":[{"photo_id":"1350678664","filename":"file5"},{"photo_id":"1350678659","filename":"file2"},{"photo_id":"1350678663","filename":"file4"},{"photo_id":"1350678656","filename":"file1"},{"photo_id":"1350678653","filename":"file0"},{"photo_id":"1350678661","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678653":["hashtag1","hashtag2"]},{"1350678656":["hashtag1","hashtag2"]},{"1350678659":["hashtag1","hashtag2"]},{"1350678664":["hashtag1","hashtag2"]},{"1350678661":["hashtag1","hashtag2"]},{"1350678663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678653, 1350678656, 1350678659, 1350678664, 1350678661, 1350678663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.169076919555664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 04:59:43.292712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_55_10380.jpg', '/home/pi/Desktop/images/09042025/01/11/image_09042025_01_12_05_10432.jpg', '/home/pi/Desktop/images/09042025/01/12/image_09042025_01_12_15_9403.jpg', '/home/pi/Desktop/images/09042025/01/12/image_09042025_01_12_35_9790.jpg', '/home/pi/Desktop/images/09042025/01/12/image_09042025_01_12_45_9794.jpg', '/home/pi/Desktop/images/09042025/01/12/image_09042025_01_12_55_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_11_55_10380.jpg
/home/pi/Desktop/images/09042025/01/11/image_09042025_01_12_05_10432.jpg
/home/pi/Desktop/images/09042025/01/12/image_09042025_01_12_15_9403.jpg
/home/pi/Desktop/images/09042025/01/12/image_09042025_01_12_35_9790.jpg
/home/pi/Desktop/images/09042025/01/12/image_09042025_01_12_45_9794.jpg
/home/pi/Desktop/images/09042025/01/12/image_09042025_01_12_55_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":["1350678677","1350678673","1350678676","1350678669","1350678678","1350678672"],"photo_ids_order":["1350678669","1350678672","1350678673","1350678676","1350678677","1350678678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/114f6f8f66ae22a8036ebac04c368be6.jpg","text":"TemporaryFile(/tmp/multipartBody1950122165901764279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167643760,"filename":"image_09042025_01_12_45_9794.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/deb930f6abcf9793a93ecccd20c37e61.jpg","text":"TemporaryFile(/tmp/multipartBody2123113728926097919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167643760,"filename":"image_09042025_01_12_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/4/9/a73c061609aee728b45b3702c3243218.jpg","text":"TemporaryFile(/tmp/multipartBody9105085845660847255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167643760,"filename":"image_09042025_01_12_35_9790.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/448d27e0977c2fd299a40457cf5cf9bc.jpg","text":"TemporaryFile(/tmp/multipartBody5517295097636725247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167643760,"filename":"image_09042025_01_11_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/4/9/f58b1e33e84f1913a5999c8185b0f572.jpg","text":"TemporaryFile(/tmp/multipartBody900445638755134805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167643760,"filename":"image_09042025_01_12_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/4/9/526bd6f41c04a0512951371b1656bb97.jpg","text":"TemporaryFile(/tmp/multipartBody2318994406765318799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167643760,"filename":"image_09042025_01_12_05_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678673","file1":"1350678672","file0":"1350678669","file4":"1350678677","file5":"1350678678","file3":"1350678676"},"map_files_photo_id_array":[{"photo_id":"1350678678","filename":"file5"},{"photo_id":"1350678673","filename":"file2"},{"photo_id":"1350678677","filename":"file4"},{"photo_id":"1350678672","filename":"file1"},{"photo_id":"1350678669","filename":"file0"},{"photo_id":"1350678676","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678677":["hashtag1","hashtag2"]},{"1350678673":["hashtag1","hashtag2"]},{"1350678676":["hashtag1","hashtag2"]},{"1350678669":["hashtag1","hashtag2"]},{"1350678678":["hashtag1","hashtag2"]},{"1350678672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678677, 1350678673, 1350678676, 1350678669, 1350678678, 1350678672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.935136795043945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:00:32.446562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/12/image_09042025_01_13_04_9340.jpg', '/home/pi/Desktop/images/09042025/01/13/image_09042025_01_13_15_10488.jpg', '/home/pi/Desktop/images/09042025/01/13/image_09042025_01_13_24_9440.jpg', '/home/pi/Desktop/images/09042025/01/13/image_09042025_01_13_35_10349.jpg', '/home/pi/Desktop/images/09042025/01/13/image_09042025_01_14_05_10357.jpg', '/home/pi/Desktop/images/09042025/01/14/image_09042025_01_14_15_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/12/image_09042025_01_13_04_9340.jpg
/home/pi/Desktop/images/09042025/01/13/image_09042025_01_13_15_10488.jpg
/home/pi/Desktop/images/09042025/01/13/image_09042025_01_13_24_9440.jpg
/home/pi/Desktop/images/09042025/01/13/image_09042025_01_13_35_10349.jpg
/home/pi/Desktop/images/09042025/01/13/image_09042025_01_14_05_10357.jpg
/home/pi/Desktop/images/09042025/01/14/image_09042025_01_14_15_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":["1350678686","1350678680","1350678682","1350678685","1350678687","1350678684"],"photo_ids_order":["1350678680","1350678682","1350678684","1350678685","1350678686","1350678687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99bf1d9f26dfc59266e4178869797467.jpg","text":"TemporaryFile(/tmp/multipartBody5082080258583073526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167692909,"filename":"image_09042025_01_14_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/4/9/34e499015c6ea57994833982a48d04d6.jpg","text":"TemporaryFile(/tmp/multipartBody4797448079082385711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167692909,"filename":"image_09042025_01_13_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/4/9/7d9544953a00de81c5f17a6fe7a7503f.jpg","text":"TemporaryFile(/tmp/multipartBody3198176282163835757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167692909,"filename":"image_09042025_01_13_15_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5472f63d64c1e60ed3b93ba217d79f69.jpg","text":"TemporaryFile(/tmp/multipartBody2752351620747443244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167692909,"filename":"image_09042025_01_13_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a198e812747519d36258c53faf77569.jpg","text":"TemporaryFile(/tmp/multipartBody3038675569013464411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167692909,"filename":"image_09042025_01_14_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/4/9/faffef171a960002207b87b4b118d87e.jpg","text":"TemporaryFile(/tmp/multipartBody8510809190942286929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167692909,"filename":"image_09042025_01_13_24_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678684","file1":"1350678682","file0":"1350678680","file4":"1350678686","file5":"1350678687","file3":"1350678685"},"map_files_photo_id_array":[{"photo_id":"1350678687","filename":"file5"},{"photo_id":"1350678684","filename":"file2"},{"photo_id":"1350678686","filename":"file4"},{"photo_id":"1350678682","filename":"file1"},{"photo_id":"1350678680","filename":"file0"},{"photo_id":"1350678685","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678686":["hashtag1","hashtag2"]},{"1350678680":["hashtag1","hashtag2"]},{"1350678682":["hashtag1","hashtag2"]},{"1350678685":["hashtag1","hashtag2"]},{"1350678687":["hashtag1","hashtag2"]},{"1350678684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678686, 1350678680, 1350678682, 1350678685, 1350678687, 1350678684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.597583293914795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:01:32.664023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/14/image_09042025_01_14_25_9352.jpg', '/home/pi/Desktop/images/09042025/01/14/image_09042025_01_14_44_9355.jpg', '/home/pi/Desktop/images/09042025/01/14/image_09042025_01_14_55_10366.jpg', '/home/pi/Desktop/images/09042025/01/14/image_09042025_01_15_05_10453.jpg', '/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_15_9355.jpg', '/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_25_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/14/image_09042025_01_14_25_9352.jpg
/home/pi/Desktop/images/09042025/01/14/image_09042025_01_14_44_9355.jpg
/home/pi/Desktop/images/09042025/01/14/image_09042025_01_14_55_10366.jpg
/home/pi/Desktop/images/09042025/01/14/image_09042025_01_15_05_10453.jpg
/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_15_9355.jpg
/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_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":["1350678698","1350678695","1350678697","1350678700","1350678696","1350678699"],"photo_ids_order":["1350678695","1350678696","1350678697","1350678698","1350678699","1350678700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4df2743c2b3e44bfde268ebb7bb3b110.jpg","text":"TemporaryFile(/tmp/multipartBody8931781525246618015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167753120,"filename":"image_09042025_01_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/4/9/e3d5242ffa81d1eabbbea100ae0228b2.jpg","text":"TemporaryFile(/tmp/multipartBody3296454148840861491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167753120,"filename":"image_09042025_01_14_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/4/9/52e4bf67ecc8948db24118e15e9a982e.jpg","text":"TemporaryFile(/tmp/multipartBody2970114596466224421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167753120,"filename":"image_09042025_01_14_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/4/9/9b7ea58eeb1ede68faa46f692351e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody7420997652558928158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167753120,"filename":"image_09042025_01_15_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7814e13df46c39465bb6f54aab9ade1e.jpg","text":"TemporaryFile(/tmp/multipartBody3580947764073897894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167753120,"filename":"image_09042025_01_14_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/4/9/da5a713d24403dceefb6e3fbc457bc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8981220615786173630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167753120,"filename":"image_09042025_01_15_15_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678697","file1":"1350678696","file0":"1350678695","file4":"1350678699","file5":"1350678700","file3":"1350678698"},"map_files_photo_id_array":[{"photo_id":"1350678700","filename":"file5"},{"photo_id":"1350678697","filename":"file2"},{"photo_id":"1350678699","filename":"file4"},{"photo_id":"1350678696","filename":"file1"},{"photo_id":"1350678695","filename":"file0"},{"photo_id":"1350678698","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678698":["hashtag1","hashtag2"]},{"1350678695":["hashtag1","hashtag2"]},{"1350678697":["hashtag1","hashtag2"]},{"1350678700":["hashtag1","hashtag2"]},{"1350678696":["hashtag1","hashtag2"]},{"1350678699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678698, 1350678695, 1350678697, 1350678700, 1350678696, 1350678699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67544770240784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:02:32.927517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_34_9341.jpg', '/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_55_10368.jpg', '/home/pi/Desktop/images/09042025/01/15/image_09042025_01_16_04_9364.jpg', '/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_25_10446.jpg', '/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_35_9381.jpg', '/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_54_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_34_9341.jpg
/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_55_10368.jpg
/home/pi/Desktop/images/09042025/01/15/image_09042025_01_16_04_9364.jpg
/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_25_10446.jpg
/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_35_9381.jpg
/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_54_9361.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39451026916503906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:02:43.012643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_34_9341.jpg', '/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_55_10368.jpg', '/home/pi/Desktop/images/09042025/01/15/image_09042025_01_16_04_9364.jpg', '/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_25_10446.jpg', '/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_35_9381.jpg', '/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_54_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_34_9341.jpg
/home/pi/Desktop/images/09042025/01/15/image_09042025_01_15_55_10368.jpg
/home/pi/Desktop/images/09042025/01/15/image_09042025_01_16_04_9364.jpg
/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_25_10446.jpg
/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_35_9381.jpg
/home/pi/Desktop/images/09042025/01/16/image_09042025_01_16_54_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678711","1350678717","1350678716","1350678719","1350678713","1350678721"],"photo_ids_order":["1350678711","1350678713","1350678716","1350678717","1350678719","1350678721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/556e202c828fbea20b067cfa3e5d933f.jpg","text":"TemporaryFile(/tmp/multipartBody2370192816838266573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167823468,"filename":"image_09042025_01_15_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/4/9/442b95d106907f73e36dde4064fcab67.jpg","text":"TemporaryFile(/tmp/multipartBody4746546107084576208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167823468,"filename":"image_09042025_01_16_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/4/9/eaee64ce53d3eb5637d0aeb9d6e413f5.jpg","text":"TemporaryFile(/tmp/multipartBody927450443300153189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167823468,"filename":"image_09042025_01_16_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c91ed0b9b46066efc146b3664675c89c.jpg","text":"TemporaryFile(/tmp/multipartBody6115044331900112890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167823468,"filename":"image_09042025_01_16_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b8b430fee01d680ac6561c77849d7912.jpg","text":"TemporaryFile(/tmp/multipartBody616457077990306752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167823468,"filename":"image_09042025_01_15_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/4/9/f5cada46ee52aa9db134c6527f9b3b17.jpg","text":"TemporaryFile(/tmp/multipartBody1386030471004577097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167823468,"filename":"image_09042025_01_16_54_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678716","file1":"1350678713","file0":"1350678711","file4":"1350678719","file5":"1350678721","file3":"1350678717"},"map_files_photo_id_array":[{"photo_id":"1350678721","filename":"file5"},{"photo_id":"1350678716","filename":"file2"},{"photo_id":"1350678719","filename":"file4"},{"photo_id":"1350678713","filename":"file1"},{"photo_id":"1350678711","filename":"file0"},{"photo_id":"1350678717","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678711":["hashtag1","hashtag2"]},{"1350678717":["hashtag1","hashtag2"]},{"1350678716":["hashtag1","hashtag2"]},{"1350678719":["hashtag1","hashtag2"]},{"1350678713":["hashtag1","hashtag2"]},{"1350678721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678711, 1350678717, 1350678716, 1350678719, 1350678713, 1350678721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27087926864624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:03:33.213105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/16/image_09042025_01_17_05_10358.jpg', '/home/pi/Desktop/images/09042025/01/17/image_09042025_01_17_15_10353.jpg', '/home/pi/Desktop/images/09042025/01/17/image_09042025_01_17_35_10443.jpg', '/home/pi/Desktop/images/09042025/01/17/image_09042025_01_17_44_9379.jpg', '/home/pi/Desktop/images/09042025/01/18/image_09042025_01_18_15_9376.jpg', '/home/pi/Desktop/images/09042025/01/18/image_09042025_01_18_25_10528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/16/image_09042025_01_17_05_10358.jpg
/home/pi/Desktop/images/09042025/01/17/image_09042025_01_17_15_10353.jpg
/home/pi/Desktop/images/09042025/01/17/image_09042025_01_17_35_10443.jpg
/home/pi/Desktop/images/09042025/01/17/image_09042025_01_17_44_9379.jpg
/home/pi/Desktop/images/09042025/01/18/image_09042025_01_18_15_9376.jpg
/home/pi/Desktop/images/09042025/01/18/image_09042025_01_18_25_10528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678732","1350678726","1350678731","1350678728","1350678733","1350678730"],"photo_ids_order":["1350678726","1350678728","1350678730","1350678731","1350678732","1350678733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/32894115aed125b48bf19484e6a2a309.jpg","text":"TemporaryFile(/tmp/multipartBody1713052828242126949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167873669,"filename":"image_09042025_01_18_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/4/9/8d663015214fc29c9fd8cb18a91e9daa.jpg","text":"TemporaryFile(/tmp/multipartBody5661444322914243673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167873669,"filename":"image_09042025_01_17_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/4/9/46e912cacd9fb1886ca44dd33822525a.jpg","text":"TemporaryFile(/tmp/multipartBody7802426644930275516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167873669,"filename":"image_09042025_01_17_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/4/9/3f315b6af9d5fbdfa0d8e0be40ba83a8.jpg","text":"TemporaryFile(/tmp/multipartBody7440789200669880777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167873669,"filename":"image_09042025_01_17_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/4/9/5bf3023c911098581c473dfda56d0138.jpg","text":"TemporaryFile(/tmp/multipartBody1826084744182700335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167873669,"filename":"image_09042025_01_18_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/4/9/1403852bd50b774f63b2e281f7614610.jpg","text":"TemporaryFile(/tmp/multipartBody2481007542713990184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167873669,"filename":"image_09042025_01_17_35_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678730","file1":"1350678728","file0":"1350678726","file4":"1350678732","file5":"1350678733","file3":"1350678731"},"map_files_photo_id_array":[{"photo_id":"1350678733","filename":"file5"},{"photo_id":"1350678730","filename":"file2"},{"photo_id":"1350678732","filename":"file4"},{"photo_id":"1350678728","filename":"file1"},{"photo_id":"1350678726","filename":"file0"},{"photo_id":"1350678731","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678732":["hashtag1","hashtag2"]},{"1350678726":["hashtag1","hashtag2"]},{"1350678731":["hashtag1","hashtag2"]},{"1350678728":["hashtag1","hashtag2"]},{"1350678733":["hashtag1","hashtag2"]},{"1350678730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678732, 1350678726, 1350678731, 1350678728, 1350678733, 1350678730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.728004693984985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:04:32.427003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/18/image_09042025_01_18_35_9359.jpg', '/home/pi/Desktop/images/09042025/01/18/image_09042025_01_18_45_10362.jpg', '/home/pi/Desktop/images/09042025/01/18/image_09042025_01_19_05_9359.jpg', '/home/pi/Desktop/images/09042025/01/19/image_09042025_01_19_35_10517.jpg', '/home/pi/Desktop/images/09042025/01/19/image_09042025_01_19_44_9418.jpg', '/home/pi/Desktop/images/09042025/01/19/image_09042025_01_19_55_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/18/image_09042025_01_18_35_9359.jpg
/home/pi/Desktop/images/09042025/01/18/image_09042025_01_18_45_10362.jpg
/home/pi/Desktop/images/09042025/01/18/image_09042025_01_19_05_9359.jpg
/home/pi/Desktop/images/09042025/01/19/image_09042025_01_19_35_10517.jpg
/home/pi/Desktop/images/09042025/01/19/image_09042025_01_19_44_9418.jpg
/home/pi/Desktop/images/09042025/01/19/image_09042025_01_19_55_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678747","1350678740","1350678743","1350678745","1350678742","1350678738"],"photo_ids_order":["1350678738","1350678740","1350678742","1350678743","1350678745","1350678747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3776dd8e61298d364145570b00b7a502.jpg","text":"TemporaryFile(/tmp/multipartBody3059227818429313405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167932891,"filename":"image_09042025_01_19_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/4/9/80b9adf46a07f7b25fd0ad7a672e3eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8541056070363068601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167932891,"filename":"image_09042025_01_18_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/4/9/1859d8fe692d231888b434a0ee8d065c.jpg","text":"TemporaryFile(/tmp/multipartBody6408647919646682716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167932891,"filename":"image_09042025_01_19_35_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21885d925a56f2bfc5d1a7a2fd58a31f.jpg","text":"TemporaryFile(/tmp/multipartBody2534450307723034347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167932891,"filename":"image_09042025_01_19_44_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6249e39ab281e6a49556501020d3b8b5.jpg","text":"TemporaryFile(/tmp/multipartBody2735617315723349599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167932891,"filename":"image_09042025_01_19_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fdd9aa08d31ea11632ba3c8d26bf2be3.jpg","text":"TemporaryFile(/tmp/multipartBody3148344548723768827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167932891,"filename":"image_09042025_01_18_35_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678742","file1":"1350678740","file0":"1350678738","file4":"1350678745","file5":"1350678747","file3":"1350678743"},"map_files_photo_id_array":[{"photo_id":"1350678747","filename":"file5"},{"photo_id":"1350678742","filename":"file2"},{"photo_id":"1350678745","filename":"file4"},{"photo_id":"1350678740","filename":"file1"},{"photo_id":"1350678738","filename":"file0"},{"photo_id":"1350678743","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678747":["hashtag1","hashtag2"]},{"1350678740":["hashtag1","hashtag2"]},{"1350678743":["hashtag1","hashtag2"]},{"1350678745":["hashtag1","hashtag2"]},{"1350678742":["hashtag1","hashtag2"]},{"1350678738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678747, 1350678740, 1350678743, 1350678745, 1350678742, 1350678738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.72582173347473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:05:32.658034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/19/image_09042025_01_20_05_10410.jpg', '/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_15_9384.jpg', '/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_25_10406.jpg', '/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_34_9350.jpg', '/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_45_10366.jpg', '/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/19/image_09042025_01_20_05_10410.jpg
/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_15_9384.jpg
/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_25_10406.jpg
/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_34_9350.jpg
/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_45_10366.jpg
/home/pi/Desktop/images/09042025/01/20/image_09042025_01_20_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":["1350678753","1350678755","1350678758","1350678760","1350678757","1350678759"],"photo_ids_order":["1350678753","1350678755","1350678757","1350678758","1350678759","1350678760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28eff9bd09869600645de3abf31c9431.jpg","text":"TemporaryFile(/tmp/multipartBody7605471644122963772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167993121,"filename":"image_09042025_01_20_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/4/9/e5240898993c13da749313546e64be6b.jpg","text":"TemporaryFile(/tmp/multipartBody2997260700492361527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167993121,"filename":"image_09042025_01_20_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9f0cffa82d06080fc57bbdf419b9fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6895877722079232719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167993121,"filename":"image_09042025_01_20_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/4/9/7c188ecf267bde1b991f87d453660b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7408378134136595172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167993121,"filename":"image_09042025_01_20_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/4/9/7dcce653ae02866d1bbfba5465e22797.jpg","text":"TemporaryFile(/tmp/multipartBody2991325737063992970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167993121,"filename":"image_09042025_01_20_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/4/9/5a7ea88690932c39d2ce0a6b07e9bca9.jpg","text":"TemporaryFile(/tmp/multipartBody8533344732627890883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744167993121,"filename":"image_09042025_01_20_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678757","file1":"1350678755","file0":"1350678753","file4":"1350678759","file5":"1350678760","file3":"1350678758"},"map_files_photo_id_array":[{"photo_id":"1350678760","filename":"file5"},{"photo_id":"1350678757","filename":"file2"},{"photo_id":"1350678759","filename":"file4"},{"photo_id":"1350678755","filename":"file1"},{"photo_id":"1350678753","filename":"file0"},{"photo_id":"1350678758","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678753":["hashtag1","hashtag2"]},{"1350678755":["hashtag1","hashtag2"]},{"1350678758":["hashtag1","hashtag2"]},{"1350678760":["hashtag1","hashtag2"]},{"1350678757":["hashtag1","hashtag2"]},{"1350678759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678753, 1350678755, 1350678758, 1350678760, 1350678757, 1350678759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.857017993927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:06:33.023344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/20/image_09042025_01_21_04_9340.jpg', '/home/pi/Desktop/images/09042025/01/21/image_09042025_01_21_15_10379.jpg', '/home/pi/Desktop/images/09042025/01/21/image_09042025_01_21_35_9339.jpg', '/home/pi/Desktop/images/09042025/01/21/image_09042025_01_21_45_10392.jpg', '/home/pi/Desktop/images/09042025/01/22/image_09042025_01_22_35_10421.jpg', '/home/pi/Desktop/images/09042025/01/22/image_09042025_01_22_44_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/20/image_09042025_01_21_04_9340.jpg
/home/pi/Desktop/images/09042025/01/21/image_09042025_01_21_15_10379.jpg
/home/pi/Desktop/images/09042025/01/21/image_09042025_01_21_35_9339.jpg
/home/pi/Desktop/images/09042025/01/21/image_09042025_01_21_45_10392.jpg
/home/pi/Desktop/images/09042025/01/22/image_09042025_01_22_35_10421.jpg
/home/pi/Desktop/images/09042025/01/22/image_09042025_01_22_44_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678773","1350678772","1350678775","1350678769","1350678774","1350678771"],"photo_ids_order":["1350678769","1350678771","1350678772","1350678773","1350678774","1350678775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39ce6c25109940060dfa2ee589257d21.jpg","text":"TemporaryFile(/tmp/multipartBody4840564423366992447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168053498,"filename":"image_09042025_01_21_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/4/9/1978758258a554feca8ba801c3fa5276.jpg","text":"TemporaryFile(/tmp/multipartBody1480357724064702358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168053498,"filename":"image_09042025_01_21_35_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0363563be031ed6480ab59d4d9877b16.jpg","text":"TemporaryFile(/tmp/multipartBody8357928936129550489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168053498,"filename":"image_09042025_01_22_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/4/9/a54bdc9beb8e971ac3a034837a35f8f6.jpg","text":"TemporaryFile(/tmp/multipartBody3508042475382252736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168053498,"filename":"image_09042025_01_21_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/4/9/7d5f767683ffe11c86f33580b28d72c3.jpg","text":"TemporaryFile(/tmp/multipartBody4612477001400147022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168053498,"filename":"image_09042025_01_22_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/4/9/dcc434ac1d43a7ca2a206e63c7f5f98b.jpg","text":"TemporaryFile(/tmp/multipartBody8446526863671460981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168053498,"filename":"image_09042025_01_21_15_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678772","file1":"1350678771","file0":"1350678769","file4":"1350678774","file5":"1350678775","file3":"1350678773"},"map_files_photo_id_array":[{"photo_id":"1350678775","filename":"file5"},{"photo_id":"1350678772","filename":"file2"},{"photo_id":"1350678774","filename":"file4"},{"photo_id":"1350678771","filename":"file1"},{"photo_id":"1350678769","filename":"file0"},{"photo_id":"1350678773","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678773":["hashtag1","hashtag2"]},{"1350678772":["hashtag1","hashtag2"]},{"1350678775":["hashtag1","hashtag2"]},{"1350678769":["hashtag1","hashtag2"]},{"1350678774":["hashtag1","hashtag2"]},{"1350678771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678773, 1350678772, 1350678775, 1350678769, 1350678774, 1350678771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.192821979522705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:07:32.251101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/22/image_09042025_01_22_55_10418.jpg', '/home/pi/Desktop/images/09042025/01/22/image_09042025_01_23_05_10381.jpg', '/home/pi/Desktop/images/09042025/01/23/image_09042025_01_23_25_10472.jpg', '/home/pi/Desktop/images/09042025/01/23/image_09042025_01_23_55_10349.jpg', '/home/pi/Desktop/images/09042025/01/23/image_09042025_01_24_04_9334.jpg', '/home/pi/Desktop/images/09042025/01/24/image_09042025_01_24_15_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/22/image_09042025_01_22_55_10418.jpg
/home/pi/Desktop/images/09042025/01/22/image_09042025_01_23_05_10381.jpg
/home/pi/Desktop/images/09042025/01/23/image_09042025_01_23_25_10472.jpg
/home/pi/Desktop/images/09042025/01/23/image_09042025_01_23_55_10349.jpg
/home/pi/Desktop/images/09042025/01/23/image_09042025_01_24_04_9334.jpg
/home/pi/Desktop/images/09042025/01/24/image_09042025_01_24_15_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":["1350678791","1350678796","1350678793","1350678786","1350678795","1350678789"],"photo_ids_order":["1350678786","1350678789","1350678791","1350678793","1350678795","1350678796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82f4ee70ae3170c2e3874323be63b711.jpg","text":"TemporaryFile(/tmp/multipartBody536775730040210555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168112722,"filename":"image_09042025_01_23_25_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39ea8b51295582d7787bcd7339d7f2a4.jpg","text":"TemporaryFile(/tmp/multipartBody7424574397403176532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168112722,"filename":"image_09042025_01_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/4/9/12b8e36346d4c671c37e1b9bec6f2949.jpg","text":"TemporaryFile(/tmp/multipartBody5820246656071513221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168112722,"filename":"image_09042025_01_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/4/9/f0cb163d27284e945b69af3cdf04a9c0.jpg","text":"TemporaryFile(/tmp/multipartBody6916260329308423709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168112722,"filename":"image_09042025_01_22_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/4/9/bcf2f99a8beb3c8129c63d427febacf4.jpg","text":"TemporaryFile(/tmp/multipartBody6598107787591441181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168112722,"filename":"image_09042025_01_24_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/4/9/f79cdb619dfea9d10752925fd2c7a890.jpg","text":"TemporaryFile(/tmp/multipartBody183608274723692301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168112722,"filename":"image_09042025_01_23_05_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678791","file1":"1350678789","file0":"1350678786","file4":"1350678795","file5":"1350678796","file3":"1350678793"},"map_files_photo_id_array":[{"photo_id":"1350678796","filename":"file5"},{"photo_id":"1350678791","filename":"file2"},{"photo_id":"1350678795","filename":"file4"},{"photo_id":"1350678789","filename":"file1"},{"photo_id":"1350678786","filename":"file0"},{"photo_id":"1350678793","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678791":["hashtag1","hashtag2"]},{"1350678796":["hashtag1","hashtag2"]},{"1350678793":["hashtag1","hashtag2"]},{"1350678786":["hashtag1","hashtag2"]},{"1350678795":["hashtag1","hashtag2"]},{"1350678789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678791, 1350678796, 1350678793, 1350678786, 1350678795, 1350678789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.653592586517334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:08:32.392302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/24/image_09042025_01_24_25_10379.jpg', '/home/pi/Desktop/images/09042025/01/24/image_09042025_01_24_35_9373.jpg', '/home/pi/Desktop/images/09042025/01/24/image_09042025_01_24_54_9363.jpg', '/home/pi/Desktop/images/09042025/01/24/image_09042025_01_25_05_10350.jpg', '/home/pi/Desktop/images/09042025/01/25/image_09042025_01_25_15_10372.jpg', '/home/pi/Desktop/images/09042025/01/25/image_09042025_01_25_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/24/image_09042025_01_24_25_10379.jpg
/home/pi/Desktop/images/09042025/01/24/image_09042025_01_24_35_9373.jpg
/home/pi/Desktop/images/09042025/01/24/image_09042025_01_24_54_9363.jpg
/home/pi/Desktop/images/09042025/01/24/image_09042025_01_25_05_10350.jpg
/home/pi/Desktop/images/09042025/01/25/image_09042025_01_25_15_10372.jpg
/home/pi/Desktop/images/09042025/01/25/image_09042025_01_25_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678810","1350678807","1350678806","1350678809","1350678808","1350678805"],"photo_ids_order":["1350678805","1350678806","1350678807","1350678808","1350678809","1350678810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2eea82b506624e3981cad9feaa04d089.jpg","text":"TemporaryFile(/tmp/multipartBody1360222053223465594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168172852,"filename":"image_09042025_01_25_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/4/9/32ab274a292a3972e8af14bb541a0f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5746173610626332988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168172852,"filename":"image_09042025_01_24_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/4/9/bec3dab5bc9c39f4867a455ab5879e25.jpg","text":"TemporaryFile(/tmp/multipartBody4308329289287344341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168172852,"filename":"image_09042025_01_24_35_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d38d829da79d8ae95e0ec323f09d3f09.jpg","text":"TemporaryFile(/tmp/multipartBody8937944848798791930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168172852,"filename":"image_09042025_01_25_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3167583596764eb5401df71fae32c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3581592100234475035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168172852,"filename":"image_09042025_01_25_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/4/9/dabfbdde4c4bc0db75046a91663e0c88.jpg","text":"TemporaryFile(/tmp/multipartBody9348003965671471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168172852,"filename":"image_09042025_01_24_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678807","file1":"1350678806","file0":"1350678805","file4":"1350678809","file5":"1350678810","file3":"1350678808"},"map_files_photo_id_array":[{"photo_id":"1350678810","filename":"file5"},{"photo_id":"1350678807","filename":"file2"},{"photo_id":"1350678809","filename":"file4"},{"photo_id":"1350678806","filename":"file1"},{"photo_id":"1350678805","filename":"file0"},{"photo_id":"1350678808","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678810":["hashtag1","hashtag2"]},{"1350678807":["hashtag1","hashtag2"]},{"1350678806":["hashtag1","hashtag2"]},{"1350678809":["hashtag1","hashtag2"]},{"1350678808":["hashtag1","hashtag2"]},{"1350678805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678810, 1350678807, 1350678806, 1350678809, 1350678808, 1350678805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.894240379333496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:09:32.674770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/25/image_09042025_01_25_45_10439.jpg', '/home/pi/Desktop/images/09042025/01/25/image_09042025_01_25_55_9344.jpg', '/home/pi/Desktop/images/09042025/01/25/image_09042025_01_26_05_10463.jpg', '/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_15_9427.jpg', '/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_25_10358.jpg', '/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_35_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/25/image_09042025_01_25_45_10439.jpg
/home/pi/Desktop/images/09042025/01/25/image_09042025_01_25_55_9344.jpg
/home/pi/Desktop/images/09042025/01/25/image_09042025_01_26_05_10463.jpg
/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_15_9427.jpg
/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_25_10358.jpg
/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_35_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678816","1350678821","1350678818","1350678820","1350678823","1350678822"],"photo_ids_order":["1350678816","1350678818","1350678820","1350678821","1350678822","1350678823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9aee460605fa65fb11c7aeba42a0fdcc.jpg","text":"TemporaryFile(/tmp/multipartBody4645832031192329445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168233170,"filename":"image_09042025_01_25_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/4/9/2dac642297300f0c1fb6195c037c7fd5.jpg","text":"TemporaryFile(/tmp/multipartBody7460551998573749567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168233170,"filename":"image_09042025_01_26_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/4/9/8bac3603e3fc35c4b471c9ff36d184b2.jpg","text":"TemporaryFile(/tmp/multipartBody6765781811245668332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168233170,"filename":"image_09042025_01_25_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/4/9/db668e8177fefbba60121280fe415994.jpg","text":"TemporaryFile(/tmp/multipartBody4844839446754071480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168233170,"filename":"image_09042025_01_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/4/9/9bbbec3bfae5788e309c8d452144f174.jpg","text":"TemporaryFile(/tmp/multipartBody2895201543185651452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168233170,"filename":"image_09042025_01_26_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/4/9/38c17c24024dcab1d6e0a07b10029568.jpg","text":"TemporaryFile(/tmp/multipartBody4556425742003301743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168233170,"filename":"image_09042025_01_26_25_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678820","file1":"1350678818","file0":"1350678816","file4":"1350678822","file5":"1350678823","file3":"1350678821"},"map_files_photo_id_array":[{"photo_id":"1350678823","filename":"file5"},{"photo_id":"1350678820","filename":"file2"},{"photo_id":"1350678822","filename":"file4"},{"photo_id":"1350678818","filename":"file1"},{"photo_id":"1350678816","filename":"file0"},{"photo_id":"1350678821","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678816":["hashtag1","hashtag2"]},{"1350678821":["hashtag1","hashtag2"]},{"1350678818":["hashtag1","hashtag2"]},{"1350678820":["hashtag1","hashtag2"]},{"1350678823":["hashtag1","hashtag2"]},{"1350678822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678816, 1350678821, 1350678818, 1350678820, 1350678823, 1350678822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52296781539917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:10:32.866212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_45_9362.jpg', '/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_55_10424.jpg', '/home/pi/Desktop/images/09042025/01/26/image_09042025_01_27_04_9348.jpg', '/home/pi/Desktop/images/09042025/01/27/image_09042025_01_27_15_10420.jpg', '/home/pi/Desktop/images/09042025/01/27/image_09042025_01_27_35_9357.jpg', '/home/pi/Desktop/images/09042025/01/27/image_09042025_01_27_45_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_45_9362.jpg
/home/pi/Desktop/images/09042025/01/26/image_09042025_01_26_55_10424.jpg
/home/pi/Desktop/images/09042025/01/26/image_09042025_01_27_04_9348.jpg
/home/pi/Desktop/images/09042025/01/27/image_09042025_01_27_15_10420.jpg
/home/pi/Desktop/images/09042025/01/27/image_09042025_01_27_35_9357.jpg
/home/pi/Desktop/images/09042025/01/27/image_09042025_01_27_45_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678834","1350678833","1350678836","1350678832","1350678835","1350678837"],"photo_ids_order":["1350678832","1350678833","1350678834","1350678835","1350678836","1350678837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d67750aa43dc0f3ad675d42c04e6a18.jpg","text":"TemporaryFile(/tmp/multipartBody4823710471767107880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168293347,"filename":"image_09042025_01_27_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/4/9/d86fa37c4f5c04484bf907088d72c83c.jpg","text":"TemporaryFile(/tmp/multipartBody2211974787971804679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168293347,"filename":"image_09042025_01_26_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/4/9/a743b30d56c2e6ea8fe3ca72ed3d2e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5326315726416804985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168293347,"filename":"image_09042025_01_27_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/518e3ceea62021830f4b5d65dc5655ac.jpg","text":"TemporaryFile(/tmp/multipartBody2127856639063142199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168293347,"filename":"image_09042025_01_26_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b99b587d0883f58cbef92599fa68205.jpg","text":"TemporaryFile(/tmp/multipartBody6130109726481706654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168293347,"filename":"image_09042025_01_27_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/4/9/14b8cdf617d8374e05d5562c74d2de9c.jpg","text":"TemporaryFile(/tmp/multipartBody623364014734397682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168293347,"filename":"image_09042025_01_27_45_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678834","file1":"1350678833","file0":"1350678832","file4":"1350678836","file5":"1350678837","file3":"1350678835"},"map_files_photo_id_array":[{"photo_id":"1350678837","filename":"file5"},{"photo_id":"1350678834","filename":"file2"},{"photo_id":"1350678836","filename":"file4"},{"photo_id":"1350678833","filename":"file1"},{"photo_id":"1350678832","filename":"file0"},{"photo_id":"1350678835","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678834":["hashtag1","hashtag2"]},{"1350678833":["hashtag1","hashtag2"]},{"1350678836":["hashtag1","hashtag2"]},{"1350678832":["hashtag1","hashtag2"]},{"1350678835":["hashtag1","hashtag2"]},{"1350678837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678834, 1350678833, 1350678836, 1350678832, 1350678835, 1350678837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34129452705383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:11:33.071612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/27/image_09042025_01_27_54_9365.jpg', '/home/pi/Desktop/images/09042025/01/27/image_09042025_01_28_05_10351.jpg', '/home/pi/Desktop/images/09042025/01/28/image_09042025_01_28_25_9379.jpg', '/home/pi/Desktop/images/09042025/01/28/image_09042025_01_28_35_10465.jpg', '/home/pi/Desktop/images/09042025/01/28/image_09042025_01_28_44_9354.jpg', '/home/pi/Desktop/images/09042025/01/28/image_09042025_01_28_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/27/image_09042025_01_27_54_9365.jpg
/home/pi/Desktop/images/09042025/01/27/image_09042025_01_28_05_10351.jpg
/home/pi/Desktop/images/09042025/01/28/image_09042025_01_28_25_9379.jpg
/home/pi/Desktop/images/09042025/01/28/image_09042025_01_28_35_10465.jpg
/home/pi/Desktop/images/09042025/01/28/image_09042025_01_28_44_9354.jpg
/home/pi/Desktop/images/09042025/01/28/image_09042025_01_28_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678846","1350678848","1350678845","1350678850","1350678847","1350678849"],"photo_ids_order":["1350678845","1350678846","1350678847","1350678848","1350678849","1350678850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6f367ebecfe432e33fe417e72301d14.jpg","text":"TemporaryFile(/tmp/multipartBody5311243994485807086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168353535,"filename":"image_09042025_01_28_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/4/9/75fe4b7ee89d10b933e3c11fda2f232b.jpg","text":"TemporaryFile(/tmp/multipartBody4399401986626276770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168353535,"filename":"image_09042025_01_28_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/4/9/23ff2bfaa615ce5b1349d78ba138324f.jpg","text":"TemporaryFile(/tmp/multipartBody2526973907443438219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168353535,"filename":"image_09042025_01_27_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/611c47aa72f850609d137300c0109b63.jpg","text":"TemporaryFile(/tmp/multipartBody5702407045320413398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168353535,"filename":"image_09042025_01_28_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/203f9caba55f858243f4bc786e10af8a.jpg","text":"TemporaryFile(/tmp/multipartBody5030970246647625748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168353535,"filename":"image_09042025_01_28_25_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04dc8764e23c48bf8748e6f79b475337.jpg","text":"TemporaryFile(/tmp/multipartBody7417579089750013041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168353535,"filename":"image_09042025_01_28_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678847","file1":"1350678846","file0":"1350678845","file4":"1350678849","file5":"1350678850","file3":"1350678848"},"map_files_photo_id_array":[{"photo_id":"1350678850","filename":"file5"},{"photo_id":"1350678847","filename":"file2"},{"photo_id":"1350678849","filename":"file4"},{"photo_id":"1350678846","filename":"file1"},{"photo_id":"1350678845","filename":"file0"},{"photo_id":"1350678848","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678846":["hashtag1","hashtag2"]},{"1350678848":["hashtag1","hashtag2"]},{"1350678845":["hashtag1","hashtag2"]},{"1350678850":["hashtag1","hashtag2"]},{"1350678847":["hashtag1","hashtag2"]},{"1350678849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678846, 1350678848, 1350678845, 1350678850, 1350678847, 1350678849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19777989387512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:12:32.405097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_14_9375.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_25_10370.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_35_10394.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_45_9388.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_55_10481.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_30_04_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_14_9375.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_25_10370.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_35_10394.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_45_9388.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_55_10481.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_30_04_9342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39305543899536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:12:42.333005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_14_9375.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_25_10370.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_35_10394.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_45_9388.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_55_10481.jpg', '/home/pi/Desktop/images/09042025/01/29/image_09042025_01_30_04_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_14_9375.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_25_10370.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_35_10394.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_45_9388.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_29_55_10481.jpg
/home/pi/Desktop/images/09042025/01/29/image_09042025_01_30_04_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678866","1350678860","1350678862","1350678867","1350678870","1350678864"],"photo_ids_order":["1350678860","1350678862","1350678864","1350678866","1350678867","1350678870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8812b8fef257685b173d98528a43ba78.jpg","text":"TemporaryFile(/tmp/multipartBody5179718214830985902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168422794,"filename":"image_09042025_01_29_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/968a04c7673789db162150550dd6091d.jpg","text":"TemporaryFile(/tmp/multipartBody7616766401607177854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168422794,"filename":"image_09042025_01_29_14_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/29af54288f7f6da5508e4c05d262ef0f.jpg","text":"TemporaryFile(/tmp/multipartBody2350626753869462748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168422794,"filename":"image_09042025_01_29_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/4/9/1226cf6a89ada5fe664b3ac88ac798b2.jpg","text":"TemporaryFile(/tmp/multipartBody1409875072320626944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168422794,"filename":"image_09042025_01_29_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/4/9/913510327a85e45e0b5140881d84002e.jpg","text":"TemporaryFile(/tmp/multipartBody3197890548215669439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168422794,"filename":"image_09042025_01_30_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/4/9/8d6a43d91f944f5d01f19b02ffced9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8154193883766076064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168422794,"filename":"image_09042025_01_29_35_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678864","file1":"1350678862","file0":"1350678860","file4":"1350678867","file5":"1350678870","file3":"1350678866"},"map_files_photo_id_array":[{"photo_id":"1350678870","filename":"file5"},{"photo_id":"1350678864","filename":"file2"},{"photo_id":"1350678867","filename":"file4"},{"photo_id":"1350678862","filename":"file1"},{"photo_id":"1350678860","filename":"file0"},{"photo_id":"1350678866","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678866":["hashtag1","hashtag2"]},{"1350678860":["hashtag1","hashtag2"]},{"1350678862":["hashtag1","hashtag2"]},{"1350678867":["hashtag1","hashtag2"]},{"1350678870":["hashtag1","hashtag2"]},{"1350678864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678866, 1350678860, 1350678862, 1350678867, 1350678870, 1350678864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84336495399475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:13:32.576682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/30/image_09042025_01_30_45_10363.jpg', '/home/pi/Desktop/images/09042025/01/30/image_09042025_01_30_55_10361.jpg', '/home/pi/Desktop/images/09042025/01/30/image_09042025_01_31_05_9422.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_15_10395.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_24_9362.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_35_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/30/image_09042025_01_30_45_10363.jpg
/home/pi/Desktop/images/09042025/01/30/image_09042025_01_30_55_10361.jpg
/home/pi/Desktop/images/09042025/01/30/image_09042025_01_31_05_9422.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_15_10395.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_24_9362.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_35_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39434385299682617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:13:42.566124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/30/image_09042025_01_30_45_10363.jpg', '/home/pi/Desktop/images/09042025/01/30/image_09042025_01_30_55_10361.jpg', '/home/pi/Desktop/images/09042025/01/30/image_09042025_01_31_05_9422.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_15_10395.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_24_9362.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_35_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/30/image_09042025_01_30_45_10363.jpg
/home/pi/Desktop/images/09042025/01/30/image_09042025_01_30_55_10361.jpg
/home/pi/Desktop/images/09042025/01/30/image_09042025_01_31_05_9422.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_15_10395.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_24_9362.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_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":["1350678884","1350678878","1350678881","1350678889","1350678885","1350678888"],"photo_ids_order":["1350678878","1350678881","1350678884","1350678885","1350678888","1350678889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fae11d6cecd9fe30c4723a6a73bf57a.jpg","text":"TemporaryFile(/tmp/multipartBody3293560370434290263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168483033,"filename":"image_09042025_01_31_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/4/9/084a15049400654cfde6734a96816cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8004040352188113575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168483033,"filename":"image_09042025_01_30_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fae14be8ed71a389df719a84168b316f.jpg","text":"TemporaryFile(/tmp/multipartBody3809685741656483640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168483033,"filename":"image_09042025_01_30_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/4/9/d18234939d2c482e5dd661c24e25788b.jpg","text":"TemporaryFile(/tmp/multipartBody5714654753152594865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168483033,"filename":"image_09042025_01_31_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/4/9/c2f2d950faa482e6aa12640e2878eec5.jpg","text":"TemporaryFile(/tmp/multipartBody668597378941622567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168483033,"filename":"image_09042025_01_31_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/4/9/adc367ce24d5afa0df5c7f2292389c19.jpg","text":"TemporaryFile(/tmp/multipartBody8572994018828287357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168483033,"filename":"image_09042025_01_31_24_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678884","file1":"1350678881","file0":"1350678878","file4":"1350678888","file5":"1350678889","file3":"1350678885"},"map_files_photo_id_array":[{"photo_id":"1350678889","filename":"file5"},{"photo_id":"1350678884","filename":"file2"},{"photo_id":"1350678888","filename":"file4"},{"photo_id":"1350678881","filename":"file1"},{"photo_id":"1350678878","filename":"file0"},{"photo_id":"1350678885","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678884":["hashtag1","hashtag2"]},{"1350678878":["hashtag1","hashtag2"]},{"1350678881":["hashtag1","hashtag2"]},{"1350678889":["hashtag1","hashtag2"]},{"1350678885":["hashtag1","hashtag2"]},{"1350678888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678884, 1350678878, 1350678881, 1350678889, 1350678885, 1350678888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.103200912475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:14:32.758387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_45_10399.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_55_9367.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_32_05_10454.jpg', '/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_14_9378.jpg', '/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_25_10370.jpg', '/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_35_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_45_10399.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_55_9367.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_32_05_10454.jpg
/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_14_9378.jpg
/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_25_10370.jpg
/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40251922607421875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:14:42.806092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_45_10399.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_55_9367.jpg', '/home/pi/Desktop/images/09042025/01/31/image_09042025_01_32_05_10454.jpg', '/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_14_9378.jpg', '/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_25_10370.jpg', '/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_35_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_45_10399.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_31_55_9367.jpg
/home/pi/Desktop/images/09042025/01/31/image_09042025_01_32_05_10454.jpg
/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_14_9378.jpg
/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_25_10370.jpg
/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_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":["1350678909","1350678899","1350678902","1350678905","1350678908","1350678910"],"photo_ids_order":["1350678899","1350678902","1350678905","1350678908","1350678909","1350678910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf4eb57c742f3828274098bcb08bbec0.jpg","text":"TemporaryFile(/tmp/multipartBody5083153013147769170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168543269,"filename":"image_09042025_01_32_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/4/9/95204dae6a0dda62e7644b00ee17f1cc.jpg","text":"TemporaryFile(/tmp/multipartBody3926556361234202230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168543269,"filename":"image_09042025_01_31_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21c225fe8a88a5df6020e405b1f48393.jpg","text":"TemporaryFile(/tmp/multipartBody6383201696535572019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168543269,"filename":"image_09042025_01_31_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c707ad500e5ccbc5aafff62c8058dcb4.jpg","text":"TemporaryFile(/tmp/multipartBody7567493352360659711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168543269,"filename":"image_09042025_01_32_05_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/247838dd8353e9b10526b2802d48a96e.jpg","text":"TemporaryFile(/tmp/multipartBody6969153791718432758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168543269,"filename":"image_09042025_01_32_14_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6259423ef2e227e1b8bcde94466d7eff.jpg","text":"TemporaryFile(/tmp/multipartBody5684530234463100920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168543269,"filename":"image_09042025_01_32_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678905","file1":"1350678902","file0":"1350678899","file4":"1350678909","file5":"1350678910","file3":"1350678908"},"map_files_photo_id_array":[{"photo_id":"1350678910","filename":"file5"},{"photo_id":"1350678905","filename":"file2"},{"photo_id":"1350678909","filename":"file4"},{"photo_id":"1350678902","filename":"file1"},{"photo_id":"1350678899","filename":"file0"},{"photo_id":"1350678908","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678909":["hashtag1","hashtag2"]},{"1350678899":["hashtag1","hashtag2"]},{"1350678902":["hashtag1","hashtag2"]},{"1350678905":["hashtag1","hashtag2"]},{"1350678908":["hashtag1","hashtag2"]},{"1350678910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678909, 1350678899, 1350678902, 1350678905, 1350678908, 1350678910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.291675806045532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:15:32.956938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_44_9360.jpg', '/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_55_10378.jpg', '/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_15_9357.jpg', '/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_25_10438.jpg', '/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_34_9406.jpg', '/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_44_9360.jpg
/home/pi/Desktop/images/09042025/01/32/image_09042025_01_32_55_10378.jpg
/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_15_9357.jpg
/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_25_10438.jpg
/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_34_9406.jpg
/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_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":["1350678912","1350678920","1350678914","1350678919","1350678916","1350678921"],"photo_ids_order":["1350678912","1350678914","1350678916","1350678919","1350678920","1350678921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd5b663a435155040fb17f796c776b88.jpg","text":"TemporaryFile(/tmp/multipartBody5294530547385081078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168593417,"filename":"image_09042025_01_32_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/4/9/10e7f00c0c94a31a8f210f5e17287491.jpg","text":"TemporaryFile(/tmp/multipartBody2457821083917999194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168593417,"filename":"image_09042025_01_33_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/4/9/34aa9a4d4b0c90b6aeb6a0729859a15f.jpg","text":"TemporaryFile(/tmp/multipartBody2212061418810194160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168593417,"filename":"image_09042025_01_32_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/4/9/0b57ba935907cd9eb2cca5eb93fcc653.jpg","text":"TemporaryFile(/tmp/multipartBody792265458681625089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168593417,"filename":"image_09042025_01_33_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/4/9/9a4a4fa08df93b3549db1a7f859d4312.jpg","text":"TemporaryFile(/tmp/multipartBody477518406951663967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168593417,"filename":"image_09042025_01_33_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/4/9/7ff4c705dae91dd01e18b307c4ec083d.jpg","text":"TemporaryFile(/tmp/multipartBody3497752926191834795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168593417,"filename":"image_09042025_01_33_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678916","file1":"1350678914","file0":"1350678912","file4":"1350678920","file5":"1350678921","file3":"1350678919"},"map_files_photo_id_array":[{"photo_id":"1350678921","filename":"file5"},{"photo_id":"1350678916","filename":"file2"},{"photo_id":"1350678920","filename":"file4"},{"photo_id":"1350678914","filename":"file1"},{"photo_id":"1350678912","filename":"file0"},{"photo_id":"1350678919","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678912":["hashtag1","hashtag2"]},{"1350678920":["hashtag1","hashtag2"]},{"1350678914":["hashtag1","hashtag2"]},{"1350678919":["hashtag1","hashtag2"]},{"1350678916":["hashtag1","hashtag2"]},{"1350678921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678912, 1350678920, 1350678914, 1350678919, 1350678916, 1350678921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8934211730957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:16:32.345139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_55_9779.jpg', '/home/pi/Desktop/images/09042025/01/33/image_09042025_01_34_05_10429.jpg', '/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_14_9361.jpg', '/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_25_10467.jpg', '/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_35_10422.jpg', '/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_45_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/33/image_09042025_01_33_55_9779.jpg
/home/pi/Desktop/images/09042025/01/33/image_09042025_01_34_05_10429.jpg
/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_14_9361.jpg
/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_25_10467.jpg
/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_35_10422.jpg
/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_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":["1350678930","1350678933","1350678932","1350678929","1350678931","1350678928"],"photo_ids_order":["1350678928","1350678929","1350678930","1350678931","1350678932","1350678933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97f6a843ab8cbb4c4447e9630342c0a7.jpg","text":"TemporaryFile(/tmp/multipartBody1202842418107532484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168652814,"filename":"image_09042025_01_34_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/4/9/1ae5b0f67d5f4f097ed748cc96af5416.jpg","text":"TemporaryFile(/tmp/multipartBody7414660507461781571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168652814,"filename":"image_09042025_01_34_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/4/9/88fbe92782aeb0b2ce6dea08ddb34664.jpg","text":"TemporaryFile(/tmp/multipartBody5338226656103300714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168652814,"filename":"image_09042025_01_34_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/4/9/a88928b8073efa85a970e10aff2580a6.jpg","text":"TemporaryFile(/tmp/multipartBody3219095191054317467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168652814,"filename":"image_09042025_01_34_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4fa27ed713c2e6774f7464dc2943655f.jpg","text":"TemporaryFile(/tmp/multipartBody461260482026934267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168652814,"filename":"image_09042025_01_34_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/4/9/28edea8ebe1db71c8efbb636f122d96a.jpg","text":"TemporaryFile(/tmp/multipartBody1794824916818116478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168652814,"filename":"image_09042025_01_33_55_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678930","file1":"1350678929","file0":"1350678928","file4":"1350678932","file5":"1350678933","file3":"1350678931"},"map_files_photo_id_array":[{"photo_id":"1350678933","filename":"file5"},{"photo_id":"1350678930","filename":"file2"},{"photo_id":"1350678932","filename":"file4"},{"photo_id":"1350678929","filename":"file1"},{"photo_id":"1350678928","filename":"file0"},{"photo_id":"1350678931","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678930":["hashtag1","hashtag2"]},{"1350678933":["hashtag1","hashtag2"]},{"1350678932":["hashtag1","hashtag2"]},{"1350678929":["hashtag1","hashtag2"]},{"1350678931":["hashtag1","hashtag2"]},{"1350678928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678930, 1350678933, 1350678932, 1350678929, 1350678931, 1350678928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.266077756881714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:17:32.635142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_55_10396.jpg', '/home/pi/Desktop/images/09042025/01/34/image_09042025_01_35_04_9435.jpg', '/home/pi/Desktop/images/09042025/01/35/image_09042025_01_35_15_10381.jpg', '/home/pi/Desktop/images/09042025/01/35/image_09042025_01_35_25_10428.jpg', '/home/pi/Desktop/images/09042025/01/35/image_09042025_01_35_35_9342.jpg', '/home/pi/Desktop/images/09042025/01/35/image_09042025_01_35_54_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/34/image_09042025_01_34_55_10396.jpg
/home/pi/Desktop/images/09042025/01/34/image_09042025_01_35_04_9435.jpg
/home/pi/Desktop/images/09042025/01/35/image_09042025_01_35_15_10381.jpg
/home/pi/Desktop/images/09042025/01/35/image_09042025_01_35_25_10428.jpg
/home/pi/Desktop/images/09042025/01/35/image_09042025_01_35_35_9342.jpg
/home/pi/Desktop/images/09042025/01/35/image_09042025_01_35_54_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":["1350678945","1350678939","1350678941","1350678944","1350678943","1350678946"],"photo_ids_order":["1350678939","1350678941","1350678943","1350678944","1350678945","1350678946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/059abd76227fea5ea62a6f806fe7df29.jpg","text":"TemporaryFile(/tmp/multipartBody7221211244287684617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168713113,"filename":"image_09042025_01_35_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48e394370bbb322f403271f4459cf867.jpg","text":"TemporaryFile(/tmp/multipartBody2060783821078056792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168713113,"filename":"image_09042025_01_34_55_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0304530da695bb9de3b96f58bf9ab7c3.jpg","text":"TemporaryFile(/tmp/multipartBody3942464199657077193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168713113,"filename":"image_09042025_01_35_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/4/9/1a3f48eafd1cde2b6159d69fe5224aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1171777339944451200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168713113,"filename":"image_09042025_01_35_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/4/9/50786fdfb1a38910c0027dfc37ad8844.jpg","text":"TemporaryFile(/tmp/multipartBody8261376980677318532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168713113,"filename":"image_09042025_01_35_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef5f6be9f861a45855746653a2067c96.jpg","text":"TemporaryFile(/tmp/multipartBody629928754277877425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168713113,"filename":"image_09042025_01_35_54_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678943","file1":"1350678941","file0":"1350678939","file4":"1350678945","file5":"1350678946","file3":"1350678944"},"map_files_photo_id_array":[{"photo_id":"1350678946","filename":"file5"},{"photo_id":"1350678943","filename":"file2"},{"photo_id":"1350678945","filename":"file4"},{"photo_id":"1350678941","filename":"file1"},{"photo_id":"1350678939","filename":"file0"},{"photo_id":"1350678944","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678945":["hashtag1","hashtag2"]},{"1350678939":["hashtag1","hashtag2"]},{"1350678941":["hashtag1","hashtag2"]},{"1350678944":["hashtag1","hashtag2"]},{"1350678943":["hashtag1","hashtag2"]},{"1350678946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678945, 1350678939, 1350678941, 1350678944, 1350678943, 1350678946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55113458633423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:18:32.832176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/35/image_09042025_01_36_05_10338.jpg', '/home/pi/Desktop/images/09042025/01/36/image_09042025_01_36_15_10369.jpg', '/home/pi/Desktop/images/09042025/01/36/image_09042025_01_36_44_9383.jpg', '/home/pi/Desktop/images/09042025/01/36/image_09042025_01_36_55_10350.jpg', '/home/pi/Desktop/images/09042025/01/36/image_09042025_01_37_05_10433.jpg', '/home/pi/Desktop/images/09042025/01/37/image_09042025_01_37_34_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/35/image_09042025_01_36_05_10338.jpg
/home/pi/Desktop/images/09042025/01/36/image_09042025_01_36_15_10369.jpg
/home/pi/Desktop/images/09042025/01/36/image_09042025_01_36_44_9383.jpg
/home/pi/Desktop/images/09042025/01/36/image_09042025_01_36_55_10350.jpg
/home/pi/Desktop/images/09042025/01/36/image_09042025_01_37_05_10433.jpg
/home/pi/Desktop/images/09042025/01/37/image_09042025_01_37_34_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350678959","1350678962","1350678961","1350678958","1350678960","1350678957"],"photo_ids_order":["1350678957","1350678958","1350678959","1350678960","1350678961","1350678962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c272e9dd0678964742c60cfa667864fd.jpg","text":"TemporaryFile(/tmp/multipartBody1820903568466523318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168773300,"filename":"image_09042025_01_36_44_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2be85916df1aae50a27e480d463da92d.jpg","text":"TemporaryFile(/tmp/multipartBody8342928002543256609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168773300,"filename":"image_09042025_01_37_34_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6970d37915c795bf8694cbf4d80ab4be.jpg","text":"TemporaryFile(/tmp/multipartBody7895605877716517849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168773300,"filename":"image_09042025_01_37_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/4/9/8ed0174a2e352a3a17372339bd7aa2cc.jpg","text":"TemporaryFile(/tmp/multipartBody2942684426911347719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168773300,"filename":"image_09042025_01_36_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/4/9/a542c770b579116617852fec6c89ad49.jpg","text":"TemporaryFile(/tmp/multipartBody1432500870942918349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168773300,"filename":"image_09042025_01_36_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/4/9/a338dd2dbd2e39ce10091b332d19a5fa.jpg","text":"TemporaryFile(/tmp/multipartBody51172992527999704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168773300,"filename":"image_09042025_01_36_05_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678959","file1":"1350678958","file0":"1350678957","file4":"1350678961","file5":"1350678962","file3":"1350678960"},"map_files_photo_id_array":[{"photo_id":"1350678962","filename":"file5"},{"photo_id":"1350678959","filename":"file2"},{"photo_id":"1350678961","filename":"file4"},{"photo_id":"1350678958","filename":"file1"},{"photo_id":"1350678957","filename":"file0"},{"photo_id":"1350678960","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678959":["hashtag1","hashtag2"]},{"1350678962":["hashtag1","hashtag2"]},{"1350678961":["hashtag1","hashtag2"]},{"1350678958":["hashtag1","hashtag2"]},{"1350678960":["hashtag1","hashtag2"]},{"1350678957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678959, 1350678962, 1350678961, 1350678958, 1350678960, 1350678957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05286884307861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:19:33.067983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/37/image_09042025_01_37_45_10358.jpg', '/home/pi/Desktop/images/09042025/01/37/image_09042025_01_37_55_10357.jpg', '/home/pi/Desktop/images/09042025/01/37/image_09042025_01_38_05_9374.jpg', '/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_15_10356.jpg', '/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_24_9435.jpg', '/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_35_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/37/image_09042025_01_37_45_10358.jpg
/home/pi/Desktop/images/09042025/01/37/image_09042025_01_37_55_10357.jpg
/home/pi/Desktop/images/09042025/01/37/image_09042025_01_38_05_9374.jpg
/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_15_10356.jpg
/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_24_9435.jpg
/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_35_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":["1350678977","1350678974","1350678976","1350678979","1350678975","1350678978"],"photo_ids_order":["1350678974","1350678975","1350678976","1350678977","1350678978","1350678979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01831667ee95451de5f01c2916b6056b.jpg","text":"TemporaryFile(/tmp/multipartBody7575146030842300831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168833529,"filename":"image_09042025_01_38_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/4/9/9d5606b896c8744902d5c2119518a2a7.jpg","text":"TemporaryFile(/tmp/multipartBody2134949742363098880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168833529,"filename":"image_09042025_01_37_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/4/9/2e6879a30e2b62e4eaef6c5410e15d40.jpg","text":"TemporaryFile(/tmp/multipartBody7920014188845835806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168833529,"filename":"image_09042025_01_38_05_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a8c735a00b3dce950443df5435318b4.jpg","text":"TemporaryFile(/tmp/multipartBody1526937196575329166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168833529,"filename":"image_09042025_01_38_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82fb74f1127f703b7ebfeaf55a3efdf5.jpg","text":"TemporaryFile(/tmp/multipartBody5771937266479876013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168833529,"filename":"image_09042025_01_37_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/4/9/552f47de779213537251cd2572b0b08d.jpg","text":"TemporaryFile(/tmp/multipartBody6080317738989212890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168833529,"filename":"image_09042025_01_38_24_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678976","file1":"1350678975","file0":"1350678974","file4":"1350678978","file5":"1350678979","file3":"1350678977"},"map_files_photo_id_array":[{"photo_id":"1350678979","filename":"file5"},{"photo_id":"1350678976","filename":"file2"},{"photo_id":"1350678978","filename":"file4"},{"photo_id":"1350678975","filename":"file1"},{"photo_id":"1350678974","filename":"file0"},{"photo_id":"1350678977","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678977":["hashtag1","hashtag2"]},{"1350678974":["hashtag1","hashtag2"]},{"1350678976":["hashtag1","hashtag2"]},{"1350678979":["hashtag1","hashtag2"]},{"1350678975":["hashtag1","hashtag2"]},{"1350678978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678977, 1350678974, 1350678976, 1350678979, 1350678975, 1350678978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.952006101608276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:20:32.259465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_45_10431.jpg', '/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_55_9364.jpg', '/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_14_9393.jpg', '/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_25_10370.jpg', '/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_35_10353.jpg', '/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_44_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_45_10431.jpg
/home/pi/Desktop/images/09042025/01/38/image_09042025_01_38_55_9364.jpg
/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_14_9393.jpg
/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_25_10370.jpg
/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_35_10353.jpg
/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_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":["1350678995","1350678992","1350678991","1350678994","1350678990","1350678993"],"photo_ids_order":["1350678990","1350678991","1350678992","1350678993","1350678994","1350678995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9df8c186933621a989127b160a6550fd.jpg","text":"TemporaryFile(/tmp/multipartBody1012521038887744531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168892721,"filename":"image_09042025_01_39_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/4/9/d5858f8d4e830fa8f53023f82ca635f6.jpg","text":"TemporaryFile(/tmp/multipartBody1081006698358332838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168892721,"filename":"image_09042025_01_39_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/4/9/6a8758d901963d1f98ae064782217aec.jpg","text":"TemporaryFile(/tmp/multipartBody4446398902116519072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168892721,"filename":"image_09042025_01_38_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/4/9/1b344cd6c0ebb9613a92c688ed6ce691.jpg","text":"TemporaryFile(/tmp/multipartBody5602974676730143640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168892721,"filename":"image_09042025_01_39_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/4/9/a7f2c009bf26fe0d083d0af7f41d5627.jpg","text":"TemporaryFile(/tmp/multipartBody8001118918895330600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168892721,"filename":"image_09042025_01_38_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8055ebab28855e2c49fee11a1ea63ec6.jpg","text":"TemporaryFile(/tmp/multipartBody1774427412793595363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168892721,"filename":"image_09042025_01_39_25_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350678992","file1":"1350678991","file0":"1350678990","file4":"1350678994","file5":"1350678995","file3":"1350678993"},"map_files_photo_id_array":[{"photo_id":"1350678995","filename":"file5"},{"photo_id":"1350678992","filename":"file2"},{"photo_id":"1350678994","filename":"file4"},{"photo_id":"1350678991","filename":"file1"},{"photo_id":"1350678990","filename":"file0"},{"photo_id":"1350678993","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350678995":["hashtag1","hashtag2"]},{"1350678992":["hashtag1","hashtag2"]},{"1350678991":["hashtag1","hashtag2"]},{"1350678994":["hashtag1","hashtag2"]},{"1350678990":["hashtag1","hashtag2"]},{"1350678993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350678995, 1350678992, 1350678991, 1350678994, 1350678990, 1350678993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73236536979675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:21:32.457823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_55_10369.jpg', '/home/pi/Desktop/images/09042025/01/39/image_09042025_01_40_05_10432.jpg', '/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_15_9380.jpg', '/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_25_10537.jpg', '/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_35_9350.jpg', '/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/39/image_09042025_01_39_55_10369.jpg
/home/pi/Desktop/images/09042025/01/39/image_09042025_01_40_05_10432.jpg
/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_15_9380.jpg
/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_25_10537.jpg
/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_35_9350.jpg
/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_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":["1350679013","1350679016","1350679010","1350679007","1350679006","1350679015"],"photo_ids_order":["1350679006","1350679007","1350679010","1350679013","1350679015","1350679016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c71ae9a3025ab8b1214babd01b7362e.jpg","text":"TemporaryFile(/tmp/multipartBody1552221937402783976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168952941,"filename":"image_09042025_01_40_25_10537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c08fa78acf0579b184f1e14bbda39ae3.jpg","text":"TemporaryFile(/tmp/multipartBody1378201445813732912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168952941,"filename":"image_09042025_01_40_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/4/9/00d1bca33fda5d5e14433701e03de40f.jpg","text":"TemporaryFile(/tmp/multipartBody875887711676292045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168952941,"filename":"image_09042025_01_40_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/4/9/02de129ddb52c1788ca312d6383aeee9.jpg","text":"TemporaryFile(/tmp/multipartBody8221325632545705742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168952941,"filename":"image_09042025_01_40_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/4/9/f610c5bb2717e1ef28bf5dd36e5ddec3.jpg","text":"TemporaryFile(/tmp/multipartBody1864046512480710767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168952941,"filename":"image_09042025_01_39_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/4/9/67d25d6430a252fffc2a9e16b6629542.jpg","text":"TemporaryFile(/tmp/multipartBody3769434952105536314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744168952941,"filename":"image_09042025_01_40_35_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679010","file1":"1350679007","file0":"1350679006","file4":"1350679015","file5":"1350679016","file3":"1350679013"},"map_files_photo_id_array":[{"photo_id":"1350679016","filename":"file5"},{"photo_id":"1350679010","filename":"file2"},{"photo_id":"1350679015","filename":"file4"},{"photo_id":"1350679007","filename":"file1"},{"photo_id":"1350679006","filename":"file0"},{"photo_id":"1350679013","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679013":["hashtag1","hashtag2"]},{"1350679016":["hashtag1","hashtag2"]},{"1350679010":["hashtag1","hashtag2"]},{"1350679007":["hashtag1","hashtag2"]},{"1350679006":["hashtag1","hashtag2"]},{"1350679015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679013, 1350679016, 1350679010, 1350679007, 1350679006, 1350679015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15158796310425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:22:32.609013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_55_10389.jpg', '/home/pi/Desktop/images/09042025/01/40/image_09042025_01_41_05_9345.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_15_10513.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_24_9361.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_35_10366.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_45_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_55_10389.jpg
/home/pi/Desktop/images/09042025/01/40/image_09042025_01_41_05_9345.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_15_10513.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_24_9361.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_35_10366.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_45_10358.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38899803161621094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:22:42.657364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_55_10389.jpg', '/home/pi/Desktop/images/09042025/01/40/image_09042025_01_41_05_9345.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_15_10513.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_24_9361.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_35_10366.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_45_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/40/image_09042025_01_40_55_10389.jpg
/home/pi/Desktop/images/09042025/01/40/image_09042025_01_41_05_9345.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_15_10513.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_24_9361.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_35_10366.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_45_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679040","1350679043","1350679036","1350679039","1350679047","1350679050"],"photo_ids_order":["1350679036","1350679039","1350679040","1350679043","1350679047","1350679050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2642ce2b012d3d230cc21a7bb46997ab.jpg","text":"TemporaryFile(/tmp/multipartBody8978532074028811579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169023124,"filename":"image_09042025_01_41_15_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e7b65c1221bd1445e11cd2e63eee69e.jpg","text":"TemporaryFile(/tmp/multipartBody6607796530928828476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169023124,"filename":"image_09042025_01_41_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/4/9/548b70172bbb66383dc92996f5c89008.jpg","text":"TemporaryFile(/tmp/multipartBody6884429092966686100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169023124,"filename":"image_09042025_01_40_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2bedf8b82b84035b4186238b75a97e90.jpg","text":"TemporaryFile(/tmp/multipartBody5321255327575595872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169023124,"filename":"image_09042025_01_41_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/4/9/4183b14d1960c96ecf89b66421989b4d.jpg","text":"TemporaryFile(/tmp/multipartBody368975135313550084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169023124,"filename":"image_09042025_01_41_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/4/9/163ae0214125df8c951e46d0b042af83.jpg","text":"TemporaryFile(/tmp/multipartBody583892521435147245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169023124,"filename":"image_09042025_01_41_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679040","file1":"1350679039","file0":"1350679036","file4":"1350679047","file5":"1350679050","file3":"1350679043"},"map_files_photo_id_array":[{"photo_id":"1350679050","filename":"file5"},{"photo_id":"1350679040","filename":"file2"},{"photo_id":"1350679047","filename":"file4"},{"photo_id":"1350679039","filename":"file1"},{"photo_id":"1350679036","filename":"file0"},{"photo_id":"1350679043","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679040":["hashtag1","hashtag2"]},{"1350679043":["hashtag1","hashtag2"]},{"1350679036":["hashtag1","hashtag2"]},{"1350679039":["hashtag1","hashtag2"]},{"1350679047":["hashtag1","hashtag2"]},{"1350679050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679040, 1350679043, 1350679036, 1350679039, 1350679047, 1350679050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.081355571746826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:23:32.930999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_55_9362.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_42_05_10458.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_14_9358.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_25_10352.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_35_10426.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_45_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_55_9362.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_42_05_10458.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_14_9358.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_25_10352.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_35_10426.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_45_9359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.396317720413208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:23:43.051607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_55_9362.jpg', '/home/pi/Desktop/images/09042025/01/41/image_09042025_01_42_05_10458.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_14_9358.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_25_10352.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_35_10426.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_45_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_41_55_9362.jpg
/home/pi/Desktop/images/09042025/01/41/image_09042025_01_42_05_10458.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_14_9358.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_25_10352.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_35_10426.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_45_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679064","1350679058","1350679061","1350679063","1350679066","1350679065"],"photo_ids_order":["1350679058","1350679061","1350679063","1350679064","1350679065","1350679066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db23c307c256a4e907c5d4e44afe4660.jpg","text":"TemporaryFile(/tmp/multipartBody1038826769180029878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169083519,"filename":"image_09042025_01_42_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/4/9/112d2491a75fb2c9ccb03e6713b81019.jpg","text":"TemporaryFile(/tmp/multipartBody8726639990967131056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169083519,"filename":"image_09042025_01_41_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/4/9/88d5064efc94b44fcd4f0878334b3644.jpg","text":"TemporaryFile(/tmp/multipartBody993594742466124598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169083519,"filename":"image_09042025_01_42_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/4/9/cd984fc9b5c2eb8bad41a91da11f6cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2904652940316214000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169083519,"filename":"image_09042025_01_42_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/4/9/797f04bfe9ae7a3dd98e6a73a1b22eab.jpg","text":"TemporaryFile(/tmp/multipartBody8606309714152944278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169083519,"filename":"image_09042025_01_42_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/4/9/5d091eae928a84e9ee05716659d0aa89.jpg","text":"TemporaryFile(/tmp/multipartBody4057307894405201236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169083519,"filename":"image_09042025_01_42_35_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679063","file1":"1350679061","file0":"1350679058","file4":"1350679065","file5":"1350679066","file3":"1350679064"},"map_files_photo_id_array":[{"photo_id":"1350679066","filename":"file5"},{"photo_id":"1350679063","filename":"file2"},{"photo_id":"1350679065","filename":"file4"},{"photo_id":"1350679061","filename":"file1"},{"photo_id":"1350679058","filename":"file0"},{"photo_id":"1350679064","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679064":["hashtag1","hashtag2"]},{"1350679058":["hashtag1","hashtag2"]},{"1350679061":["hashtag1","hashtag2"]},{"1350679063":["hashtag1","hashtag2"]},{"1350679066":["hashtag1","hashtag2"]},{"1350679065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679064, 1350679058, 1350679061, 1350679063, 1350679066, 1350679065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.08204174041748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:24:33.158826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_55_10379.jpg', '/home/pi/Desktop/images/09042025/01/42/image_09042025_01_43_05_10356.jpg', '/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_15_9356.jpg', '/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_25_10475.jpg', '/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_34_9343.jpg', '/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_45_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_42_55_10379.jpg
/home/pi/Desktop/images/09042025/01/42/image_09042025_01_43_05_10356.jpg
/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_15_9356.jpg
/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_25_10475.jpg
/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_34_9343.jpg
/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_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":["1350679082","1350679085","1350679084","1350679078","1350679083","1350679080"],"photo_ids_order":["1350679078","1350679080","1350679082","1350679083","1350679084","1350679085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/199de52b1a9b5f8021ba0ece77e26377.jpg","text":"TemporaryFile(/tmp/multipartBody4921987105797437184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169133642,"filename":"image_09042025_01_43_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/4/9/6600c4f9c6df1c3e47a1d759cba838fd.jpg","text":"TemporaryFile(/tmp/multipartBody6254182385433910532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169133642,"filename":"image_09042025_01_43_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/4/9/2cc5615c44065f0216fbdae5d2998a11.jpg","text":"TemporaryFile(/tmp/multipartBody1481237219285890663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169133642,"filename":"image_09042025_01_43_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/4/9/510dc35c42a379597c440caea94b827c.jpg","text":"TemporaryFile(/tmp/multipartBody6994883842698090004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169133642,"filename":"image_09042025_01_42_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/4/9/8912d86483ff23ab575e1e9311bd5b39.jpg","text":"TemporaryFile(/tmp/multipartBody4932971489712377763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169133642,"filename":"image_09042025_01_43_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/4/9/8593a21fd4e4905d3369956d26ec8c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1430135085544893872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169133642,"filename":"image_09042025_01_43_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679082","file1":"1350679080","file0":"1350679078","file4":"1350679084","file5":"1350679085","file3":"1350679083"},"map_files_photo_id_array":[{"photo_id":"1350679085","filename":"file5"},{"photo_id":"1350679082","filename":"file2"},{"photo_id":"1350679084","filename":"file4"},{"photo_id":"1350679080","filename":"file1"},{"photo_id":"1350679078","filename":"file0"},{"photo_id":"1350679083","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679082":["hashtag1","hashtag2"]},{"1350679085":["hashtag1","hashtag2"]},{"1350679084":["hashtag1","hashtag2"]},{"1350679078":["hashtag1","hashtag2"]},{"1350679083":["hashtag1","hashtag2"]},{"1350679080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679082, 1350679085, 1350679084, 1350679078, 1350679083, 1350679080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.674174308776855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:25:32.403190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_55_10432.jpg', '/home/pi/Desktop/images/09042025/01/43/image_09042025_01_44_05_9401.jpg', '/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_15_10493.jpg', '/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_25_9428.jpg', '/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_35_10354.jpg', '/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_44_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/43/image_09042025_01_43_55_10432.jpg
/home/pi/Desktop/images/09042025/01/43/image_09042025_01_44_05_9401.jpg
/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_15_10493.jpg
/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_25_9428.jpg
/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_35_10354.jpg
/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_44_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679100","1350679098","1350679102","1350679092","1350679095","1350679104"],"photo_ids_order":["1350679092","1350679095","1350679098","1350679100","1350679102","1350679104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/89281336f59361f3335d31e3ccea6994.jpg","text":"TemporaryFile(/tmp/multipartBody671075605898002234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169192869,"filename":"image_09042025_01_44_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b0192542a635fbb7831aefa02ce231a.jpg","text":"TemporaryFile(/tmp/multipartBody1987708337196969345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169192869,"filename":"image_09042025_01_44_15_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79dd6bea80f50a7904f8b65b4a92f579.jpg","text":"TemporaryFile(/tmp/multipartBody9094655705876189325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169192869,"filename":"image_09042025_01_44_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/4/9/2f9e3127e903d718979a743ece8320a9.jpg","text":"TemporaryFile(/tmp/multipartBody8685024125164473683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169192869,"filename":"image_09042025_01_43_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b4e5500fd8231661aa4e89184be71ba.jpg","text":"TemporaryFile(/tmp/multipartBody342747387291243958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169192869,"filename":"image_09042025_01_44_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/4/9/7de35df9772896ae2e28f1227973b05e.jpg","text":"TemporaryFile(/tmp/multipartBody8092340287303564731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169192869,"filename":"image_09042025_01_44_44_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679098","file1":"1350679095","file0":"1350679092","file4":"1350679102","file5":"1350679104","file3":"1350679100"},"map_files_photo_id_array":[{"photo_id":"1350679104","filename":"file5"},{"photo_id":"1350679098","filename":"file2"},{"photo_id":"1350679102","filename":"file4"},{"photo_id":"1350679095","filename":"file1"},{"photo_id":"1350679092","filename":"file0"},{"photo_id":"1350679100","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679100":["hashtag1","hashtag2"]},{"1350679098":["hashtag1","hashtag2"]},{"1350679102":["hashtag1","hashtag2"]},{"1350679092":["hashtag1","hashtag2"]},{"1350679095":["hashtag1","hashtag2"]},{"1350679104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679100, 1350679098, 1350679102, 1350679092, 1350679095, 1350679104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01712894439697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:26:32.803981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_55_10349.jpg', '/home/pi/Desktop/images/09042025/01/44/image_09042025_01_45_05_10414.jpg', '/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_14_9371.jpg', '/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_25_10378.jpg', '/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_35_10347.jpg', '/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_45_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/44/image_09042025_01_44_55_10349.jpg
/home/pi/Desktop/images/09042025/01/44/image_09042025_01_45_05_10414.jpg
/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_14_9371.jpg
/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_25_10378.jpg
/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_35_10347.jpg
/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_45_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679115","1350679123","1350679117","1350679120","1350679122","1350679119"],"photo_ids_order":["1350679115","1350679117","1350679119","1350679120","1350679122","1350679123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98b711467a9e8d02f390d2bac0e535d8.jpg","text":"TemporaryFile(/tmp/multipartBody5326870157319661102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169253281,"filename":"image_09042025_01_44_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/4/9/6dfc1c156fa18683b1db9cce6d2937ba.jpg","text":"TemporaryFile(/tmp/multipartBody3912274211058754235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169253281,"filename":"image_09042025_01_45_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/4/9/9406b97062912ecefd510bb229f5d862.jpg","text":"TemporaryFile(/tmp/multipartBody2876434594674760207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169253281,"filename":"image_09042025_01_45_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/4/9/869778ee08b6fafa2ba6fc0158ebff37.jpg","text":"TemporaryFile(/tmp/multipartBody2386263218694370471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169253281,"filename":"image_09042025_01_45_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/4/9/9fc50530cfe95c1bed632f7f1c866122.jpg","text":"TemporaryFile(/tmp/multipartBody8366860409820807697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169253281,"filename":"image_09042025_01_45_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/4/9/3bf58c973d9cc1f4d090a1d33c05010e.jpg","text":"TemporaryFile(/tmp/multipartBody8652723687173586615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169253281,"filename":"image_09042025_01_45_14_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679119","file1":"1350679117","file0":"1350679115","file4":"1350679122","file5":"1350679123","file3":"1350679120"},"map_files_photo_id_array":[{"photo_id":"1350679123","filename":"file5"},{"photo_id":"1350679119","filename":"file2"},{"photo_id":"1350679122","filename":"file4"},{"photo_id":"1350679117","filename":"file1"},{"photo_id":"1350679115","filename":"file0"},{"photo_id":"1350679120","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679115":["hashtag1","hashtag2"]},{"1350679123":["hashtag1","hashtag2"]},{"1350679117":["hashtag1","hashtag2"]},{"1350679120":["hashtag1","hashtag2"]},{"1350679122":["hashtag1","hashtag2"]},{"1350679119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679115, 1350679123, 1350679117, 1350679120, 1350679122, 1350679119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64250612258911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:27:33.075459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_55_10489.jpg', '/home/pi/Desktop/images/09042025/01/45/image_09042025_01_46_04_9453.jpg', '/home/pi/Desktop/images/09042025/01/46/image_09042025_01_46_15_10387.jpg', '/home/pi/Desktop/images/09042025/01/46/image_09042025_01_46_25_10390.jpg', '/home/pi/Desktop/images/09042025/01/46/image_09042025_01_46_45_10426.jpg', '/home/pi/Desktop/images/09042025/01/46/image_09042025_01_46_54_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/45/image_09042025_01_45_55_10489.jpg
/home/pi/Desktop/images/09042025/01/45/image_09042025_01_46_04_9453.jpg
/home/pi/Desktop/images/09042025/01/46/image_09042025_01_46_15_10387.jpg
/home/pi/Desktop/images/09042025/01/46/image_09042025_01_46_25_10390.jpg
/home/pi/Desktop/images/09042025/01/46/image_09042025_01_46_45_10426.jpg
/home/pi/Desktop/images/09042025/01/46/image_09042025_01_46_54_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":["1350679139","1350679136","1350679141","1350679138","1350679140","1350679137"],"photo_ids_order":["1350679136","1350679137","1350679138","1350679139","1350679140","1350679141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/954bc793055d73bf9337543efff1b31c.jpg","text":"TemporaryFile(/tmp/multipartBody8623785895582352902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169313562,"filename":"image_09042025_01_46_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a122f6bdaea9379dc189ba099f6604e.jpg","text":"TemporaryFile(/tmp/multipartBody4275216336653493500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169313562,"filename":"image_09042025_01_45_55_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d20c24c1a45fd5b4dbfff502c438c169.jpg","text":"TemporaryFile(/tmp/multipartBody2862170169220244476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169313562,"filename":"image_09042025_01_46_54_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8f32932552b22f83fe9794d7fd1ac14.jpg","text":"TemporaryFile(/tmp/multipartBody403368219140134219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169313562,"filename":"image_09042025_01_46_15_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f0ae75222725a01e301ad9350866d0b.jpg","text":"TemporaryFile(/tmp/multipartBody6045793306213940985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169313562,"filename":"image_09042025_01_46_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/4/9/5ddf1b862419750c993b9bc90cb1a497.jpg","text":"TemporaryFile(/tmp/multipartBody8468162653555102361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169313562,"filename":"image_09042025_01_46_04_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679138","file1":"1350679137","file0":"1350679136","file4":"1350679140","file5":"1350679141","file3":"1350679139"},"map_files_photo_id_array":[{"photo_id":"1350679141","filename":"file5"},{"photo_id":"1350679138","filename":"file2"},{"photo_id":"1350679140","filename":"file4"},{"photo_id":"1350679137","filename":"file1"},{"photo_id":"1350679136","filename":"file0"},{"photo_id":"1350679139","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679139":["hashtag1","hashtag2"]},{"1350679136":["hashtag1","hashtag2"]},{"1350679141":["hashtag1","hashtag2"]},{"1350679138":["hashtag1","hashtag2"]},{"1350679140":["hashtag1","hashtag2"]},{"1350679137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679139, 1350679136, 1350679141, 1350679138, 1350679140, 1350679137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29298758506775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:28:32.316044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/46/image_09042025_01_47_05_10364.jpg', '/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_15_10379.jpg', '/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_25_9363.jpg', '/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_35_10486.jpg', '/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_44_9364.jpg', '/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_55_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/46/image_09042025_01_47_05_10364.jpg
/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_15_10379.jpg
/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_25_9363.jpg
/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_35_10486.jpg
/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_44_9364.jpg
/home/pi/Desktop/images/09042025/01/47/image_09042025_01_47_55_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":["1350679157","1350679160","1350679159","1350679152","1350679155","1350679158"],"photo_ids_order":["1350679152","1350679155","1350679157","1350679158","1350679159","1350679160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f3a25ede5f92154c157a60744f9bef11.jpg","text":"TemporaryFile(/tmp/multipartBody2966447955611950610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169372783,"filename":"image_09042025_01_47_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4af4f4ab5fdb74e450732cfd035022e9.jpg","text":"TemporaryFile(/tmp/multipartBody9210227812735814330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169372783,"filename":"image_09042025_01_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/4/9/1058389ea1e9695048b4700446a412f4.jpg","text":"TemporaryFile(/tmp/multipartBody5263110874856224417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169372783,"filename":"image_09042025_01_47_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/4/9/a9eb0a244e0253fca337b69268822a86.jpg","text":"TemporaryFile(/tmp/multipartBody5118772789260881645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169372783,"filename":"image_09042025_01_47_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/4/9/ef57c531d8f84bb813839a7e5cbadab9.jpg","text":"TemporaryFile(/tmp/multipartBody1351754882298060692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169372783,"filename":"image_09042025_01_47_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/4/9/7a9e1968d72e41e34433eb867538cbe8.jpg","text":"TemporaryFile(/tmp/multipartBody2762657364835522378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169372783,"filename":"image_09042025_01_47_35_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679157","file1":"1350679155","file0":"1350679152","file4":"1350679159","file5":"1350679160","file3":"1350679158"},"map_files_photo_id_array":[{"photo_id":"1350679160","filename":"file5"},{"photo_id":"1350679157","filename":"file2"},{"photo_id":"1350679159","filename":"file4"},{"photo_id":"1350679155","filename":"file1"},{"photo_id":"1350679152","filename":"file0"},{"photo_id":"1350679158","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679157":["hashtag1","hashtag2"]},{"1350679160":["hashtag1","hashtag2"]},{"1350679159":["hashtag1","hashtag2"]},{"1350679152":["hashtag1","hashtag2"]},{"1350679155":["hashtag1","hashtag2"]},{"1350679158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679157, 1350679160, 1350679159, 1350679152, 1350679155, 1350679158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.163599729537964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:29:32.643238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/47/image_09042025_01_48_05_10376.jpg', '/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_15_9351.jpg', '/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_25_10431.jpg', '/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_34_9336.jpg', '/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_45_10347.jpg', '/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_55_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/47/image_09042025_01_48_05_10376.jpg
/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_15_9351.jpg
/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_25_10431.jpg
/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_34_9336.jpg
/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_45_10347.jpg
/home/pi/Desktop/images/09042025/01/48/image_09042025_01_48_55_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679181","1350679175","1350679178","1350679180","1350679179","1350679176"],"photo_ids_order":["1350679175","1350679176","1350679178","1350679179","1350679180","1350679181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b51a90b36b3fee1bb30c196444a82a37.jpg","text":"TemporaryFile(/tmp/multipartBody4969045148404234657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169433117,"filename":"image_09042025_01_48_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/4/9/e3b5bd3f3970c00800967eb062d39742.jpg","text":"TemporaryFile(/tmp/multipartBody8613722615295223517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169433117,"filename":"image_09042025_01_48_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a41796682dd5afc087f775b46054a12b.jpg","text":"TemporaryFile(/tmp/multipartBody4489663032607839722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169433117,"filename":"image_09042025_01_48_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/4/9/a646bef8579d9cf90b366a9c2ab2e0ac.jpg","text":"TemporaryFile(/tmp/multipartBody8187314297296359262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169433117,"filename":"image_09042025_01_48_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/4/9/5369a4cd018f7f31f398e9bdf36ac477.jpg","text":"TemporaryFile(/tmp/multipartBody3583328326099869625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169433117,"filename":"image_09042025_01_48_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66ef5a59c34bbb38dad9de12c06f6eea.jpg","text":"TemporaryFile(/tmp/multipartBody7724479800352570303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169433117,"filename":"image_09042025_01_48_15_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679178","file1":"1350679176","file0":"1350679175","file4":"1350679180","file5":"1350679181","file3":"1350679179"},"map_files_photo_id_array":[{"photo_id":"1350679181","filename":"file5"},{"photo_id":"1350679178","filename":"file2"},{"photo_id":"1350679180","filename":"file4"},{"photo_id":"1350679176","filename":"file1"},{"photo_id":"1350679175","filename":"file0"},{"photo_id":"1350679179","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679181":["hashtag1","hashtag2"]},{"1350679175":["hashtag1","hashtag2"]},{"1350679178":["hashtag1","hashtag2"]},{"1350679180":["hashtag1","hashtag2"]},{"1350679179":["hashtag1","hashtag2"]},{"1350679176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679181, 1350679175, 1350679178, 1350679180, 1350679179, 1350679176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.831891775131226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:30:33.022304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/48/image_09042025_01_49_05_9372.jpg', '/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_15_10351.jpg', '/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_25_10366.jpg', '/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_35_9326.jpg', '/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_45_10342.jpg', '/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_54_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/48/image_09042025_01_49_05_9372.jpg
/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_15_10351.jpg
/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_25_10366.jpg
/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_35_9326.jpg
/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_45_10342.jpg
/home/pi/Desktop/images/09042025/01/49/image_09042025_01_49_54_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679196","1350679199","1350679198","1350679197","1350679201","1350679200"],"photo_ids_order":["1350679196","1350679197","1350679198","1350679199","1350679200","1350679201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38ced0f70963c64ea0a0f267f19f51cc.jpg","text":"TemporaryFile(/tmp/multipartBody448023075392295192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169493494,"filename":"image_09042025_01_49_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/4/9/1699b1158646c8ac52d09c25b2c11b95.jpg","text":"TemporaryFile(/tmp/multipartBody6153615744758132047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169493494,"filename":"image_09042025_01_49_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/4/9/7031c72a3528d64c5ac82119af922cb9.jpg","text":"TemporaryFile(/tmp/multipartBody4724119315719375955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169493494,"filename":"image_09042025_01_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/4/9/307a427004ada261a8f602abbd829536.jpg","text":"TemporaryFile(/tmp/multipartBody3821650612974247373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169493494,"filename":"image_09042025_01_49_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3983499767db66994befbc896ab64344.jpg","text":"TemporaryFile(/tmp/multipartBody7118546167290740766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169493494,"filename":"image_09042025_01_49_54_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ebd20b987f6d742f71fbcaee6ab1390.jpg","text":"TemporaryFile(/tmp/multipartBody6733221528918224646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169493494,"filename":"image_09042025_01_49_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679198","file1":"1350679197","file0":"1350679196","file4":"1350679200","file5":"1350679201","file3":"1350679199"},"map_files_photo_id_array":[{"photo_id":"1350679201","filename":"file5"},{"photo_id":"1350679198","filename":"file2"},{"photo_id":"1350679200","filename":"file4"},{"photo_id":"1350679197","filename":"file1"},{"photo_id":"1350679196","filename":"file0"},{"photo_id":"1350679199","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679196":["hashtag1","hashtag2"]},{"1350679199":["hashtag1","hashtag2"]},{"1350679198":["hashtag1","hashtag2"]},{"1350679197":["hashtag1","hashtag2"]},{"1350679201":["hashtag1","hashtag2"]},{"1350679200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679196, 1350679199, 1350679198, 1350679197, 1350679201, 1350679200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11925673484802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:31:32.204071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/50/image_09042025_01_50_15_10446.jpg', '/home/pi/Desktop/images/09042025/01/50/image_09042025_01_50_35_10372.jpg', '/home/pi/Desktop/images/09042025/01/50/image_09042025_01_50_45_10404.jpg', '/home/pi/Desktop/images/09042025/01/50/image_09042025_01_50_55_9396.jpg', '/home/pi/Desktop/images/09042025/01/50/image_09042025_01_51_05_10400.jpg', '/home/pi/Desktop/images/09042025/01/51/image_09042025_01_51_14_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/50/image_09042025_01_50_15_10446.jpg
/home/pi/Desktop/images/09042025/01/50/image_09042025_01_50_35_10372.jpg
/home/pi/Desktop/images/09042025/01/50/image_09042025_01_50_45_10404.jpg
/home/pi/Desktop/images/09042025/01/50/image_09042025_01_50_55_9396.jpg
/home/pi/Desktop/images/09042025/01/50/image_09042025_01_51_05_10400.jpg
/home/pi/Desktop/images/09042025/01/51/image_09042025_01_51_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":["1350679212","1350679217","1350679216","1350679219","1350679210","1350679218"],"photo_ids_order":["1350679210","1350679212","1350679216","1350679217","1350679218","1350679219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c5025d8bb6f9c164c618e37dc091a42.jpg","text":"TemporaryFile(/tmp/multipartBody262010451091204160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169552675,"filename":"image_09042025_01_50_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/4/9/6aa3234ada252dfce94121562fb63854.jpg","text":"TemporaryFile(/tmp/multipartBody5274302561407244442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169552675,"filename":"image_09042025_01_50_55_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c497c0f196e667c177d2577c1108077.jpg","text":"TemporaryFile(/tmp/multipartBody3009015657832407693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169552675,"filename":"image_09042025_01_50_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/4/9/75b63fe5b459a83a68bcfae9981112d9.jpg","text":"TemporaryFile(/tmp/multipartBody8288810762297606361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169552675,"filename":"image_09042025_01_51_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/4/9/1b515de273f2d199c0a76a4f12fce969.jpg","text":"TemporaryFile(/tmp/multipartBody8498035676243333931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169552675,"filename":"image_09042025_01_50_15_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0282545a4f91523f0d122bc45b064d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1303548190941379945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169552675,"filename":"image_09042025_01_51_05_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679216","file1":"1350679212","file0":"1350679210","file4":"1350679218","file5":"1350679219","file3":"1350679217"},"map_files_photo_id_array":[{"photo_id":"1350679219","filename":"file5"},{"photo_id":"1350679216","filename":"file2"},{"photo_id":"1350679218","filename":"file4"},{"photo_id":"1350679212","filename":"file1"},{"photo_id":"1350679210","filename":"file0"},{"photo_id":"1350679217","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679212":["hashtag1","hashtag2"]},{"1350679217":["hashtag1","hashtag2"]},{"1350679216":["hashtag1","hashtag2"]},{"1350679219":["hashtag1","hashtag2"]},{"1350679210":["hashtag1","hashtag2"]},{"1350679218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679212, 1350679217, 1350679216, 1350679219, 1350679210, 1350679218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.295483350753784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:32:32.417345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/51/image_09042025_01_51_25_10372.jpg', '/home/pi/Desktop/images/09042025/01/51/image_09042025_01_51_45_9356.jpg', '/home/pi/Desktop/images/09042025/01/51/image_09042025_01_51_55_10486.jpg', '/home/pi/Desktop/images/09042025/01/51/image_09042025_01_52_05_9434.jpg', '/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_15_10375.jpg', '/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_25_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/51/image_09042025_01_51_25_10372.jpg
/home/pi/Desktop/images/09042025/01/51/image_09042025_01_51_45_9356.jpg
/home/pi/Desktop/images/09042025/01/51/image_09042025_01_51_55_10486.jpg
/home/pi/Desktop/images/09042025/01/51/image_09042025_01_52_05_9434.jpg
/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_15_10375.jpg
/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_25_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":["1350679232","1350679235","1350679234","1350679237","1350679233","1350679236"],"photo_ids_order":["1350679232","1350679233","1350679234","1350679235","1350679236","1350679237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/849bd2618380db8b6f049205f01858d7.jpg","text":"TemporaryFile(/tmp/multipartBody4985679548512657062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169612881,"filename":"image_09042025_01_51_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d08965b25dbf38953337546149b1eb52.jpg","text":"TemporaryFile(/tmp/multipartBody8958737842838185835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169612881,"filename":"image_09042025_01_52_05_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/70f2753ee53474f29cac0665fd058778.jpg","text":"TemporaryFile(/tmp/multipartBody4207024105236662666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169612881,"filename":"image_09042025_01_51_55_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd6e2c8b472828d93eda98a79942a4e3.jpg","text":"TemporaryFile(/tmp/multipartBody7919928301049622359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169612881,"filename":"image_09042025_01_52_25_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8b1a43bcb902be3118a9f4e17aac9e8.jpg","text":"TemporaryFile(/tmp/multipartBody70832145281874558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169612881,"filename":"image_09042025_01_51_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/4/9/860041495be10d1c2d81ffe6ec96f901.jpg","text":"TemporaryFile(/tmp/multipartBody1428323430033941320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169612881,"filename":"image_09042025_01_52_15_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679234","file1":"1350679233","file0":"1350679232","file4":"1350679236","file5":"1350679237","file3":"1350679235"},"map_files_photo_id_array":[{"photo_id":"1350679237","filename":"file5"},{"photo_id":"1350679234","filename":"file2"},{"photo_id":"1350679236","filename":"file4"},{"photo_id":"1350679233","filename":"file1"},{"photo_id":"1350679232","filename":"file0"},{"photo_id":"1350679235","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679232":["hashtag1","hashtag2"]},{"1350679235":["hashtag1","hashtag2"]},{"1350679234":["hashtag1","hashtag2"]},{"1350679237":["hashtag1","hashtag2"]},{"1350679233":["hashtag1","hashtag2"]},{"1350679236":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679232, 1350679235, 1350679234, 1350679237, 1350679233, 1350679236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.05370020866394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:33:32.815125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_35_9324.jpg', '/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_45_10476.jpg', '/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_54_9372.jpg', '/home/pi/Desktop/images/09042025/01/52/image_09042025_01_53_05_10361.jpg', '/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_15_10362.jpg', '/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_25_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_35_9324.jpg
/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_45_10476.jpg
/home/pi/Desktop/images/09042025/01/52/image_09042025_01_52_54_9372.jpg
/home/pi/Desktop/images/09042025/01/52/image_09042025_01_53_05_10361.jpg
/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_15_10362.jpg
/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_25_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":["1350679253","1350679255","1350679246","1350679251","1350679254","1350679248"],"photo_ids_order":["1350679246","1350679248","1350679251","1350679253","1350679254","1350679255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5dfc3244d2d000b0c16da7fbfca5d29b.jpg","text":"TemporaryFile(/tmp/multipartBody8041183344162351865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169673289,"filename":"image_09042025_01_53_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/4/9/2567bfdbc9e17899299c9b6afdb4cc8e.jpg","text":"TemporaryFile(/tmp/multipartBody1814718247698752304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169673289,"filename":"image_09042025_01_53_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/4/9/60fd2510f5ebfa63c55930afe09c92d7.jpg","text":"TemporaryFile(/tmp/multipartBody1111395847964855274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169673289,"filename":"image_09042025_01_52_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/4/9/8588243b432c736de474cb6d18334ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7128101183652482389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169673289,"filename":"image_09042025_01_52_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/4/9/22c70213ba7bbfa2a47d30ca7a95fdc5.jpg","text":"TemporaryFile(/tmp/multipartBody7353386151248497901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169673289,"filename":"image_09042025_01_53_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/4/9/5020c6006379e58c7fa5e8b5b4b8b8c6.jpg","text":"TemporaryFile(/tmp/multipartBody647437926065950361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169673289,"filename":"image_09042025_01_52_45_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679251","file1":"1350679248","file0":"1350679246","file4":"1350679254","file5":"1350679255","file3":"1350679253"},"map_files_photo_id_array":[{"photo_id":"1350679255","filename":"file5"},{"photo_id":"1350679251","filename":"file2"},{"photo_id":"1350679254","filename":"file4"},{"photo_id":"1350679248","filename":"file1"},{"photo_id":"1350679246","filename":"file0"},{"photo_id":"1350679253","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679253":["hashtag1","hashtag2"]},{"1350679255":["hashtag1","hashtag2"]},{"1350679246":["hashtag1","hashtag2"]},{"1350679251":["hashtag1","hashtag2"]},{"1350679254":["hashtag1","hashtag2"]},{"1350679248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679253, 1350679255, 1350679246, 1350679251, 1350679254, 1350679248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.473352909088135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:34:32.875525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_35_10355.jpg', '/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_45_10371.jpg', '/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_55_9435.jpg', '/home/pi/Desktop/images/09042025/01/53/image_09042025_01_54_05_10435.jpg', '/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_14_9344.jpg', '/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_25_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_35_10355.jpg
/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_45_10371.jpg
/home/pi/Desktop/images/09042025/01/53/image_09042025_01_53_55_9435.jpg
/home/pi/Desktop/images/09042025/01/53/image_09042025_01_54_05_10435.jpg
/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_14_9344.jpg
/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_25_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":["1350679283","1350679277","1350679279","1350679273","1350679282","1350679284"],"photo_ids_order":["1350679273","1350679277","1350679279","1350679282","1350679283","1350679284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c23cc443878158515addd3133f6a5441.jpg","text":"TemporaryFile(/tmp/multipartBody7258013074739011482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169733353,"filename":"image_09042025_01_54_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/4/9/04d42aaa54bf3637fb374d41099ddcc4.jpg","text":"TemporaryFile(/tmp/multipartBody3067084797765509582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169733353,"filename":"image_09042025_01_53_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/4/9/388f3f99751e7e8e1ae5a41c9e08cdf7.jpg","text":"TemporaryFile(/tmp/multipartBody5855208225820014784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169733353,"filename":"image_09042025_01_53_55_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d308320531673c0e5c8ed3d49f078306.jpg","text":"TemporaryFile(/tmp/multipartBody4059622750918682594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169733353,"filename":"image_09042025_01_53_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/4/9/dca51b39ed9986cf58b1e53fc4f07457.jpg","text":"TemporaryFile(/tmp/multipartBody6235873764014493471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169733353,"filename":"image_09042025_01_54_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8471b701e6d84b24827adecefb02764.jpg","text":"TemporaryFile(/tmp/multipartBody6713785077857936119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169733353,"filename":"image_09042025_01_54_25_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679279","file1":"1350679277","file0":"1350679273","file4":"1350679283","file5":"1350679284","file3":"1350679282"},"map_files_photo_id_array":[{"photo_id":"1350679284","filename":"file5"},{"photo_id":"1350679279","filename":"file2"},{"photo_id":"1350679283","filename":"file4"},{"photo_id":"1350679277","filename":"file1"},{"photo_id":"1350679273","filename":"file0"},{"photo_id":"1350679282","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679283":["hashtag1","hashtag2"]},{"1350679277":["hashtag1","hashtag2"]},{"1350679279":["hashtag1","hashtag2"]},{"1350679273":["hashtag1","hashtag2"]},{"1350679282":["hashtag1","hashtag2"]},{"1350679284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679283, 1350679277, 1350679279, 1350679273, 1350679282, 1350679284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70181202888489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:35:33.111972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_34_9407.jpg', '/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_45_10370.jpg', '/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_55_10406.jpg', '/home/pi/Desktop/images/09042025/01/54/image_09042025_01_55_04_9342.jpg', '/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_15_10435.jpg', '/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_24_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_34_9407.jpg
/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_45_10370.jpg
/home/pi/Desktop/images/09042025/01/54/image_09042025_01_54_55_10406.jpg
/home/pi/Desktop/images/09042025/01/54/image_09042025_01_55_04_9342.jpg
/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_15_10435.jpg
/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_24_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":["1350679311","1350679305","1350679310","1350679300","1350679308","1350679302"],"photo_ids_order":["1350679300","1350679302","1350679305","1350679308","1350679310","1350679311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42df4fa00832089d71c81f0fe14e6a35.jpg","text":"TemporaryFile(/tmp/multipartBody6424303020155467743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169793585,"filename":"image_09042025_01_55_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/edb098fa04b61e1047e0d756ff321131.jpg","text":"TemporaryFile(/tmp/multipartBody7157936505878286738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169793585,"filename":"image_09042025_01_54_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/4/9/42f2c99b7f907fa7508e657c5df7a02a.jpg","text":"TemporaryFile(/tmp/multipartBody119598192674118067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169793585,"filename":"image_09042025_01_55_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/4/9/70dca5ed8f7eb6cf565a8d20af39bef7.jpg","text":"TemporaryFile(/tmp/multipartBody5326499380514664829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169793585,"filename":"image_09042025_01_54_34_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/72c1566c55ecccac1922c9dccdb64f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1127202135656798928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169793585,"filename":"image_09042025_01_55_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/4/9/5741fd6bfc5791ba62f7f4b78246b080.jpg","text":"TemporaryFile(/tmp/multipartBody1500561281323380811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169793585,"filename":"image_09042025_01_54_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679305","file1":"1350679302","file0":"1350679300","file4":"1350679310","file5":"1350679311","file3":"1350679308"},"map_files_photo_id_array":[{"photo_id":"1350679311","filename":"file5"},{"photo_id":"1350679305","filename":"file2"},{"photo_id":"1350679310","filename":"file4"},{"photo_id":"1350679302","filename":"file1"},{"photo_id":"1350679300","filename":"file0"},{"photo_id":"1350679308","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679311":["hashtag1","hashtag2"]},{"1350679305":["hashtag1","hashtag2"]},{"1350679310":["hashtag1","hashtag2"]},{"1350679300":["hashtag1","hashtag2"]},{"1350679308":["hashtag1","hashtag2"]},{"1350679302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679311, 1350679305, 1350679310, 1350679300, 1350679308, 1350679302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.062074184417725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:36:32.255399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_35_10354.jpg', '/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_45_10396.jpg', '/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_54_9370.jpg', '/home/pi/Desktop/images/09042025/01/55/image_09042025_01_56_05_10356.jpg', '/home/pi/Desktop/images/09042025/01/56/image_09042025_01_56_25_9397.jpg', '/home/pi/Desktop/images/09042025/01/56/image_09042025_01_56_35_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_35_10354.jpg
/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_45_10396.jpg
/home/pi/Desktop/images/09042025/01/55/image_09042025_01_55_54_9370.jpg
/home/pi/Desktop/images/09042025/01/55/image_09042025_01_56_05_10356.jpg
/home/pi/Desktop/images/09042025/01/56/image_09042025_01_56_25_9397.jpg
/home/pi/Desktop/images/09042025/01/56/image_09042025_01_56_35_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":["1350679331","1350679325","1350679324","1350679327","1350679329","1350679323"],"photo_ids_order":["1350679323","1350679324","1350679325","1350679327","1350679329","1350679331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/586f9bd862ab6fed7b9a89fcba3e6f33.jpg","text":"TemporaryFile(/tmp/multipartBody1901096984152870879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169852726,"filename":"image_09042025_01_56_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/4/9/8ff5fc942f23a46390aae80ef2c3281d.jpg","text":"TemporaryFile(/tmp/multipartBody2308889983453255689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169852726,"filename":"image_09042025_01_55_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/4/9/0be40fe9d13508fd4345ad9910b6c5aa.jpg","text":"TemporaryFile(/tmp/multipartBody3084596695258159063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169852726,"filename":"image_09042025_01_55_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/4/9/cbd79c6414fd8b20d23ba770b068ad32.jpg","text":"TemporaryFile(/tmp/multipartBody7754672925733448778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169852726,"filename":"image_09042025_01_56_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1db4fb42870d9fa913bd0c7335b0fe71.jpg","text":"TemporaryFile(/tmp/multipartBody5759027266096712332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169852726,"filename":"image_09042025_01_56_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/4/9/2a400f46fcaae6f442290d25ee2063ac.jpg","text":"TemporaryFile(/tmp/multipartBody6778525674646460569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169852726,"filename":"image_09042025_01_55_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679325","file1":"1350679324","file0":"1350679323","file4":"1350679329","file5":"1350679331","file3":"1350679327"},"map_files_photo_id_array":[{"photo_id":"1350679331","filename":"file5"},{"photo_id":"1350679325","filename":"file2"},{"photo_id":"1350679329","filename":"file4"},{"photo_id":"1350679324","filename":"file1"},{"photo_id":"1350679323","filename":"file0"},{"photo_id":"1350679327","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679331":["hashtag1","hashtag2"]},{"1350679325":["hashtag1","hashtag2"]},{"1350679324":["hashtag1","hashtag2"]},{"1350679327":["hashtag1","hashtag2"]},{"1350679329":["hashtag1","hashtag2"]},{"1350679323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679331, 1350679325, 1350679324, 1350679327, 1350679329, 1350679323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.631441354751587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:37:32.497130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/56/image_09042025_01_56_55_10406.jpg', '/home/pi/Desktop/images/09042025/01/56/image_09042025_01_57_05_10376.jpg', '/home/pi/Desktop/images/09042025/01/57/image_09042025_01_57_14_9348.jpg', '/home/pi/Desktop/images/09042025/01/57/image_09042025_01_57_25_10374.jpg', '/home/pi/Desktop/images/09042025/01/57/image_09042025_01_57_35_10351.jpg', '/home/pi/Desktop/images/09042025/01/57/image_09042025_01_57_55_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/56/image_09042025_01_56_55_10406.jpg
/home/pi/Desktop/images/09042025/01/56/image_09042025_01_57_05_10376.jpg
/home/pi/Desktop/images/09042025/01/57/image_09042025_01_57_14_9348.jpg
/home/pi/Desktop/images/09042025/01/57/image_09042025_01_57_25_10374.jpg
/home/pi/Desktop/images/09042025/01/57/image_09042025_01_57_35_10351.jpg
/home/pi/Desktop/images/09042025/01/57/image_09042025_01_57_55_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":["1350679349","1350679343","1350679351","1350679345","1350679353","1350679347"],"photo_ids_order":["1350679343","1350679345","1350679347","1350679349","1350679351","1350679353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1283600a3b26a1b6aff0116ece47b8e.jpg","text":"TemporaryFile(/tmp/multipartBody2266190971248065288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169912976,"filename":"image_09042025_01_57_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/4/9/d74cf0822f89229f41bd463ba3103b31.jpg","text":"TemporaryFile(/tmp/multipartBody108622151763039728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169912976,"filename":"image_09042025_01_56_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/4/9/058bf1fcb9cedfeb312a8d98a9f9d597.jpg","text":"TemporaryFile(/tmp/multipartBody4648052962261860200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169912976,"filename":"image_09042025_01_57_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/4/9/d47eff1cfd58f31b691145d77fb6e60a.jpg","text":"TemporaryFile(/tmp/multipartBody4119406362718515157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169912976,"filename":"image_09042025_01_57_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7290b887dcd4ca8064908884f7e82779.jpg","text":"TemporaryFile(/tmp/multipartBody107046728221292649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169912976,"filename":"image_09042025_01_57_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/4/9/c53515af1d1b913460c68ce10eead8f6.jpg","text":"TemporaryFile(/tmp/multipartBody5730280360523282888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169912976,"filename":"image_09042025_01_57_14_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679347","file1":"1350679345","file0":"1350679343","file4":"1350679351","file5":"1350679353","file3":"1350679349"},"map_files_photo_id_array":[{"photo_id":"1350679353","filename":"file5"},{"photo_id":"1350679347","filename":"file2"},{"photo_id":"1350679351","filename":"file4"},{"photo_id":"1350679345","filename":"file1"},{"photo_id":"1350679343","filename":"file0"},{"photo_id":"1350679349","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679349":["hashtag1","hashtag2"]},{"1350679343":["hashtag1","hashtag2"]},{"1350679351":["hashtag1","hashtag2"]},{"1350679345":["hashtag1","hashtag2"]},{"1350679353":["hashtag1","hashtag2"]},{"1350679347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679349, 1350679343, 1350679351, 1350679345, 1350679353, 1350679347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36684536933899 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:38:32.699317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/58/image_09042025_01_58_25_10431.jpg', '/home/pi/Desktop/images/09042025/01/58/image_09042025_01_58_35_9404.jpg', '/home/pi/Desktop/images/09042025/01/58/image_09042025_01_58_45_10482.jpg', '/home/pi/Desktop/images/09042025/01/58/image_09042025_01_58_54_9367.jpg', '/home/pi/Desktop/images/09042025/01/58/image_09042025_01_59_05_10344.jpg', '/home/pi/Desktop/images/09042025/01/59/image_09042025_01_59_15_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/58/image_09042025_01_58_25_10431.jpg
/home/pi/Desktop/images/09042025/01/58/image_09042025_01_58_35_9404.jpg
/home/pi/Desktop/images/09042025/01/58/image_09042025_01_58_45_10482.jpg
/home/pi/Desktop/images/09042025/01/58/image_09042025_01_58_54_9367.jpg
/home/pi/Desktop/images/09042025/01/58/image_09042025_01_59_05_10344.jpg
/home/pi/Desktop/images/09042025/01/59/image_09042025_01_59_15_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":["1350679367","1350679364","1350679366","1350679369","1350679365","1350679368"],"photo_ids_order":["1350679364","1350679365","1350679366","1350679367","1350679368","1350679369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5178be7dafdb74b634bd5d11e7e83983.jpg","text":"TemporaryFile(/tmp/multipartBody163129862681189590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169973187,"filename":"image_09042025_01_58_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/4/9/d988d8ffd7a3846d551a72a2bcbd37e1.jpg","text":"TemporaryFile(/tmp/multipartBody9036124873870274330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169973187,"filename":"image_09042025_01_58_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/4/9/5e69f462b6a9bcb850b6c20a54a99647.jpg","text":"TemporaryFile(/tmp/multipartBody1260610784244301220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169973187,"filename":"image_09042025_01_58_45_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/afff97ed53e421121411798184b1a853.jpg","text":"TemporaryFile(/tmp/multipartBody6268587373366866405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169973187,"filename":"image_09042025_01_59_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/4/9/c9436d84c20b549c10776015270dcea9.jpg","text":"TemporaryFile(/tmp/multipartBody3713474764347125947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169973187,"filename":"image_09042025_01_58_35_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01b466aad5e2e28c16715edcea93c000.jpg","text":"TemporaryFile(/tmp/multipartBody8441779262332757296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744169973187,"filename":"image_09042025_01_59_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679366","file1":"1350679365","file0":"1350679364","file4":"1350679368","file5":"1350679369","file3":"1350679367"},"map_files_photo_id_array":[{"photo_id":"1350679369","filename":"file5"},{"photo_id":"1350679366","filename":"file2"},{"photo_id":"1350679368","filename":"file4"},{"photo_id":"1350679365","filename":"file1"},{"photo_id":"1350679364","filename":"file0"},{"photo_id":"1350679367","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679367":["hashtag1","hashtag2"]},{"1350679364":["hashtag1","hashtag2"]},{"1350679366":["hashtag1","hashtag2"]},{"1350679369":["hashtag1","hashtag2"]},{"1350679365":["hashtag1","hashtag2"]},{"1350679368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679367, 1350679364, 1350679366, 1350679369, 1350679365, 1350679368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04048156738281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:39:32.896493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/01/59/image_09042025_01_59_44_9342.jpg', '/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_16_10084.jpg', '/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_26_10422.jpg', '/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_37_10351.jpg', '/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_46_9505.jpg', '/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_57_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/01/59/image_09042025_01_59_44_9342.jpg
/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_16_10084.jpg
/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_26_10422.jpg
/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_37_10351.jpg
/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_46_9505.jpg
/home/pi/Desktop/images/09042025/02/00/image_09042025_02_00_57_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679382","1350679379","1350679378","1350679381","1350679380","1350679377"],"photo_ids_order":["1350679377","1350679378","1350679379","1350679380","1350679381","1350679382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5c766db72ec08dbce43923a4fe20ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5597761454053662393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170033373,"filename":"image_09042025_02_00_57_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23b332a1d2820800d6648ab07ed43dab.jpg","text":"TemporaryFile(/tmp/multipartBody7827581581904550103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170033373,"filename":"image_09042025_02_00_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/4/9/5c83a84b3b78b0d347cdad4e22b8b9d7.jpg","text":"TemporaryFile(/tmp/multipartBody1779266056791400202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170033373,"filename":"image_09042025_02_00_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/4/9/c41f3d3c543b514e4d391da8c67d112b.jpg","text":"TemporaryFile(/tmp/multipartBody5007458456640611528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170033373,"filename":"image_09042025_02_00_46_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19b9e9eb2b6831570971fde770640cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2052945953154365445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170033373,"filename":"image_09042025_02_00_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a2e0aff2bfa10bff54f843d32bd409e.jpg","text":"TemporaryFile(/tmp/multipartBody3523498431062047804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170033373,"filename":"image_09042025_01_59_44_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679379","file1":"1350679378","file0":"1350679377","file4":"1350679381","file5":"1350679382","file3":"1350679380"},"map_files_photo_id_array":[{"photo_id":"1350679382","filename":"file5"},{"photo_id":"1350679379","filename":"file2"},{"photo_id":"1350679381","filename":"file4"},{"photo_id":"1350679378","filename":"file1"},{"photo_id":"1350679377","filename":"file0"},{"photo_id":"1350679380","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679382":["hashtag1","hashtag2"]},{"1350679379":["hashtag1","hashtag2"]},{"1350679378":["hashtag1","hashtag2"]},{"1350679381":["hashtag1","hashtag2"]},{"1350679380":["hashtag1","hashtag2"]},{"1350679377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679382, 1350679379, 1350679378, 1350679381, 1350679380, 1350679377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.871885776519775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:40:32.216640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/00/image_09042025_02_01_06_9370.jpg', '/home/pi/Desktop/images/09042025/02/01/image_09042025_02_01_47_10443.jpg', '/home/pi/Desktop/images/09042025/02/01/image_09042025_02_02_06_10440.jpg', '/home/pi/Desktop/images/09042025/02/02/image_09042025_02_02_17_10359.jpg', '/home/pi/Desktop/images/09042025/02/02/image_09042025_02_02_26_9404.jpg', '/home/pi/Desktop/images/09042025/02/02/image_09042025_02_02_46_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/00/image_09042025_02_01_06_9370.jpg
/home/pi/Desktop/images/09042025/02/01/image_09042025_02_01_47_10443.jpg
/home/pi/Desktop/images/09042025/02/01/image_09042025_02_02_06_10440.jpg
/home/pi/Desktop/images/09042025/02/02/image_09042025_02_02_17_10359.jpg
/home/pi/Desktop/images/09042025/02/02/image_09042025_02_02_26_9404.jpg
/home/pi/Desktop/images/09042025/02/02/image_09042025_02_02_46_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":["1350679394","1350679388","1350679393","1350679392","1350679389","1350679391"],"photo_ids_order":["1350679388","1350679389","1350679391","1350679392","1350679393","1350679394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08f5232c04e2d24ba286f71016722499.jpg","text":"TemporaryFile(/tmp/multipartBody846231487861796820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170092682,"filename":"image_09042025_02_02_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/4/9/da36cb88117686175d981c33078bbf23.jpg","text":"TemporaryFile(/tmp/multipartBody4303008288702025334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170092682,"filename":"image_09042025_02_01_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ee6c2ec6e78aaf68b4cecc9a6b42375.jpg","text":"TemporaryFile(/tmp/multipartBody5068689960609833218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170092682,"filename":"image_09042025_02_02_26_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb9903aa746ac87ede5f9bbfee14ff08.jpg","text":"TemporaryFile(/tmp/multipartBody7949129309589654150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170092682,"filename":"image_09042025_02_02_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c343e44c2517164b71acbba6522dffc.jpg","text":"TemporaryFile(/tmp/multipartBody3367591319344915272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170092682,"filename":"image_09042025_02_01_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0305fbb57546c00239c91437ea1bfe80.jpg","text":"TemporaryFile(/tmp/multipartBody6173496694242236856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170092682,"filename":"image_09042025_02_02_06_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679391","file1":"1350679389","file0":"1350679388","file4":"1350679393","file5":"1350679394","file3":"1350679392"},"map_files_photo_id_array":[{"photo_id":"1350679394","filename":"file5"},{"photo_id":"1350679391","filename":"file2"},{"photo_id":"1350679393","filename":"file4"},{"photo_id":"1350679389","filename":"file1"},{"photo_id":"1350679388","filename":"file0"},{"photo_id":"1350679392","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679394":["hashtag1","hashtag2"]},{"1350679388":["hashtag1","hashtag2"]},{"1350679393":["hashtag1","hashtag2"]},{"1350679392":["hashtag1","hashtag2"]},{"1350679389":["hashtag1","hashtag2"]},{"1350679391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679394, 1350679388, 1350679393, 1350679392, 1350679389, 1350679391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.32429814338684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:41:32.476254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/02/image_09042025_02_02_56_10366.jpg', '/home/pi/Desktop/images/09042025/02/02/image_09042025_02_03_07_10364.jpg', '/home/pi/Desktop/images/09042025/02/03/image_09042025_02_03_16_9333.jpg', '/home/pi/Desktop/images/09042025/02/03/image_09042025_02_03_26_10378.jpg', '/home/pi/Desktop/images/09042025/02/03/image_09042025_02_03_37_10368.jpg', '/home/pi/Desktop/images/09042025/02/03/image_09042025_02_03_57_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/02/image_09042025_02_02_56_10366.jpg
/home/pi/Desktop/images/09042025/02/02/image_09042025_02_03_07_10364.jpg
/home/pi/Desktop/images/09042025/02/03/image_09042025_02_03_16_9333.jpg
/home/pi/Desktop/images/09042025/02/03/image_09042025_02_03_26_10378.jpg
/home/pi/Desktop/images/09042025/02/03/image_09042025_02_03_37_10368.jpg
/home/pi/Desktop/images/09042025/02/03/image_09042025_02_03_57_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":["1350679404","1350679403","1350679406","1350679402","1350679405","1350679401"],"photo_ids_order":["1350679401","1350679402","1350679403","1350679404","1350679405","1350679406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d0e354129f7f47b6c4df0f5bad278585.jpg","text":"TemporaryFile(/tmp/multipartBody6516027976598375518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170152947,"filename":"image_09042025_02_03_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4157486201313a219b44c179f1315e4.jpg","text":"TemporaryFile(/tmp/multipartBody3409010024191922417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170152947,"filename":"image_09042025_02_03_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/4/9/e5c3019f1d8108daecc713b856cfa2c8.jpg","text":"TemporaryFile(/tmp/multipartBody660554877399170002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170152947,"filename":"image_09042025_02_03_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/792b51f9c0b2ab8633ab1d6a918c7683.jpg","text":"TemporaryFile(/tmp/multipartBody3216870023888918381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170152947,"filename":"image_09042025_02_03_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/4/9/d838fbaf2b6dc13f243cf42048f22d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2235123599216296934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170152947,"filename":"image_09042025_02_03_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/370d0774595a0a557e12f72eaf73a7d1.jpg","text":"TemporaryFile(/tmp/multipartBody2668124954099314548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170152947,"filename":"image_09042025_02_02_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679403","file1":"1350679402","file0":"1350679401","file4":"1350679405","file5":"1350679406","file3":"1350679404"},"map_files_photo_id_array":[{"photo_id":"1350679406","filename":"file5"},{"photo_id":"1350679403","filename":"file2"},{"photo_id":"1350679405","filename":"file4"},{"photo_id":"1350679402","filename":"file1"},{"photo_id":"1350679401","filename":"file0"},{"photo_id":"1350679404","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679404":["hashtag1","hashtag2"]},{"1350679403":["hashtag1","hashtag2"]},{"1350679406":["hashtag1","hashtag2"]},{"1350679402":["hashtag1","hashtag2"]},{"1350679405":["hashtag1","hashtag2"]},{"1350679401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679404, 1350679403, 1350679406, 1350679402, 1350679405, 1350679401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39152002334595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:42:32.861096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/03/image_09042025_02_04_06_9361.jpg', '/home/pi/Desktop/images/09042025/02/04/image_09042025_02_04_16_10357.jpg', '/home/pi/Desktop/images/09042025/02/04/image_09042025_02_04_27_10353.jpg', '/home/pi/Desktop/images/09042025/02/04/image_09042025_02_04_36_9403.jpg', '/home/pi/Desktop/images/09042025/02/04/image_09042025_02_04_46_10430.jpg', '/home/pi/Desktop/images/09042025/02/04/image_09042025_02_05_06_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/03/image_09042025_02_04_06_9361.jpg
/home/pi/Desktop/images/09042025/02/04/image_09042025_02_04_16_10357.jpg
/home/pi/Desktop/images/09042025/02/04/image_09042025_02_04_27_10353.jpg
/home/pi/Desktop/images/09042025/02/04/image_09042025_02_04_36_9403.jpg
/home/pi/Desktop/images/09042025/02/04/image_09042025_02_04_46_10430.jpg
/home/pi/Desktop/images/09042025/02/04/image_09042025_02_05_06_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":["1350679418","1350679412","1350679414","1350679411","1350679419","1350679416"],"photo_ids_order":["1350679411","1350679412","1350679414","1350679416","1350679418","1350679419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/220def86539b284a176f96e5b5fd1cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6450053696343756074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170213344,"filename":"image_09042025_02_04_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/4/9/533052b7312aba55f9978af1d27386e4.jpg","text":"TemporaryFile(/tmp/multipartBody8903242671788843810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170213344,"filename":"image_09042025_02_04_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/4/9/ec6882f97e11cbe578e1f19e8f917529.jpg","text":"TemporaryFile(/tmp/multipartBody3120320379381913190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170213344,"filename":"image_09042025_02_04_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/4/9/ce9fbaa2b925a5d889fd869a210dc9b0.jpg","text":"TemporaryFile(/tmp/multipartBody1794004555601857018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170213344,"filename":"image_09042025_02_04_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/4/9/e39250fc163e5a9442a22156d965c322.jpg","text":"TemporaryFile(/tmp/multipartBody6578573229227690497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170213344,"filename":"image_09042025_02_05_06_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/757d2a1b6f87c1ee10941e20c3a591e2.jpg","text":"TemporaryFile(/tmp/multipartBody5753887079247248065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170213344,"filename":"image_09042025_02_04_36_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679414","file1":"1350679412","file0":"1350679411","file4":"1350679418","file5":"1350679419","file3":"1350679416"},"map_files_photo_id_array":[{"photo_id":"1350679419","filename":"file5"},{"photo_id":"1350679414","filename":"file2"},{"photo_id":"1350679418","filename":"file4"},{"photo_id":"1350679412","filename":"file1"},{"photo_id":"1350679411","filename":"file0"},{"photo_id":"1350679416","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679418":["hashtag1","hashtag2"]},{"1350679412":["hashtag1","hashtag2"]},{"1350679414":["hashtag1","hashtag2"]},{"1350679411":["hashtag1","hashtag2"]},{"1350679419":["hashtag1","hashtag2"]},{"1350679416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679418, 1350679412, 1350679414, 1350679411, 1350679419, 1350679416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.723493337631226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:43:33.195258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/05/image_09042025_02_05_17_10369.jpg', '/home/pi/Desktop/images/09042025/02/05/image_09042025_02_05_26_9444.jpg', '/home/pi/Desktop/images/09042025/02/05/image_09042025_02_05_46_9379.jpg', '/home/pi/Desktop/images/09042025/02/05/image_09042025_02_06_07_10425.jpg', '/home/pi/Desktop/images/09042025/02/06/image_09042025_02_06_37_10372.jpg', '/home/pi/Desktop/images/09042025/02/06/image_09042025_02_06_46_9491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/05/image_09042025_02_05_17_10369.jpg
/home/pi/Desktop/images/09042025/02/05/image_09042025_02_05_26_9444.jpg
/home/pi/Desktop/images/09042025/02/05/image_09042025_02_05_46_9379.jpg
/home/pi/Desktop/images/09042025/02/05/image_09042025_02_06_07_10425.jpg
/home/pi/Desktop/images/09042025/02/06/image_09042025_02_06_37_10372.jpg
/home/pi/Desktop/images/09042025/02/06/image_09042025_02_06_46_9491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679430","1350679427","1350679429","1350679426","1350679431","1350679428"],"photo_ids_order":["1350679426","1350679427","1350679428","1350679429","1350679430","1350679431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d7729a899e426520f45a80600241068.jpg","text":"TemporaryFile(/tmp/multipartBody5179918755798955211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170273665,"filename":"image_09042025_02_06_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/4/9/434cd07e21e691b8faaaad89351c9c3e.jpg","text":"TemporaryFile(/tmp/multipartBody8574336903839909488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170273665,"filename":"image_09042025_02_05_26_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7755be62a458768d345412492233d842.jpg","text":"TemporaryFile(/tmp/multipartBody158269418449294188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170273665,"filename":"image_09042025_02_06_07_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6089fa6b63bd75db886267539c87c09.jpg","text":"TemporaryFile(/tmp/multipartBody7106467245339972307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170273665,"filename":"image_09042025_02_05_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/4/9/48db94ee3b52ffdba08c8cbb82ba20a7.jpg","text":"TemporaryFile(/tmp/multipartBody9134488200617731339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170273665,"filename":"image_09042025_02_06_46_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f03d555bfe6023963a49b15c6b51a4e2.jpg","text":"TemporaryFile(/tmp/multipartBody6146664449822666306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170273665,"filename":"image_09042025_02_05_46_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679428","file1":"1350679427","file0":"1350679426","file4":"1350679430","file5":"1350679431","file3":"1350679429"},"map_files_photo_id_array":[{"photo_id":"1350679431","filename":"file5"},{"photo_id":"1350679428","filename":"file2"},{"photo_id":"1350679430","filename":"file4"},{"photo_id":"1350679427","filename":"file1"},{"photo_id":"1350679426","filename":"file0"},{"photo_id":"1350679429","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679430":["hashtag1","hashtag2"]},{"1350679427":["hashtag1","hashtag2"]},{"1350679429":["hashtag1","hashtag2"]},{"1350679426":["hashtag1","hashtag2"]},{"1350679431":["hashtag1","hashtag2"]},{"1350679428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679430, 1350679427, 1350679429, 1350679426, 1350679431, 1350679428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.063514709472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:44:32.413073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/06/image_09042025_02_06_57_10366.jpg', '/home/pi/Desktop/images/09042025/02/06/image_09042025_02_07_06_9356.jpg', '/home/pi/Desktop/images/09042025/02/07/image_09042025_02_07_27_10364.jpg', '/home/pi/Desktop/images/09042025/02/07/image_09042025_02_07_36_9466.jpg', '/home/pi/Desktop/images/09042025/02/07/image_09042025_02_07_46_10365.jpg', '/home/pi/Desktop/images/09042025/02/07/image_09042025_02_07_56_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/06/image_09042025_02_06_57_10366.jpg
/home/pi/Desktop/images/09042025/02/06/image_09042025_02_07_06_9356.jpg
/home/pi/Desktop/images/09042025/02/07/image_09042025_02_07_27_10364.jpg
/home/pi/Desktop/images/09042025/02/07/image_09042025_02_07_36_9466.jpg
/home/pi/Desktop/images/09042025/02/07/image_09042025_02_07_46_10365.jpg
/home/pi/Desktop/images/09042025/02/07/image_09042025_02_07_56_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":["1350679445","1350679441","1350679444","1350679438","1350679443","1350679440"],"photo_ids_order":["1350679438","1350679440","1350679441","1350679443","1350679444","1350679445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b816ed4e1ea82bcc4e8698d67afee163.jpg","text":"TemporaryFile(/tmp/multipartBody709755782332119791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170332889,"filename":"image_09042025_02_07_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/4/9/2cdd48ed0389ac4da2e0dc931d209ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6693581576702657033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170332889,"filename":"image_09042025_02_07_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81f246ffdf56866e3d9e57eaca8b9ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2094586146428846611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170332889,"filename":"image_09042025_02_07_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/4/9/0077abab59a736ab4e353b114ba555be.jpg","text":"TemporaryFile(/tmp/multipartBody5033007205047899631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170332889,"filename":"image_09042025_02_06_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/4/9/d70c58118697c75907b9a37f40927963.jpg","text":"TemporaryFile(/tmp/multipartBody512257355508040169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170332889,"filename":"image_09042025_02_07_36_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4681627944d61f44e480b3be5b63ed33.jpg","text":"TemporaryFile(/tmp/multipartBody7581816972086438474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170332889,"filename":"image_09042025_02_07_06_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679441","file1":"1350679440","file0":"1350679438","file4":"1350679444","file5":"1350679445","file3":"1350679443"},"map_files_photo_id_array":[{"photo_id":"1350679445","filename":"file5"},{"photo_id":"1350679441","filename":"file2"},{"photo_id":"1350679444","filename":"file4"},{"photo_id":"1350679440","filename":"file1"},{"photo_id":"1350679438","filename":"file0"},{"photo_id":"1350679443","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679445":["hashtag1","hashtag2"]},{"1350679441":["hashtag1","hashtag2"]},{"1350679444":["hashtag1","hashtag2"]},{"1350679438":["hashtag1","hashtag2"]},{"1350679443":["hashtag1","hashtag2"]},{"1350679440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679445, 1350679441, 1350679444, 1350679438, 1350679443, 1350679440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47377824783325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:45:32.601587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/08/image_09042025_02_08_26_9355.jpg', '/home/pi/Desktop/images/09042025/02/08/image_09042025_02_08_46_9420.jpg', '/home/pi/Desktop/images/09042025/02/08/image_09042025_02_08_56_10426.jpg', '/home/pi/Desktop/images/09042025/02/09/image_09042025_02_09_46_9367.jpg', '/home/pi/Desktop/images/09042025/02/09/image_09042025_02_10_06_9416.jpg', '/home/pi/Desktop/images/09042025/02/10/image_09042025_02_10_16_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/08/image_09042025_02_08_26_9355.jpg
/home/pi/Desktop/images/09042025/02/08/image_09042025_02_08_46_9420.jpg
/home/pi/Desktop/images/09042025/02/08/image_09042025_02_08_56_10426.jpg
/home/pi/Desktop/images/09042025/02/09/image_09042025_02_09_46_9367.jpg
/home/pi/Desktop/images/09042025/02/09/image_09042025_02_10_06_9416.jpg
/home/pi/Desktop/images/09042025/02/10/image_09042025_02_10_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":["1350679454","1350679457","1350679451","1350679453","1350679456","1350679455"],"photo_ids_order":["1350679451","1350679453","1350679454","1350679455","1350679456","1350679457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/841bd3b17493ab875fbe76598c595279.jpg","text":"TemporaryFile(/tmp/multipartBody4968950053543825237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170393073,"filename":"image_09042025_02_08_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/4/9/dddd1110de3f96a52c38da775720c40e.jpg","text":"TemporaryFile(/tmp/multipartBody6704273315570234787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170393073,"filename":"image_09042025_02_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/4/9/a1d48102fc116f15597055844b2b7ab6.jpg","text":"TemporaryFile(/tmp/multipartBody8173073614247882422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170393073,"filename":"image_09042025_02_08_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/4/9/8ac69303f9466f488f382d345bb43f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5028063788027920791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170393073,"filename":"image_09042025_02_08_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/4/9/8e41276c87665ac7be87166ea7f633ca.jpg","text":"TemporaryFile(/tmp/multipartBody5062505306022852940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170393073,"filename":"image_09042025_02_10_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/4/9/d6d2cb8a317df04941c63c8de8ea2504.jpg","text":"TemporaryFile(/tmp/multipartBody140755515468939512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170393073,"filename":"image_09042025_02_09_46_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679454","file1":"1350679453","file0":"1350679451","file4":"1350679456","file5":"1350679457","file3":"1350679455"},"map_files_photo_id_array":[{"photo_id":"1350679457","filename":"file5"},{"photo_id":"1350679454","filename":"file2"},{"photo_id":"1350679456","filename":"file4"},{"photo_id":"1350679453","filename":"file1"},{"photo_id":"1350679451","filename":"file0"},{"photo_id":"1350679455","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679454":["hashtag1","hashtag2"]},{"1350679457":["hashtag1","hashtag2"]},{"1350679451":["hashtag1","hashtag2"]},{"1350679453":["hashtag1","hashtag2"]},{"1350679456":["hashtag1","hashtag2"]},{"1350679455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679454, 1350679457, 1350679451, 1350679453, 1350679456, 1350679455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08116102218628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:46:32.894134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/10/image_09042025_02_10_26_9556.jpg', '/home/pi/Desktop/images/09042025/02/10/image_09042025_02_10_36_10425.jpg', '/home/pi/Desktop/images/09042025/02/10/image_09042025_02_10_56_9454.jpg', '/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_16_9428.jpg', '/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_26_10410.jpg', '/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_46_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/10/image_09042025_02_10_26_9556.jpg
/home/pi/Desktop/images/09042025/02/10/image_09042025_02_10_36_10425.jpg
/home/pi/Desktop/images/09042025/02/10/image_09042025_02_10_56_9454.jpg
/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_16_9428.jpg
/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_26_10410.jpg
/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_46_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":["1350679466","1350679469","1350679471","1350679465","1350679470","1350679467"],"photo_ids_order":["1350679465","1350679466","1350679467","1350679469","1350679470","1350679471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b3946e85b35d8fb2ab52221025b1d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1616108190743682718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170453396,"filename":"image_09042025_02_10_36_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5bc877f956b00a582f8d60128115166e.jpg","text":"TemporaryFile(/tmp/multipartBody5557695929241547715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170453396,"filename":"image_09042025_02_11_16_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/609fcd05ac202d4337dcd117d5177f37.jpg","text":"TemporaryFile(/tmp/multipartBody7797431610756252332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170453396,"filename":"image_09042025_02_11_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5019cf5bf50238092d9edd4a60456971.jpg","text":"TemporaryFile(/tmp/multipartBody7724488699312278705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170453396,"filename":"image_09042025_02_10_26_9556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b77c2058f8b5a4f8f7d2d7efd045e95.jpg","text":"TemporaryFile(/tmp/multipartBody319024933340565152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170453396,"filename":"image_09042025_02_11_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/4/9/adeb967674c11926b94a619df7dabae1.jpg","text":"TemporaryFile(/tmp/multipartBody8603868818604087228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170453396,"filename":"image_09042025_02_10_56_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679467","file1":"1350679466","file0":"1350679465","file4":"1350679470","file5":"1350679471","file3":"1350679469"},"map_files_photo_id_array":[{"photo_id":"1350679471","filename":"file5"},{"photo_id":"1350679467","filename":"file2"},{"photo_id":"1350679470","filename":"file4"},{"photo_id":"1350679466","filename":"file1"},{"photo_id":"1350679465","filename":"file0"},{"photo_id":"1350679469","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679466":["hashtag1","hashtag2"]},{"1350679469":["hashtag1","hashtag2"]},{"1350679471":["hashtag1","hashtag2"]},{"1350679465":["hashtag1","hashtag2"]},{"1350679470":["hashtag1","hashtag2"]},{"1350679467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679466, 1350679469, 1350679471, 1350679465, 1350679470, 1350679467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69623041152954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:47:33.067558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_56_10364.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_16_10380.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_27_10361.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_46_10358.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_57_10367.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_13_06_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_56_10364.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_16_10380.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_27_10361.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_46_10358.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_57_10367.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_13_06_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39126133918762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:47:43.082644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_56_10364.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_16_10380.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_27_10361.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_46_10358.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_57_10367.jpg', '/home/pi/Desktop/images/09042025/02/12/image_09042025_02_13_06_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/11/image_09042025_02_11_56_10364.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_16_10380.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_27_10361.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_46_10358.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_12_57_10367.jpg
/home/pi/Desktop/images/09042025/02/12/image_09042025_02_13_06_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":["1350679486","1350679480","1350679488","1350679482","1350679485","1350679484"],"photo_ids_order":["1350679480","1350679482","1350679484","1350679485","1350679486","1350679488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/934fd3113d57a7b3b7e5268e0e3ee547.jpg","text":"TemporaryFile(/tmp/multipartBody5595433608535139106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170523554,"filename":"image_09042025_02_12_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/4/9/828c617fec0db644bcbe11fd2a82999a.jpg","text":"TemporaryFile(/tmp/multipartBody3682261008068860336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170523554,"filename":"image_09042025_02_11_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efffbb87295d398fa4b40f1de97b6f64.jpg","text":"TemporaryFile(/tmp/multipartBody3325378570437285283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170523554,"filename":"image_09042025_02_13_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/4/9/6575e30deaabe2c126f37bf07afb9c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5904305476470582371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170523554,"filename":"image_09042025_02_12_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/4/9/ad837b7286589cec1d2f1055b8fe9f8d.jpg","text":"TemporaryFile(/tmp/multipartBody5973668859018940450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170523554,"filename":"image_09042025_02_12_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fcde270ba061d6be292fcdc9422bc6f8.jpg","text":"TemporaryFile(/tmp/multipartBody6750899979497174624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170523554,"filename":"image_09042025_02_12_27_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679484","file1":"1350679482","file0":"1350679480","file4":"1350679486","file5":"1350679488","file3":"1350679485"},"map_files_photo_id_array":[{"photo_id":"1350679488","filename":"file5"},{"photo_id":"1350679484","filename":"file2"},{"photo_id":"1350679486","filename":"file4"},{"photo_id":"1350679482","filename":"file1"},{"photo_id":"1350679480","filename":"file0"},{"photo_id":"1350679485","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679486":["hashtag1","hashtag2"]},{"1350679480":["hashtag1","hashtag2"]},{"1350679488":["hashtag1","hashtag2"]},{"1350679482":["hashtag1","hashtag2"]},{"1350679485":["hashtag1","hashtag2"]},{"1350679484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679486, 1350679480, 1350679488, 1350679482, 1350679485, 1350679484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22502851486206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:48:32.302437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/13/image_09042025_02_13_16_10370.jpg', '/home/pi/Desktop/images/09042025/02/13/image_09042025_02_13_36_10442.jpg', '/home/pi/Desktop/images/09042025/02/13/image_09042025_02_13_56_9436.jpg', '/home/pi/Desktop/images/09042025/02/14/image_09042025_02_14_26_10443.jpg', '/home/pi/Desktop/images/09042025/02/14/image_09042025_02_14_36_9425.jpg', '/home/pi/Desktop/images/09042025/02/14/image_09042025_02_14_57_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/13/image_09042025_02_13_16_10370.jpg
/home/pi/Desktop/images/09042025/02/13/image_09042025_02_13_36_10442.jpg
/home/pi/Desktop/images/09042025/02/13/image_09042025_02_13_56_9436.jpg
/home/pi/Desktop/images/09042025/02/14/image_09042025_02_14_26_10443.jpg
/home/pi/Desktop/images/09042025/02/14/image_09042025_02_14_36_9425.jpg
/home/pi/Desktop/images/09042025/02/14/image_09042025_02_14_57_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":["1350679496","1350679495","1350679498","1350679501","1350679497","1350679499"],"photo_ids_order":["1350679495","1350679496","1350679497","1350679498","1350679499","1350679501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d5811d8b6ec224fd8dcc5d7c596b426a.jpg","text":"TemporaryFile(/tmp/multipartBody7740273665206900540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170572776,"filename":"image_09042025_02_13_36_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a62bc4eedd50e6030373e1bb6eaf92d.jpg","text":"TemporaryFile(/tmp/multipartBody1469946307385828410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170572776,"filename":"image_09042025_02_13_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/41ce2912aa243c53547cb7b1ab0c7753.jpg","text":"TemporaryFile(/tmp/multipartBody4187596698849373487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170572776,"filename":"image_09042025_02_14_26_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfaa3eaebcb0a25dbc0af8ec9714d0cc.jpg","text":"TemporaryFile(/tmp/multipartBody7561501767823697521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170572776,"filename":"image_09042025_02_14_57_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2944fb0be66cd0dcf19fc6808fe82b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1557616885076197069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170572776,"filename":"image_09042025_02_13_56_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d2e7261bbfee0c7bc7da0254b4b94dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1369118544633732148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170572776,"filename":"image_09042025_02_14_36_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679497","file1":"1350679496","file0":"1350679495","file4":"1350679499","file5":"1350679501","file3":"1350679498"},"map_files_photo_id_array":[{"photo_id":"1350679501","filename":"file5"},{"photo_id":"1350679497","filename":"file2"},{"photo_id":"1350679499","filename":"file4"},{"photo_id":"1350679496","filename":"file1"},{"photo_id":"1350679495","filename":"file0"},{"photo_id":"1350679498","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679496":["hashtag1","hashtag2"]},{"1350679495":["hashtag1","hashtag2"]},{"1350679498":["hashtag1","hashtag2"]},{"1350679501":["hashtag1","hashtag2"]},{"1350679497":["hashtag1","hashtag2"]},{"1350679499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679496, 1350679495, 1350679498, 1350679501, 1350679497, 1350679499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.511343002319336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:49:32.755017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/14/image_09042025_02_15_06_9367.jpg', '/home/pi/Desktop/images/09042025/02/15/image_09042025_02_15_16_10370.jpg', '/home/pi/Desktop/images/09042025/02/15/image_09042025_02_15_26_9416.jpg', '/home/pi/Desktop/images/09042025/02/15/image_09042025_02_15_47_10406.jpg', '/home/pi/Desktop/images/09042025/02/15/image_09042025_02_16_06_10359.jpg', '/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_16_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/14/image_09042025_02_15_06_9367.jpg
/home/pi/Desktop/images/09042025/02/15/image_09042025_02_15_16_10370.jpg
/home/pi/Desktop/images/09042025/02/15/image_09042025_02_15_26_9416.jpg
/home/pi/Desktop/images/09042025/02/15/image_09042025_02_15_47_10406.jpg
/home/pi/Desktop/images/09042025/02/15/image_09042025_02_16_06_10359.jpg
/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_16_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":["1350679511","1350679508","1350679513","1350679510","1350679512","1350679506"],"photo_ids_order":["1350679506","1350679508","1350679510","1350679511","1350679512","1350679513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df1fb762898e0a8d9fae2f1d7b7a93a1.jpg","text":"TemporaryFile(/tmp/multipartBody8844674608517499870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170633237,"filename":"image_09042025_02_15_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/4/9/a78386cf26845410cb6095d9bef2bb5b.jpg","text":"TemporaryFile(/tmp/multipartBody7287268054880362694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170633237,"filename":"image_09042025_02_15_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94538cb56a0362be09ab16b34377d2a1.jpg","text":"TemporaryFile(/tmp/multipartBody8699294339725973596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170633237,"filename":"image_09042025_02_16_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/4/9/9f7c7ddc45aad3e7f0254f8a38ccc7ae.jpg","text":"TemporaryFile(/tmp/multipartBody8273351898193119236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170633237,"filename":"image_09042025_02_15_26_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03ba0f0578b69b11a98aa9d6c528d91a.jpg","text":"TemporaryFile(/tmp/multipartBody1208432705861068707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170633237,"filename":"image_09042025_02_16_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1503412630772d9761c2c20b294a4921.jpg","text":"TemporaryFile(/tmp/multipartBody5410395569158948646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170633237,"filename":"image_09042025_02_15_06_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679510","file1":"1350679508","file0":"1350679506","file4":"1350679512","file5":"1350679513","file3":"1350679511"},"map_files_photo_id_array":[{"photo_id":"1350679513","filename":"file5"},{"photo_id":"1350679510","filename":"file2"},{"photo_id":"1350679512","filename":"file4"},{"photo_id":"1350679508","filename":"file1"},{"photo_id":"1350679506","filename":"file0"},{"photo_id":"1350679511","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679511":["hashtag1","hashtag2"]},{"1350679508":["hashtag1","hashtag2"]},{"1350679513":["hashtag1","hashtag2"]},{"1350679510":["hashtag1","hashtag2"]},{"1350679512":["hashtag1","hashtag2"]},{"1350679506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679511, 1350679508, 1350679513, 1350679510, 1350679512, 1350679506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.614482402801514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:50:32.899077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_26_10450.jpg', '/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_37_10372.jpg', '/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_46_9398.jpg', '/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_56_10353.jpg', '/home/pi/Desktop/images/09042025/02/16/image_09042025_02_17_06_9372.jpg', '/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_26_10450.jpg
/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_37_10372.jpg
/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_46_9398.jpg
/home/pi/Desktop/images/09042025/02/16/image_09042025_02_16_56_10353.jpg
/home/pi/Desktop/images/09042025/02/16/image_09042025_02_17_06_9372.jpg
/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_16_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":["1350679526","1350679528","1350679522","1350679519","1350679530","1350679524"],"photo_ids_order":["1350679519","1350679522","1350679524","1350679526","1350679528","1350679530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/868c6af368c565e57c6f818b53713048.jpg","text":"TemporaryFile(/tmp/multipartBody6868500881957244529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170693382,"filename":"image_09042025_02_16_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/4/9/61b721f9629338f70cfedfc8eef16cda.jpg","text":"TemporaryFile(/tmp/multipartBody4423439793897458983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170693382,"filename":"image_09042025_02_17_06_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/13ce4f2edffe7d7feaf32aec142a9a6a.jpg","text":"TemporaryFile(/tmp/multipartBody3201443223288131947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170693382,"filename":"image_09042025_02_16_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/4/9/d2306ccd1dd8964a57d796e573700064.jpg","text":"TemporaryFile(/tmp/multipartBody7684221311097351270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170693382,"filename":"image_09042025_02_16_26_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/afc2884b3bb500033d3d090890ba13f5.jpg","text":"TemporaryFile(/tmp/multipartBody832041746632608169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170693382,"filename":"image_09042025_02_17_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ceac4311e86eac0d699c05f7793b1fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3571357041268799449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170693382,"filename":"image_09042025_02_16_46_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679524","file1":"1350679522","file0":"1350679519","file4":"1350679528","file5":"1350679530","file3":"1350679526"},"map_files_photo_id_array":[{"photo_id":"1350679530","filename":"file5"},{"photo_id":"1350679524","filename":"file2"},{"photo_id":"1350679528","filename":"file4"},{"photo_id":"1350679522","filename":"file1"},{"photo_id":"1350679519","filename":"file0"},{"photo_id":"1350679526","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679526":["hashtag1","hashtag2"]},{"1350679528":["hashtag1","hashtag2"]},{"1350679522":["hashtag1","hashtag2"]},{"1350679519":["hashtag1","hashtag2"]},{"1350679530":["hashtag1","hashtag2"]},{"1350679524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679526, 1350679528, 1350679522, 1350679519, 1350679530, 1350679524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.250786542892456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:51:33.111244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_27_10406.jpg', '/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_36_9410.jpg', '/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_46_10441.jpg', '/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_57_10361.jpg', '/home/pi/Desktop/images/09042025/02/17/image_09042025_02_18_06_9424.jpg', '/home/pi/Desktop/images/09042025/02/18/image_09042025_02_18_17_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_27_10406.jpg
/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_36_9410.jpg
/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_46_10441.jpg
/home/pi/Desktop/images/09042025/02/17/image_09042025_02_17_57_10361.jpg
/home/pi/Desktop/images/09042025/02/17/image_09042025_02_18_06_9424.jpg
/home/pi/Desktop/images/09042025/02/18/image_09042025_02_18_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":["1350679535","1350679538","1350679540","1350679537","1350679539","1350679533"],"photo_ids_order":["1350679533","1350679535","1350679537","1350679538","1350679539","1350679540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59663079493314e4abb3d09bed913225.jpg","text":"TemporaryFile(/tmp/multipartBody7712140352180911557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170753589,"filename":"image_09042025_02_17_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/4/9/d98635cd3b664f87609119e662589dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3185753852273965094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170753589,"filename":"image_09042025_02_17_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/4/9/5f92e13a5fb81bf5f28d2ef52044b71e.jpg","text":"TemporaryFile(/tmp/multipartBody4968886856906527544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170753589,"filename":"image_09042025_02_18_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/4/9/12b47282f921a05920b7f8a903cbc98d.jpg","text":"TemporaryFile(/tmp/multipartBody6149709852471211080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170753589,"filename":"image_09042025_02_17_46_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c26bf13a4461842d5b4cb6369ad94ea.jpg","text":"TemporaryFile(/tmp/multipartBody6847950289197427065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170753589,"filename":"image_09042025_02_18_06_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ac83f41453d368bc380f8f4007a0cfe.jpg","text":"TemporaryFile(/tmp/multipartBody3862704783066852855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170753589,"filename":"image_09042025_02_17_27_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679537","file1":"1350679535","file0":"1350679533","file4":"1350679539","file5":"1350679540","file3":"1350679538"},"map_files_photo_id_array":[{"photo_id":"1350679540","filename":"file5"},{"photo_id":"1350679537","filename":"file2"},{"photo_id":"1350679539","filename":"file4"},{"photo_id":"1350679535","filename":"file1"},{"photo_id":"1350679533","filename":"file0"},{"photo_id":"1350679538","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679535":["hashtag1","hashtag2"]},{"1350679538":["hashtag1","hashtag2"]},{"1350679540":["hashtag1","hashtag2"]},{"1350679537":["hashtag1","hashtag2"]},{"1350679539":["hashtag1","hashtag2"]},{"1350679533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679535, 1350679538, 1350679540, 1350679537, 1350679539, 1350679533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.22229313850403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:52:32.285765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/18/image_09042025_02_18_26_9430.jpg', '/home/pi/Desktop/images/09042025/02/18/image_09042025_02_18_36_10361.jpg', '/home/pi/Desktop/images/09042025/02/18/image_09042025_02_18_56_9349.jpg', '/home/pi/Desktop/images/09042025/02/18/image_09042025_02_19_07_10386.jpg', '/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_16_9465.jpg', '/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_26_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/18/image_09042025_02_18_26_9430.jpg
/home/pi/Desktop/images/09042025/02/18/image_09042025_02_18_36_10361.jpg
/home/pi/Desktop/images/09042025/02/18/image_09042025_02_18_56_9349.jpg
/home/pi/Desktop/images/09042025/02/18/image_09042025_02_19_07_10386.jpg
/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_16_9465.jpg
/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_26_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":["1350679547","1350679550","1350679552","1350679549","1350679551","1350679548"],"photo_ids_order":["1350679547","1350679548","1350679549","1350679550","1350679551","1350679552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a8b33d6ae9fd6e4998b9ee24cb9eb5f.jpg","text":"TemporaryFile(/tmp/multipartBody18555664981305098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170812753,"filename":"image_09042025_02_18_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/4/9/ff17f2a9bf6aa57b7bb0cb97d68f50c7.jpg","text":"TemporaryFile(/tmp/multipartBody6983376869921305928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170812753,"filename":"image_09042025_02_19_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/4/9/6f8778b0dc0f7757c0e3c69fe9e875d7.jpg","text":"TemporaryFile(/tmp/multipartBody1491421296798950506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170812753,"filename":"image_09042025_02_19_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6aa8569fe056ed1b259573f5c8554690.jpg","text":"TemporaryFile(/tmp/multipartBody7086983953707617358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170812753,"filename":"image_09042025_02_18_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/4/9/4100312703fd1d2c1f4897ecda6e849e.jpg","text":"TemporaryFile(/tmp/multipartBody393577493803809196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170812753,"filename":"image_09042025_02_19_16_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f9f6c9ad5554f2afeec61180aee0a39.jpg","text":"TemporaryFile(/tmp/multipartBody11689878336693996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170812753,"filename":"image_09042025_02_18_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679549","file1":"1350679548","file0":"1350679547","file4":"1350679551","file5":"1350679552","file3":"1350679550"},"map_files_photo_id_array":[{"photo_id":"1350679552","filename":"file5"},{"photo_id":"1350679549","filename":"file2"},{"photo_id":"1350679551","filename":"file4"},{"photo_id":"1350679548","filename":"file1"},{"photo_id":"1350679547","filename":"file0"},{"photo_id":"1350679550","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679547":["hashtag1","hashtag2"]},{"1350679550":["hashtag1","hashtag2"]},{"1350679552":["hashtag1","hashtag2"]},{"1350679549":["hashtag1","hashtag2"]},{"1350679551":["hashtag1","hashtag2"]},{"1350679548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679547, 1350679550, 1350679552, 1350679549, 1350679551, 1350679548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.098071813583374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:53:32.522135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_37_10381.jpg', '/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_46_9425.jpg', '/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_57_10415.jpg', '/home/pi/Desktop/images/09042025/02/19/image_09042025_02_20_06_9479.jpg', '/home/pi/Desktop/images/09042025/02/20/image_09042025_02_20_16_10364.jpg', '/home/pi/Desktop/images/09042025/02/20/image_09042025_02_20_26_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_37_10381.jpg
/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_46_9425.jpg
/home/pi/Desktop/images/09042025/02/19/image_09042025_02_19_57_10415.jpg
/home/pi/Desktop/images/09042025/02/19/image_09042025_02_20_06_9479.jpg
/home/pi/Desktop/images/09042025/02/20/image_09042025_02_20_16_10364.jpg
/home/pi/Desktop/images/09042025/02/20/image_09042025_02_20_26_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":["1350679553","1350679559","1350679558","1350679555","1350679560","1350679557"],"photo_ids_order":["1350679553","1350679555","1350679557","1350679558","1350679559","1350679560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19ee2d326d3ee9bab923c3d4013390f8.jpg","text":"TemporaryFile(/tmp/multipartBody9045151216303795367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170873001,"filename":"image_09042025_02_19_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/4/9/3c9e6910a2864ad4d6fc65051cff9eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3927961688457195211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170873001,"filename":"image_09042025_02_20_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79b544c044ef8ee26fdfd5b64082d41f.jpg","text":"TemporaryFile(/tmp/multipartBody1503855541186755478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170873001,"filename":"image_09042025_02_20_06_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6871fb09022c319d6385ca9185632224.jpg","text":"TemporaryFile(/tmp/multipartBody908965234765204816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170873001,"filename":"image_09042025_02_19_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/4/9/44254f84948719de489467ae89da7b31.jpg","text":"TemporaryFile(/tmp/multipartBody1233916883669716151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170873001,"filename":"image_09042025_02_20_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/4/9/5f763c2fa5dfe0c5493e2cb3dc165d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2249389759675787361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170873001,"filename":"image_09042025_02_19_57_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679557","file1":"1350679555","file0":"1350679553","file4":"1350679559","file5":"1350679560","file3":"1350679558"},"map_files_photo_id_array":[{"photo_id":"1350679560","filename":"file5"},{"photo_id":"1350679557","filename":"file2"},{"photo_id":"1350679559","filename":"file4"},{"photo_id":"1350679555","filename":"file1"},{"photo_id":"1350679553","filename":"file0"},{"photo_id":"1350679558","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679553":["hashtag1","hashtag2"]},{"1350679559":["hashtag1","hashtag2"]},{"1350679558":["hashtag1","hashtag2"]},{"1350679555":["hashtag1","hashtag2"]},{"1350679560":["hashtag1","hashtag2"]},{"1350679557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679553, 1350679559, 1350679558, 1350679555, 1350679560, 1350679557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.773751974105835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:54:32.762532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/20/image_09042025_02_20_36_10340.jpg', '/home/pi/Desktop/images/09042025/02/20/image_09042025_02_20_47_10365.jpg', '/home/pi/Desktop/images/09042025/02/20/image_09042025_02_21_06_10356.jpg', '/home/pi/Desktop/images/09042025/02/21/image_09042025_02_21_26_10375.jpg', '/home/pi/Desktop/images/09042025/02/21/image_09042025_02_21_37_10474.jpg', '/home/pi/Desktop/images/09042025/02/21/image_09042025_02_21_46_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/20/image_09042025_02_20_36_10340.jpg
/home/pi/Desktop/images/09042025/02/20/image_09042025_02_20_47_10365.jpg
/home/pi/Desktop/images/09042025/02/20/image_09042025_02_21_06_10356.jpg
/home/pi/Desktop/images/09042025/02/21/image_09042025_02_21_26_10375.jpg
/home/pi/Desktop/images/09042025/02/21/image_09042025_02_21_37_10474.jpg
/home/pi/Desktop/images/09042025/02/21/image_09042025_02_21_46_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":["1350679571","1350679568","1350679570","1350679567","1350679572","1350679569"],"photo_ids_order":["1350679567","1350679568","1350679569","1350679570","1350679571","1350679572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d03dfddae11fe7cba8a7c18e61d074e7.jpg","text":"TemporaryFile(/tmp/multipartBody6123138008316266474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170933242,"filename":"image_09042025_02_21_37_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/602310eb4b28bde3d33b4904d9187365.jpg","text":"TemporaryFile(/tmp/multipartBody7625445407825561627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170933242,"filename":"image_09042025_02_20_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/4/9/4a0dad53601c30ac1ad8885a19bcecba.jpg","text":"TemporaryFile(/tmp/multipartBody7908644772070919052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170933242,"filename":"image_09042025_02_21_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/4/9/2ec763a996895dc449d36a704b68f2f1.jpg","text":"TemporaryFile(/tmp/multipartBody8210539638062385968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170933242,"filename":"image_09042025_02_20_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e84be27a7a6ea5087e0bf673a1715f14.jpg","text":"TemporaryFile(/tmp/multipartBody5352947448573226226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170933242,"filename":"image_09042025_02_21_46_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/833c5b3d7d9daee28a6f3e8d344f4ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5139168715984459773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170933242,"filename":"image_09042025_02_21_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679569","file1":"1350679568","file0":"1350679567","file4":"1350679571","file5":"1350679572","file3":"1350679570"},"map_files_photo_id_array":[{"photo_id":"1350679572","filename":"file5"},{"photo_id":"1350679569","filename":"file2"},{"photo_id":"1350679571","filename":"file4"},{"photo_id":"1350679568","filename":"file1"},{"photo_id":"1350679567","filename":"file0"},{"photo_id":"1350679570","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679571":["hashtag1","hashtag2"]},{"1350679568":["hashtag1","hashtag2"]},{"1350679570":["hashtag1","hashtag2"]},{"1350679567":["hashtag1","hashtag2"]},{"1350679572":["hashtag1","hashtag2"]},{"1350679569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679571, 1350679568, 1350679570, 1350679567, 1350679572, 1350679569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32835102081299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:55:32.966706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/21/image_09042025_02_21_56_10349.jpg', '/home/pi/Desktop/images/09042025/02/21/image_09042025_02_22_06_9391.jpg', '/home/pi/Desktop/images/09042025/02/22/image_09042025_02_22_16_10371.jpg', '/home/pi/Desktop/images/09042025/02/22/image_09042025_02_22_27_10367.jpg', '/home/pi/Desktop/images/09042025/02/22/image_09042025_02_22_36_9484.jpg', '/home/pi/Desktop/images/09042025/02/22/image_09042025_02_22_46_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/21/image_09042025_02_21_56_10349.jpg
/home/pi/Desktop/images/09042025/02/21/image_09042025_02_22_06_9391.jpg
/home/pi/Desktop/images/09042025/02/22/image_09042025_02_22_16_10371.jpg
/home/pi/Desktop/images/09042025/02/22/image_09042025_02_22_27_10367.jpg
/home/pi/Desktop/images/09042025/02/22/image_09042025_02_22_36_9484.jpg
/home/pi/Desktop/images/09042025/02/22/image_09042025_02_22_46_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679580","1350679582","1350679579","1350679581","1350679578","1350679583"],"photo_ids_order":["1350679578","1350679579","1350679580","1350679581","1350679582","1350679583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/47bd64365e5b3dd7449a3d1202407f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1299203691497388307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170993438,"filename":"image_09042025_02_22_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6ebdfa1c52e8f56a03e15fe12c51306.jpg","text":"TemporaryFile(/tmp/multipartBody8607564254747739818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170993438,"filename":"image_09042025_02_22_36_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/58f1f093f661c3cc1deca7e7c575fb2c.jpg","text":"TemporaryFile(/tmp/multipartBody3523408118377347564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170993438,"filename":"image_09042025_02_22_06_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf691a789dd5ce210de2cee8af14c6c0.jpg","text":"TemporaryFile(/tmp/multipartBody1601885271659194527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170993438,"filename":"image_09042025_02_22_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4112851745f072c7091bab0a976c892a.jpg","text":"TemporaryFile(/tmp/multipartBody4164946270862446893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170993438,"filename":"image_09042025_02_21_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/4/9/7ea8177cdbe2407a8e2049e907283eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8164320488333207963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744170993438,"filename":"image_09042025_02_22_46_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679580","file1":"1350679579","file0":"1350679578","file4":"1350679582","file5":"1350679583","file3":"1350679581"},"map_files_photo_id_array":[{"photo_id":"1350679583","filename":"file5"},{"photo_id":"1350679580","filename":"file2"},{"photo_id":"1350679582","filename":"file4"},{"photo_id":"1350679579","filename":"file1"},{"photo_id":"1350679578","filename":"file0"},{"photo_id":"1350679581","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679580":["hashtag1","hashtag2"]},{"1350679582":["hashtag1","hashtag2"]},{"1350679579":["hashtag1","hashtag2"]},{"1350679581":["hashtag1","hashtag2"]},{"1350679578":["hashtag1","hashtag2"]},{"1350679583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679580, 1350679582, 1350679579, 1350679581, 1350679578, 1350679583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.99267077445984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:56:32.259323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_17_10371.jpg', '/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_26_9440.jpg', '/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_46_9385.jpg', '/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_56_10398.jpg', '/home/pi/Desktop/images/09042025/02/23/image_09042025_02_24_07_10460.jpg', '/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_16_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_17_10371.jpg
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_26_9440.jpg
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_46_9385.jpg
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_56_10398.jpg
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_24_07_10460.jpg
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_16_9461.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38668251037597656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:56:42.223614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_17_10371.jpg', '/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_26_9440.jpg', '/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_46_9385.jpg', '/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_56_10398.jpg', '/home/pi/Desktop/images/09042025/02/23/image_09042025_02_24_07_10460.jpg', '/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_16_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_17_10371.jpg
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_26_9440.jpg
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_46_9385.jpg
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_23_56_10398.jpg
/home/pi/Desktop/images/09042025/02/23/image_09042025_02_24_07_10460.jpg
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_16_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":["1350679601","1350679594","1350679599","1350679593","1350679596","1350679598"],"photo_ids_order":["1350679593","1350679594","1350679596","1350679598","1350679599","1350679601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7b9dc6ea788594813dedc473d8fd44f.jpg","text":"TemporaryFile(/tmp/multipartBody1461891597763802519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171062706,"filename":"image_09042025_02_24_16_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3acee2849afdcee94e005162a73a6b85.jpg","text":"TemporaryFile(/tmp/multipartBody4434781902289547888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171062706,"filename":"image_09042025_02_23_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f95976ed619f22e65f1ccb9f153309c3.jpg","text":"TemporaryFile(/tmp/multipartBody2955967002448388279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171062706,"filename":"image_09042025_02_24_07_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e999989d13b8a23985396f8f419cb359.jpg","text":"TemporaryFile(/tmp/multipartBody272895842028095836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171062706,"filename":"image_09042025_02_23_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/87232c56b327d782c4a67ed478ca37c1.jpg","text":"TemporaryFile(/tmp/multipartBody6249590390654567821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171062706,"filename":"image_09042025_02_23_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/4/9/2592abb3d6d431c513d8e7cb5f3155c3.jpg","text":"TemporaryFile(/tmp/multipartBody629402509368679303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171062706,"filename":"image_09042025_02_23_56_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679596","file1":"1350679594","file0":"1350679593","file4":"1350679599","file5":"1350679601","file3":"1350679598"},"map_files_photo_id_array":[{"photo_id":"1350679601","filename":"file5"},{"photo_id":"1350679596","filename":"file2"},{"photo_id":"1350679599","filename":"file4"},{"photo_id":"1350679594","filename":"file1"},{"photo_id":"1350679593","filename":"file0"},{"photo_id":"1350679598","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679601":["hashtag1","hashtag2"]},{"1350679594":["hashtag1","hashtag2"]},{"1350679599":["hashtag1","hashtag2"]},{"1350679593":["hashtag1","hashtag2"]},{"1350679596":["hashtag1","hashtag2"]},{"1350679598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679601, 1350679594, 1350679599, 1350679593, 1350679596, 1350679598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.353515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 05:57:32.506665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_27_10445.jpg', '/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_36_9443.jpg', '/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_57_10385.jpg', '/home/pi/Desktop/images/09042025/02/24/image_09042025_02_25_06_9481.jpg', '/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_17_10403.jpg', '/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_36_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_27_10445.jpg
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_36_9443.jpg
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_57_10385.jpg
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_25_06_9481.jpg
/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_17_10403.jpg
/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_36_10366.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:59:04.643059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_27_10445.jpg', '/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_36_9443.jpg', '/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_57_10385.jpg', '/home/pi/Desktop/images/09042025/02/24/image_09042025_02_25_06_9481.jpg', '/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_17_10403.jpg', '/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_36_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_27_10445.jpg
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_36_9443.jpg
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_24_57_10385.jpg
/home/pi/Desktop/images/09042025/02/24/image_09042025_02_25_06_9481.jpg
/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_17_10403.jpg
/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_36_10366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679622","1350679631","1350679618","1350679626","1350679629","1350679620"],"photo_ids_order":["1350679618","1350679620","1350679622","1350679626","1350679629","1350679631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d81c1221931208507761865d9f1f41d.jpg","text":"TemporaryFile(/tmp/multipartBody6117443383247067040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171205299,"filename":"image_09042025_02_24_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b75d91ffa6faafc4ad23688c64ad529e.jpg","text":"TemporaryFile(/tmp/multipartBody166454355226298862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171205299,"filename":"image_09042025_02_25_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/4/9/9329903c468cb41b2bd2c34f096211c3.jpg","text":"TemporaryFile(/tmp/multipartBody8479226712848140612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171205299,"filename":"image_09042025_02_24_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d41fa00caf57184af659f787de8156f.jpg","text":"TemporaryFile(/tmp/multipartBody5173781380812310440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171205299,"filename":"image_09042025_02_25_06_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3389cba876c0da0a231fca8fe8636649.jpg","text":"TemporaryFile(/tmp/multipartBody7367896586624076132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171205299,"filename":"image_09042025_02_25_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/4/9/62e808420b7d62d6d18e10a12ef6e4a4.jpg","text":"TemporaryFile(/tmp/multipartBody7950402778312430129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171205299,"filename":"image_09042025_02_24_36_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679622","file1":"1350679620","file0":"1350679618","file4":"1350679629","file5":"1350679631","file3":"1350679626"},"map_files_photo_id_array":[{"photo_id":"1350679631","filename":"file5"},{"photo_id":"1350679622","filename":"file2"},{"photo_id":"1350679629","filename":"file4"},{"photo_id":"1350679620","filename":"file1"},{"photo_id":"1350679618","filename":"file0"},{"photo_id":"1350679626","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679622":["hashtag1","hashtag2"]},{"1350679631":["hashtag1","hashtag2"]},{"1350679618":["hashtag1","hashtag2"]},{"1350679626":["hashtag1","hashtag2"]},{"1350679629":["hashtag1","hashtag2"]},{"1350679620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679622, 1350679631, 1350679618, 1350679626, 1350679629, 1350679620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43041920661926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 05:59:43.029231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_56_10360.jpg', '/home/pi/Desktop/images/09042025/02/25/image_09042025_02_26_07_10426.jpg', '/home/pi/Desktop/images/09042025/02/26/image_09042025_02_26_16_9445.jpg', '/home/pi/Desktop/images/09042025/02/26/image_09042025_02_26_36_9361.jpg', '/home/pi/Desktop/images/09042025/02/26/image_09042025_02_26_46_10363.jpg', '/home/pi/Desktop/images/09042025/02/26/image_09042025_02_26_57_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/25/image_09042025_02_25_56_10360.jpg
/home/pi/Desktop/images/09042025/02/25/image_09042025_02_26_07_10426.jpg
/home/pi/Desktop/images/09042025/02/26/image_09042025_02_26_16_9445.jpg
/home/pi/Desktop/images/09042025/02/26/image_09042025_02_26_36_9361.jpg
/home/pi/Desktop/images/09042025/02/26/image_09042025_02_26_46_10363.jpg
/home/pi/Desktop/images/09042025/02/26/image_09042025_02_26_57_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":["1350679640","1350679637","1350679639","1350679636","1350679641","1350679638"],"photo_ids_order":["1350679636","1350679637","1350679638","1350679639","1350679640","1350679641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82d1838fb47148999c90ce7b57ddb21a.jpg","text":"TemporaryFile(/tmp/multipartBody6966332318793478874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171243512,"filename":"image_09042025_02_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/4/9/d7bcafa5fb93b58154619d22ede27806.jpg","text":"TemporaryFile(/tmp/multipartBody9048002178505699559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171243512,"filename":"image_09042025_02_26_07_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a4a74f87d1524ac16baef6b96f33a1b.jpg","text":"TemporaryFile(/tmp/multipartBody245500539258969563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171243512,"filename":"image_09042025_02_26_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/4/9/42583f4b69dde6ec63eb14b341c972de.jpg","text":"TemporaryFile(/tmp/multipartBody4964896033062658661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171243512,"filename":"image_09042025_02_25_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/4/9/7d3d9a8975de39fa99a96342a9674c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5464310531296312795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171243512,"filename":"image_09042025_02_26_57_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1cd10515fd5ec6d86c322fcc80b72d1.jpg","text":"TemporaryFile(/tmp/multipartBody2966387177784294369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171243512,"filename":"image_09042025_02_26_16_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679638","file1":"1350679637","file0":"1350679636","file4":"1350679640","file5":"1350679641","file3":"1350679639"},"map_files_photo_id_array":[{"photo_id":"1350679641","filename":"file5"},{"photo_id":"1350679638","filename":"file2"},{"photo_id":"1350679640","filename":"file4"},{"photo_id":"1350679637","filename":"file1"},{"photo_id":"1350679636","filename":"file0"},{"photo_id":"1350679639","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679640":["hashtag1","hashtag2"]},{"1350679637":["hashtag1","hashtag2"]},{"1350679639":["hashtag1","hashtag2"]},{"1350679636":["hashtag1","hashtag2"]},{"1350679641":["hashtag1","hashtag2"]},{"1350679638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679640, 1350679637, 1350679639, 1350679636, 1350679641, 1350679638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.848037004470825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:00:32.360308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/27/image_09042025_02_27_36_10349.jpg', '/home/pi/Desktop/images/09042025/02/27/image_09042025_02_27_47_10412.jpg', '/home/pi/Desktop/images/09042025/02/27/image_09042025_02_27_56_9343.jpg', '/home/pi/Desktop/images/09042025/02/27/image_09042025_02_28_06_10352.jpg', '/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_17_10361.jpg', '/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_26_9484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/27/image_09042025_02_27_36_10349.jpg
/home/pi/Desktop/images/09042025/02/27/image_09042025_02_27_47_10412.jpg
/home/pi/Desktop/images/09042025/02/27/image_09042025_02_27_56_9343.jpg
/home/pi/Desktop/images/09042025/02/27/image_09042025_02_28_06_10352.jpg
/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_17_10361.jpg
/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_26_9484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679652","1350679655","1350679649","1350679651","1350679654","1350679653"],"photo_ids_order":["1350679649","1350679651","1350679652","1350679653","1350679654","1350679655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/863e96f3c1ab78cdf55781c532500bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4628770990430853954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171292831,"filename":"image_09042025_02_27_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/4/9/ed620b597b71da0bc38784d24a01ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody1354452450021272335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171292831,"filename":"image_09042025_02_28_26_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51e02f0eaa42a1a944b93a7906952c9d.jpg","text":"TemporaryFile(/tmp/multipartBody1184837466399561610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171292831,"filename":"image_09042025_02_27_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1905002393a0f4ec9914121005c457ea.jpg","text":"TemporaryFile(/tmp/multipartBody212386321115562386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171292831,"filename":"image_09042025_02_27_47_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7320e858c7fcd44399c6d9bff230e032.jpg","text":"TemporaryFile(/tmp/multipartBody8364448142388965624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171292831,"filename":"image_09042025_02_28_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6e5b3552e0db48fb1d35918d5f6f034.jpg","text":"TemporaryFile(/tmp/multipartBody7938331420620619038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171292831,"filename":"image_09042025_02_28_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679652","file1":"1350679651","file0":"1350679649","file4":"1350679654","file5":"1350679655","file3":"1350679653"},"map_files_photo_id_array":[{"photo_id":"1350679655","filename":"file5"},{"photo_id":"1350679652","filename":"file2"},{"photo_id":"1350679654","filename":"file4"},{"photo_id":"1350679651","filename":"file1"},{"photo_id":"1350679649","filename":"file0"},{"photo_id":"1350679653","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679652":["hashtag1","hashtag2"]},{"1350679655":["hashtag1","hashtag2"]},{"1350679649":["hashtag1","hashtag2"]},{"1350679651":["hashtag1","hashtag2"]},{"1350679654":["hashtag1","hashtag2"]},{"1350679653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679652, 1350679655, 1350679649, 1350679651, 1350679654, 1350679653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55349683761597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:01:32.518888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_37_10422.jpg', '/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_46_9356.jpg', '/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_56_10420.jpg', '/home/pi/Desktop/images/09042025/02/28/image_09042025_02_29_07_10406.jpg', '/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_16_9405.jpg', '/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_26_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_37_10422.jpg
/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_46_9356.jpg
/home/pi/Desktop/images/09042025/02/28/image_09042025_02_28_56_10420.jpg
/home/pi/Desktop/images/09042025/02/28/image_09042025_02_29_07_10406.jpg
/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_16_9405.jpg
/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_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":["1350679672","1350679671","1350679668","1350679662","1350679665","1350679659"],"photo_ids_order":["1350679659","1350679662","1350679665","1350679668","1350679671","1350679672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/61f220a2adef7f4795d2af64f3ffd55a.jpg","text":"TemporaryFile(/tmp/multipartBody238329589291539745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171352986,"filename":"image_09042025_02_29_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/4/9/95a644f8110c1c9d9ce2dd743e10637b.jpg","text":"TemporaryFile(/tmp/multipartBody1073900332351589884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171352986,"filename":"image_09042025_02_29_16_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8a438c2849595620704520cf65f3a25.jpg","text":"TemporaryFile(/tmp/multipartBody7004736690948328619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171352986,"filename":"image_09042025_02_29_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/4/9/f2ee91a9ec470d9ed58c75eefc711515.jpg","text":"TemporaryFile(/tmp/multipartBody5913175754835042622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171352986,"filename":"image_09042025_02_28_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/317a61a8f0b677d7c5cd145cdcb68c5c.jpg","text":"TemporaryFile(/tmp/multipartBody6510940182300952814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171352986,"filename":"image_09042025_02_28_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/4/9/8982de2508df63c1cc724a23bd16e571.jpg","text":"TemporaryFile(/tmp/multipartBody4327464412736100331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171352986,"filename":"image_09042025_02_28_37_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679665","file1":"1350679662","file0":"1350679659","file4":"1350679671","file5":"1350679672","file3":"1350679668"},"map_files_photo_id_array":[{"photo_id":"1350679672","filename":"file5"},{"photo_id":"1350679665","filename":"file2"},{"photo_id":"1350679671","filename":"file4"},{"photo_id":"1350679662","filename":"file1"},{"photo_id":"1350679659","filename":"file0"},{"photo_id":"1350679668","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679672":["hashtag1","hashtag2"]},{"1350679671":["hashtag1","hashtag2"]},{"1350679668":["hashtag1","hashtag2"]},{"1350679662":["hashtag1","hashtag2"]},{"1350679665":["hashtag1","hashtag2"]},{"1350679659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679672, 1350679671, 1350679668, 1350679662, 1350679665, 1350679659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8377890586853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:02:32.774599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_36_9429.jpg', '/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_46_10356.jpg', '/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_57_10374.jpg', '/home/pi/Desktop/images/09042025/02/29/image_09042025_02_30_06_9430.jpg', '/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_16_10407.jpg', '/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_26_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_36_9429.jpg
/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_46_10356.jpg
/home/pi/Desktop/images/09042025/02/29/image_09042025_02_29_57_10374.jpg
/home/pi/Desktop/images/09042025/02/29/image_09042025_02_30_06_9430.jpg
/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_16_10407.jpg
/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_26_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679679","1350679681","1350679675","1350679678","1350679680","1350679682"],"photo_ids_order":["1350679675","1350679678","1350679679","1350679680","1350679681","1350679682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc768b51dea4bbbcc6811b29f5cb8120.jpg","text":"TemporaryFile(/tmp/multipartBody20180169192259321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171413247,"filename":"image_09042025_02_29_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b84983a888f54f0e74e14cd11454d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5467663505344474037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171413247,"filename":"image_09042025_02_30_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/4/9/cb3148e47f1285fa77147b588340023b.jpg","text":"TemporaryFile(/tmp/multipartBody3045193550980312240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171413247,"filename":"image_09042025_02_29_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cadfa554b79722a8c53c3ec211a53149.jpg","text":"TemporaryFile(/tmp/multipartBody8967322405480619784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171413247,"filename":"image_09042025_02_29_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/4/9/7a431470e0a3ae7f63666a35f338aa4d.jpg","text":"TemporaryFile(/tmp/multipartBody215625118213816705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171413247,"filename":"image_09042025_02_30_06_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5202237621d72c4649d48e1564727d36.jpg","text":"TemporaryFile(/tmp/multipartBody2140285702003675146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171413247,"filename":"image_09042025_02_30_26_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679679","file1":"1350679678","file0":"1350679675","file4":"1350679681","file5":"1350679682","file3":"1350679680"},"map_files_photo_id_array":[{"photo_id":"1350679682","filename":"file5"},{"photo_id":"1350679679","filename":"file2"},{"photo_id":"1350679681","filename":"file4"},{"photo_id":"1350679678","filename":"file1"},{"photo_id":"1350679675","filename":"file0"},{"photo_id":"1350679680","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679679":["hashtag1","hashtag2"]},{"1350679681":["hashtag1","hashtag2"]},{"1350679675":["hashtag1","hashtag2"]},{"1350679678":["hashtag1","hashtag2"]},{"1350679680":["hashtag1","hashtag2"]},{"1350679682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679679, 1350679681, 1350679675, 1350679678, 1350679680, 1350679682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.196701765060425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:03:32.975132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_36_10438.jpg', '/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_47_10382.jpg', '/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_56_9501.jpg', '/home/pi/Desktop/images/09042025/02/30/image_09042025_02_31_07_10408.jpg', '/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_16_9457.jpg', '/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_36_10438.jpg
/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_47_10382.jpg
/home/pi/Desktop/images/09042025/02/30/image_09042025_02_30_56_9501.jpg
/home/pi/Desktop/images/09042025/02/30/image_09042025_02_31_07_10408.jpg
/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_16_9457.jpg
/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_26_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679693","1350679696","1350679698","1350679695","1350679694","1350679697"],"photo_ids_order":["1350679693","1350679694","1350679695","1350679696","1350679697","1350679698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5273e02c04fe7c9492f49dd42883bf5a.jpg","text":"TemporaryFile(/tmp/multipartBody5016051705830993591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171473464,"filename":"image_09042025_02_30_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/4/9/199db907664de78f8bd18ae5e48d415b.jpg","text":"TemporaryFile(/tmp/multipartBody3339880350811419349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171473464,"filename":"image_09042025_02_31_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/4/9/16f64e5f5b1cf463b6c45edb045210c8.jpg","text":"TemporaryFile(/tmp/multipartBody4928813733645598358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171473464,"filename":"image_09042025_02_31_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7915640c93683ff919b56b63cce1ea45.jpg","text":"TemporaryFile(/tmp/multipartBody6474420525006808230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171473464,"filename":"image_09042025_02_30_56_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/216bee355cb912e217d4e6b03f52a0cb.jpg","text":"TemporaryFile(/tmp/multipartBody4062034911872681056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171473464,"filename":"image_09042025_02_30_47_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/47923e98f7e7fa710d27ac068c32aa9b.jpg","text":"TemporaryFile(/tmp/multipartBody753975535274458592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171473464,"filename":"image_09042025_02_31_16_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679695","file1":"1350679694","file0":"1350679693","file4":"1350679697","file5":"1350679698","file3":"1350679696"},"map_files_photo_id_array":[{"photo_id":"1350679698","filename":"file5"},{"photo_id":"1350679695","filename":"file2"},{"photo_id":"1350679697","filename":"file4"},{"photo_id":"1350679694","filename":"file1"},{"photo_id":"1350679693","filename":"file0"},{"photo_id":"1350679696","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679693":["hashtag1","hashtag2"]},{"1350679696":["hashtag1","hashtag2"]},{"1350679698":["hashtag1","hashtag2"]},{"1350679695":["hashtag1","hashtag2"]},{"1350679694":["hashtag1","hashtag2"]},{"1350679697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679693, 1350679696, 1350679698, 1350679695, 1350679694, 1350679697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35322308540344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:04:32.126554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_36_9349.jpg', '/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_46_10392.jpg', '/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_57_10347.jpg', '/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_16_10373.jpg', '/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_27_10365.jpg', '/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_36_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_36_9349.jpg
/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_46_10392.jpg
/home/pi/Desktop/images/09042025/02/31/image_09042025_02_31_57_10347.jpg
/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_16_10373.jpg
/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_27_10365.jpg
/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_36_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679712","1350679706","1350679711","1350679708","1350679710","1350679704"],"photo_ids_order":["1350679704","1350679706","1350679708","1350679710","1350679711","1350679712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b91257d497ccc02f925887193029e045.jpg","text":"TemporaryFile(/tmp/multipartBody6610231854544621016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171532593,"filename":"image_09042025_02_32_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/4/9/0275ba73ed49d27e2369174d61182990.jpg","text":"TemporaryFile(/tmp/multipartBody4137582909466503807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171532593,"filename":"image_09042025_02_31_46_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ffbd26a36e57d0431c9e4df5792d6db3.jpg","text":"TemporaryFile(/tmp/multipartBody4644284061832701624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171532593,"filename":"image_09042025_02_32_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/4/9/37b8c6faf65ca70ca0b414e7c2e6a74c.jpg","text":"TemporaryFile(/tmp/multipartBody2697820411313279979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171532593,"filename":"image_09042025_02_31_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/4/9/9ef053dbe8eb1e3b235e184e28d5eaf3.jpg","text":"TemporaryFile(/tmp/multipartBody8645436710424857865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171532593,"filename":"image_09042025_02_32_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f79341d871219547d2a9529209548a6.jpg","text":"TemporaryFile(/tmp/multipartBody8306179350769731580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171532593,"filename":"image_09042025_02_31_36_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679708","file1":"1350679706","file0":"1350679704","file4":"1350679711","file5":"1350679712","file3":"1350679710"},"map_files_photo_id_array":[{"photo_id":"1350679712","filename":"file5"},{"photo_id":"1350679708","filename":"file2"},{"photo_id":"1350679711","filename":"file4"},{"photo_id":"1350679706","filename":"file1"},{"photo_id":"1350679704","filename":"file0"},{"photo_id":"1350679710","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679712":["hashtag1","hashtag2"]},{"1350679706":["hashtag1","hashtag2"]},{"1350679711":["hashtag1","hashtag2"]},{"1350679708":["hashtag1","hashtag2"]},{"1350679710":["hashtag1","hashtag2"]},{"1350679704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679712, 1350679706, 1350679711, 1350679708, 1350679710, 1350679704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49509358406067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:05:32.432262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_46_10466.jpg', '/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_56_9419.jpg', '/home/pi/Desktop/images/09042025/02/32/image_09042025_02_33_06_10416.jpg', '/home/pi/Desktop/images/09042025/02/33/image_09042025_02_33_17_10368.jpg', '/home/pi/Desktop/images/09042025/02/33/image_09042025_02_33_26_9416.jpg', '/home/pi/Desktop/images/09042025/02/33/image_09042025_02_33_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_46_10466.jpg
/home/pi/Desktop/images/09042025/02/32/image_09042025_02_32_56_9419.jpg
/home/pi/Desktop/images/09042025/02/32/image_09042025_02_33_06_10416.jpg
/home/pi/Desktop/images/09042025/02/33/image_09042025_02_33_17_10368.jpg
/home/pi/Desktop/images/09042025/02/33/image_09042025_02_33_26_9416.jpg
/home/pi/Desktop/images/09042025/02/33/image_09042025_02_33_36_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679727","1350679730","1350679726","1350679729","1350679725","1350679728"],"photo_ids_order":["1350679725","1350679726","1350679727","1350679728","1350679729","1350679730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/927e6917395e34999a19c65acea8e6cd.jpg","text":"TemporaryFile(/tmp/multipartBody5544377040611186474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171592903,"filename":"image_09042025_02_33_06_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0ceb979ba23381287a6a209ecf76a60.jpg","text":"TemporaryFile(/tmp/multipartBody1434414389473332253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171592903,"filename":"image_09042025_02_33_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7166c6c28be2f4a3730a3cce4a903b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4439623973636811451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171592903,"filename":"image_09042025_02_32_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/29b54bc4f6e7bc754801bc27c019aa52.jpg","text":"TemporaryFile(/tmp/multipartBody1896420137833352250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171592903,"filename":"image_09042025_02_33_26_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33e32b15516ea5999f770c8b1000d484.jpg","text":"TemporaryFile(/tmp/multipartBody234030684871239265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171592903,"filename":"image_09042025_02_32_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/4/9/d7d4546db5e503d1d471d06667e2770b.jpg","text":"TemporaryFile(/tmp/multipartBody4966421865528360758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171592903,"filename":"image_09042025_02_33_17_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679727","file1":"1350679726","file0":"1350679725","file4":"1350679729","file5":"1350679730","file3":"1350679728"},"map_files_photo_id_array":[{"photo_id":"1350679730","filename":"file5"},{"photo_id":"1350679727","filename":"file2"},{"photo_id":"1350679729","filename":"file4"},{"photo_id":"1350679726","filename":"file1"},{"photo_id":"1350679725","filename":"file0"},{"photo_id":"1350679728","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679727":["hashtag1","hashtag2"]},{"1350679730":["hashtag1","hashtag2"]},{"1350679726":["hashtag1","hashtag2"]},{"1350679729":["hashtag1","hashtag2"]},{"1350679725":["hashtag1","hashtag2"]},{"1350679728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679727, 1350679730, 1350679726, 1350679729, 1350679725, 1350679728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13617277145386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:06:32.795765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/33/image_09042025_02_33_56_10423.jpg', '/home/pi/Desktop/images/09042025/02/33/image_09042025_02_34_07_10423.jpg', '/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_16_9369.jpg', '/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_26_10354.jpg', '/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_36_9361.jpg', '/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/33/image_09042025_02_33_56_10423.jpg
/home/pi/Desktop/images/09042025/02/33/image_09042025_02_34_07_10423.jpg
/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_16_9369.jpg
/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_26_10354.jpg
/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_36_9361.jpg
/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_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":["1350679748","1350679750","1350679747","1350679749","1350679743","1350679746"],"photo_ids_order":["1350679743","1350679746","1350679747","1350679748","1350679749","1350679750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06f9a7747f5997d848644e005fa33174.jpg","text":"TemporaryFile(/tmp/multipartBody9196009205005865346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171653277,"filename":"image_09042025_02_34_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/4/9/df583d65a7baac1bd3338bb13df10383.jpg","text":"TemporaryFile(/tmp/multipartBody2682797527215386363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171653277,"filename":"image_09042025_02_34_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/4/9/98e3d164701ae3f78131dbebca57e7e7.jpg","text":"TemporaryFile(/tmp/multipartBody2245358537698180893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171653277,"filename":"image_09042025_02_34_16_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8cd17a762b2d46c4f7c372e5634f1cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3420347255891505295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171653277,"filename":"image_09042025_02_34_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/4/9/496c28d4002c8f7d8b650f5f946f9a67.jpg","text":"TemporaryFile(/tmp/multipartBody7844312073047026737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171653277,"filename":"image_09042025_02_33_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/4/9/271af88e3e06e05176b777dbccec57f8.jpg","text":"TemporaryFile(/tmp/multipartBody8299684268997019852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171653277,"filename":"image_09042025_02_34_07_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679747","file1":"1350679746","file0":"1350679743","file4":"1350679749","file5":"1350679750","file3":"1350679748"},"map_files_photo_id_array":[{"photo_id":"1350679750","filename":"file5"},{"photo_id":"1350679747","filename":"file2"},{"photo_id":"1350679749","filename":"file4"},{"photo_id":"1350679746","filename":"file1"},{"photo_id":"1350679743","filename":"file0"},{"photo_id":"1350679748","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679748":["hashtag1","hashtag2"]},{"1350679750":["hashtag1","hashtag2"]},{"1350679747":["hashtag1","hashtag2"]},{"1350679749":["hashtag1","hashtag2"]},{"1350679743":["hashtag1","hashtag2"]},{"1350679746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679748, 1350679750, 1350679747, 1350679749, 1350679743, 1350679746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.728516578674316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:07:33.053741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_57_10372.jpg', '/home/pi/Desktop/images/09042025/02/35/image_09042025_02_35_27_10360.jpg', '/home/pi/Desktop/images/09042025/02/35/image_09042025_02_35_46_10351.jpg', '/home/pi/Desktop/images/09042025/02/35/image_09042025_02_35_56_9351.jpg', '/home/pi/Desktop/images/09042025/02/35/image_09042025_02_36_06_10431.jpg', '/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_17_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/34/image_09042025_02_34_57_10372.jpg
/home/pi/Desktop/images/09042025/02/35/image_09042025_02_35_27_10360.jpg
/home/pi/Desktop/images/09042025/02/35/image_09042025_02_35_46_10351.jpg
/home/pi/Desktop/images/09042025/02/35/image_09042025_02_35_56_9351.jpg
/home/pi/Desktop/images/09042025/02/35/image_09042025_02_36_06_10431.jpg
/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_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":["1350679763","1350679766","1350679769","1350679768","1350679765","1350679761"],"photo_ids_order":["1350679761","1350679763","1350679765","1350679766","1350679768","1350679769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1952fa5bcac3feaafe66f0e610c64bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8709572767078390548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171713532,"filename":"image_09042025_02_35_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/07ae95ad5ba3b27a3437b8a2abce2791.jpg","text":"TemporaryFile(/tmp/multipartBody6453081264729340157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171713532,"filename":"image_09042025_02_35_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f50d4ed165f7eaca2038ce9c1d3611a.jpg","text":"TemporaryFile(/tmp/multipartBody2582426947860070712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171713532,"filename":"image_09042025_02_36_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/4/9/c1edd839fc05f377e02c79fd2f5a3384.jpg","text":"TemporaryFile(/tmp/multipartBody8278616290606118769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171713532,"filename":"image_09042025_02_36_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf9ecc77b4d1376db0b52614c2f9d6d4.jpg","text":"TemporaryFile(/tmp/multipartBody1372408298057560090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171713532,"filename":"image_09042025_02_35_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/4/9/785609e70efb32bf9d025a7c34bd8efc.jpg","text":"TemporaryFile(/tmp/multipartBody1239867924492265890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171713532,"filename":"image_09042025_02_34_57_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679765","file1":"1350679763","file0":"1350679761","file4":"1350679768","file5":"1350679769","file3":"1350679766"},"map_files_photo_id_array":[{"photo_id":"1350679769","filename":"file5"},{"photo_id":"1350679765","filename":"file2"},{"photo_id":"1350679768","filename":"file4"},{"photo_id":"1350679763","filename":"file1"},{"photo_id":"1350679761","filename":"file0"},{"photo_id":"1350679766","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679763":["hashtag1","hashtag2"]},{"1350679766":["hashtag1","hashtag2"]},{"1350679769":["hashtag1","hashtag2"]},{"1350679768":["hashtag1","hashtag2"]},{"1350679765":["hashtag1","hashtag2"]},{"1350679761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679763, 1350679766, 1350679769, 1350679768, 1350679765, 1350679761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.485740423202515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:08:32.186539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_26_9466.jpg', '/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_36_10381.jpg', '/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_46_9381.jpg', '/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_56_10396.jpg', '/home/pi/Desktop/images/09042025/02/36/image_09042025_02_37_07_10368.jpg', '/home/pi/Desktop/images/09042025/02/37/image_09042025_02_37_26_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_26_9466.jpg
/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_36_10381.jpg
/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_46_9381.jpg
/home/pi/Desktop/images/09042025/02/36/image_09042025_02_36_56_10396.jpg
/home/pi/Desktop/images/09042025/02/36/image_09042025_02_37_07_10368.jpg
/home/pi/Desktop/images/09042025/02/37/image_09042025_02_37_26_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679790","1350679784","1350679787","1350679783","1350679785","1350679793"],"photo_ids_order":["1350679783","1350679784","1350679785","1350679787","1350679790","1350679793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e40f94fcd4e480509fde296ae2d095ee.jpg","text":"TemporaryFile(/tmp/multipartBody2958672629741236672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171772650,"filename":"image_09042025_02_37_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/4/9/0a1eb7b872e9b25973d15626b6a8ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody4015562095449972666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171772650,"filename":"image_09042025_02_36_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/4/9/bae02decbf5daba01d4f2ef6890a236a.jpg","text":"TemporaryFile(/tmp/multipartBody4308890039113522587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171772650,"filename":"image_09042025_02_36_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/874a5258c92f5732861547274b2479e6.jpg","text":"TemporaryFile(/tmp/multipartBody4702385467681741215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171772650,"filename":"image_09042025_02_36_26_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11a20b00fc54fccdfde9e2cde91457ea.jpg","text":"TemporaryFile(/tmp/multipartBody5063755869535426119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171772650,"filename":"image_09042025_02_36_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/4/9/5dc72888e08d9439ef3755fa75eaaaba.jpg","text":"TemporaryFile(/tmp/multipartBody6509533319834289586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171772650,"filename":"image_09042025_02_37_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679785","file1":"1350679784","file0":"1350679783","file4":"1350679790","file5":"1350679793","file3":"1350679787"},"map_files_photo_id_array":[{"photo_id":"1350679793","filename":"file5"},{"photo_id":"1350679785","filename":"file2"},{"photo_id":"1350679790","filename":"file4"},{"photo_id":"1350679784","filename":"file1"},{"photo_id":"1350679783","filename":"file0"},{"photo_id":"1350679787","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679790":["hashtag1","hashtag2"]},{"1350679784":["hashtag1","hashtag2"]},{"1350679787":["hashtag1","hashtag2"]},{"1350679783":["hashtag1","hashtag2"]},{"1350679785":["hashtag1","hashtag2"]},{"1350679793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679790, 1350679784, 1350679787, 1350679783, 1350679785, 1350679793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53117108345032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:09:32.464828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/37/image_09042025_02_37_36_9527.jpg', '/home/pi/Desktop/images/09042025/02/37/image_09042025_02_37_46_10381.jpg', '/home/pi/Desktop/images/09042025/02/37/image_09042025_02_37_57_10360.jpg', '/home/pi/Desktop/images/09042025/02/37/image_09042025_02_38_06_9468.jpg', '/home/pi/Desktop/images/09042025/02/38/image_09042025_02_38_17_10354.jpg', '/home/pi/Desktop/images/09042025/02/38/image_09042025_02_38_26_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/37/image_09042025_02_37_36_9527.jpg
/home/pi/Desktop/images/09042025/02/37/image_09042025_02_37_46_10381.jpg
/home/pi/Desktop/images/09042025/02/37/image_09042025_02_37_57_10360.jpg
/home/pi/Desktop/images/09042025/02/37/image_09042025_02_38_06_9468.jpg
/home/pi/Desktop/images/09042025/02/38/image_09042025_02_38_17_10354.jpg
/home/pi/Desktop/images/09042025/02/38/image_09042025_02_38_26_9467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679811","1350679820","1350679814","1350679807","1350679816","1350679818"],"photo_ids_order":["1350679807","1350679811","1350679814","1350679816","1350679818","1350679820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82b9235c279ef4226cdc3ab2a5b9e8bc.jpg","text":"TemporaryFile(/tmp/multipartBody4467645559154244321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171832935,"filename":"image_09042025_02_37_46_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2575dc2a11a03daba10e063643e30b62.jpg","text":"TemporaryFile(/tmp/multipartBody4836329038781253150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171832935,"filename":"image_09042025_02_38_26_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b868cad7bf03705124d47031a33ee16a.jpg","text":"TemporaryFile(/tmp/multipartBody1609713426660174652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171832935,"filename":"image_09042025_02_37_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea2ca906e57c671e8c72dc2c2eb1925d.jpg","text":"TemporaryFile(/tmp/multipartBody7536948276411502577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171832935,"filename":"image_09042025_02_37_36_9527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7bd11e1804fd29de9aa255badb8e209a.jpg","text":"TemporaryFile(/tmp/multipartBody4192139408340105136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171832935,"filename":"image_09042025_02_38_06_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f4970936aec1a77ee62002eba11daa5.jpg","text":"TemporaryFile(/tmp/multipartBody3532608398082185352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171832935,"filename":"image_09042025_02_38_17_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679814","file1":"1350679811","file0":"1350679807","file4":"1350679818","file5":"1350679820","file3":"1350679816"},"map_files_photo_id_array":[{"photo_id":"1350679820","filename":"file5"},{"photo_id":"1350679814","filename":"file2"},{"photo_id":"1350679818","filename":"file4"},{"photo_id":"1350679811","filename":"file1"},{"photo_id":"1350679807","filename":"file0"},{"photo_id":"1350679816","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679811":["hashtag1","hashtag2"]},{"1350679820":["hashtag1","hashtag2"]},{"1350679814":["hashtag1","hashtag2"]},{"1350679807":["hashtag1","hashtag2"]},{"1350679816":["hashtag1","hashtag2"]},{"1350679818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679811, 1350679820, 1350679814, 1350679807, 1350679816, 1350679818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.584288120269775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:10:32.686816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/38/image_09042025_02_38_36_10352.jpg', '/home/pi/Desktop/images/09042025/02/38/image_09042025_02_38_56_10437.jpg', '/home/pi/Desktop/images/09042025/02/38/image_09042025_02_39_07_10352.jpg', '/home/pi/Desktop/images/09042025/02/39/image_09042025_02_39_16_9485.jpg', '/home/pi/Desktop/images/09042025/02/39/image_09042025_02_39_37_10361.jpg', '/home/pi/Desktop/images/09042025/02/39/image_09042025_02_39_57_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/38/image_09042025_02_38_36_10352.jpg
/home/pi/Desktop/images/09042025/02/38/image_09042025_02_38_56_10437.jpg
/home/pi/Desktop/images/09042025/02/38/image_09042025_02_39_07_10352.jpg
/home/pi/Desktop/images/09042025/02/39/image_09042025_02_39_16_9485.jpg
/home/pi/Desktop/images/09042025/02/39/image_09042025_02_39_37_10361.jpg
/home/pi/Desktop/images/09042025/02/39/image_09042025_02_39_57_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679844","1350679838","1350679832","1350679835","1350679846","1350679842"],"photo_ids_order":["1350679832","1350679835","1350679838","1350679842","1350679844","1350679846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3351d237899d0e7870c7d3abc66d8f51.jpg","text":"TemporaryFile(/tmp/multipartBody3030347511401523778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171893160,"filename":"image_09042025_02_39_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc27e460181f4b1f6afe66886d09d790.jpg","text":"TemporaryFile(/tmp/multipartBody1482467080773809919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171893160,"filename":"image_09042025_02_39_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e560dc5c429dcc41817bca66cc0e534.jpg","text":"TemporaryFile(/tmp/multipartBody9157921299395134445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171893160,"filename":"image_09042025_02_38_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/4/9/aca00741dd610ae0fa85ceecc71a0549.jpg","text":"TemporaryFile(/tmp/multipartBody189376973687432867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171893160,"filename":"image_09042025_02_38_56_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2289a01e6b363302b9d7c037724b127a.jpg","text":"TemporaryFile(/tmp/multipartBody721686061693500445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171893160,"filename":"image_09042025_02_39_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/12cccd61934b00d1029a375ad3e6132c.jpg","text":"TemporaryFile(/tmp/multipartBody1140414538844920330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171893160,"filename":"image_09042025_02_39_16_9485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679838","file1":"1350679835","file0":"1350679832","file4":"1350679844","file5":"1350679846","file3":"1350679842"},"map_files_photo_id_array":[{"photo_id":"1350679846","filename":"file5"},{"photo_id":"1350679838","filename":"file2"},{"photo_id":"1350679844","filename":"file4"},{"photo_id":"1350679835","filename":"file1"},{"photo_id":"1350679832","filename":"file0"},{"photo_id":"1350679842","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679844":["hashtag1","hashtag2"]},{"1350679838":["hashtag1","hashtag2"]},{"1350679832":["hashtag1","hashtag2"]},{"1350679835":["hashtag1","hashtag2"]},{"1350679846":["hashtag1","hashtag2"]},{"1350679842":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679844, 1350679838, 1350679832, 1350679835, 1350679846, 1350679842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.16224479675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:11:32.893640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/39/image_09042025_02_40_06_9362.jpg', '/home/pi/Desktop/images/09042025/02/40/image_09042025_02_40_16_10482.jpg', '/home/pi/Desktop/images/09042025/02/40/image_09042025_02_40_27_10376.jpg', '/home/pi/Desktop/images/09042025/02/40/image_09042025_02_40_36_9449.jpg', '/home/pi/Desktop/images/09042025/02/40/image_09042025_02_40_56_9464.jpg', '/home/pi/Desktop/images/09042025/02/40/image_09042025_02_41_06_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/39/image_09042025_02_40_06_9362.jpg
/home/pi/Desktop/images/09042025/02/40/image_09042025_02_40_16_10482.jpg
/home/pi/Desktop/images/09042025/02/40/image_09042025_02_40_27_10376.jpg
/home/pi/Desktop/images/09042025/02/40/image_09042025_02_40_36_9449.jpg
/home/pi/Desktop/images/09042025/02/40/image_09042025_02_40_56_9464.jpg
/home/pi/Desktop/images/09042025/02/40/image_09042025_02_41_06_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":["1350679871","1350679865","1350679873","1350679867","1350679866","1350679869"],"photo_ids_order":["1350679865","1350679866","1350679867","1350679869","1350679871","1350679873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d68a67ca0ab01f36ca086b6cff7ccdcf.jpg","text":"TemporaryFile(/tmp/multipartBody977135245213844134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171953367,"filename":"image_09042025_02_40_56_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/102af2a0da7079ff8f70310ec8515f20.jpg","text":"TemporaryFile(/tmp/multipartBody6095468268492886654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171953367,"filename":"image_09042025_02_40_06_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad5e0189e612e7f5e3dc023cbcfb36ae.jpg","text":"TemporaryFile(/tmp/multipartBody792891512590255918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171953367,"filename":"image_09042025_02_41_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2ef9e75bee63397f5427927388ff958.jpg","text":"TemporaryFile(/tmp/multipartBody6771844492191320834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171953367,"filename":"image_09042025_02_40_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/4/9/73fab17559f278f9a38b8a363daf3107.jpg","text":"TemporaryFile(/tmp/multipartBody6986178682160915394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171953367,"filename":"image_09042025_02_40_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/4/9/c48c47cfdf35e95f965937c434953cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4187187641926558586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744171953367,"filename":"image_09042025_02_40_36_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679867","file1":"1350679866","file0":"1350679865","file4":"1350679871","file5":"1350679873","file3":"1350679869"},"map_files_photo_id_array":[{"photo_id":"1350679873","filename":"file5"},{"photo_id":"1350679867","filename":"file2"},{"photo_id":"1350679871","filename":"file4"},{"photo_id":"1350679866","filename":"file1"},{"photo_id":"1350679865","filename":"file0"},{"photo_id":"1350679869","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679871":["hashtag1","hashtag2"]},{"1350679865":["hashtag1","hashtag2"]},{"1350679873":["hashtag1","hashtag2"]},{"1350679867":["hashtag1","hashtag2"]},{"1350679866":["hashtag1","hashtag2"]},{"1350679869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679871, 1350679865, 1350679873, 1350679867, 1350679866, 1350679869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7214834690094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:12:32.289419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/41/image_09042025_02_41_26_10348.jpg', '/home/pi/Desktop/images/09042025/02/41/image_09042025_02_41_36_10365.jpg', '/home/pi/Desktop/images/09042025/02/41/image_09042025_02_41_46_9391.jpg', '/home/pi/Desktop/images/09042025/02/41/image_09042025_02_41_56_10446.jpg', '/home/pi/Desktop/images/09042025/02/41/image_09042025_02_42_07_10366.jpg', '/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_16_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/41/image_09042025_02_41_26_10348.jpg
/home/pi/Desktop/images/09042025/02/41/image_09042025_02_41_36_10365.jpg
/home/pi/Desktop/images/09042025/02/41/image_09042025_02_41_46_9391.jpg
/home/pi/Desktop/images/09042025/02/41/image_09042025_02_41_56_10446.jpg
/home/pi/Desktop/images/09042025/02/41/image_09042025_02_42_07_10366.jpg
/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_16_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350679898","1350679891","1350679894","1350679896","1350679899","1350679892"],"photo_ids_order":["1350679891","1350679892","1350679894","1350679896","1350679898","1350679899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79bc260edeb69ff352ada55abe13a5a1.jpg","text":"TemporaryFile(/tmp/multipartBody1836369035697166133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172012748,"filename":"image_09042025_02_42_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/4/9/ac25bec46eb56626e083dce783683656.jpg","text":"TemporaryFile(/tmp/multipartBody601169860457265626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172012748,"filename":"image_09042025_02_41_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/4/9/e419d499be7501779978312a22f60b2a.jpg","text":"TemporaryFile(/tmp/multipartBody702387857627548120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172012748,"filename":"image_09042025_02_41_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/4/9/cb6f0b422f58ada1c8dc3f6b4f466975.jpg","text":"TemporaryFile(/tmp/multipartBody3849936099342635734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172012748,"filename":"image_09042025_02_41_56_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01b78d9dd3bb3eb81ed702323501b999.jpg","text":"TemporaryFile(/tmp/multipartBody7735494673139361674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172012748,"filename":"image_09042025_02_42_16_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/60bfffd809200f496c7b001e6493ba60.jpg","text":"TemporaryFile(/tmp/multipartBody7003280553692439176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172012748,"filename":"image_09042025_02_41_36_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679894","file1":"1350679892","file0":"1350679891","file4":"1350679898","file5":"1350679899","file3":"1350679896"},"map_files_photo_id_array":[{"photo_id":"1350679899","filename":"file5"},{"photo_id":"1350679894","filename":"file2"},{"photo_id":"1350679898","filename":"file4"},{"photo_id":"1350679892","filename":"file1"},{"photo_id":"1350679891","filename":"file0"},{"photo_id":"1350679896","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679898":["hashtag1","hashtag2"]},{"1350679891":["hashtag1","hashtag2"]},{"1350679894":["hashtag1","hashtag2"]},{"1350679896":["hashtag1","hashtag2"]},{"1350679899":["hashtag1","hashtag2"]},{"1350679892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679898, 1350679891, 1350679894, 1350679896, 1350679899, 1350679892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0418062210083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:13:32.547646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_27_10371.jpg', '/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_36_9354.jpg', '/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_46_10444.jpg', '/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_57_10372.jpg', '/home/pi/Desktop/images/09042025/02/42/image_09042025_02_43_06_9411.jpg', '/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_16_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_27_10371.jpg
/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_36_9354.jpg
/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_46_10444.jpg
/home/pi/Desktop/images/09042025/02/42/image_09042025_02_42_57_10372.jpg
/home/pi/Desktop/images/09042025/02/42/image_09042025_02_43_06_9411.jpg
/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_16_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":["1350679922","1350679916","1350679924","1350679920","1350679914","1350679911"],"photo_ids_order":["1350679911","1350679914","1350679916","1350679920","1350679922","1350679924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73ec3981570732c6eb3b2572b12c98a6.jpg","text":"TemporaryFile(/tmp/multipartBody3442677682072944648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172073010,"filename":"image_09042025_02_43_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/4/9/baeb275b80d94e746df13ddba1fb3daf.jpg","text":"TemporaryFile(/tmp/multipartBody2578014861742504232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172073010,"filename":"image_09042025_02_42_46_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/369574ae8ca50fec6f1a759b6d1d0f2c.jpg","text":"TemporaryFile(/tmp/multipartBody9011576668950603591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172073010,"filename":"image_09042025_02_43_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9ea6d6027e364a3e587099599661844.jpg","text":"TemporaryFile(/tmp/multipartBody8880872993711838794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172073010,"filename":"image_09042025_02_42_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99d93e72a4e57d14ba504e9f04787cca.jpg","text":"TemporaryFile(/tmp/multipartBody6779677539674636041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172073010,"filename":"image_09042025_02_42_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/4/9/ad4eac5da870e4ea0ea97da111a0a269.jpg","text":"TemporaryFile(/tmp/multipartBody4872218575923507708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172073010,"filename":"image_09042025_02_42_27_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679916","file1":"1350679914","file0":"1350679911","file4":"1350679922","file5":"1350679924","file3":"1350679920"},"map_files_photo_id_array":[{"photo_id":"1350679924","filename":"file5"},{"photo_id":"1350679916","filename":"file2"},{"photo_id":"1350679922","filename":"file4"},{"photo_id":"1350679914","filename":"file1"},{"photo_id":"1350679911","filename":"file0"},{"photo_id":"1350679920","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679922":["hashtag1","hashtag2"]},{"1350679916":["hashtag1","hashtag2"]},{"1350679924":["hashtag1","hashtag2"]},{"1350679920":["hashtag1","hashtag2"]},{"1350679914":["hashtag1","hashtag2"]},{"1350679911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679922, 1350679916, 1350679924, 1350679920, 1350679914, 1350679911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.124488353729248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:14:32.695875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_26_9410.jpg', '/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_36_10359.jpg', '/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_47_10363.jpg', '/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_56_9456.jpg', '/home/pi/Desktop/images/09042025/02/43/image_09042025_02_44_06_10348.jpg', '/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_16_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_26_9410.jpg
/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_36_10359.jpg
/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_47_10363.jpg
/home/pi/Desktop/images/09042025/02/43/image_09042025_02_43_56_9456.jpg
/home/pi/Desktop/images/09042025/02/43/image_09042025_02_44_06_10348.jpg
/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_16_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":["1350679946","1350679949","1350679957","1350679951","1350679944","1350679953"],"photo_ids_order":["1350679944","1350679946","1350679949","1350679951","1350679953","1350679957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/882ad64c56afe87d6caf6a3ccabc0f31.jpg","text":"TemporaryFile(/tmp/multipartBody7670066458946032206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172133169,"filename":"image_09042025_02_43_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/4/9/63796b0ba685e95348aa69aadeb27158.jpg","text":"TemporaryFile(/tmp/multipartBody1965594340007258672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172133169,"filename":"image_09042025_02_43_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/4/9/1d71f9ba4d6a6a7b96313f7bb687d1c3.jpg","text":"TemporaryFile(/tmp/multipartBody6309587584116882689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172133169,"filename":"image_09042025_02_44_16_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9474b609c1b9fe404614dc4cfce6741f.jpg","text":"TemporaryFile(/tmp/multipartBody7751170332072912680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172133169,"filename":"image_09042025_02_43_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/4/9/7657498e45630439a662edb10c09c9a5.jpg","text":"TemporaryFile(/tmp/multipartBody5983091839435387689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172133169,"filename":"image_09042025_02_43_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98b0036d59b3ad31e82f1a664d7981ee.jpg","text":"TemporaryFile(/tmp/multipartBody5069531718544451994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172133169,"filename":"image_09042025_02_44_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679949","file1":"1350679946","file0":"1350679944","file4":"1350679953","file5":"1350679957","file3":"1350679951"},"map_files_photo_id_array":[{"photo_id":"1350679957","filename":"file5"},{"photo_id":"1350679949","filename":"file2"},{"photo_id":"1350679953","filename":"file4"},{"photo_id":"1350679946","filename":"file1"},{"photo_id":"1350679944","filename":"file0"},{"photo_id":"1350679951","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679946":["hashtag1","hashtag2"]},{"1350679949":["hashtag1","hashtag2"]},{"1350679957":["hashtag1","hashtag2"]},{"1350679951":["hashtag1","hashtag2"]},{"1350679944":["hashtag1","hashtag2"]},{"1350679953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679946, 1350679949, 1350679957, 1350679951, 1350679944, 1350679953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.762380599975586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:15:32.923948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_26_10381.jpg', '/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_37_10438.jpg', '/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_46_9404.jpg', '/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_56_10396.jpg', '/home/pi/Desktop/images/09042025/02/44/image_09042025_02_45_06_9412.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_16_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_26_10381.jpg
/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_37_10438.jpg
/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_46_9404.jpg
/home/pi/Desktop/images/09042025/02/44/image_09042025_02_44_56_10396.jpg
/home/pi/Desktop/images/09042025/02/44/image_09042025_02_45_06_9412.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_16_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":["1350679979","1350679970","1350679972","1350679975","1350679977","1350679968"],"photo_ids_order":["1350679968","1350679970","1350679972","1350679975","1350679977","1350679979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1230387837d635b9ecc17bc22c97ebda.jpg","text":"TemporaryFile(/tmp/multipartBody6659660595743694151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172193411,"filename":"image_09042025_02_45_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbb16c84abba16e15068121aff71580b.jpg","text":"TemporaryFile(/tmp/multipartBody4973998286264562983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172193411,"filename":"image_09042025_02_44_37_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01032019cc8cb7472080486d20d87725.jpg","text":"TemporaryFile(/tmp/multipartBody4196961957581308511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172193411,"filename":"image_09042025_02_44_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/4/9/7263ae414b81523c1077e1d2680efe98.jpg","text":"TemporaryFile(/tmp/multipartBody2850212445585000496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172193411,"filename":"image_09042025_02_44_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6bebb8f50a7a5b1fd0cd358ee898399b.jpg","text":"TemporaryFile(/tmp/multipartBody5887822875393214541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172193411,"filename":"image_09042025_02_45_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b2b0b94ee44a6d964ab493f112beda4.jpg","text":"TemporaryFile(/tmp/multipartBody5438025873094413639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172193411,"filename":"image_09042025_02_44_26_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350679972","file1":"1350679970","file0":"1350679968","file4":"1350679977","file5":"1350679979","file3":"1350679975"},"map_files_photo_id_array":[{"photo_id":"1350679979","filename":"file5"},{"photo_id":"1350679972","filename":"file2"},{"photo_id":"1350679977","filename":"file4"},{"photo_id":"1350679970","filename":"file1"},{"photo_id":"1350679968","filename":"file0"},{"photo_id":"1350679975","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350679979":["hashtag1","hashtag2"]},{"1350679970":["hashtag1","hashtag2"]},{"1350679972":["hashtag1","hashtag2"]},{"1350679975":["hashtag1","hashtag2"]},{"1350679977":["hashtag1","hashtag2"]},{"1350679968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350679979, 1350679970, 1350679972, 1350679975, 1350679977, 1350679968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.523874759674072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:16:33.336756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_27_10387.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_36_9442.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_46_10359.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_56_9391.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_46_06_10359.jpg', '/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_16_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_27_10387.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_36_9442.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_46_10359.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_56_9391.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_46_06_10359.jpg
/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_16_10360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38913846015930176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 06:16:43.191320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_27_10387.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_36_9442.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_46_10359.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_56_9391.jpg', '/home/pi/Desktop/images/09042025/02/45/image_09042025_02_46_06_10359.jpg', '/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_16_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_27_10387.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_36_9442.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_46_10359.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_45_56_9391.jpg
/home/pi/Desktop/images/09042025/02/45/image_09042025_02_46_06_10359.jpg
/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_16_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":["1350680013","1350680001","1350680004","1350680006","1350680009","1350680008"],"photo_ids_order":["1350680001","1350680004","1350680006","1350680008","1350680009","1350680013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e59815113901c9d2e466d69722b03dd.jpg","text":"TemporaryFile(/tmp/multipartBody8988211905560103106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172263655,"filename":"image_09042025_02_46_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d31f513ad0a17db58d693a7c025f494.jpg","text":"TemporaryFile(/tmp/multipartBody8394192434159846423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172263655,"filename":"image_09042025_02_45_27_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6155f3190457d9f955091b19ce3cf22.jpg","text":"TemporaryFile(/tmp/multipartBody5703891600811924496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172263655,"filename":"image_09042025_02_45_36_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1870c663aff67b38925a305e1322e812.jpg","text":"TemporaryFile(/tmp/multipartBody2379832333039902920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172263655,"filename":"image_09042025_02_45_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/4/9/0158cd892e7fe72f866f3da80f592a04.jpg","text":"TemporaryFile(/tmp/multipartBody7473090120674240039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172263655,"filename":"image_09042025_02_46_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/4/9/638a0c9413454e7fd42e5fb527a609f5.jpg","text":"TemporaryFile(/tmp/multipartBody5608283426529829694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172263655,"filename":"image_09042025_02_45_56_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680006","file1":"1350680004","file0":"1350680001","file4":"1350680009","file5":"1350680013","file3":"1350680008"},"map_files_photo_id_array":[{"photo_id":"1350680013","filename":"file5"},{"photo_id":"1350680006","filename":"file2"},{"photo_id":"1350680009","filename":"file4"},{"photo_id":"1350680004","filename":"file1"},{"photo_id":"1350680001","filename":"file0"},{"photo_id":"1350680008","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680013":["hashtag1","hashtag2"]},{"1350680001":["hashtag1","hashtag2"]},{"1350680004":["hashtag1","hashtag2"]},{"1350680006":["hashtag1","hashtag2"]},{"1350680009":["hashtag1","hashtag2"]},{"1350680008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680013, 1350680001, 1350680004, 1350680006, 1350680009, 1350680008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.956995725631714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:17:32.425736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_26_9371.jpg', '/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_36_10343.jpg', '/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_47_10399.jpg', '/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_56_9491.jpg', '/home/pi/Desktop/images/09042025/02/46/image_09042025_02_47_06_10347.jpg', '/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_16_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_26_9371.jpg
/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_36_10343.jpg
/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_47_10399.jpg
/home/pi/Desktop/images/09042025/02/46/image_09042025_02_46_56_9491.jpg
/home/pi/Desktop/images/09042025/02/46/image_09042025_02_47_06_10347.jpg
/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_16_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680037","1350680039","1350680041","1350680035","1350680029","1350680031"],"photo_ids_order":["1350680029","1350680031","1350680035","1350680037","1350680039","1350680041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6e055d1ba7eb2fcefea5a03dfa051bb.jpg","text":"TemporaryFile(/tmp/multipartBody4812553544075083783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172312948,"filename":"image_09042025_02_46_56_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1eee224684c4a8c62f5c2d1847f5697.jpg","text":"TemporaryFile(/tmp/multipartBody7960268130805085597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172312948,"filename":"image_09042025_02_47_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/4/9/b639a4420a2264d62a774d02136d638e.jpg","text":"TemporaryFile(/tmp/multipartBody5178584733758419629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172312948,"filename":"image_09042025_02_47_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/4/9/50d9704b5f077fa02eeb2778c9babcdf.jpg","text":"TemporaryFile(/tmp/multipartBody2744311122498181246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172312948,"filename":"image_09042025_02_46_47_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10056f0c5acf346e2dfe557a6eeb5663.jpg","text":"TemporaryFile(/tmp/multipartBody3013450810493897732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172312948,"filename":"image_09042025_02_46_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba6324c4e625b490f68c32a5d13d0313.jpg","text":"TemporaryFile(/tmp/multipartBody4335954931528003030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172312948,"filename":"image_09042025_02_46_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680035","file1":"1350680031","file0":"1350680029","file4":"1350680039","file5":"1350680041","file3":"1350680037"},"map_files_photo_id_array":[{"photo_id":"1350680041","filename":"file5"},{"photo_id":"1350680035","filename":"file2"},{"photo_id":"1350680039","filename":"file4"},{"photo_id":"1350680031","filename":"file1"},{"photo_id":"1350680029","filename":"file0"},{"photo_id":"1350680037","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680037":["hashtag1","hashtag2"]},{"1350680039":["hashtag1","hashtag2"]},{"1350680041":["hashtag1","hashtag2"]},{"1350680035":["hashtag1","hashtag2"]},{"1350680029":["hashtag1","hashtag2"]},{"1350680031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680037, 1350680039, 1350680041, 1350680035, 1350680029, 1350680031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10500955581665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:18:32.580487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_26_10471.jpg', '/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_37_10366.jpg', '/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_46_9398.jpg', '/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_56_10368.jpg', '/home/pi/Desktop/images/09042025/02/47/image_09042025_02_48_06_9428.jpg', '/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_16_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_26_10471.jpg
/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_37_10366.jpg
/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_46_9398.jpg
/home/pi/Desktop/images/09042025/02/47/image_09042025_02_47_56_10368.jpg
/home/pi/Desktop/images/09042025/02/47/image_09042025_02_48_06_9428.jpg
/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_16_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680060","1350680063","1350680057","1350680066","1350680068","1350680067"],"photo_ids_order":["1350680057","1350680060","1350680063","1350680066","1350680067","1350680068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b0a5a2064447a7c503d3af173a3969a.jpg","text":"TemporaryFile(/tmp/multipartBody707895650799357379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172373063,"filename":"image_09042025_02_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/4/9/f3b78d25c0852619025686abed11a08d.jpg","text":"TemporaryFile(/tmp/multipartBody1715178739229858194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172373063,"filename":"image_09042025_02_47_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/4/9/2746d95c500b01ccaadfdc437add8b85.jpg","text":"TemporaryFile(/tmp/multipartBody4957017167798349486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172373063,"filename":"image_09042025_02_47_26_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22405bfe9a6bb82a9830cca4ed8db7ac.jpg","text":"TemporaryFile(/tmp/multipartBody1647060267286862328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172373063,"filename":"image_09042025_02_47_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/320de55de3ba266efff2a2c2ba848966.jpg","text":"TemporaryFile(/tmp/multipartBody777849821882251269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172373063,"filename":"image_09042025_02_48_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a3d46311f8cb91a7f82e451655067ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6171572295854171269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172373063,"filename":"image_09042025_02_48_06_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680063","file1":"1350680060","file0":"1350680057","file4":"1350680067","file5":"1350680068","file3":"1350680066"},"map_files_photo_id_array":[{"photo_id":"1350680068","filename":"file5"},{"photo_id":"1350680063","filename":"file2"},{"photo_id":"1350680067","filename":"file4"},{"photo_id":"1350680060","filename":"file1"},{"photo_id":"1350680057","filename":"file0"},{"photo_id":"1350680066","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680060":["hashtag1","hashtag2"]},{"1350680063":["hashtag1","hashtag2"]},{"1350680057":["hashtag1","hashtag2"]},{"1350680066":["hashtag1","hashtag2"]},{"1350680068":["hashtag1","hashtag2"]},{"1350680067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680060, 1350680063, 1350680057, 1350680066, 1350680068, 1350680067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.889549255371094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:19:32.787934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_27_10357.jpg', '/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_36_9405.jpg', '/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_46_10381.jpg', '/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_57_10384.jpg', '/home/pi/Desktop/images/09042025/02/48/image_09042025_02_49_06_9367.jpg', '/home/pi/Desktop/images/09042025/02/49/image_09042025_02_49_17_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_27_10357.jpg
/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_36_9405.jpg
/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_46_10381.jpg
/home/pi/Desktop/images/09042025/02/48/image_09042025_02_48_57_10384.jpg
/home/pi/Desktop/images/09042025/02/48/image_09042025_02_49_06_9367.jpg
/home/pi/Desktop/images/09042025/02/49/image_09042025_02_49_17_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":["1350680093","1350680087","1350680090","1350680086","1350680094","1350680088"],"photo_ids_order":["1350680086","1350680087","1350680088","1350680090","1350680093","1350680094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc4f1d8004dbd276d32a5659581eb9c9.jpg","text":"TemporaryFile(/tmp/multipartBody1078637604790461017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172433259,"filename":"image_09042025_02_49_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/4/9/638e00c4ac5bd65b632b001aafc28a42.jpg","text":"TemporaryFile(/tmp/multipartBody2839351132300720737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172433259,"filename":"image_09042025_02_48_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/4/9/902fd3a4dec5ff67e2622b4076f10e38.jpg","text":"TemporaryFile(/tmp/multipartBody3745497145647772678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172433259,"filename":"image_09042025_02_48_57_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ff37e60651009e36925e8812a09b77a.jpg","text":"TemporaryFile(/tmp/multipartBody3271664096567957282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172433259,"filename":"image_09042025_02_48_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/4/9/4fe04f18132480519998fa65e069fde9.jpg","text":"TemporaryFile(/tmp/multipartBody2319312199184297234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172433259,"filename":"image_09042025_02_49_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/4/9/a2338614a9d7b4f628cb9a66c77f838b.jpg","text":"TemporaryFile(/tmp/multipartBody664047622496157445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172433259,"filename":"image_09042025_02_48_46_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680088","file1":"1350680087","file0":"1350680086","file4":"1350680093","file5":"1350680094","file3":"1350680090"},"map_files_photo_id_array":[{"photo_id":"1350680094","filename":"file5"},{"photo_id":"1350680088","filename":"file2"},{"photo_id":"1350680093","filename":"file4"},{"photo_id":"1350680087","filename":"file1"},{"photo_id":"1350680086","filename":"file0"},{"photo_id":"1350680090","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680093":["hashtag1","hashtag2"]},{"1350680087":["hashtag1","hashtag2"]},{"1350680090":["hashtag1","hashtag2"]},{"1350680086":["hashtag1","hashtag2"]},{"1350680094":["hashtag1","hashtag2"]},{"1350680088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680093, 1350680087, 1350680090, 1350680086, 1350680094, 1350680088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.212233781814575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:20:33.069251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/49/image_09042025_02_49_26_9453.jpg', '/home/pi/Desktop/images/09042025/02/49/image_09042025_02_49_36_10426.jpg', '/home/pi/Desktop/images/09042025/02/49/image_09042025_02_49_56_10379.jpg', '/home/pi/Desktop/images/09042025/02/49/image_09042025_02_50_07_10380.jpg', '/home/pi/Desktop/images/09042025/02/50/image_09042025_02_50_27_10371.jpg', '/home/pi/Desktop/images/09042025/02/50/image_09042025_02_50_36_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/49/image_09042025_02_49_26_9453.jpg
/home/pi/Desktop/images/09042025/02/49/image_09042025_02_49_36_10426.jpg
/home/pi/Desktop/images/09042025/02/49/image_09042025_02_49_56_10379.jpg
/home/pi/Desktop/images/09042025/02/49/image_09042025_02_50_07_10380.jpg
/home/pi/Desktop/images/09042025/02/50/image_09042025_02_50_27_10371.jpg
/home/pi/Desktop/images/09042025/02/50/image_09042025_02_50_36_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680115","1350680109","1350680111","1350680117","1350680116","1350680113"],"photo_ids_order":["1350680109","1350680111","1350680113","1350680115","1350680116","1350680117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3321b181f3d39fb0a823a829f6fae897.jpg","text":"TemporaryFile(/tmp/multipartBody5116665288764625790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172493535,"filename":"image_09042025_02_50_07_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5edbf6b148dabbab5c1aa741a142be71.jpg","text":"TemporaryFile(/tmp/multipartBody200188799531245281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172493535,"filename":"image_09042025_02_49_26_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d495b09533adc04cc7be7f809d1b534a.jpg","text":"TemporaryFile(/tmp/multipartBody4539147776655141535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172493535,"filename":"image_09042025_02_49_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/4/9/ee025f74f462c3c95b2b5dab1183341f.jpg","text":"TemporaryFile(/tmp/multipartBody5844233362602540542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172493535,"filename":"image_09042025_02_50_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/4/9/8445a19759eb3018aca0e8291a178d29.jpg","text":"TemporaryFile(/tmp/multipartBody9069595663454224091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172493535,"filename":"image_09042025_02_50_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/625114a32b3f0486edf9879887e4953c.jpg","text":"TemporaryFile(/tmp/multipartBody7968932023601354701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172493535,"filename":"image_09042025_02_49_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680113","file1":"1350680111","file0":"1350680109","file4":"1350680116","file5":"1350680117","file3":"1350680115"},"map_files_photo_id_array":[{"photo_id":"1350680117","filename":"file5"},{"photo_id":"1350680113","filename":"file2"},{"photo_id":"1350680116","filename":"file4"},{"photo_id":"1350680111","filename":"file1"},{"photo_id":"1350680109","filename":"file0"},{"photo_id":"1350680115","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680115":["hashtag1","hashtag2"]},{"1350680109":["hashtag1","hashtag2"]},{"1350680111":["hashtag1","hashtag2"]},{"1350680117":["hashtag1","hashtag2"]},{"1350680116":["hashtag1","hashtag2"]},{"1350680113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680115, 1350680109, 1350680111, 1350680117, 1350680116, 1350680113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.774038314819336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:21:32.328481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/50/image_09042025_02_50_46_10369.jpg', '/home/pi/Desktop/images/09042025/02/50/image_09042025_02_51_06_9406.jpg', '/home/pi/Desktop/images/09042025/02/51/image_09042025_02_51_26_9492.jpg', '/home/pi/Desktop/images/09042025/02/51/image_09042025_02_51_46_9434.jpg', '/home/pi/Desktop/images/09042025/02/51/image_09042025_02_51_56_10477.jpg', '/home/pi/Desktop/images/09042025/02/51/image_09042025_02_52_07_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/50/image_09042025_02_50_46_10369.jpg
/home/pi/Desktop/images/09042025/02/50/image_09042025_02_51_06_9406.jpg
/home/pi/Desktop/images/09042025/02/51/image_09042025_02_51_26_9492.jpg
/home/pi/Desktop/images/09042025/02/51/image_09042025_02_51_46_9434.jpg
/home/pi/Desktop/images/09042025/02/51/image_09042025_02_51_56_10477.jpg
/home/pi/Desktop/images/09042025/02/51/image_09042025_02_52_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":["1350680133","1350680142","1350680129","1350680140","1350680137","1350680131"],"photo_ids_order":["1350680129","1350680131","1350680133","1350680137","1350680140","1350680142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1aae892178a6fba46d1b14540a025b52.jpg","text":"TemporaryFile(/tmp/multipartBody8959115131846021049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172552807,"filename":"image_09042025_02_51_26_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/922ea41d4c9f196711a5fcc51960808c.jpg","text":"TemporaryFile(/tmp/multipartBody9217716739340368896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172552807,"filename":"image_09042025_02_52_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/4/9/6ebc5952043c037424ed9df7e2d7c894.jpg","text":"TemporaryFile(/tmp/multipartBody2236258307579988613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172552807,"filename":"image_09042025_02_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/4/9/da63231ff854ce1d4ecf1cbce540688f.jpg","text":"TemporaryFile(/tmp/multipartBody8512252916565806251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172552807,"filename":"image_09042025_02_51_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/4/9/4253250d8a28f40a5dfe89d5bc293b98.jpg","text":"TemporaryFile(/tmp/multipartBody1963024775918965180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172552807,"filename":"image_09042025_02_51_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/4/9/2a5a0be94fd239c6dcf3fb9ac60dd277.jpg","text":"TemporaryFile(/tmp/multipartBody6198094885202616336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172552807,"filename":"image_09042025_02_51_06_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680133","file1":"1350680131","file0":"1350680129","file4":"1350680140","file5":"1350680142","file3":"1350680137"},"map_files_photo_id_array":[{"photo_id":"1350680142","filename":"file5"},{"photo_id":"1350680133","filename":"file2"},{"photo_id":"1350680140","filename":"file4"},{"photo_id":"1350680131","filename":"file1"},{"photo_id":"1350680129","filename":"file0"},{"photo_id":"1350680137","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680133":["hashtag1","hashtag2"]},{"1350680142":["hashtag1","hashtag2"]},{"1350680129":["hashtag1","hashtag2"]},{"1350680140":["hashtag1","hashtag2"]},{"1350680137":["hashtag1","hashtag2"]},{"1350680131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680133, 1350680142, 1350680129, 1350680140, 1350680137, 1350680131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90823554992676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:22:32.579992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_16_9434.jpg', '/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_27_10378.jpg', '/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_36_9441.jpg', '/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_46_10371.jpg', '/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_57_10370.jpg', '/home/pi/Desktop/images/09042025/02/52/image_09042025_02_53_06_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_16_9434.jpg
/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_27_10378.jpg
/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_36_9441.jpg
/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_46_10371.jpg
/home/pi/Desktop/images/09042025/02/52/image_09042025_02_52_57_10370.jpg
/home/pi/Desktop/images/09042025/02/52/image_09042025_02_53_06_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":["1350680162","1350680159","1350680161","1350680155","1350680163","1350680157"],"photo_ids_order":["1350680155","1350680157","1350680159","1350680161","1350680162","1350680163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdd1f75557a5ccc2a4b845f20a62cc0c.jpg","text":"TemporaryFile(/tmp/multipartBody7483048492379869455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172613059,"filename":"image_09042025_02_52_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e351a094d4df7c4105e101d17a63e06.jpg","text":"TemporaryFile(/tmp/multipartBody1293037740833806162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172613059,"filename":"image_09042025_02_52_36_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9d30c4b6ee550e7ab2fc92ddd4dc405.jpg","text":"TemporaryFile(/tmp/multipartBody8701325982120309458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172613059,"filename":"image_09042025_02_52_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/4/9/fe867f82ec777cc644416fb626cf8ae9.jpg","text":"TemporaryFile(/tmp/multipartBody2908545565684808859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172613059,"filename":"image_09042025_02_52_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/4/9/e7918f8ae865ff9a12ca141baa7bc61c.jpg","text":"TemporaryFile(/tmp/multipartBody8648300087826202834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172613059,"filename":"image_09042025_02_53_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2245d82dcc79471cdeeb6c13940e952c.jpg","text":"TemporaryFile(/tmp/multipartBody3275383681873479207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172613059,"filename":"image_09042025_02_52_27_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680159","file1":"1350680157","file0":"1350680155","file4":"1350680162","file5":"1350680163","file3":"1350680161"},"map_files_photo_id_array":[{"photo_id":"1350680163","filename":"file5"},{"photo_id":"1350680159","filename":"file2"},{"photo_id":"1350680162","filename":"file4"},{"photo_id":"1350680157","filename":"file1"},{"photo_id":"1350680155","filename":"file0"},{"photo_id":"1350680161","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680162":["hashtag1","hashtag2"]},{"1350680159":["hashtag1","hashtag2"]},{"1350680161":["hashtag1","hashtag2"]},{"1350680155":["hashtag1","hashtag2"]},{"1350680163":["hashtag1","hashtag2"]},{"1350680157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680162, 1350680159, 1350680161, 1350680155, 1350680163, 1350680157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.740081548690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:23:32.829575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/53/image_09042025_02_53_17_10386.jpg', '/home/pi/Desktop/images/09042025/02/53/image_09042025_02_53_47_10367.jpg', '/home/pi/Desktop/images/09042025/02/53/image_09042025_02_53_56_9460.jpg', '/home/pi/Desktop/images/09042025/02/53/image_09042025_02_54_07_10365.jpg', '/home/pi/Desktop/images/09042025/02/54/image_09042025_02_54_26_10387.jpg', '/home/pi/Desktop/images/09042025/02/54/image_09042025_02_54_37_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/53/image_09042025_02_53_17_10386.jpg
/home/pi/Desktop/images/09042025/02/53/image_09042025_02_53_47_10367.jpg
/home/pi/Desktop/images/09042025/02/53/image_09042025_02_53_56_9460.jpg
/home/pi/Desktop/images/09042025/02/53/image_09042025_02_54_07_10365.jpg
/home/pi/Desktop/images/09042025/02/54/image_09042025_02_54_26_10387.jpg
/home/pi/Desktop/images/09042025/02/54/image_09042025_02_54_37_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":["1350680174","1350680183","1350680185","1350680179","1350680181","1350680175"],"photo_ids_order":["1350680174","1350680175","1350680179","1350680181","1350680183","1350680185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6134424a051f95c4097ba7045df676b7.jpg","text":"TemporaryFile(/tmp/multipartBody3977669699936660393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172673301,"filename":"image_09042025_02_53_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1fbc245da00109380ad58c88f08823e.jpg","text":"TemporaryFile(/tmp/multipartBody6459394023749954494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172673301,"filename":"image_09042025_02_54_26_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b25a68f67ae281e28ffe2ab4a3e2f0c.jpg","text":"TemporaryFile(/tmp/multipartBody5903588522830825656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172673301,"filename":"image_09042025_02_54_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ab394a4881326de98032d5aea78182ef.jpg","text":"TemporaryFile(/tmp/multipartBody7682359595400413776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172673301,"filename":"image_09042025_02_53_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/4/9/ede4b50a88ebc8db534f75badb8503a6.jpg","text":"TemporaryFile(/tmp/multipartBody7727430450167989064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172673301,"filename":"image_09042025_02_54_07_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9341104803ff5fc29c3581d3fda1ea93.jpg","text":"TemporaryFile(/tmp/multipartBody5143493952935183910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172673301,"filename":"image_09042025_02_53_47_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680179","file1":"1350680175","file0":"1350680174","file4":"1350680183","file5":"1350680185","file3":"1350680181"},"map_files_photo_id_array":[{"photo_id":"1350680185","filename":"file5"},{"photo_id":"1350680179","filename":"file2"},{"photo_id":"1350680183","filename":"file4"},{"photo_id":"1350680175","filename":"file1"},{"photo_id":"1350680174","filename":"file0"},{"photo_id":"1350680181","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680174":["hashtag1","hashtag2"]},{"1350680183":["hashtag1","hashtag2"]},{"1350680185":["hashtag1","hashtag2"]},{"1350680179":["hashtag1","hashtag2"]},{"1350680181":["hashtag1","hashtag2"]},{"1350680175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680174, 1350680183, 1350680185, 1350680179, 1350680181, 1350680175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95247220993042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:24:33.009900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/54/image_09042025_02_54_56_10365.jpg', '/home/pi/Desktop/images/09042025/02/54/image_09042025_02_55_06_9355.jpg', '/home/pi/Desktop/images/09042025/02/55/image_09042025_02_55_16_10363.jpg', '/home/pi/Desktop/images/09042025/02/55/image_09042025_02_55_27_10377.jpg', '/home/pi/Desktop/images/09042025/02/55/image_09042025_02_55_36_9469.jpg', '/home/pi/Desktop/images/09042025/02/55/image_09042025_02_55_46_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/54/image_09042025_02_54_56_10365.jpg
/home/pi/Desktop/images/09042025/02/54/image_09042025_02_55_06_9355.jpg
/home/pi/Desktop/images/09042025/02/55/image_09042025_02_55_16_10363.jpg
/home/pi/Desktop/images/09042025/02/55/image_09042025_02_55_27_10377.jpg
/home/pi/Desktop/images/09042025/02/55/image_09042025_02_55_36_9469.jpg
/home/pi/Desktop/images/09042025/02/55/image_09042025_02_55_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":["1350680208","1350680205","1350680201","1350680209","1350680203","1350680206"],"photo_ids_order":["1350680201","1350680203","1350680205","1350680206","1350680208","1350680209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae10fa23064405d178598f138f418a61.jpg","text":"TemporaryFile(/tmp/multipartBody5442022491108327263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172733481,"filename":"image_09042025_02_55_36_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/475cb58bde0057171979eed65d4eb8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2241571004699021012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172733481,"filename":"image_09042025_02_55_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08351ef89a4a86c629e3a20bfbf43ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5409855027977654506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172733481,"filename":"image_09042025_02_54_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/4/9/3a6d7072645f54efeaa9f644e56d7649.jpg","text":"TemporaryFile(/tmp/multipartBody2351142625377358744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172733481,"filename":"image_09042025_02_55_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/4/9/919ac6c7c28d4f2dbbe9cc83848c0bec.jpg","text":"TemporaryFile(/tmp/multipartBody5605839711029527112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172733481,"filename":"image_09042025_02_55_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f49f6a69dfaaffd3fa2f4808e58a2211.jpg","text":"TemporaryFile(/tmp/multipartBody8334988011978950314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172733481,"filename":"image_09042025_02_55_27_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680205","file1":"1350680203","file0":"1350680201","file4":"1350680208","file5":"1350680209","file3":"1350680206"},"map_files_photo_id_array":[{"photo_id":"1350680209","filename":"file5"},{"photo_id":"1350680205","filename":"file2"},{"photo_id":"1350680208","filename":"file4"},{"photo_id":"1350680203","filename":"file1"},{"photo_id":"1350680201","filename":"file0"},{"photo_id":"1350680206","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680208":["hashtag1","hashtag2"]},{"1350680205":["hashtag1","hashtag2"]},{"1350680201":["hashtag1","hashtag2"]},{"1350680209":["hashtag1","hashtag2"]},{"1350680203":["hashtag1","hashtag2"]},{"1350680206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680208, 1350680205, 1350680201, 1350680209, 1350680203, 1350680206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.589890003204346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:25:32.352207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/55/image_09042025_02_56_06_10408.jpg', '/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_17_10360.jpg', '/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_26_9460.jpg', '/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_36_10373.jpg', '/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_46_9417.jpg', '/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_56_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/55/image_09042025_02_56_06_10408.jpg
/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_17_10360.jpg
/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_26_9460.jpg
/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_36_10373.jpg
/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_46_9417.jpg
/home/pi/Desktop/images/09042025/02/56/image_09042025_02_56_56_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680241","1350680233","1350680227","1350680236","1350680239","1350680230"],"photo_ids_order":["1350680227","1350680230","1350680233","1350680236","1350680239","1350680241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2135015f54d395c5be077988f6617b49.jpg","text":"TemporaryFile(/tmp/multipartBody2533114728633433082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172792811,"filename":"image_09042025_02_56_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/4/9/2a5ad8d868bb59fc3ea0079f43bee216.jpg","text":"TemporaryFile(/tmp/multipartBody5742606643456254544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172792811,"filename":"image_09042025_02_56_26_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5eb7ac9c62c4c88386b6ceb4037a10c3.jpg","text":"TemporaryFile(/tmp/multipartBody3413551543927557102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172792811,"filename":"image_09042025_02_56_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/4/9/bf79a1fb86f9b22320c136fad2bfb4b6.jpg","text":"TemporaryFile(/tmp/multipartBody8459379937232135338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172792811,"filename":"image_09042025_02_56_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd1928ff3ac2a2cb07b590d4853da95d.jpg","text":"TemporaryFile(/tmp/multipartBody3838579797153265446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172792811,"filename":"image_09042025_02_56_46_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fefe57af99567a9c6a5b8dba49480e7.jpg","text":"TemporaryFile(/tmp/multipartBody6796023671130944315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172792811,"filename":"image_09042025_02_56_17_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680233","file1":"1350680230","file0":"1350680227","file4":"1350680239","file5":"1350680241","file3":"1350680236"},"map_files_photo_id_array":[{"photo_id":"1350680241","filename":"file5"},{"photo_id":"1350680233","filename":"file2"},{"photo_id":"1350680239","filename":"file4"},{"photo_id":"1350680230","filename":"file1"},{"photo_id":"1350680227","filename":"file0"},{"photo_id":"1350680236","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680241":["hashtag1","hashtag2"]},{"1350680233":["hashtag1","hashtag2"]},{"1350680227":["hashtag1","hashtag2"]},{"1350680236":["hashtag1","hashtag2"]},{"1350680239":["hashtag1","hashtag2"]},{"1350680230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680241, 1350680233, 1350680227, 1350680236, 1350680239, 1350680230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.895426750183105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:26:32.427052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/56/image_09042025_02_57_07_10416.jpg', '/home/pi/Desktop/images/09042025/02/57/image_09042025_02_57_16_9447.jpg', '/home/pi/Desktop/images/09042025/02/57/image_09042025_02_57_26_10372.jpg', '/home/pi/Desktop/images/09042025/02/57/image_09042025_02_57_36_9480.jpg', '/home/pi/Desktop/images/09042025/02/57/image_09042025_02_57_46_10431.jpg', '/home/pi/Desktop/images/09042025/02/57/image_09042025_02_58_06_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/56/image_09042025_02_57_07_10416.jpg
/home/pi/Desktop/images/09042025/02/57/image_09042025_02_57_16_9447.jpg
/home/pi/Desktop/images/09042025/02/57/image_09042025_02_57_26_10372.jpg
/home/pi/Desktop/images/09042025/02/57/image_09042025_02_57_36_9480.jpg
/home/pi/Desktop/images/09042025/02/57/image_09042025_02_57_46_10431.jpg
/home/pi/Desktop/images/09042025/02/57/image_09042025_02_58_06_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":["1350680253","1350680255","1350680249","1350680251","1350680254","1350680256"],"photo_ids_order":["1350680249","1350680251","1350680253","1350680254","1350680255","1350680256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aca615a11523329838ba1a0807352872.jpg","text":"TemporaryFile(/tmp/multipartBody1962681030349420731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172852905,"filename":"image_09042025_02_57_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/4/9/b49d4b180fdd443b8b977eb3ceb72504.jpg","text":"TemporaryFile(/tmp/multipartBody647452618162076984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172852905,"filename":"image_09042025_02_57_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/4/9/b382d243f09c63e6c719819e69517202.jpg","text":"TemporaryFile(/tmp/multipartBody6888121255373634375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172852905,"filename":"image_09042025_02_57_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/4/9/409ddd9a1163b45c75e42e7fd3276480.jpg","text":"TemporaryFile(/tmp/multipartBody8703413457112000586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172852905,"filename":"image_09042025_02_57_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/4/9/e991f084900586cba69c2b98b3d322c2.jpg","text":"TemporaryFile(/tmp/multipartBody8158629967209580295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172852905,"filename":"image_09042025_02_57_36_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/00b89cc404895ceba80c8a7fdabfa0a3.jpg","text":"TemporaryFile(/tmp/multipartBody7711880429538075353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172852905,"filename":"image_09042025_02_58_06_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680253","file1":"1350680251","file0":"1350680249","file4":"1350680255","file5":"1350680256","file3":"1350680254"},"map_files_photo_id_array":[{"photo_id":"1350680256","filename":"file5"},{"photo_id":"1350680253","filename":"file2"},{"photo_id":"1350680255","filename":"file4"},{"photo_id":"1350680251","filename":"file1"},{"photo_id":"1350680249","filename":"file0"},{"photo_id":"1350680254","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680253":["hashtag1","hashtag2"]},{"1350680255":["hashtag1","hashtag2"]},{"1350680249":["hashtag1","hashtag2"]},{"1350680251":["hashtag1","hashtag2"]},{"1350680254":["hashtag1","hashtag2"]},{"1350680256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680253, 1350680255, 1350680249, 1350680251, 1350680254, 1350680256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.440268754959106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:27:32.698317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/02/58/image_09042025_02_58_17_10428.jpg', '/home/pi/Desktop/images/09042025/02/58/image_09042025_02_58_26_9462.jpg', '/home/pi/Desktop/images/09042025/02/58/image_09042025_02_58_56_10369.jpg', '/home/pi/Desktop/images/09042025/02/58/image_09042025_02_59_07_10397.jpg', '/home/pi/Desktop/images/09042025/02/59/image_09042025_02_59_16_9491.jpg', '/home/pi/Desktop/images/09042025/02/59/image_09042025_02_59_46_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/02/58/image_09042025_02_58_17_10428.jpg
/home/pi/Desktop/images/09042025/02/58/image_09042025_02_58_26_9462.jpg
/home/pi/Desktop/images/09042025/02/58/image_09042025_02_58_56_10369.jpg
/home/pi/Desktop/images/09042025/02/58/image_09042025_02_59_07_10397.jpg
/home/pi/Desktop/images/09042025/02/59/image_09042025_02_59_16_9491.jpg
/home/pi/Desktop/images/09042025/02/59/image_09042025_02_59_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":["1350680268","1350680270","1350680264","1350680266","1350680262","1350680271"],"photo_ids_order":["1350680262","1350680264","1350680266","1350680268","1350680270","1350680271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ffb5ae7d36dcc941f6dde3a4fa572baa.jpg","text":"TemporaryFile(/tmp/multipartBody728826760108826575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172913161,"filename":"image_09042025_02_59_07_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2aeb3b092da2e5db7b7041ad1bd99ce1.jpg","text":"TemporaryFile(/tmp/multipartBody2768018788216741485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172913161,"filename":"image_09042025_02_59_16_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a9c36be27e4c6b590842ba3d2379505.jpg","text":"TemporaryFile(/tmp/multipartBody7610443577944659375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172913161,"filename":"image_09042025_02_58_26_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/121ddb81378845f40e14250ab5cf1d93.jpg","text":"TemporaryFile(/tmp/multipartBody2384168013329681263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172913161,"filename":"image_09042025_02_58_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/4/9/dabec51c22395e60a1aa2712e0df8996.jpg","text":"TemporaryFile(/tmp/multipartBody8812374222179620262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172913161,"filename":"image_09042025_02_58_17_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a5220b6e9ac4799bb3d656bbe656f6ca.jpg","text":"TemporaryFile(/tmp/multipartBody7474129922684471702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172913161,"filename":"image_09042025_02_59_46_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680266","file1":"1350680264","file0":"1350680262","file4":"1350680270","file5":"1350680271","file3":"1350680268"},"map_files_photo_id_array":[{"photo_id":"1350680271","filename":"file5"},{"photo_id":"1350680266","filename":"file2"},{"photo_id":"1350680270","filename":"file4"},{"photo_id":"1350680264","filename":"file1"},{"photo_id":"1350680262","filename":"file0"},{"photo_id":"1350680268","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680268":["hashtag1","hashtag2"]},{"1350680270":["hashtag1","hashtag2"]},{"1350680264":["hashtag1","hashtag2"]},{"1350680266":["hashtag1","hashtag2"]},{"1350680262":["hashtag1","hashtag2"]},{"1350680271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680268, 1350680270, 1350680264, 1350680266, 1350680262, 1350680271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.595585823059082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:28:32.951538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/01/image_09042025_03_01_14_10085.jpg', '/home/pi/Desktop/images/09042025/03/01/image_09042025_03_01_44_10085.jpg', '/home/pi/Desktop/images/09042025/03/01/image_09042025_03_02_05_10385.jpg', '/home/pi/Desktop/images/09042025/03/02/image_09042025_03_02_25_10364.jpg', '/home/pi/Desktop/images/09042025/03/02/image_09042025_03_02_34_9534.jpg', '/home/pi/Desktop/images/09042025/03/02/image_09042025_03_02_45_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/01/image_09042025_03_01_14_10085.jpg
/home/pi/Desktop/images/09042025/03/01/image_09042025_03_01_44_10085.jpg
/home/pi/Desktop/images/09042025/03/01/image_09042025_03_02_05_10385.jpg
/home/pi/Desktop/images/09042025/03/02/image_09042025_03_02_25_10364.jpg
/home/pi/Desktop/images/09042025/03/02/image_09042025_03_02_34_9534.jpg
/home/pi/Desktop/images/09042025/03/02/image_09042025_03_02_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":["1350680285","1350680282","1350680281","1350680284","1350680280","1350680283"],"photo_ids_order":["1350680280","1350680281","1350680282","1350680283","1350680284","1350680285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/341755b5f564f608182c528dc191e812.jpg","text":"TemporaryFile(/tmp/multipartBody2605300875980506360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172973530,"filename":"image_09042025_03_02_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/4/9/70247f83201b994f2cf5e30cffbecdfe.jpg","text":"TemporaryFile(/tmp/multipartBody416707004648339671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172973530,"filename":"image_09042025_03_02_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03459cdb4257fce61517f6e3c2f371ae.jpg","text":"TemporaryFile(/tmp/multipartBody8359991112742975029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172973530,"filename":"image_09042025_03_01_44_10085.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3683c21eb01efeceb9a1fabfe9d4a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody6481086007380343553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172973530,"filename":"image_09042025_03_02_34_9534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a67a7ada9567a9d20fbedebfbdf1988.jpg","text":"TemporaryFile(/tmp/multipartBody2613049286919379297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172973530,"filename":"image_09042025_03_01_14_10085.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5f917081b4d61e0517a5ff4ac51a133.jpg","text":"TemporaryFile(/tmp/multipartBody4047275391052943982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744172973530,"filename":"image_09042025_03_02_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680282","file1":"1350680281","file0":"1350680280","file4":"1350680284","file5":"1350680285","file3":"1350680283"},"map_files_photo_id_array":[{"photo_id":"1350680285","filename":"file5"},{"photo_id":"1350680282","filename":"file2"},{"photo_id":"1350680284","filename":"file4"},{"photo_id":"1350680281","filename":"file1"},{"photo_id":"1350680280","filename":"file0"},{"photo_id":"1350680283","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680285":["hashtag1","hashtag2"]},{"1350680282":["hashtag1","hashtag2"]},{"1350680281":["hashtag1","hashtag2"]},{"1350680284":["hashtag1","hashtag2"]},{"1350680280":["hashtag1","hashtag2"]},{"1350680283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680285, 1350680282, 1350680281, 1350680284, 1350680280, 1350680283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47565698623657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:29:32.157319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/02/image_09042025_03_02_54_9484.jpg', '/home/pi/Desktop/images/09042025/03/02/image_09042025_03_03_05_10460.jpg', '/home/pi/Desktop/images/09042025/03/03/image_09042025_03_03_14_9417.jpg', '/home/pi/Desktop/images/09042025/03/03/image_09042025_03_03_24_10384.jpg', '/home/pi/Desktop/images/09042025/03/03/image_09042025_03_03_35_10351.jpg', '/home/pi/Desktop/images/09042025/03/03/image_09042025_03_03_44_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/02/image_09042025_03_02_54_9484.jpg
/home/pi/Desktop/images/09042025/03/02/image_09042025_03_03_05_10460.jpg
/home/pi/Desktop/images/09042025/03/03/image_09042025_03_03_14_9417.jpg
/home/pi/Desktop/images/09042025/03/03/image_09042025_03_03_24_10384.jpg
/home/pi/Desktop/images/09042025/03/03/image_09042025_03_03_35_10351.jpg
/home/pi/Desktop/images/09042025/03/03/image_09042025_03_03_44_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680304","1350680306","1350680300","1350680302","1350680295","1350680298"],"photo_ids_order":["1350680295","1350680298","1350680300","1350680302","1350680304","1350680306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/309bd3991781f0ec599e3640ecae7e29.jpg","text":"TemporaryFile(/tmp/multipartBody8761322719393851560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173032618,"filename":"image_09042025_03_03_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/4/9/3f70233b1cf0d40b0554bda931fbab87.jpg","text":"TemporaryFile(/tmp/multipartBody116552348917242055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173032618,"filename":"image_09042025_03_03_44_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/632083de552b1dd734a6a011ce2e4b4b.jpg","text":"TemporaryFile(/tmp/multipartBody4095323426681376710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173032618,"filename":"image_09042025_03_03_14_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8d28463875a9eb3aadb39255c519b4e.jpg","text":"TemporaryFile(/tmp/multipartBody8249113151353823779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173032618,"filename":"image_09042025_03_03_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/4/9/423d32d4b633419c9b10214d576d2058.jpg","text":"TemporaryFile(/tmp/multipartBody594845816087096182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173032618,"filename":"image_09042025_03_02_54_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/61f6ee90db9021c9d3e45ac613088c12.jpg","text":"TemporaryFile(/tmp/multipartBody7980838729242228501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173032618,"filename":"image_09042025_03_03_05_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680300","file1":"1350680298","file0":"1350680295","file4":"1350680304","file5":"1350680306","file3":"1350680302"},"map_files_photo_id_array":[{"photo_id":"1350680306","filename":"file5"},{"photo_id":"1350680300","filename":"file2"},{"photo_id":"1350680304","filename":"file4"},{"photo_id":"1350680298","filename":"file1"},{"photo_id":"1350680295","filename":"file0"},{"photo_id":"1350680302","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680304":["hashtag1","hashtag2"]},{"1350680306":["hashtag1","hashtag2"]},{"1350680300":["hashtag1","hashtag2"]},{"1350680302":["hashtag1","hashtag2"]},{"1350680295":["hashtag1","hashtag2"]},{"1350680298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680304, 1350680306, 1350680300, 1350680302, 1350680295, 1350680298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66866397857666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:30:32.408870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/03/image_09042025_03_04_04_9480.jpg', '/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_14_10357.jpg', '/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_25_10370.jpg', '/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_34_9453.jpg', '/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_45_10430.jpg', '/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_54_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/03/image_09042025_03_04_04_9480.jpg
/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_14_10357.jpg
/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_25_10370.jpg
/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_34_9453.jpg
/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_45_10430.jpg
/home/pi/Desktop/images/09042025/03/04/image_09042025_03_04_54_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680319","1350680322","1350680321","1350680318","1350680320","1350680323"],"photo_ids_order":["1350680318","1350680319","1350680320","1350680321","1350680322","1350680323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1585328164d83adb196bbed5c8d0af15.jpg","text":"TemporaryFile(/tmp/multipartBody1150980615862146059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173093089,"filename":"image_09042025_03_04_14_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73a75311ee502e191359cedf8552619b.jpg","text":"TemporaryFile(/tmp/multipartBody2782389135307097352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173093089,"filename":"image_09042025_03_04_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/4/9/33e6c0cd74ba6a8e4959e8b9d99a570e.jpg","text":"TemporaryFile(/tmp/multipartBody1632014897516265251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173093089,"filename":"image_09042025_03_04_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/4/9/1130485f903f6f1b6accf59711681e54.jpg","text":"TemporaryFile(/tmp/multipartBody5766819199455703012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173093089,"filename":"image_09042025_03_04_04_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e88d5d9884af4aad2e5c832ca62a0c38.jpg","text":"TemporaryFile(/tmp/multipartBody1110441808808957117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173093089,"filename":"image_09042025_03_04_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/4/9/b0ed7c909521b568b79f1d2375979110.jpg","text":"TemporaryFile(/tmp/multipartBody7826668509960015303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173093089,"filename":"image_09042025_03_04_54_9516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680320","file1":"1350680319","file0":"1350680318","file4":"1350680322","file5":"1350680323","file3":"1350680321"},"map_files_photo_id_array":[{"photo_id":"1350680323","filename":"file5"},{"photo_id":"1350680320","filename":"file2"},{"photo_id":"1350680322","filename":"file4"},{"photo_id":"1350680319","filename":"file1"},{"photo_id":"1350680318","filename":"file0"},{"photo_id":"1350680321","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680319":["hashtag1","hashtag2"]},{"1350680322":["hashtag1","hashtag2"]},{"1350680321":["hashtag1","hashtag2"]},{"1350680318":["hashtag1","hashtag2"]},{"1350680320":["hashtag1","hashtag2"]},{"1350680323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680319, 1350680322, 1350680321, 1350680318, 1350680320, 1350680323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34905791282654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:31:32.634349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/04/image_09042025_03_05_05_10463.jpg', '/home/pi/Desktop/images/09042025/03/05/image_09042025_03_05_24_10372.jpg', '/home/pi/Desktop/images/09042025/03/05/image_09042025_03_05_35_10393.jpg', '/home/pi/Desktop/images/09042025/03/05/image_09042025_03_05_44_9465.jpg', '/home/pi/Desktop/images/09042025/03/05/image_09042025_03_05_55_10380.jpg', '/home/pi/Desktop/images/09042025/03/06/image_09042025_03_06_15_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/04/image_09042025_03_05_05_10463.jpg
/home/pi/Desktop/images/09042025/03/05/image_09042025_03_05_24_10372.jpg
/home/pi/Desktop/images/09042025/03/05/image_09042025_03_05_35_10393.jpg
/home/pi/Desktop/images/09042025/03/05/image_09042025_03_05_44_9465.jpg
/home/pi/Desktop/images/09042025/03/05/image_09042025_03_05_55_10380.jpg
/home/pi/Desktop/images/09042025/03/06/image_09042025_03_06_15_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680334","1350680327","1350680332","1350680335","1350680329","1350680337"],"photo_ids_order":["1350680327","1350680329","1350680332","1350680334","1350680335","1350680337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4344942dce26a9bf0c8e3eaaaf688862.jpg","text":"TemporaryFile(/tmp/multipartBody3342954125866729392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173153099,"filename":"image_09042025_03_05_44_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1028589dc445d0d552222aa3f8eec3f.jpg","text":"TemporaryFile(/tmp/multipartBody7137797023032354764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173153099,"filename":"image_09042025_03_05_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/4/9/c6d731df2d2d42a3a4941832fb727f7b.jpg","text":"TemporaryFile(/tmp/multipartBody156484682393508878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173153099,"filename":"image_09042025_03_05_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/4/9/b8af7eeef05532aaaf1011fa5de0ee7b.jpg","text":"TemporaryFile(/tmp/multipartBody6292359073464688157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173153099,"filename":"image_09042025_03_05_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/4/9/4ec24d4b3e1e10c4ed47d9329bba36a2.jpg","text":"TemporaryFile(/tmp/multipartBody5604600338851380670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173153099,"filename":"image_09042025_03_05_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/4/9/845efd13efd11c4fac12255814699742.jpg","text":"TemporaryFile(/tmp/multipartBody5574003254265885108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173153099,"filename":"image_09042025_03_06_15_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680332","file1":"1350680329","file0":"1350680327","file4":"1350680335","file5":"1350680337","file3":"1350680334"},"map_files_photo_id_array":[{"photo_id":"1350680337","filename":"file5"},{"photo_id":"1350680332","filename":"file2"},{"photo_id":"1350680335","filename":"file4"},{"photo_id":"1350680329","filename":"file1"},{"photo_id":"1350680327","filename":"file0"},{"photo_id":"1350680334","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680334":["hashtag1","hashtag2"]},{"1350680327":["hashtag1","hashtag2"]},{"1350680332":["hashtag1","hashtag2"]},{"1350680335":["hashtag1","hashtag2"]},{"1350680329":["hashtag1","hashtag2"]},{"1350680337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680334, 1350680327, 1350680332, 1350680335, 1350680329, 1350680337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.508868932724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:32:32.756654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/06/image_09042025_03_06_34_9430.jpg', '/home/pi/Desktop/images/09042025/03/06/image_09042025_03_06_45_10371.jpg', '/home/pi/Desktop/images/09042025/03/06/image_09042025_03_06_54_9436.jpg', '/home/pi/Desktop/images/09042025/03/07/image_09042025_03_07_44_9503.jpg', '/home/pi/Desktop/images/09042025/03/07/image_09042025_03_08_04_9483.jpg', '/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_14_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/06/image_09042025_03_06_34_9430.jpg
/home/pi/Desktop/images/09042025/03/06/image_09042025_03_06_45_10371.jpg
/home/pi/Desktop/images/09042025/03/06/image_09042025_03_06_54_9436.jpg
/home/pi/Desktop/images/09042025/03/07/image_09042025_03_07_44_9503.jpg
/home/pi/Desktop/images/09042025/03/07/image_09042025_03_08_04_9483.jpg
/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_14_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":["1350680352","1350680346","1350680349","1350680348","1350680350","1350680347"],"photo_ids_order":["1350680346","1350680347","1350680348","1350680349","1350680350","1350680352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a53b7b01ca8bf2b6954fc8379c756065.jpg","text":"TemporaryFile(/tmp/multipartBody8430764250375466845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173213244,"filename":"image_09042025_03_08_14_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea2db2f853040393ab7c54c7c90ea5d2.jpg","text":"TemporaryFile(/tmp/multipartBody2849326811453201425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173213244,"filename":"image_09042025_03_06_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/4/9/f3bca497194138fd3c4e9fa8e7d4c9c5.jpg","text":"TemporaryFile(/tmp/multipartBody4805811189316048256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173213244,"filename":"image_09042025_03_07_44_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a9d7ea415bfb6b69a5e20fbbe8c8b38.jpg","text":"TemporaryFile(/tmp/multipartBody3409154245677144225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173213244,"filename":"image_09042025_03_06_54_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2422e87ca5446e2566ee51a2eeb08f08.jpg","text":"TemporaryFile(/tmp/multipartBody7169991919883594137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173213244,"filename":"image_09042025_03_08_04_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4bcead40a7d387b57ade5e928a2899ef.jpg","text":"TemporaryFile(/tmp/multipartBody3060387042970035093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173213244,"filename":"image_09042025_03_06_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680348","file1":"1350680347","file0":"1350680346","file4":"1350680350","file5":"1350680352","file3":"1350680349"},"map_files_photo_id_array":[{"photo_id":"1350680352","filename":"file5"},{"photo_id":"1350680348","filename":"file2"},{"photo_id":"1350680350","filename":"file4"},{"photo_id":"1350680347","filename":"file1"},{"photo_id":"1350680346","filename":"file0"},{"photo_id":"1350680349","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680352":["hashtag1","hashtag2"]},{"1350680346":["hashtag1","hashtag2"]},{"1350680349":["hashtag1","hashtag2"]},{"1350680348":["hashtag1","hashtag2"]},{"1350680350":["hashtag1","hashtag2"]},{"1350680347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680352, 1350680346, 1350680349, 1350680348, 1350680350, 1350680347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.857805252075195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:33:32.991337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_25_10459.jpg', '/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_34_9420.jpg', '/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_45_10363.jpg', '/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_54_9396.jpg', '/home/pi/Desktop/images/09042025/03/08/image_09042025_03_09_04_10389.jpg', '/home/pi/Desktop/images/09042025/03/09/image_09042025_03_09_15_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_25_10459.jpg
/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_34_9420.jpg
/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_45_10363.jpg
/home/pi/Desktop/images/09042025/03/08/image_09042025_03_08_54_9396.jpg
/home/pi/Desktop/images/09042025/03/08/image_09042025_03_09_04_10389.jpg
/home/pi/Desktop/images/09042025/03/09/image_09042025_03_09_15_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":["1350680367","1350680366","1350680360","1350680362","1350680365","1350680364"],"photo_ids_order":["1350680360","1350680362","1350680364","1350680365","1350680366","1350680367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1802308036489d55b771264eb93479b.jpg","text":"TemporaryFile(/tmp/multipartBody1696557450201325771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173273482,"filename":"image_09042025_03_09_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/4/9/76382ee7d900eedbc688e536b06afba9.jpg","text":"TemporaryFile(/tmp/multipartBody4374136309212976154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173273482,"filename":"image_09042025_03_09_04_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/617e107f11cc1288fb6a3b50f8ec8a89.jpg","text":"TemporaryFile(/tmp/multipartBody2749978225520197000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173273482,"filename":"image_09042025_03_08_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/4/9/12248643cb3699d2d1a6273b932dda7a.jpg","text":"TemporaryFile(/tmp/multipartBody1656481800672006005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173273482,"filename":"image_09042025_03_08_34_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/380261f04075548da420264bf7898759.jpg","text":"TemporaryFile(/tmp/multipartBody1795261276786144595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173273482,"filename":"image_09042025_03_08_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/4/9/e6985b0864b0342917148d47574e0e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4100925274816056091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173273482,"filename":"image_09042025_03_08_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680364","file1":"1350680362","file0":"1350680360","file4":"1350680366","file5":"1350680367","file3":"1350680365"},"map_files_photo_id_array":[{"photo_id":"1350680367","filename":"file5"},{"photo_id":"1350680364","filename":"file2"},{"photo_id":"1350680366","filename":"file4"},{"photo_id":"1350680362","filename":"file1"},{"photo_id":"1350680360","filename":"file0"},{"photo_id":"1350680365","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680367":["hashtag1","hashtag2"]},{"1350680366":["hashtag1","hashtag2"]},{"1350680360":["hashtag1","hashtag2"]},{"1350680362":["hashtag1","hashtag2"]},{"1350680365":["hashtag1","hashtag2"]},{"1350680364":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680367, 1350680366, 1350680360, 1350680362, 1350680365, 1350680364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15292406082153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:34:32.253670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/09/image_09042025_03_09_24_9432.jpg', '/home/pi/Desktop/images/09042025/03/09/image_09042025_03_09_35_10422.jpg', '/home/pi/Desktop/images/09042025/03/09/image_09042025_03_09_55_10470.jpg', '/home/pi/Desktop/images/09042025/03/09/image_09042025_03_10_04_9444.jpg', '/home/pi/Desktop/images/09042025/03/10/image_09042025_03_10_25_10455.jpg', '/home/pi/Desktop/images/09042025/03/10/image_09042025_03_10_34_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/09/image_09042025_03_09_24_9432.jpg
/home/pi/Desktop/images/09042025/03/09/image_09042025_03_09_35_10422.jpg
/home/pi/Desktop/images/09042025/03/09/image_09042025_03_09_55_10470.jpg
/home/pi/Desktop/images/09042025/03/09/image_09042025_03_10_04_9444.jpg
/home/pi/Desktop/images/09042025/03/10/image_09042025_03_10_25_10455.jpg
/home/pi/Desktop/images/09042025/03/10/image_09042025_03_10_34_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":["1350680387","1350680386","1350680382","1350680376","1350680385","1350680379"],"photo_ids_order":["1350680376","1350680379","1350680382","1350680385","1350680386","1350680387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c7fa04723d391cc5f1136fdd0ee75819.jpg","text":"TemporaryFile(/tmp/multipartBody773039274831182144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173332715,"filename":"image_09042025_03_10_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f20ebc2ccc77731c98828c23198ccbc4.jpg","text":"TemporaryFile(/tmp/multipartBody2378729563181250792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173332715,"filename":"image_09042025_03_10_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/4/9/218d0203adef83f604f9e9161537a417.jpg","text":"TemporaryFile(/tmp/multipartBody5482621300573241873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173332715,"filename":"image_09042025_03_09_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/4/9/ba6353e52dcaa519b10a952541888943.jpg","text":"TemporaryFile(/tmp/multipartBody1124749573214546023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173332715,"filename":"image_09042025_03_09_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bd259c69b4b05d2c4417fbc22dec62c7.jpg","text":"TemporaryFile(/tmp/multipartBody5712881206149927010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173332715,"filename":"image_09042025_03_10_04_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2a9de806e29f10db984d1ef543373720.jpg","text":"TemporaryFile(/tmp/multipartBody6499796652560844260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173332715,"filename":"image_09042025_03_09_35_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680382","file1":"1350680379","file0":"1350680376","file4":"1350680386","file5":"1350680387","file3":"1350680385"},"map_files_photo_id_array":[{"photo_id":"1350680387","filename":"file5"},{"photo_id":"1350680382","filename":"file2"},{"photo_id":"1350680386","filename":"file4"},{"photo_id":"1350680379","filename":"file1"},{"photo_id":"1350680376","filename":"file0"},{"photo_id":"1350680385","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680387":["hashtag1","hashtag2"]},{"1350680386":["hashtag1","hashtag2"]},{"1350680382":["hashtag1","hashtag2"]},{"1350680376":["hashtag1","hashtag2"]},{"1350680385":["hashtag1","hashtag2"]},{"1350680379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680387, 1350680386, 1350680382, 1350680376, 1350680385, 1350680379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63521075248718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:35:32.464949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/10/image_09042025_03_10_45_10434.jpg', '/home/pi/Desktop/images/09042025/03/10/image_09042025_03_11_04_10355.jpg', '/home/pi/Desktop/images/09042025/03/11/image_09042025_03_11_24_9445.jpg', '/home/pi/Desktop/images/09042025/03/11/image_09042025_03_11_35_10369.jpg', '/home/pi/Desktop/images/09042025/03/11/image_09042025_03_11_44_9444.jpg', '/home/pi/Desktop/images/09042025/03/11/image_09042025_03_11_55_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/10/image_09042025_03_10_45_10434.jpg
/home/pi/Desktop/images/09042025/03/10/image_09042025_03_11_04_10355.jpg
/home/pi/Desktop/images/09042025/03/11/image_09042025_03_11_24_9445.jpg
/home/pi/Desktop/images/09042025/03/11/image_09042025_03_11_35_10369.jpg
/home/pi/Desktop/images/09042025/03/11/image_09042025_03_11_44_9444.jpg
/home/pi/Desktop/images/09042025/03/11/image_09042025_03_11_55_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680412","1350680409","1350680402","1350680408","1350680410","1350680404"],"photo_ids_order":["1350680402","1350680404","1350680408","1350680409","1350680410","1350680412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/72e528d3e7c820d7c1d571fd353f9382.jpg","text":"TemporaryFile(/tmp/multipartBody2219034850819818903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173392927,"filename":"image_09042025_03_11_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/4/9/be79ed4a8df88062928460ac5a0a23e6.jpg","text":"TemporaryFile(/tmp/multipartBody4689363584959945050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173392927,"filename":"image_09042025_03_11_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/4/9/2710eae2a783f62a25ae2e2001750bdd.jpg","text":"TemporaryFile(/tmp/multipartBody6413036409224946547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173392927,"filename":"image_09042025_03_10_45_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/89f866e6712ae3f2e12d3e4869ad7059.jpg","text":"TemporaryFile(/tmp/multipartBody2386248929248987027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173392927,"filename":"image_09042025_03_11_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e0e1407e3b65cd98db494077e22f3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2011627948251859327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173392927,"filename":"image_09042025_03_11_44_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/17e73f807f4110816148b386e9b25948.jpg","text":"TemporaryFile(/tmp/multipartBody7504029125499940936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173392927,"filename":"image_09042025_03_11_04_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680408","file1":"1350680404","file0":"1350680402","file4":"1350680410","file5":"1350680412","file3":"1350680409"},"map_files_photo_id_array":[{"photo_id":"1350680412","filename":"file5"},{"photo_id":"1350680408","filename":"file2"},{"photo_id":"1350680410","filename":"file4"},{"photo_id":"1350680404","filename":"file1"},{"photo_id":"1350680402","filename":"file0"},{"photo_id":"1350680409","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680412":["hashtag1","hashtag2"]},{"1350680409":["hashtag1","hashtag2"]},{"1350680402":["hashtag1","hashtag2"]},{"1350680408":["hashtag1","hashtag2"]},{"1350680410":["hashtag1","hashtag2"]},{"1350680404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680412, 1350680409, 1350680402, 1350680408, 1350680410, 1350680404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.974422454833984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:36:32.801833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_14_10367.jpg', '/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_25_10431.jpg', '/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_34_9348.jpg', '/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_45_10384.jpg', '/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_54_9511.jpg', '/home/pi/Desktop/images/09042025/03/12/image_09042025_03_13_04_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_14_10367.jpg
/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_25_10431.jpg
/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_34_9348.jpg
/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_45_10384.jpg
/home/pi/Desktop/images/09042025/03/12/image_09042025_03_12_54_9511.jpg
/home/pi/Desktop/images/09042025/03/12/image_09042025_03_13_04_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":["1350680432","1350680435","1350680438","1350680431","1350680440","1350680442"],"photo_ids_order":["1350680431","1350680432","1350680435","1350680438","1350680440","1350680442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c02ee49fc3532b905086523460ed8272.jpg","text":"TemporaryFile(/tmp/multipartBody564103647957181262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173453266,"filename":"image_09042025_03_12_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/4/9/53807cba2e98ab89473716d8a8fb333b.jpg","text":"TemporaryFile(/tmp/multipartBody7195384974495285935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173453266,"filename":"image_09042025_03_12_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/4/9/cc858c89e0943224dc9bc54dd50339c2.jpg","text":"TemporaryFile(/tmp/multipartBody130593302402396033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173453266,"filename":"image_09042025_03_12_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/4/9/322a75ecf17e809a42497746aebc52d6.jpg","text":"TemporaryFile(/tmp/multipartBody4077644303088421456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173453266,"filename":"image_09042025_03_12_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/4/9/ea2f71ad1564cd65e154e6bd6f9043e3.jpg","text":"TemporaryFile(/tmp/multipartBody5139248632127700003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173453266,"filename":"image_09042025_03_12_54_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/faf272adf35704dd040f06f9c348c9e1.jpg","text":"TemporaryFile(/tmp/multipartBody5335500263505665663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173453266,"filename":"image_09042025_03_13_04_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680435","file1":"1350680432","file0":"1350680431","file4":"1350680440","file5":"1350680442","file3":"1350680438"},"map_files_photo_id_array":[{"photo_id":"1350680442","filename":"file5"},{"photo_id":"1350680435","filename":"file2"},{"photo_id":"1350680440","filename":"file4"},{"photo_id":"1350680432","filename":"file1"},{"photo_id":"1350680431","filename":"file0"},{"photo_id":"1350680438","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680432":["hashtag1","hashtag2"]},{"1350680435":["hashtag1","hashtag2"]},{"1350680438":["hashtag1","hashtag2"]},{"1350680431":["hashtag1","hashtag2"]},{"1350680440":["hashtag1","hashtag2"]},{"1350680442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680432, 1350680435, 1350680438, 1350680431, 1350680440, 1350680442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93519902229309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:37:33.011917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_15_10390.jpg', '/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_24_9418.jpg', '/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_35_10355.jpg', '/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_44_9423.jpg', '/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_54_10383.jpg', '/home/pi/Desktop/images/09042025/03/13/image_09042025_03_14_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_15_10390.jpg
/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_24_9418.jpg
/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_35_10355.jpg
/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_44_9423.jpg
/home/pi/Desktop/images/09042025/03/13/image_09042025_03_13_54_10383.jpg
/home/pi/Desktop/images/09042025/03/13/image_09042025_03_14_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":["1350680471","1350680465","1350680462","1350680470","1350680467","1350680469"],"photo_ids_order":["1350680462","1350680465","1350680467","1350680469","1350680470","1350680471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff05dcb89701f56b266ea807a4ce976c.jpg","text":"TemporaryFile(/tmp/multipartBody647050529291100056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173513478,"filename":"image_09042025_03_14_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/4/9/4b248c4812add14eb20fc7fb838ee436.jpg","text":"TemporaryFile(/tmp/multipartBody292368618046975797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173513478,"filename":"image_09042025_03_13_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/4/9/d8f175313e9e11592aec948eab680f82.jpg","text":"TemporaryFile(/tmp/multipartBody5888492503262639699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173513478,"filename":"image_09042025_03_13_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5b74ef1999d3525c763e62388ebccd9.jpg","text":"TemporaryFile(/tmp/multipartBody7950211112236797711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173513478,"filename":"image_09042025_03_13_54_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a2180fb168d3c3c5b0909c94379a76a.jpg","text":"TemporaryFile(/tmp/multipartBody1355373456735581303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173513478,"filename":"image_09042025_03_13_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/4/9/f0b4bd3ec4792e6dfd570c0e2e96df64.jpg","text":"TemporaryFile(/tmp/multipartBody806139497149535730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173513478,"filename":"image_09042025_03_13_44_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680467","file1":"1350680465","file0":"1350680462","file4":"1350680470","file5":"1350680471","file3":"1350680469"},"map_files_photo_id_array":[{"photo_id":"1350680471","filename":"file5"},{"photo_id":"1350680467","filename":"file2"},{"photo_id":"1350680470","filename":"file4"},{"photo_id":"1350680465","filename":"file1"},{"photo_id":"1350680462","filename":"file0"},{"photo_id":"1350680469","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680471":["hashtag1","hashtag2"]},{"1350680465":["hashtag1","hashtag2"]},{"1350680462":["hashtag1","hashtag2"]},{"1350680470":["hashtag1","hashtag2"]},{"1350680467":["hashtag1","hashtag2"]},{"1350680469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680471, 1350680465, 1350680462, 1350680470, 1350680467, 1350680469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.962010622024536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:38:32.966629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_14_9443.jpg', '/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_25_10454.jpg', '/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_34_9448.jpg', '/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_44_10351.jpg', '/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_55_10356.jpg', '/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_15_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_14_9443.jpg
/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_25_10454.jpg
/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_34_9448.jpg
/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_44_10351.jpg
/home/pi/Desktop/images/09042025/03/14/image_09042025_03_14_55_10356.jpg
/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_15_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":["1350680492","1350680494","1350680488","1350680490","1350680484","1350680487"],"photo_ids_order":["1350680484","1350680487","1350680488","1350680490","1350680492","1350680494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/655d527ecf98286bd77d0443943c4cfd.jpg","text":"TemporaryFile(/tmp/multipartBody6347856991594526367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173573440,"filename":"image_09042025_03_14_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/4/9/2379ada4db73a9ccdc7d687ad89d9491.jpg","text":"TemporaryFile(/tmp/multipartBody1497959416726810137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173573440,"filename":"image_09042025_03_15_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/387667ad8df27f4ba80c524708fe6ced.jpg","text":"TemporaryFile(/tmp/multipartBody5052617756965850625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173573440,"filename":"image_09042025_03_14_34_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec51b0d2af3c3bd81a5033e24746efc3.jpg","text":"TemporaryFile(/tmp/multipartBody1369637260173194859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173573440,"filename":"image_09042025_03_14_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/4/9/250e21d0461cbacc819bf645ac6c37e6.jpg","text":"TemporaryFile(/tmp/multipartBody8482716215745071134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173573440,"filename":"image_09042025_03_14_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/4/9/07b9f7d735021284e4b8c32c79c50fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1366430640942841231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173573440,"filename":"image_09042025_03_14_25_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680488","file1":"1350680487","file0":"1350680484","file4":"1350680492","file5":"1350680494","file3":"1350680490"},"map_files_photo_id_array":[{"photo_id":"1350680494","filename":"file5"},{"photo_id":"1350680488","filename":"file2"},{"photo_id":"1350680492","filename":"file4"},{"photo_id":"1350680487","filename":"file1"},{"photo_id":"1350680484","filename":"file0"},{"photo_id":"1350680490","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680492":["hashtag1","hashtag2"]},{"1350680494":["hashtag1","hashtag2"]},{"1350680488":["hashtag1","hashtag2"]},{"1350680490":["hashtag1","hashtag2"]},{"1350680484":["hashtag1","hashtag2"]},{"1350680487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680492, 1350680494, 1350680488, 1350680490, 1350680484, 1350680487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.440969705581665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:39:32.338127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_24_9503.jpg', '/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_34_10455.jpg', '/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_45_10356.jpg', '/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_54_9364.jpg', '/home/pi/Desktop/images/09042025/03/15/image_09042025_03_16_05_10365.jpg', '/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_14_9501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_24_9503.jpg
/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_34_10455.jpg
/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_45_10356.jpg
/home/pi/Desktop/images/09042025/03/15/image_09042025_03_15_54_9364.jpg
/home/pi/Desktop/images/09042025/03/15/image_09042025_03_16_05_10365.jpg
/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_14_9501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680517","1350680513","1350680522","1350680519","1350680521","1350680515"],"photo_ids_order":["1350680513","1350680515","1350680517","1350680519","1350680521","1350680522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0489d3a8804e0336ffe62ae5b22caa68.jpg","text":"TemporaryFile(/tmp/multipartBody3819509252973572638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173632802,"filename":"image_09042025_03_15_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ab4013a5059b101d4019f27171bebefd.jpg","text":"TemporaryFile(/tmp/multipartBody7367374737903825733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173632802,"filename":"image_09042025_03_15_24_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c40724acac9f0aef61c315e98251b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7960789369451441695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173632802,"filename":"image_09042025_03_16_14_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/29c4001eeb60fd571e36340bf6dbab18.jpg","text":"TemporaryFile(/tmp/multipartBody3616936714714359625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173632802,"filename":"image_09042025_03_15_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c7a8567ed6b0ddd20813899a18d5c800.jpg","text":"TemporaryFile(/tmp/multipartBody8803931727512323858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173632802,"filename":"image_09042025_03_16_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/4/9/d237da862b1e21cc010848cf05143c67.jpg","text":"TemporaryFile(/tmp/multipartBody5943592222978045043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173632802,"filename":"image_09042025_03_15_34_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680517","file1":"1350680515","file0":"1350680513","file4":"1350680521","file5":"1350680522","file3":"1350680519"},"map_files_photo_id_array":[{"photo_id":"1350680522","filename":"file5"},{"photo_id":"1350680517","filename":"file2"},{"photo_id":"1350680521","filename":"file4"},{"photo_id":"1350680515","filename":"file1"},{"photo_id":"1350680513","filename":"file0"},{"photo_id":"1350680519","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680517":["hashtag1","hashtag2"]},{"1350680513":["hashtag1","hashtag2"]},{"1350680522":["hashtag1","hashtag2"]},{"1350680519":["hashtag1","hashtag2"]},{"1350680521":["hashtag1","hashtag2"]},{"1350680515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680517, 1350680513, 1350680522, 1350680519, 1350680521, 1350680515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.6575026512146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:40:32.660097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_24_10371.jpg', '/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_44_9451.jpg', '/home/pi/Desktop/images/09042025/03/16/image_09042025_03_17_04_9431.jpg', '/home/pi/Desktop/images/09042025/03/17/image_09042025_03_17_14_10377.jpg', '/home/pi/Desktop/images/09042025/03/17/image_09042025_03_17_25_10414.jpg', '/home/pi/Desktop/images/09042025/03/17/image_09042025_03_18_05_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_24_10371.jpg
/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_44_9451.jpg
/home/pi/Desktop/images/09042025/03/16/image_09042025_03_17_04_9431.jpg
/home/pi/Desktop/images/09042025/03/17/image_09042025_03_17_14_10377.jpg
/home/pi/Desktop/images/09042025/03/17/image_09042025_03_17_25_10414.jpg
/home/pi/Desktop/images/09042025/03/17/image_09042025_03_18_05_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39591336250305176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 06:40:42.525296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_24_10371.jpg', '/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_44_9451.jpg', '/home/pi/Desktop/images/09042025/03/16/image_09042025_03_17_04_9431.jpg', '/home/pi/Desktop/images/09042025/03/17/image_09042025_03_17_14_10377.jpg', '/home/pi/Desktop/images/09042025/03/17/image_09042025_03_17_25_10414.jpg', '/home/pi/Desktop/images/09042025/03/17/image_09042025_03_18_05_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_24_10371.jpg
/home/pi/Desktop/images/09042025/03/16/image_09042025_03_16_44_9451.jpg
/home/pi/Desktop/images/09042025/03/16/image_09042025_03_17_04_9431.jpg
/home/pi/Desktop/images/09042025/03/17/image_09042025_03_17_14_10377.jpg
/home/pi/Desktop/images/09042025/03/17/image_09042025_03_17_25_10414.jpg
/home/pi/Desktop/images/09042025/03/17/image_09042025_03_18_05_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":["1350680559","1350680567","1350680549","1350680563","1350680551","1350680554"],"photo_ids_order":["1350680549","1350680551","1350680554","1350680559","1350680563","1350680567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5c9937ff2e288570b0ac870b7dca23b.jpg","text":"TemporaryFile(/tmp/multipartBody8594792994602721117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173703007,"filename":"image_09042025_03_17_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/4/9/922d865610064e1dbfe0571d2de0bd46.jpg","text":"TemporaryFile(/tmp/multipartBody1656250239292020173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173703007,"filename":"image_09042025_03_18_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/4/9/f55298ce4ada884474bccd7aa2427b06.jpg","text":"TemporaryFile(/tmp/multipartBody1660078950825901435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173703007,"filename":"image_09042025_03_16_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/4/9/76d94b1ebe78371256d6660551be7b14.jpg","text":"TemporaryFile(/tmp/multipartBody3254651035525567175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173703007,"filename":"image_09042025_03_17_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/4/9/ea6c4cbc79469a4ffdb6c7fc2dc65478.jpg","text":"TemporaryFile(/tmp/multipartBody6701859652259537940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173703007,"filename":"image_09042025_03_16_44_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/46e2d88437d808a970ddbf9e31c4988b.jpg","text":"TemporaryFile(/tmp/multipartBody6948402627049695852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173703007,"filename":"image_09042025_03_17_04_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680554","file1":"1350680551","file0":"1350680549","file4":"1350680563","file5":"1350680567","file3":"1350680559"},"map_files_photo_id_array":[{"photo_id":"1350680567","filename":"file5"},{"photo_id":"1350680554","filename":"file2"},{"photo_id":"1350680563","filename":"file4"},{"photo_id":"1350680551","filename":"file1"},{"photo_id":"1350680549","filename":"file0"},{"photo_id":"1350680559","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680559":["hashtag1","hashtag2"]},{"1350680567":["hashtag1","hashtag2"]},{"1350680549":["hashtag1","hashtag2"]},{"1350680563":["hashtag1","hashtag2"]},{"1350680551":["hashtag1","hashtag2"]},{"1350680554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680559, 1350680567, 1350680549, 1350680563, 1350680551, 1350680554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22543430328369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:41:32.769534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/18/image_09042025_03_18_15_10366.jpg', '/home/pi/Desktop/images/09042025/03/18/image_09042025_03_18_24_9455.jpg', '/home/pi/Desktop/images/09042025/03/18/image_09042025_03_18_55_10435.jpg', '/home/pi/Desktop/images/09042025/03/18/image_09042025_03_19_04_9496.jpg', '/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_14_10372.jpg', '/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/18/image_09042025_03_18_15_10366.jpg
/home/pi/Desktop/images/09042025/03/18/image_09042025_03_18_24_9455.jpg
/home/pi/Desktop/images/09042025/03/18/image_09042025_03_18_55_10435.jpg
/home/pi/Desktop/images/09042025/03/18/image_09042025_03_19_04_9496.jpg
/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_14_10372.jpg
/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_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":["1350680585","1350680579","1350680581","1350680584","1350680583","1350680577"],"photo_ids_order":["1350680577","1350680579","1350680581","1350680583","1350680584","1350680585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ed23eab5930806055be1017da237e73.jpg","text":"TemporaryFile(/tmp/multipartBody3690213607716783695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173753247,"filename":"image_09042025_03_19_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/4/9/5704acc9faadb888fdebb481b2882228.jpg","text":"TemporaryFile(/tmp/multipartBody7566109761413779719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173753247,"filename":"image_09042025_03_18_24_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7233ecf640085351c624477eb90c63d.jpg","text":"TemporaryFile(/tmp/multipartBody8275625686849863845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173753247,"filename":"image_09042025_03_18_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/4/9/d4c34cea5b17ca4741796f2054a43c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7030541326230185588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173753247,"filename":"image_09042025_03_19_14_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d8b7876dfc214109dc847492b646c62.jpg","text":"TemporaryFile(/tmp/multipartBody3948957954777612813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173753247,"filename":"image_09042025_03_19_04_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06dc181c0f47223c0294064729caaf70.jpg","text":"TemporaryFile(/tmp/multipartBody7758442099497152240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173753247,"filename":"image_09042025_03_18_15_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680581","file1":"1350680579","file0":"1350680577","file4":"1350680584","file5":"1350680585","file3":"1350680583"},"map_files_photo_id_array":[{"photo_id":"1350680585","filename":"file5"},{"photo_id":"1350680581","filename":"file2"},{"photo_id":"1350680584","filename":"file4"},{"photo_id":"1350680579","filename":"file1"},{"photo_id":"1350680577","filename":"file0"},{"photo_id":"1350680583","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680585":["hashtag1","hashtag2"]},{"1350680579":["hashtag1","hashtag2"]},{"1350680581":["hashtag1","hashtag2"]},{"1350680584":["hashtag1","hashtag2"]},{"1350680583":["hashtag1","hashtag2"]},{"1350680577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680585, 1350680579, 1350680581, 1350680584, 1350680583, 1350680577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.217310428619385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:42:33.088521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_34_9351.jpg', '/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_45_10417.jpg', '/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_54_9416.jpg', '/home/pi/Desktop/images/09042025/03/19/image_09042025_03_20_04_10364.jpg', '/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_15_10364.jpg', '/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_24_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_34_9351.jpg
/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_45_10417.jpg
/home/pi/Desktop/images/09042025/03/19/image_09042025_03_19_54_9416.jpg
/home/pi/Desktop/images/09042025/03/19/image_09042025_03_20_04_10364.jpg
/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_15_10364.jpg
/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_24_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":["1350680601","1350680604","1350680612","1350680615","1350680606","1350680608"],"photo_ids_order":["1350680601","1350680604","1350680606","1350680608","1350680612","1350680615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99b4290e9fac86852c389f4e5bf86bc3.jpg","text":"TemporaryFile(/tmp/multipartBody5762263252398462363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173813573,"filename":"image_09042025_03_19_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/4/9/1c16e7c859d939dbf5e2cab43be1bcec.jpg","text":"TemporaryFile(/tmp/multipartBody7190870330564776189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173813573,"filename":"image_09042025_03_19_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/4/9/e082c0a01eef89a451938e75260b1ae4.jpg","text":"TemporaryFile(/tmp/multipartBody532073645308076032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173813573,"filename":"image_09042025_03_20_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31b58a8e566f0d19c5e8e2700340338e.jpg","text":"TemporaryFile(/tmp/multipartBody303939002272660257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173813573,"filename":"image_09042025_03_20_24_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/938593d6caa25746f0291cf6a598aa2c.jpg","text":"TemporaryFile(/tmp/multipartBody8758119331289441381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173813573,"filename":"image_09042025_03_19_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a43e00a4b489d0ee3b3f8f82ded4f440.jpg","text":"TemporaryFile(/tmp/multipartBody6796487839964826584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173813573,"filename":"image_09042025_03_20_04_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680606","file1":"1350680604","file0":"1350680601","file4":"1350680612","file5":"1350680615","file3":"1350680608"},"map_files_photo_id_array":[{"photo_id":"1350680615","filename":"file5"},{"photo_id":"1350680606","filename":"file2"},{"photo_id":"1350680612","filename":"file4"},{"photo_id":"1350680604","filename":"file1"},{"photo_id":"1350680601","filename":"file0"},{"photo_id":"1350680608","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680601":["hashtag1","hashtag2"]},{"1350680604":["hashtag1","hashtag2"]},{"1350680612":["hashtag1","hashtag2"]},{"1350680615":["hashtag1","hashtag2"]},{"1350680606":["hashtag1","hashtag2"]},{"1350680608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680601, 1350680604, 1350680612, 1350680615, 1350680606, 1350680608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2123703956604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:43:32.483621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_35_10391.jpg', '/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_44_9411.jpg', '/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_54_10367.jpg', '/home/pi/Desktop/images/09042025/03/20/image_09042025_03_21_05_10354.jpg', '/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_14_9366.jpg', '/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_24_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_35_10391.jpg
/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_44_9411.jpg
/home/pi/Desktop/images/09042025/03/20/image_09042025_03_20_54_10367.jpg
/home/pi/Desktop/images/09042025/03/20/image_09042025_03_21_05_10354.jpg
/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_14_9366.jpg
/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_24_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":["1350680637","1350680631","1350680639","1350680627","1350680641","1350680640"],"photo_ids_order":["1350680627","1350680631","1350680637","1350680639","1350680640","1350680641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/519217ab97f4b5cacec94def5be20231.jpg","text":"TemporaryFile(/tmp/multipartBody6530587793023675837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173872941,"filename":"image_09042025_03_20_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/4/9/a64776b596cc146908cac3f6e1d3e376.jpg","text":"TemporaryFile(/tmp/multipartBody2851176682965643512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173872941,"filename":"image_09042025_03_20_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/4/9/9bdfad8a061fdb9c3b78818e6e727758.jpg","text":"TemporaryFile(/tmp/multipartBody6757374659957485575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173872941,"filename":"image_09042025_03_21_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/4/9/b8a751216e8703f5c72b4cba105f2351.jpg","text":"TemporaryFile(/tmp/multipartBody4140085278504238461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173872941,"filename":"image_09042025_03_20_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/4/9/2e4fe7c9d825136021f83f033fb54563.jpg","text":"TemporaryFile(/tmp/multipartBody8455038144558876712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173872941,"filename":"image_09042025_03_21_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/4/9/a250303fa3b3c320b39bedaff848e6ed.jpg","text":"TemporaryFile(/tmp/multipartBody9180696540411726263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173872941,"filename":"image_09042025_03_21_14_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680637","file1":"1350680631","file0":"1350680627","file4":"1350680640","file5":"1350680641","file3":"1350680639"},"map_files_photo_id_array":[{"photo_id":"1350680641","filename":"file5"},{"photo_id":"1350680637","filename":"file2"},{"photo_id":"1350680640","filename":"file4"},{"photo_id":"1350680631","filename":"file1"},{"photo_id":"1350680627","filename":"file0"},{"photo_id":"1350680639","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680637":["hashtag1","hashtag2"]},{"1350680631":["hashtag1","hashtag2"]},{"1350680639":["hashtag1","hashtag2"]},{"1350680627":["hashtag1","hashtag2"]},{"1350680641":["hashtag1","hashtag2"]},{"1350680640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680637, 1350680631, 1350680639, 1350680627, 1350680641, 1350680640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.89940094947815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:44:32.652379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_35_10354.jpg', '/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_44_9344.jpg', '/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_55_10377.jpg', '/home/pi/Desktop/images/09042025/03/21/image_09042025_03_22_05_10349.jpg', '/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_14_9343.jpg', '/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_25_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_35_10354.jpg
/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_44_9344.jpg
/home/pi/Desktop/images/09042025/03/21/image_09042025_03_21_55_10377.jpg
/home/pi/Desktop/images/09042025/03/21/image_09042025_03_22_05_10349.jpg
/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_14_9343.jpg
/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_25_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680663","1350680669","1350680662","1350680665","1350680667","1350680661"],"photo_ids_order":["1350680661","1350680662","1350680663","1350680665","1350680667","1350680669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed46b88956a1d4dc8d675cfe01845047.jpg","text":"TemporaryFile(/tmp/multipartBody6026640417209006675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173933128,"filename":"image_09042025_03_21_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/4/9/ee7e3ad0dd2f5609bf1a1e4df5452320.jpg","text":"TemporaryFile(/tmp/multipartBody1700655088873595720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173933128,"filename":"image_09042025_03_22_25_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/256c0748dcb3225f9fb785b6db8e8f05.jpg","text":"TemporaryFile(/tmp/multipartBody8850280352503356824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173933128,"filename":"image_09042025_03_21_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/4/9/64de949cbeb08d7c4ecf39b61062d401.jpg","text":"TemporaryFile(/tmp/multipartBody2271844220581831218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173933128,"filename":"image_09042025_03_22_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af22f7bf792e6c723a6926a3d11deb39.jpg","text":"TemporaryFile(/tmp/multipartBody4870025497578151501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173933128,"filename":"image_09042025_03_22_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b95b6f7c2da08ecda224ca1ffbc6b55e.jpg","text":"TemporaryFile(/tmp/multipartBody4612137179720822235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173933128,"filename":"image_09042025_03_21_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680663","file1":"1350680662","file0":"1350680661","file4":"1350680667","file5":"1350680669","file3":"1350680665"},"map_files_photo_id_array":[{"photo_id":"1350680669","filename":"file5"},{"photo_id":"1350680663","filename":"file2"},{"photo_id":"1350680667","filename":"file4"},{"photo_id":"1350680662","filename":"file1"},{"photo_id":"1350680661","filename":"file0"},{"photo_id":"1350680665","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680663":["hashtag1","hashtag2"]},{"1350680669":["hashtag1","hashtag2"]},{"1350680662":["hashtag1","hashtag2"]},{"1350680665":["hashtag1","hashtag2"]},{"1350680667":["hashtag1","hashtag2"]},{"1350680661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680663, 1350680669, 1350680662, 1350680665, 1350680667, 1350680661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.51502513885498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:45:32.773777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_34_9457.jpg', '/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_45_10389.jpg', '/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_54_9459.jpg', '/home/pi/Desktop/images/09042025/03/22/image_09042025_03_23_04_10357.jpg', '/home/pi/Desktop/images/09042025/03/23/image_09042025_03_23_15_10370.jpg', '/home/pi/Desktop/images/09042025/03/23/image_09042025_03_23_35_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_34_9457.jpg
/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_45_10389.jpg
/home/pi/Desktop/images/09042025/03/22/image_09042025_03_22_54_9459.jpg
/home/pi/Desktop/images/09042025/03/22/image_09042025_03_23_04_10357.jpg
/home/pi/Desktop/images/09042025/03/23/image_09042025_03_23_15_10370.jpg
/home/pi/Desktop/images/09042025/03/23/image_09042025_03_23_35_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":["1350680693","1350680696","1350680695","1350680689","1350680691","1350680694"],"photo_ids_order":["1350680689","1350680691","1350680693","1350680694","1350680695","1350680696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ea6c761dcce5a719de7a51aa439a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody6685898790133836782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173993244,"filename":"image_09042025_03_22_54_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/656969aec4ebb020167735e130a36ced.jpg","text":"TemporaryFile(/tmp/multipartBody6725781591429440278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173993244,"filename":"image_09042025_03_23_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/4/9/fc89c5b3e73fbe6041309586b3087f9f.jpg","text":"TemporaryFile(/tmp/multipartBody5364246398641985703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173993244,"filename":"image_09042025_03_23_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/4/9/5e6f3f5e6a685109acd8faa54410c67a.jpg","text":"TemporaryFile(/tmp/multipartBody8596839127562862374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173993244,"filename":"image_09042025_03_22_34_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c49c51e68700594b4ba30bdd3d93ea3.jpg","text":"TemporaryFile(/tmp/multipartBody2259097370005961468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173993244,"filename":"image_09042025_03_22_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/4/9/e8b3a6302b64a3fd2f7bd893ec43eb56.jpg","text":"TemporaryFile(/tmp/multipartBody995444170887860297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744173993244,"filename":"image_09042025_03_23_04_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680693","file1":"1350680691","file0":"1350680689","file4":"1350680695","file5":"1350680696","file3":"1350680694"},"map_files_photo_id_array":[{"photo_id":"1350680696","filename":"file5"},{"photo_id":"1350680693","filename":"file2"},{"photo_id":"1350680695","filename":"file4"},{"photo_id":"1350680691","filename":"file1"},{"photo_id":"1350680689","filename":"file0"},{"photo_id":"1350680694","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680693":["hashtag1","hashtag2"]},{"1350680696":["hashtag1","hashtag2"]},{"1350680695":["hashtag1","hashtag2"]},{"1350680689":["hashtag1","hashtag2"]},{"1350680691":["hashtag1","hashtag2"]},{"1350680694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680693, 1350680696, 1350680695, 1350680689, 1350680691, 1350680694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78698015213013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:46:33.176182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/23/image_09042025_03_23_44_9477.jpg', '/home/pi/Desktop/images/09042025/03/24/image_09042025_03_24_44_10365.jpg', '/home/pi/Desktop/images/09042025/03/24/image_09042025_03_24_55_10368.jpg', '/home/pi/Desktop/images/09042025/03/24/image_09042025_03_25_04_9412.jpg', '/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_15_10419.jpg', '/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_24_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/23/image_09042025_03_23_44_9477.jpg
/home/pi/Desktop/images/09042025/03/24/image_09042025_03_24_44_10365.jpg
/home/pi/Desktop/images/09042025/03/24/image_09042025_03_24_55_10368.jpg
/home/pi/Desktop/images/09042025/03/24/image_09042025_03_25_04_9412.jpg
/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_15_10419.jpg
/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_24_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680715","1350680718","1350680711","1350680708","1350680719","1350680713"],"photo_ids_order":["1350680708","1350680711","1350680713","1350680715","1350680718","1350680719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/681a234ba65f79d3b407eb63b365128c.jpg","text":"TemporaryFile(/tmp/multipartBody2930754685813147950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174053641,"filename":"image_09042025_03_25_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/4/9/f1e0d9be699dfd3adecaced8607a1342.jpg","text":"TemporaryFile(/tmp/multipartBody7291038181364284210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174053641,"filename":"image_09042025_03_25_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/4/9/67090a51c0ad39c5e90dbe7f85e9265c.jpg","text":"TemporaryFile(/tmp/multipartBody105695211810037839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174053641,"filename":"image_09042025_03_24_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/4/9/61342a9a96ef666b38f0a8d71a128b34.jpg","text":"TemporaryFile(/tmp/multipartBody6852201347863902417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174053641,"filename":"image_09042025_03_23_44_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b21e892c97184c061541f020f1d48136.jpg","text":"TemporaryFile(/tmp/multipartBody5747041983015492570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174053641,"filename":"image_09042025_03_25_24_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81ea405a66931b118955d8cb0ab75515.jpg","text":"TemporaryFile(/tmp/multipartBody8772311758643388236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174053641,"filename":"image_09042025_03_24_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680713","file1":"1350680711","file0":"1350680708","file4":"1350680718","file5":"1350680719","file3":"1350680715"},"map_files_photo_id_array":[{"photo_id":"1350680719","filename":"file5"},{"photo_id":"1350680713","filename":"file2"},{"photo_id":"1350680718","filename":"file4"},{"photo_id":"1350680711","filename":"file1"},{"photo_id":"1350680708","filename":"file0"},{"photo_id":"1350680715","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680715":["hashtag1","hashtag2"]},{"1350680718":["hashtag1","hashtag2"]},{"1350680711":["hashtag1","hashtag2"]},{"1350680708":["hashtag1","hashtag2"]},{"1350680719":["hashtag1","hashtag2"]},{"1350680713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680715, 1350680718, 1350680711, 1350680708, 1350680719, 1350680713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27817106246948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:47:32.426826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_34_10361.jpg', '/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_45_10448.jpg', '/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_54_9445.jpg', '/home/pi/Desktop/images/09042025/03/25/image_09042025_03_26_05_10375.jpg', '/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_14_9353.jpg', '/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_24_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_34_10361.jpg
/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_45_10448.jpg
/home/pi/Desktop/images/09042025/03/25/image_09042025_03_25_54_9445.jpg
/home/pi/Desktop/images/09042025/03/25/image_09042025_03_26_05_10375.jpg
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_14_9353.jpg
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_24_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":["1350680742","1350680736","1350680738","1350680740","1350680743","1350680745"],"photo_ids_order":["1350680736","1350680738","1350680740","1350680742","1350680743","1350680745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/def39be67be3c6de64525e93c0e3109b.jpg","text":"TemporaryFile(/tmp/multipartBody6138500525579088938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174112889,"filename":"image_09042025_03_26_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7dc765f2f4d9f5ab832199a0f32ab499.jpg","text":"TemporaryFile(/tmp/multipartBody5013560724813872754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174112889,"filename":"image_09042025_03_25_34_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99d87a055924dd31b359f0db755879cf.jpg","text":"TemporaryFile(/tmp/multipartBody8742939830047755672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174112889,"filename":"image_09042025_03_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/4/9/599160861a11a7a4287a2c5879a1f91d.jpg","text":"TemporaryFile(/tmp/multipartBody6853023301210633860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174112889,"filename":"image_09042025_03_25_54_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04779439b64d5a3d2733067b9952c43f.jpg","text":"TemporaryFile(/tmp/multipartBody5428441201881711452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174112889,"filename":"image_09042025_03_26_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/4/9/1d89965ff98fb1937c564c283187f6be.jpg","text":"TemporaryFile(/tmp/multipartBody4939192418421755579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174112889,"filename":"image_09042025_03_26_24_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680740","file1":"1350680738","file0":"1350680736","file4":"1350680743","file5":"1350680745","file3":"1350680742"},"map_files_photo_id_array":[{"photo_id":"1350680745","filename":"file5"},{"photo_id":"1350680740","filename":"file2"},{"photo_id":"1350680743","filename":"file4"},{"photo_id":"1350680738","filename":"file1"},{"photo_id":"1350680736","filename":"file0"},{"photo_id":"1350680742","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680742":["hashtag1","hashtag2"]},{"1350680736":["hashtag1","hashtag2"]},{"1350680738":["hashtag1","hashtag2"]},{"1350680740":["hashtag1","hashtag2"]},{"1350680743":["hashtag1","hashtag2"]},{"1350680745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680742, 1350680736, 1350680738, 1350680740, 1350680743, 1350680745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.829380750656128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:48:33.211272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_35_10405.jpg', '/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_44_9348.jpg', '/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_55_10363.jpg', '/home/pi/Desktop/images/09042025/03/26/image_09042025_03_27_05_10383.jpg', '/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_14_9408.jpg', '/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_35_10405.jpg
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_44_9348.jpg
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_55_10363.jpg
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_27_05_10383.jpg
/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_14_9408.jpg
/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_25_10375.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39301061630249023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 06:48:42.664706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_35_10405.jpg', '/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_44_9348.jpg', '/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_55_10363.jpg', '/home/pi/Desktop/images/09042025/03/26/image_09042025_03_27_05_10383.jpg', '/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_14_9408.jpg', '/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_35_10405.jpg
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_44_9348.jpg
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_26_55_10363.jpg
/home/pi/Desktop/images/09042025/03/26/image_09042025_03_27_05_10383.jpg
/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_14_9408.jpg
/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_25_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":["1350680780","1350680770","1350680773","1350680767","1350680763","1350680775"],"photo_ids_order":["1350680763","1350680767","1350680770","1350680773","1350680775","1350680780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d3b601cea8bbb63a2ca5d64560b3222.jpg","text":"TemporaryFile(/tmp/multipartBody1408530679542215291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174183136,"filename":"image_09042025_03_27_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/4/9/ddfb9af57ea354f159349f9098aabeaa.jpg","text":"TemporaryFile(/tmp/multipartBody1319325662064362969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174183136,"filename":"image_09042025_03_26_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/4/9/e9e0e8dd0222b807870f88d2f1fc710f.jpg","text":"TemporaryFile(/tmp/multipartBody7438494253383311503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174183136,"filename":"image_09042025_03_27_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/4/9/b608babbd90adc9f5dde40c8f5be90da.jpg","text":"TemporaryFile(/tmp/multipartBody8203455134334049620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174183136,"filename":"image_09042025_03_26_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/4/9/255b2863e81ecf685b82766469229cc5.jpg","text":"TemporaryFile(/tmp/multipartBody3160660017095184408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174183136,"filename":"image_09042025_03_26_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/4/9/e9e2e6d58ee449d038cf83c60a244f81.jpg","text":"TemporaryFile(/tmp/multipartBody7603409962118481570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174183136,"filename":"image_09042025_03_27_14_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680770","file1":"1350680767","file0":"1350680763","file4":"1350680775","file5":"1350680780","file3":"1350680773"},"map_files_photo_id_array":[{"photo_id":"1350680780","filename":"file5"},{"photo_id":"1350680770","filename":"file2"},{"photo_id":"1350680775","filename":"file4"},{"photo_id":"1350680767","filename":"file1"},{"photo_id":"1350680763","filename":"file0"},{"photo_id":"1350680773","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680780":["hashtag1","hashtag2"]},{"1350680770":["hashtag1","hashtag2"]},{"1350680773":["hashtag1","hashtag2"]},{"1350680767":["hashtag1","hashtag2"]},{"1350680763":["hashtag1","hashtag2"]},{"1350680775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680780, 1350680770, 1350680773, 1350680767, 1350680763, 1350680775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.229681968688965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:49:33.078894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_34_9361.jpg', '/home/pi/Desktop/images/09042025/03/27/image_09042025_03_28_04_9430.jpg', '/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_15_10353.jpg', '/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_24_9399.jpg', '/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_34_10359.jpg', '/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_45_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/27/image_09042025_03_27_34_9361.jpg
/home/pi/Desktop/images/09042025/03/27/image_09042025_03_28_04_9430.jpg
/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_15_10353.jpg
/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_24_9399.jpg
/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_34_10359.jpg
/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_45_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680792","1350680798","1350680801","1350680794","1350680796","1350680800"],"photo_ids_order":["1350680792","1350680794","1350680796","1350680798","1350680800","1350680801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db71a85dd4abb79aed782af3d035e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody6231788766298125634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174233567,"filename":"image_09042025_03_27_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/4/9/4d782674fff8f282b596be75df0e1722.jpg","text":"TemporaryFile(/tmp/multipartBody3512983852353463405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174233567,"filename":"image_09042025_03_28_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2bc3815d29c05593bdcdac86b98714c2.jpg","text":"TemporaryFile(/tmp/multipartBody5672429705717476695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174233567,"filename":"image_09042025_03_28_45_10587.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19bb27b106e3b89db7bed279eb1bde8d.jpg","text":"TemporaryFile(/tmp/multipartBody7444686039279477450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174233567,"filename":"image_09042025_03_28_04_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75ab071f7ca04898b8d73095a60a8d14.jpg","text":"TemporaryFile(/tmp/multipartBody5549083794823873318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174233567,"filename":"image_09042025_03_28_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d25e2ef11c0409f0cba2290da1a8c4d0.jpg","text":"TemporaryFile(/tmp/multipartBody5967488421823026484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174233567,"filename":"image_09042025_03_28_34_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680796","file1":"1350680794","file0":"1350680792","file4":"1350680800","file5":"1350680801","file3":"1350680798"},"map_files_photo_id_array":[{"photo_id":"1350680801","filename":"file5"},{"photo_id":"1350680796","filename":"file2"},{"photo_id":"1350680800","filename":"file4"},{"photo_id":"1350680794","filename":"file1"},{"photo_id":"1350680792","filename":"file0"},{"photo_id":"1350680798","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680792":["hashtag1","hashtag2"]},{"1350680798":["hashtag1","hashtag2"]},{"1350680801":["hashtag1","hashtag2"]},{"1350680794":["hashtag1","hashtag2"]},{"1350680796":["hashtag1","hashtag2"]},{"1350680800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680792, 1350680798, 1350680801, 1350680794, 1350680796, 1350680800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.43311619758606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:50:33.071959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_54_9376.jpg', '/home/pi/Desktop/images/09042025/03/28/image_09042025_03_29_05_10361.jpg', '/home/pi/Desktop/images/09042025/03/29/image_09042025_03_29_24_10362.jpg', '/home/pi/Desktop/images/09042025/03/29/image_09042025_03_29_44_9361.jpg', '/home/pi/Desktop/images/09042025/03/29/image_09042025_03_29_55_10371.jpg', '/home/pi/Desktop/images/09042025/03/29/image_09042025_03_30_04_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/28/image_09042025_03_28_54_9376.jpg
/home/pi/Desktop/images/09042025/03/28/image_09042025_03_29_05_10361.jpg
/home/pi/Desktop/images/09042025/03/29/image_09042025_03_29_24_10362.jpg
/home/pi/Desktop/images/09042025/03/29/image_09042025_03_29_44_9361.jpg
/home/pi/Desktop/images/09042025/03/29/image_09042025_03_29_55_10371.jpg
/home/pi/Desktop/images/09042025/03/29/image_09042025_03_30_04_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":["1350680829","1350680820","1350680823","1350680825","1350680830","1350680827"],"photo_ids_order":["1350680820","1350680823","1350680825","1350680827","1350680829","1350680830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/050f38596d80b026829bc55e6339942d.jpg","text":"TemporaryFile(/tmp/multipartBody8195751456330833527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174293543,"filename":"image_09042025_03_29_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/4/9/0287deba3d5b33cddb495cfd3e8aaf3b.jpg","text":"TemporaryFile(/tmp/multipartBody1591023968850794277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174293543,"filename":"image_09042025_03_28_54_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69f3caf28e6d9471651e58c46a5de9df.jpg","text":"TemporaryFile(/tmp/multipartBody5459770298125588622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174293543,"filename":"image_09042025_03_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/4/9/e728e14ace8637eed07be194ed60aad4.jpg","text":"TemporaryFile(/tmp/multipartBody1753285260142163549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174293543,"filename":"image_09042025_03_29_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/4/9/8a15f57832452e7ef87cfc0e3e6ab837.jpg","text":"TemporaryFile(/tmp/multipartBody5014817312588424065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174293543,"filename":"image_09042025_03_30_04_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d7f96e053a74eb3a2ab21342ebc3ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6974306126796881815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174293543,"filename":"image_09042025_03_29_44_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680825","file1":"1350680823","file0":"1350680820","file4":"1350680829","file5":"1350680830","file3":"1350680827"},"map_files_photo_id_array":[{"photo_id":"1350680830","filename":"file5"},{"photo_id":"1350680825","filename":"file2"},{"photo_id":"1350680829","filename":"file4"},{"photo_id":"1350680823","filename":"file1"},{"photo_id":"1350680820","filename":"file0"},{"photo_id":"1350680827","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680829":["hashtag1","hashtag2"]},{"1350680820":["hashtag1","hashtag2"]},{"1350680823":["hashtag1","hashtag2"]},{"1350680825":["hashtag1","hashtag2"]},{"1350680830":["hashtag1","hashtag2"]},{"1350680827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680829, 1350680820, 1350680823, 1350680825, 1350680830, 1350680827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.585471868515015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:51:32.306973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/30/image_09042025_03_30_14_10379.jpg', '/home/pi/Desktop/images/09042025/03/30/image_09042025_03_30_45_10365.jpg', '/home/pi/Desktop/images/09042025/03/30/image_09042025_03_30_55_10368.jpg', '/home/pi/Desktop/images/09042025/03/30/image_09042025_03_31_04_9418.jpg', '/home/pi/Desktop/images/09042025/03/31/image_09042025_03_31_35_10377.jpg', '/home/pi/Desktop/images/09042025/03/31/image_09042025_03_31_44_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/30/image_09042025_03_30_14_10379.jpg
/home/pi/Desktop/images/09042025/03/30/image_09042025_03_30_45_10365.jpg
/home/pi/Desktop/images/09042025/03/30/image_09042025_03_30_55_10368.jpg
/home/pi/Desktop/images/09042025/03/30/image_09042025_03_31_04_9418.jpg
/home/pi/Desktop/images/09042025/03/31/image_09042025_03_31_35_10377.jpg
/home/pi/Desktop/images/09042025/03/31/image_09042025_03_31_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":["1350680856","1350680855","1350680849","1350680851","1350680853","1350680847"],"photo_ids_order":["1350680847","1350680849","1350680851","1350680853","1350680855","1350680856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/92941353e4079d28d977a5b111ff9d33.jpg","text":"TemporaryFile(/tmp/multipartBody4950800875267902796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174352765,"filename":"image_09042025_03_31_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/4/9/019094a6c981e60316aed8eb7257ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody5993848195160636282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174352765,"filename":"image_09042025_03_31_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/4/9/b04cc918307ffcb83f120c81bdd576e7.jpg","text":"TemporaryFile(/tmp/multipartBody3789903263644009905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174352765,"filename":"image_09042025_03_30_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/4/9/60447ac2f00dd7624556494c28ebe452.jpg","text":"TemporaryFile(/tmp/multipartBody6293648329734233583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174352765,"filename":"image_09042025_03_30_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/4/9/afbc8fa46b9127ed274870f0fbdd77c2.jpg","text":"TemporaryFile(/tmp/multipartBody7110737421155065318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174352765,"filename":"image_09042025_03_31_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/20131216aca25ed549974def1d21068a.jpg","text":"TemporaryFile(/tmp/multipartBody3782189692350804673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174352765,"filename":"image_09042025_03_30_14_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680851","file1":"1350680849","file0":"1350680847","file4":"1350680855","file5":"1350680856","file3":"1350680853"},"map_files_photo_id_array":[{"photo_id":"1350680856","filename":"file5"},{"photo_id":"1350680851","filename":"file2"},{"photo_id":"1350680855","filename":"file4"},{"photo_id":"1350680849","filename":"file1"},{"photo_id":"1350680847","filename":"file0"},{"photo_id":"1350680853","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680856":["hashtag1","hashtag2"]},{"1350680855":["hashtag1","hashtag2"]},{"1350680849":["hashtag1","hashtag2"]},{"1350680851":["hashtag1","hashtag2"]},{"1350680853":["hashtag1","hashtag2"]},{"1350680847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680856, 1350680855, 1350680849, 1350680851, 1350680853, 1350680847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40788960456848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:52:32.533061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/32/image_09042025_03_33_04_9428.jpg', '/home/pi/Desktop/images/09042025/03/33/image_09042025_03_33_14_10360.jpg', '/home/pi/Desktop/images/09042025/03/33/image_09042025_03_33_45_10373.jpg', '/home/pi/Desktop/images/09042025/03/33/image_09042025_03_33_55_10362.jpg', '/home/pi/Desktop/images/09042025/03/34/image_09042025_03_34_15_10407.jpg', '/home/pi/Desktop/images/09042025/03/34/image_09042025_03_34_24_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/32/image_09042025_03_33_04_9428.jpg
/home/pi/Desktop/images/09042025/03/33/image_09042025_03_33_14_10360.jpg
/home/pi/Desktop/images/09042025/03/33/image_09042025_03_33_45_10373.jpg
/home/pi/Desktop/images/09042025/03/33/image_09042025_03_33_55_10362.jpg
/home/pi/Desktop/images/09042025/03/34/image_09042025_03_34_15_10407.jpg
/home/pi/Desktop/images/09042025/03/34/image_09042025_03_34_24_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":["1350680885","1350680876","1350680879","1350680881","1350680883","1350680874"],"photo_ids_order":["1350680874","1350680876","1350680879","1350680881","1350680883","1350680885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d167803f8c865c1d3e46b98d8d9aef49.jpg","text":"TemporaryFile(/tmp/multipartBody1523131154031677065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174413013,"filename":"image_09042025_03_34_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/4/9/2b7800e42ff002eea3caf3933b0d7baa.jpg","text":"TemporaryFile(/tmp/multipartBody7594028564364331220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174413013,"filename":"image_09042025_03_33_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/4/9/d0e60d3202b3ea127acb622b0508e761.jpg","text":"TemporaryFile(/tmp/multipartBody9162850314522800574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174413013,"filename":"image_09042025_03_33_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/4/9/3ddb83074a5588f3ef3a04d4ebbc8b81.jpg","text":"TemporaryFile(/tmp/multipartBody5588842653780441654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174413013,"filename":"image_09042025_03_33_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/4/9/f4c25dacb646187cf92845b5fea7e6a1.jpg","text":"TemporaryFile(/tmp/multipartBody670629792252220988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174413013,"filename":"image_09042025_03_34_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/4/9/0d9384fb7e97228e0f530cfd3d13845b.jpg","text":"TemporaryFile(/tmp/multipartBody2701006282523950450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174413013,"filename":"image_09042025_03_33_04_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680879","file1":"1350680876","file0":"1350680874","file4":"1350680883","file5":"1350680885","file3":"1350680881"},"map_files_photo_id_array":[{"photo_id":"1350680885","filename":"file5"},{"photo_id":"1350680879","filename":"file2"},{"photo_id":"1350680883","filename":"file4"},{"photo_id":"1350680876","filename":"file1"},{"photo_id":"1350680874","filename":"file0"},{"photo_id":"1350680881","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680885":["hashtag1","hashtag2"]},{"1350680876":["hashtag1","hashtag2"]},{"1350680879":["hashtag1","hashtag2"]},{"1350680881":["hashtag1","hashtag2"]},{"1350680883":["hashtag1","hashtag2"]},{"1350680874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680885, 1350680876, 1350680879, 1350680881, 1350680883, 1350680874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.587427854537964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:53:32.787182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/34/image_09042025_03_34_45_10356.jpg', '/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_14_9445.jpg', '/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_24_10364.jpg', '/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_35_10356.jpg', '/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_44_9354.jpg', '/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_55_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/34/image_09042025_03_34_45_10356.jpg
/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_14_9445.jpg
/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_24_10364.jpg
/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_35_10356.jpg
/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_44_9354.jpg
/home/pi/Desktop/images/09042025/03/35/image_09042025_03_35_55_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":["1350680913","1350680907","1350680918","1350680915","1350680917","1350680911"],"photo_ids_order":["1350680907","1350680911","1350680913","1350680915","1350680917","1350680918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cabb082ff3fe67c23eb7d3b05c47063b.jpg","text":"TemporaryFile(/tmp/multipartBody1197339558207991525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174473254,"filename":"image_09042025_03_35_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/4/9/14b55ef4f9041c2ba64168a2f56d6c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5701306798554548195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174473254,"filename":"image_09042025_03_34_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/4/9/898ad011df8536ec594b8f2c2b4faca1.jpg","text":"TemporaryFile(/tmp/multipartBody7981503700899329692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174473254,"filename":"image_09042025_03_35_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/4/9/b93464498986778bc1f3a8c6629574a2.jpg","text":"TemporaryFile(/tmp/multipartBody4578828696154492827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174473254,"filename":"image_09042025_03_35_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c85f6350144d8a6ace88095f51bd0381.jpg","text":"TemporaryFile(/tmp/multipartBody7384685057620139430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174473254,"filename":"image_09042025_03_35_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/4/9/16176aedfb6ab4ed868e3661dd890366.jpg","text":"TemporaryFile(/tmp/multipartBody1659992031035821423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174473254,"filename":"image_09042025_03_35_14_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680913","file1":"1350680911","file0":"1350680907","file4":"1350680917","file5":"1350680918","file3":"1350680915"},"map_files_photo_id_array":[{"photo_id":"1350680918","filename":"file5"},{"photo_id":"1350680913","filename":"file2"},{"photo_id":"1350680917","filename":"file4"},{"photo_id":"1350680911","filename":"file1"},{"photo_id":"1350680907","filename":"file0"},{"photo_id":"1350680915","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680913":["hashtag1","hashtag2"]},{"1350680907":["hashtag1","hashtag2"]},{"1350680918":["hashtag1","hashtag2"]},{"1350680915":["hashtag1","hashtag2"]},{"1350680917":["hashtag1","hashtag2"]},{"1350680911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680913, 1350680907, 1350680918, 1350680915, 1350680917, 1350680911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.774343967437744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:54:33.407263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/35/image_09042025_03_36_05_10377.jpg', '/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_14_9433.jpg', '/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_25_10380.jpg', '/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_34_9357.jpg', '/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_45_10408.jpg', '/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/35/image_09042025_03_36_05_10377.jpg
/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_14_9433.jpg
/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_25_10380.jpg
/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_34_9357.jpg
/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_45_10408.jpg
/home/pi/Desktop/images/09042025/03/36/image_09042025_03_36_55_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680934","1350680937","1350680936","1350680939","1350680935","1350680938"],"photo_ids_order":["1350680934","1350680935","1350680936","1350680937","1350680938","1350680939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9ad07b0e468738a632780b688c9d9146.jpg","text":"TemporaryFile(/tmp/multipartBody7384496427608877451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174533873,"filename":"image_09042025_03_36_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5af8c35d5749aa70ef4a1b2b16c04fcb.jpg","text":"TemporaryFile(/tmp/multipartBody2817840034163463503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174533873,"filename":"image_09042025_03_36_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/4/9/74bd427c2c7f94ee9aefbba46ce591bf.jpg","text":"TemporaryFile(/tmp/multipartBody5895580563663975605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174533873,"filename":"image_09042025_03_36_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f3e68a2aa7e935de415fdbcf3543f3f1.jpg","text":"TemporaryFile(/tmp/multipartBody4353082444420173715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174533873,"filename":"image_09042025_03_36_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/4/9/530b2f95f7f6509ea958a332c110ab82.jpg","text":"TemporaryFile(/tmp/multipartBody4827996203389169977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174533873,"filename":"image_09042025_03_36_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/4/9/693371fa005ad875e79b9fd89f9ba69f.jpg","text":"TemporaryFile(/tmp/multipartBody432270686724003215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174533873,"filename":"image_09042025_03_36_45_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680936","file1":"1350680935","file0":"1350680934","file4":"1350680938","file5":"1350680939","file3":"1350680937"},"map_files_photo_id_array":[{"photo_id":"1350680939","filename":"file5"},{"photo_id":"1350680936","filename":"file2"},{"photo_id":"1350680938","filename":"file4"},{"photo_id":"1350680935","filename":"file1"},{"photo_id":"1350680934","filename":"file0"},{"photo_id":"1350680937","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680934":["hashtag1","hashtag2"]},{"1350680937":["hashtag1","hashtag2"]},{"1350680936":["hashtag1","hashtag2"]},{"1350680939":["hashtag1","hashtag2"]},{"1350680935":["hashtag1","hashtag2"]},{"1350680938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680934, 1350680937, 1350680936, 1350680939, 1350680935, 1350680938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.327957153320312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:55:32.583447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/36/image_09042025_03_37_04_9445.jpg', '/home/pi/Desktop/images/09042025/03/37/image_09042025_03_37_24_9361.jpg', '/home/pi/Desktop/images/09042025/03/37/image_09042025_03_37_34_10354.jpg', '/home/pi/Desktop/images/09042025/03/37/image_09042025_03_37_54_9469.jpg', '/home/pi/Desktop/images/09042025/03/37/image_09042025_03_38_05_10362.jpg', '/home/pi/Desktop/images/09042025/03/38/image_09042025_03_38_14_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/36/image_09042025_03_37_04_9445.jpg
/home/pi/Desktop/images/09042025/03/37/image_09042025_03_37_24_9361.jpg
/home/pi/Desktop/images/09042025/03/37/image_09042025_03_37_34_10354.jpg
/home/pi/Desktop/images/09042025/03/37/image_09042025_03_37_54_9469.jpg
/home/pi/Desktop/images/09042025/03/37/image_09042025_03_38_05_10362.jpg
/home/pi/Desktop/images/09042025/03/38/image_09042025_03_38_14_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":["1350680960","1350680963","1350680957","1350680962","1350680956","1350680958"],"photo_ids_order":["1350680956","1350680957","1350680958","1350680960","1350680962","1350680963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bcfcdcb85d4af24dbe7d583fe2c39b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6898362202688316312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174593051,"filename":"image_09042025_03_37_54_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/217d66afcadb0f69fce510c2893d7bac.jpg","text":"TemporaryFile(/tmp/multipartBody5842235691096054797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174593051,"filename":"image_09042025_03_38_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/4/9/ac547cb0b1ff1b1e345329145a148a83.jpg","text":"TemporaryFile(/tmp/multipartBody3038401741652169693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174593051,"filename":"image_09042025_03_37_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/4/9/a3120ab6ea382b9803b6065a10dd5448.jpg","text":"TemporaryFile(/tmp/multipartBody4029559894400240000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174593051,"filename":"image_09042025_03_38_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/4/9/e0205c2d14bde20e8b3ea876d4b448a9.jpg","text":"TemporaryFile(/tmp/multipartBody495860539888306898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174593051,"filename":"image_09042025_03_37_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/4/9/48c4f263f5394b72c4f5bba10918895b.jpg","text":"TemporaryFile(/tmp/multipartBody7600585272360451726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174593051,"filename":"image_09042025_03_37_34_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680958","file1":"1350680957","file0":"1350680956","file4":"1350680962","file5":"1350680963","file3":"1350680960"},"map_files_photo_id_array":[{"photo_id":"1350680963","filename":"file5"},{"photo_id":"1350680958","filename":"file2"},{"photo_id":"1350680962","filename":"file4"},{"photo_id":"1350680957","filename":"file1"},{"photo_id":"1350680956","filename":"file0"},{"photo_id":"1350680960","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680960":["hashtag1","hashtag2"]},{"1350680963":["hashtag1","hashtag2"]},{"1350680957":["hashtag1","hashtag2"]},{"1350680962":["hashtag1","hashtag2"]},{"1350680956":["hashtag1","hashtag2"]},{"1350680958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680960, 1350680963, 1350680957, 1350680962, 1350680956, 1350680958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.254090309143066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:56:32.793967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/38/image_09042025_03_38_24_10371.jpg', '/home/pi/Desktop/images/09042025/03/38/image_09042025_03_38_55_10370.jpg', '/home/pi/Desktop/images/09042025/03/38/image_09042025_03_39_04_9478.jpg', '/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_15_10361.jpg', '/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_24_9480.jpg', '/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/38/image_09042025_03_38_24_10371.jpg
/home/pi/Desktop/images/09042025/03/38/image_09042025_03_38_55_10370.jpg
/home/pi/Desktop/images/09042025/03/38/image_09042025_03_39_04_9478.jpg
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_15_10361.jpg
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_24_9480.jpg
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350680978","1350680983","1350680992","1350680986","1350680989","1350680980"],"photo_ids_order":["1350680978","1350680980","1350680983","1350680986","1350680989","1350680992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/54fd31264acc4392f86a455bf179e647.jpg","text":"TemporaryFile(/tmp/multipartBody3450913822536875809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174653268,"filename":"image_09042025_03_38_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/4/9/595c9fd1aa8e336d27a30368d3e7b502.jpg","text":"TemporaryFile(/tmp/multipartBody1251157510052244612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174653268,"filename":"image_09042025_03_39_04_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f801ea36adf5507c51a91b7977905ad.jpg","text":"TemporaryFile(/tmp/multipartBody8787030036373403781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174653268,"filename":"image_09042025_03_39_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/4/9/d7aad348cb346866f0675e1822acb7e0.jpg","text":"TemporaryFile(/tmp/multipartBody4343833875384278162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174653268,"filename":"image_09042025_03_39_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/4/9/f6ed2bcf5efe0e78cad82d007db45f27.jpg","text":"TemporaryFile(/tmp/multipartBody8022507932765826726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174653268,"filename":"image_09042025_03_39_24_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e8106bcc42ae12cc7568279553e962b.jpg","text":"TemporaryFile(/tmp/multipartBody2866684958001529819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174653268,"filename":"image_09042025_03_38_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350680983","file1":"1350680980","file0":"1350680978","file4":"1350680989","file5":"1350680992","file3":"1350680986"},"map_files_photo_id_array":[{"photo_id":"1350680992","filename":"file5"},{"photo_id":"1350680983","filename":"file2"},{"photo_id":"1350680989","filename":"file4"},{"photo_id":"1350680980","filename":"file1"},{"photo_id":"1350680978","filename":"file0"},{"photo_id":"1350680986","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350680978":["hashtag1","hashtag2"]},{"1350680983":["hashtag1","hashtag2"]},{"1350680992":["hashtag1","hashtag2"]},{"1350680986":["hashtag1","hashtag2"]},{"1350680989":["hashtag1","hashtag2"]},{"1350680980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350680978, 1350680983, 1350680992, 1350680986, 1350680989, 1350680980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.97727108001709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 06:57:33.070747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_45_10354.jpg', '/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_54_9364.jpg', '/home/pi/Desktop/images/09042025/03/39/image_09042025_03_40_05_10378.jpg', '/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_14_9476.jpg', '/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_24_10363.jpg', '/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_35_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_45_10354.jpg
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_54_9364.jpg
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_40_05_10378.jpg
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_14_9476.jpg
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_24_10363.jpg
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_35_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 06:59:04.423078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_45_10354.jpg', '/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_54_9364.jpg', '/home/pi/Desktop/images/09042025/03/39/image_09042025_03_40_05_10378.jpg', '/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_14_9476.jpg', '/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_24_10363.jpg', '/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_35_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_45_10354.jpg
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_39_54_9364.jpg
/home/pi/Desktop/images/09042025/03/39/image_09042025_03_40_05_10378.jpg
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_14_9476.jpg
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_24_10363.jpg
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_35_10360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681050","1350681044","1350681025","1350681039","1350681030","1350681036"],"photo_ids_order":["1350681025","1350681030","1350681036","1350681039","1350681044","1350681050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/92c0c5e4e2918941cda94454ae27c246.jpg","text":"TemporaryFile(/tmp/multipartBody4103606105118727014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174805100,"filename":"image_09042025_03_40_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/4/9/576e535e86aabb7cc057002972cc740f.jpg","text":"TemporaryFile(/tmp/multipartBody8093791282896464343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174805100,"filename":"image_09042025_03_40_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/4/9/c977193cb69b60dd82a945c4bd098b83.jpg","text":"TemporaryFile(/tmp/multipartBody5537660144221945204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174805100,"filename":"image_09042025_03_39_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/840eef43eff406f5196d84c3eea6c210.jpg","text":"TemporaryFile(/tmp/multipartBody6434683708213693675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174805100,"filename":"image_09042025_03_40_14_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff64ce9c9a6ef56c23369b431dc890c0.jpg","text":"TemporaryFile(/tmp/multipartBody4762553626392708455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174805100,"filename":"image_09042025_03_39_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/43b8dcb4e74a54ce88dd8d88b4e1b231.jpg","text":"TemporaryFile(/tmp/multipartBody1888104999039217094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174805100,"filename":"image_09042025_03_40_05_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681036","file1":"1350681030","file0":"1350681025","file4":"1350681044","file5":"1350681050","file3":"1350681039"},"map_files_photo_id_array":[{"photo_id":"1350681050","filename":"file5"},{"photo_id":"1350681036","filename":"file2"},{"photo_id":"1350681044","filename":"file4"},{"photo_id":"1350681030","filename":"file1"},{"photo_id":"1350681025","filename":"file0"},{"photo_id":"1350681039","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681050":["hashtag1","hashtag2"]},{"1350681044":["hashtag1","hashtag2"]},{"1350681025":["hashtag1","hashtag2"]},{"1350681039":["hashtag1","hashtag2"]},{"1350681030":["hashtag1","hashtag2"]},{"1350681036":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681050, 1350681044, 1350681025, 1350681039, 1350681030, 1350681036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.809977054595947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 06:59:42.783968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_44_9378.jpg', '/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_55_10392.jpg', '/home/pi/Desktop/images/09042025/03/40/image_09042025_03_41_05_10349.jpg', '/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_14_9386.jpg', '/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_25_10371.jpg', '/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_34_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_44_9378.jpg
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_40_55_10392.jpg
/home/pi/Desktop/images/09042025/03/40/image_09042025_03_41_05_10349.jpg
/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_14_9386.jpg
/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_25_10371.jpg
/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_34_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":["1350681071","1350681068","1350681060","1350681063","1350681057","1350681066"],"photo_ids_order":["1350681057","1350681060","1350681063","1350681066","1350681068","1350681071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b555df0476e7c8e6e100905c6ebf225d.jpg","text":"TemporaryFile(/tmp/multipartBody6580645167263651984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174843247,"filename":"image_09042025_03_41_34_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb1b17d6ae9c60d1607fb62869e14279.jpg","text":"TemporaryFile(/tmp/multipartBody4160019386171949541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174843247,"filename":"image_09042025_03_41_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/4/9/8ca4a5ce3700248408c6632f9a7c9274.jpg","text":"TemporaryFile(/tmp/multipartBody6298648543577900547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174843247,"filename":"image_09042025_03_40_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/4/9/8db7bf7439ef26018532b80ac74c8088.jpg","text":"TemporaryFile(/tmp/multipartBody6606447878553168151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174843247,"filename":"image_09042025_03_41_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/4/9/29f47bc65d5b523a0b6aac6753f60de1.jpg","text":"TemporaryFile(/tmp/multipartBody7382593991276150742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174843247,"filename":"image_09042025_03_40_44_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef5b0d9a4670c79a2f6826f0ba7c2b06.jpg","text":"TemporaryFile(/tmp/multipartBody6939156536532491816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174843247,"filename":"image_09042025_03_41_14_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681063","file1":"1350681060","file0":"1350681057","file4":"1350681068","file5":"1350681071","file3":"1350681066"},"map_files_photo_id_array":[{"photo_id":"1350681071","filename":"file5"},{"photo_id":"1350681063","filename":"file2"},{"photo_id":"1350681068","filename":"file4"},{"photo_id":"1350681060","filename":"file1"},{"photo_id":"1350681057","filename":"file0"},{"photo_id":"1350681066","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681071":["hashtag1","hashtag2"]},{"1350681068":["hashtag1","hashtag2"]},{"1350681060":["hashtag1","hashtag2"]},{"1350681063":["hashtag1","hashtag2"]},{"1350681057":["hashtag1","hashtag2"]},{"1350681066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681071, 1350681068, 1350681060, 1350681063, 1350681057, 1350681066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.84826350212097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:00:33.041154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_44_10404.jpg', '/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_55_10371.jpg', '/home/pi/Desktop/images/09042025/03/41/image_09042025_03_42_04_9442.jpg', '/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_15_10365.jpg', '/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_24_9441.jpg', '/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_34_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_44_10404.jpg
/home/pi/Desktop/images/09042025/03/41/image_09042025_03_41_55_10371.jpg
/home/pi/Desktop/images/09042025/03/41/image_09042025_03_42_04_9442.jpg
/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_15_10365.jpg
/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_24_9441.jpg
/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_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":["1350681102","1350681095","1350681089","1350681100","1350681099","1350681093"],"photo_ids_order":["1350681089","1350681093","1350681095","1350681099","1350681100","1350681102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e8934c1240ccde88f84edd3b7acd816.jpg","text":"TemporaryFile(/tmp/multipartBody2372503846309737513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174893515,"filename":"image_09042025_03_42_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/4/9/c1c9bf6fa74f5c58a0ef7dfb4a128554.jpg","text":"TemporaryFile(/tmp/multipartBody4915597021055675796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174893515,"filename":"image_09042025_03_42_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/4/9/50c3ebf10f9f3107be481cb44e32762c.jpg","text":"TemporaryFile(/tmp/multipartBody6845429031206177736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174893515,"filename":"image_09042025_03_41_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/4/9/2f614ef2fe9667c34381271660bea0a6.jpg","text":"TemporaryFile(/tmp/multipartBody3172883690550900522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174893515,"filename":"image_09042025_03_42_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9331f31ce119a3ddefc07db20beb1efe.jpg","text":"TemporaryFile(/tmp/multipartBody3750594034182332211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174893515,"filename":"image_09042025_03_42_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/4/9/cb3e4d42c1fc233e77012370cfb34abe.jpg","text":"TemporaryFile(/tmp/multipartBody3381496368946038090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174893515,"filename":"image_09042025_03_41_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681095","file1":"1350681093","file0":"1350681089","file4":"1350681100","file5":"1350681102","file3":"1350681099"},"map_files_photo_id_array":[{"photo_id":"1350681102","filename":"file5"},{"photo_id":"1350681095","filename":"file2"},{"photo_id":"1350681100","filename":"file4"},{"photo_id":"1350681093","filename":"file1"},{"photo_id":"1350681089","filename":"file0"},{"photo_id":"1350681099","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681102":["hashtag1","hashtag2"]},{"1350681095":["hashtag1","hashtag2"]},{"1350681089":["hashtag1","hashtag2"]},{"1350681100":["hashtag1","hashtag2"]},{"1350681099":["hashtag1","hashtag2"]},{"1350681093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681102, 1350681095, 1350681089, 1350681100, 1350681099, 1350681093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85347867012024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:01:32.429739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_45_10441.jpg', '/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_54_9358.jpg', '/home/pi/Desktop/images/09042025/03/42/image_09042025_03_43_05_10359.jpg', '/home/pi/Desktop/images/09042025/03/43/image_09042025_03_43_24_10390.jpg', '/home/pi/Desktop/images/09042025/03/43/image_09042025_03_43_44_9340.jpg', '/home/pi/Desktop/images/09042025/03/43/image_09042025_03_43_54_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_45_10441.jpg
/home/pi/Desktop/images/09042025/03/42/image_09042025_03_42_54_9358.jpg
/home/pi/Desktop/images/09042025/03/42/image_09042025_03_43_05_10359.jpg
/home/pi/Desktop/images/09042025/03/43/image_09042025_03_43_24_10390.jpg
/home/pi/Desktop/images/09042025/03/43/image_09042025_03_43_44_9340.jpg
/home/pi/Desktop/images/09042025/03/43/image_09042025_03_43_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":["1350681134","1350681128","1350681131","1350681136","1350681124","1350681126"],"photo_ids_order":["1350681124","1350681126","1350681128","1350681131","1350681134","1350681136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbcbaac3f62ae03399acf46e17dbf5bd.jpg","text":"TemporaryFile(/tmp/multipartBody1691787791653570233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174952908,"filename":"image_09042025_03_43_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/40295f91df980e83ba86a54e2516c0b2.jpg","text":"TemporaryFile(/tmp/multipartBody1636280170679945592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174952908,"filename":"image_09042025_03_43_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/4/9/41c1c2b251fac14ca102b1e5b6bf9ae9.jpg","text":"TemporaryFile(/tmp/multipartBody1400608163395091417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174952908,"filename":"image_09042025_03_43_24_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6627f59df85ec8ec5329d31121a0c373.jpg","text":"TemporaryFile(/tmp/multipartBody6916709652380952065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174952908,"filename":"image_09042025_03_43_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/4/9/875e41d7329de1a460265f0f7bcf5f71.jpg","text":"TemporaryFile(/tmp/multipartBody4185621193071814265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174952908,"filename":"image_09042025_03_42_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d8926e6d4837bf688796494e8c5cb5f.jpg","text":"TemporaryFile(/tmp/multipartBody2261702021640014864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744174952908,"filename":"image_09042025_03_42_54_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681128","file1":"1350681126","file0":"1350681124","file4":"1350681134","file5":"1350681136","file3":"1350681131"},"map_files_photo_id_array":[{"photo_id":"1350681136","filename":"file5"},{"photo_id":"1350681128","filename":"file2"},{"photo_id":"1350681134","filename":"file4"},{"photo_id":"1350681126","filename":"file1"},{"photo_id":"1350681124","filename":"file0"},{"photo_id":"1350681131","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681134":["hashtag1","hashtag2"]},{"1350681128":["hashtag1","hashtag2"]},{"1350681131":["hashtag1","hashtag2"]},{"1350681136":["hashtag1","hashtag2"]},{"1350681124":["hashtag1","hashtag2"]},{"1350681126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681134, 1350681128, 1350681131, 1350681136, 1350681124, 1350681126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.183603048324585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:02:32.655101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/43/image_09042025_03_44_05_10355.jpg', '/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_14_9351.jpg', '/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_25_10376.jpg', '/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_35_10349.jpg', '/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_44_9446.jpg', '/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_55_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/43/image_09042025_03_44_05_10355.jpg
/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_14_9351.jpg
/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_25_10376.jpg
/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_35_10349.jpg
/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_44_9446.jpg
/home/pi/Desktop/images/09042025/03/44/image_09042025_03_44_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":["1350681170","1350681173","1350681168","1350681162","1350681171","1350681165"],"photo_ids_order":["1350681162","1350681165","1350681168","1350681170","1350681171","1350681173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/07ece036674f1f4a7a7db078396edda0.jpg","text":"TemporaryFile(/tmp/multipartBody5204966709207994108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175013116,"filename":"image_09042025_03_44_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc75cfcf6df095438ede532c4589c1d6.jpg","text":"TemporaryFile(/tmp/multipartBody2899533671260639209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175013116,"filename":"image_09042025_03_44_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/4/9/a0a3d3d781e1576838ca9b1dcb3d220c.jpg","text":"TemporaryFile(/tmp/multipartBody4213783535324484458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175013116,"filename":"image_09042025_03_44_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/4/9/60a0ed3c60fbafbe63aab8cd68c4ae61.jpg","text":"TemporaryFile(/tmp/multipartBody8122189010721281392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175013116,"filename":"image_09042025_03_44_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/4/9/754c6c2a8815dc0cd30c2422edc81a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5808093062744552517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175013116,"filename":"image_09042025_03_44_44_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/585348e2c7795c25f645afed7d74873d.jpg","text":"TemporaryFile(/tmp/multipartBody3180158782653197720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175013116,"filename":"image_09042025_03_44_14_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681168","file1":"1350681165","file0":"1350681162","file4":"1350681171","file5":"1350681173","file3":"1350681170"},"map_files_photo_id_array":[{"photo_id":"1350681173","filename":"file5"},{"photo_id":"1350681168","filename":"file2"},{"photo_id":"1350681171","filename":"file4"},{"photo_id":"1350681165","filename":"file1"},{"photo_id":"1350681162","filename":"file0"},{"photo_id":"1350681170","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681170":["hashtag1","hashtag2"]},{"1350681173":["hashtag1","hashtag2"]},{"1350681168":["hashtag1","hashtag2"]},{"1350681162":["hashtag1","hashtag2"]},{"1350681171":["hashtag1","hashtag2"]},{"1350681165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681170, 1350681173, 1350681168, 1350681162, 1350681171, 1350681165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6527738571167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:03:32.869902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/44/image_09042025_03_45_04_9351.jpg', '/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_14_10368.jpg', '/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_25_10446.jpg', '/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_34_9388.jpg', '/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_45_10366.jpg', '/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_54_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/44/image_09042025_03_45_04_9351.jpg
/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_14_10368.jpg
/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_25_10446.jpg
/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_34_9388.jpg
/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_45_10366.jpg
/home/pi/Desktop/images/09042025/03/45/image_09042025_03_45_54_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681209","1350681199","1350681198","1350681202","1350681205","1350681207"],"photo_ids_order":["1350681198","1350681199","1350681202","1350681205","1350681207","1350681209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0544f9846157cb73448c65e25329cd8e.jpg","text":"TemporaryFile(/tmp/multipartBody7615936073264248026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175073347,"filename":"image_09042025_03_45_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/4/9/497f0a0b6005aeccdb6ce4664b5c2cbc.jpg","text":"TemporaryFile(/tmp/multipartBody3678187159768334705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175073347,"filename":"image_09042025_03_45_14_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a301d814ad087b7a8fcd16134571e71.jpg","text":"TemporaryFile(/tmp/multipartBody7494539331123926598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175073347,"filename":"image_09042025_03_45_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba2ddf13e6e621f9e87373af8ecd3b4a.jpg","text":"TemporaryFile(/tmp/multipartBody397370047374551827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175073347,"filename":"image_09042025_03_45_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/4/9/5a24bd4f9722b041dde45255b1b73f33.jpg","text":"TemporaryFile(/tmp/multipartBody8040118092180142260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175073347,"filename":"image_09042025_03_45_34_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a48f469133256123c2a52a874b2757ee.jpg","text":"TemporaryFile(/tmp/multipartBody8786416682263117779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175073347,"filename":"image_09042025_03_45_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681202","file1":"1350681199","file0":"1350681198","file4":"1350681207","file5":"1350681209","file3":"1350681205"},"map_files_photo_id_array":[{"photo_id":"1350681209","filename":"file5"},{"photo_id":"1350681202","filename":"file2"},{"photo_id":"1350681207","filename":"file4"},{"photo_id":"1350681199","filename":"file1"},{"photo_id":"1350681198","filename":"file0"},{"photo_id":"1350681205","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681209":["hashtag1","hashtag2"]},{"1350681199":["hashtag1","hashtag2"]},{"1350681198":["hashtag1","hashtag2"]},{"1350681202":["hashtag1","hashtag2"]},{"1350681205":["hashtag1","hashtag2"]},{"1350681207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681209, 1350681199, 1350681198, 1350681202, 1350681205, 1350681207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18003606796265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:04:32.251926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/45/image_09042025_03_46_04_10360.jpg', '/home/pi/Desktop/images/09042025/03/46/image_09042025_03_46_15_10358.jpg', '/home/pi/Desktop/images/09042025/03/46/image_09042025_03_46_24_9355.jpg', '/home/pi/Desktop/images/09042025/03/46/image_09042025_03_46_34_10357.jpg', '/home/pi/Desktop/images/09042025/03/46/image_09042025_03_46_54_9360.jpg', '/home/pi/Desktop/images/09042025/03/46/image_09042025_03_47_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/45/image_09042025_03_46_04_10360.jpg
/home/pi/Desktop/images/09042025/03/46/image_09042025_03_46_15_10358.jpg
/home/pi/Desktop/images/09042025/03/46/image_09042025_03_46_24_9355.jpg
/home/pi/Desktop/images/09042025/03/46/image_09042025_03_46_34_10357.jpg
/home/pi/Desktop/images/09042025/03/46/image_09042025_03_46_54_9360.jpg
/home/pi/Desktop/images/09042025/03/46/image_09042025_03_47_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":["1350681242","1350681239","1350681232","1350681235","1350681237","1350681231"],"photo_ids_order":["1350681231","1350681232","1350681235","1350681237","1350681239","1350681242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/76e30206009ad5d85f6c97eb6374a30d.jpg","text":"TemporaryFile(/tmp/multipartBody692772211078465136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175132715,"filename":"image_09042025_03_47_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/4/9/f30615241f42591820d56d2fcb8aa7fd.jpg","text":"TemporaryFile(/tmp/multipartBody8556593686842413864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175132715,"filename":"image_09042025_03_46_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/4/9/4eb094c6a5dbf29246b19c2b754a30b1.jpg","text":"TemporaryFile(/tmp/multipartBody5892687874614914409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175132715,"filename":"image_09042025_03_46_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/4/9/b9f1e9860fb088ed312dedfbc776aee2.jpg","text":"TemporaryFile(/tmp/multipartBody4952861219860858850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175132715,"filename":"image_09042025_03_46_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/4/9/addc3d21b099211728f9829dfec3f559.jpg","text":"TemporaryFile(/tmp/multipartBody6011085804732148519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175132715,"filename":"image_09042025_03_46_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9368890549193c7089d7106037a32a7c.jpg","text":"TemporaryFile(/tmp/multipartBody4319927063051937635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175132715,"filename":"image_09042025_03_46_04_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681235","file1":"1350681232","file0":"1350681231","file4":"1350681239","file5":"1350681242","file3":"1350681237"},"map_files_photo_id_array":[{"photo_id":"1350681242","filename":"file5"},{"photo_id":"1350681235","filename":"file2"},{"photo_id":"1350681239","filename":"file4"},{"photo_id":"1350681232","filename":"file1"},{"photo_id":"1350681231","filename":"file0"},{"photo_id":"1350681237","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681242":["hashtag1","hashtag2"]},{"1350681239":["hashtag1","hashtag2"]},{"1350681232":["hashtag1","hashtag2"]},{"1350681235":["hashtag1","hashtag2"]},{"1350681237":["hashtag1","hashtag2"]},{"1350681231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681242, 1350681239, 1350681232, 1350681235, 1350681237, 1350681231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.668325662612915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:05:32.579166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_15_10364.jpg', '/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_24_9446.jpg', '/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_35_10351.jpg', '/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_44_9365.jpg', '/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_54_10369.jpg', '/home/pi/Desktop/images/09042025/03/47/image_09042025_03_48_05_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_15_10364.jpg
/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_24_9446.jpg
/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_35_10351.jpg
/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_44_9365.jpg
/home/pi/Desktop/images/09042025/03/47/image_09042025_03_47_54_10369.jpg
/home/pi/Desktop/images/09042025/03/47/image_09042025_03_48_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":["1350681278","1350681272","1350681266","1350681275","1350681269","1350681267"],"photo_ids_order":["1350681266","1350681267","1350681269","1350681272","1350681275","1350681278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3270b87c5292d9a8799753aab9e77d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5513295956175566766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175193047,"filename":"image_09042025_03_48_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/4/9/2e4198102f080f91e0e84b309306be97.jpg","text":"TemporaryFile(/tmp/multipartBody1556350404759059009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175193047,"filename":"image_09042025_03_47_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/4/9/a0177b8565f381964005b095cb33c940.jpg","text":"TemporaryFile(/tmp/multipartBody4141868371049104183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175193047,"filename":"image_09042025_03_47_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/4/9/2bae576a68804e8729408e8fcc479a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2913988231843610338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175193047,"filename":"image_09042025_03_47_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/4/9/d3699bbbe5fc8a93aac4b6b85ea61067.jpg","text":"TemporaryFile(/tmp/multipartBody6322984687097269615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175193047,"filename":"image_09042025_03_47_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4deb9440b96ecee3a644105f726ad3b.jpg","text":"TemporaryFile(/tmp/multipartBody872186060559629025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175193047,"filename":"image_09042025_03_47_24_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681269","file1":"1350681267","file0":"1350681266","file4":"1350681275","file5":"1350681278","file3":"1350681272"},"map_files_photo_id_array":[{"photo_id":"1350681278","filename":"file5"},{"photo_id":"1350681269","filename":"file2"},{"photo_id":"1350681275","filename":"file4"},{"photo_id":"1350681267","filename":"file1"},{"photo_id":"1350681266","filename":"file0"},{"photo_id":"1350681272","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681278":["hashtag1","hashtag2"]},{"1350681272":["hashtag1","hashtag2"]},{"1350681266":["hashtag1","hashtag2"]},{"1350681275":["hashtag1","hashtag2"]},{"1350681269":["hashtag1","hashtag2"]},{"1350681267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681278, 1350681272, 1350681266, 1350681275, 1350681269, 1350681267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34778118133545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:06:32.777330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_14_9403.jpg', '/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_25_10377.jpg', '/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_34_9492.jpg', '/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_44_10360.jpg', '/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_55_10347.jpg', '/home/pi/Desktop/images/09042025/03/48/image_09042025_03_49_04_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_14_9403.jpg
/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_25_10377.jpg
/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_34_9492.jpg
/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_44_10360.jpg
/home/pi/Desktop/images/09042025/03/48/image_09042025_03_48_55_10347.jpg
/home/pi/Desktop/images/09042025/03/48/image_09042025_03_49_04_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681299","1350681298","1350681307","1350681297","1350681301","1350681304"],"photo_ids_order":["1350681297","1350681298","1350681299","1350681301","1350681304","1350681307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f58672a73835023cc77789a6f196fd5.jpg","text":"TemporaryFile(/tmp/multipartBody1831316632041528668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175253283,"filename":"image_09042025_03_48_34_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efbc791be267e43e8feca29aeccb8bc1.jpg","text":"TemporaryFile(/tmp/multipartBody7072906380414596418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175253283,"filename":"image_09042025_03_48_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/4/9/163b73c8140afd0b61a50eabf5be7bc2.jpg","text":"TemporaryFile(/tmp/multipartBody4601696468337579057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175253283,"filename":"image_09042025_03_49_04_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88189133079bd5b8341373aa9937b5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2665750755252914147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175253283,"filename":"image_09042025_03_48_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/4/9/61e778d11417c93504ad5daef8354b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6083098885107116312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175253283,"filename":"image_09042025_03_48_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f785b0be979085514c75415441fd590c.jpg","text":"TemporaryFile(/tmp/multipartBody1839272260819469941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175253283,"filename":"image_09042025_03_48_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681299","file1":"1350681298","file0":"1350681297","file4":"1350681304","file5":"1350681307","file3":"1350681301"},"map_files_photo_id_array":[{"photo_id":"1350681307","filename":"file5"},{"photo_id":"1350681299","filename":"file2"},{"photo_id":"1350681304","filename":"file4"},{"photo_id":"1350681298","filename":"file1"},{"photo_id":"1350681297","filename":"file0"},{"photo_id":"1350681301","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681299":["hashtag1","hashtag2"]},{"1350681298":["hashtag1","hashtag2"]},{"1350681307":["hashtag1","hashtag2"]},{"1350681297":["hashtag1","hashtag2"]},{"1350681301":["hashtag1","hashtag2"]},{"1350681304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681299, 1350681298, 1350681307, 1350681297, 1350681301, 1350681304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62719368934631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:07:33.045392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_15_10362.jpg', '/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_24_9479.jpg', '/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_34_10359.jpg', '/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_45_10371.jpg', '/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_54_9364.jpg', '/home/pi/Desktop/images/09042025/03/49/image_09042025_03_50_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_15_10362.jpg
/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_24_9479.jpg
/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_34_10359.jpg
/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_45_10371.jpg
/home/pi/Desktop/images/09042025/03/49/image_09042025_03_49_54_9364.jpg
/home/pi/Desktop/images/09042025/03/49/image_09042025_03_50_05_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":["1350681332","1350681329","1350681331","1350681334","1350681328","1350681330"],"photo_ids_order":["1350681328","1350681329","1350681330","1350681331","1350681332","1350681334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80fa2f9c4f8427e0b56b122251c5f718.jpg","text":"TemporaryFile(/tmp/multipartBody5830079673997689931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175313522,"filename":"image_09042025_03_49_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96c3953e878f90c77b586434f61deefe.jpg","text":"TemporaryFile(/tmp/multipartBody296771768937669200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175313522,"filename":"image_09042025_03_49_24_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1bbce89b1e6c8cd521d08736afac5b9.jpg","text":"TemporaryFile(/tmp/multipartBody2051282609879808292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175313522,"filename":"image_09042025_03_49_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/4/9/d54c003c196f12dbd0437349ebb5f979.jpg","text":"TemporaryFile(/tmp/multipartBody4283366699640606724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175313522,"filename":"image_09042025_03_50_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/4/9/9c6f0ee5850400a4b47929aff9edd47a.jpg","text":"TemporaryFile(/tmp/multipartBody7829587457713148246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175313522,"filename":"image_09042025_03_49_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/4/9/f00dc247e685286bb01ac1eb8bd78eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2867474207239330316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175313522,"filename":"image_09042025_03_49_34_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681330","file1":"1350681329","file0":"1350681328","file4":"1350681332","file5":"1350681334","file3":"1350681331"},"map_files_photo_id_array":[{"photo_id":"1350681334","filename":"file5"},{"photo_id":"1350681330","filename":"file2"},{"photo_id":"1350681332","filename":"file4"},{"photo_id":"1350681329","filename":"file1"},{"photo_id":"1350681328","filename":"file0"},{"photo_id":"1350681331","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681332":["hashtag1","hashtag2"]},{"1350681329":["hashtag1","hashtag2"]},{"1350681331":["hashtag1","hashtag2"]},{"1350681334":["hashtag1","hashtag2"]},{"1350681328":["hashtag1","hashtag2"]},{"1350681330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681332, 1350681329, 1350681331, 1350681334, 1350681328, 1350681330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.678290128707886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:08:32.289133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/50/image_09042025_03_50_15_10362.jpg', '/home/pi/Desktop/images/09042025/03/50/image_09042025_03_50_24_9386.jpg', '/home/pi/Desktop/images/09042025/03/50/image_09042025_03_50_35_10356.jpg', '/home/pi/Desktop/images/09042025/03/50/image_09042025_03_51_05_10447.jpg', '/home/pi/Desktop/images/09042025/03/51/image_09042025_03_51_14_9390.jpg', '/home/pi/Desktop/images/09042025/03/51/image_09042025_03_51_25_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/50/image_09042025_03_50_15_10362.jpg
/home/pi/Desktop/images/09042025/03/50/image_09042025_03_50_24_9386.jpg
/home/pi/Desktop/images/09042025/03/50/image_09042025_03_50_35_10356.jpg
/home/pi/Desktop/images/09042025/03/50/image_09042025_03_51_05_10447.jpg
/home/pi/Desktop/images/09042025/03/51/image_09042025_03_51_14_9390.jpg
/home/pi/Desktop/images/09042025/03/51/image_09042025_03_51_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":["1350681350","1350681353","1350681355","1350681352","1350681354","1350681357"],"photo_ids_order":["1350681350","1350681352","1350681353","1350681354","1350681355","1350681357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cffea65858bcd31933b76897568d2649.jpg","text":"TemporaryFile(/tmp/multipartBody7660903674867521226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175373110,"filename":"image_09042025_03_50_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4bfcedbf48cc94a9514d798eea4e5805.jpg","text":"TemporaryFile(/tmp/multipartBody7665691604421641066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175373110,"filename":"image_09042025_03_50_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/4/9/9a35606a46604a63ff383d7188a62fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4454543914656322878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175373110,"filename":"image_09042025_03_51_14_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b27a9d2cc73a0e5ccb9b363b0da1a0b3.jpg","text":"TemporaryFile(/tmp/multipartBody4706074217589032621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175373110,"filename":"image_09042025_03_50_24_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4daa042c09569c144b63facc90f64dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6608146058361292220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175373110,"filename":"image_09042025_03_51_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/4/9/cce858c6e7cf472f2e0968abdd21df26.jpg","text":"TemporaryFile(/tmp/multipartBody7890074610234091243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175373110,"filename":"image_09042025_03_51_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681353","file1":"1350681352","file0":"1350681350","file4":"1350681355","file5":"1350681357","file3":"1350681354"},"map_files_photo_id_array":[{"photo_id":"1350681357","filename":"file5"},{"photo_id":"1350681353","filename":"file2"},{"photo_id":"1350681355","filename":"file4"},{"photo_id":"1350681352","filename":"file1"},{"photo_id":"1350681350","filename":"file0"},{"photo_id":"1350681354","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681350":["hashtag1","hashtag2"]},{"1350681353":["hashtag1","hashtag2"]},{"1350681355":["hashtag1","hashtag2"]},{"1350681352":["hashtag1","hashtag2"]},{"1350681354":["hashtag1","hashtag2"]},{"1350681357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681350, 1350681353, 1350681355, 1350681352, 1350681354, 1350681357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.876611709594727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:09:32.547810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/51/image_09042025_03_51_34_9441.jpg', '/home/pi/Desktop/images/09042025/03/52/image_09042025_03_52_54_9440.jpg', '/home/pi/Desktop/images/09042025/03/52/image_09042025_03_53_05_10480.jpg', '/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_14_9364.jpg', '/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_25_10471.jpg', '/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/51/image_09042025_03_51_34_9441.jpg
/home/pi/Desktop/images/09042025/03/52/image_09042025_03_52_54_9440.jpg
/home/pi/Desktop/images/09042025/03/52/image_09042025_03_53_05_10480.jpg
/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_14_9364.jpg
/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_25_10471.jpg
/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_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":["1350681377","1350681382","1350681376","1350681378","1350681375","1350681380"],"photo_ids_order":["1350681375","1350681376","1350681377","1350681378","1350681380","1350681382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bcec4a7222cbd09d7cbe6fc48ebdb086.jpg","text":"TemporaryFile(/tmp/multipartBody7748213143050195721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175433013,"filename":"image_09042025_03_53_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/4/9/063e7bf19c8c3fce11214fceb7e2b118.jpg","text":"TemporaryFile(/tmp/multipartBody3659153014662049123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175433013,"filename":"image_09042025_03_53_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/4/9/f3c0c8b16e6a5b64401be4fb1e78b200.jpg","text":"TemporaryFile(/tmp/multipartBody2725177605334575203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175433013,"filename":"image_09042025_03_52_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a0f4b64d8c278f01833e31c525bb26a1.jpg","text":"TemporaryFile(/tmp/multipartBody94178176879170534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175433013,"filename":"image_09042025_03_53_14_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c8a886c4b1f4ce6c8f2f860409d15a0.jpg","text":"TemporaryFile(/tmp/multipartBody8953921167463548705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175433013,"filename":"image_09042025_03_51_34_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b63c3085c3833ecbfea1def349b4414.jpg","text":"TemporaryFile(/tmp/multipartBody6468049007186913355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175433013,"filename":"image_09042025_03_53_25_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681377","file1":"1350681376","file0":"1350681375","file4":"1350681380","file5":"1350681382","file3":"1350681378"},"map_files_photo_id_array":[{"photo_id":"1350681382","filename":"file5"},{"photo_id":"1350681377","filename":"file2"},{"photo_id":"1350681380","filename":"file4"},{"photo_id":"1350681376","filename":"file1"},{"photo_id":"1350681375","filename":"file0"},{"photo_id":"1350681378","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681377":["hashtag1","hashtag2"]},{"1350681382":["hashtag1","hashtag2"]},{"1350681376":["hashtag1","hashtag2"]},{"1350681378":["hashtag1","hashtag2"]},{"1350681375":["hashtag1","hashtag2"]},{"1350681380":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681377, 1350681382, 1350681376, 1350681378, 1350681375, 1350681380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76182723045349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:10:32.746417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_44_9444.jpg', '/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_55_10366.jpg', '/home/pi/Desktop/images/09042025/03/53/image_09042025_03_54_04_9359.jpg', '/home/pi/Desktop/images/09042025/03/54/image_09042025_03_54_34_9448.jpg', '/home/pi/Desktop/images/09042025/03/54/image_09042025_03_54_54_9432.jpg', '/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_15_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_44_9444.jpg
/home/pi/Desktop/images/09042025/03/53/image_09042025_03_53_55_10366.jpg
/home/pi/Desktop/images/09042025/03/53/image_09042025_03_54_04_9359.jpg
/home/pi/Desktop/images/09042025/03/54/image_09042025_03_54_34_9448.jpg
/home/pi/Desktop/images/09042025/03/54/image_09042025_03_54_54_9432.jpg
/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_15_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681413","1350681407","1350681416","1350681409","1350681403","1350681405"],"photo_ids_order":["1350681403","1350681405","1350681407","1350681409","1350681413","1350681416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cfb75e09c9fbd0881415c8f13a5d0f6c.jpg","text":"TemporaryFile(/tmp/multipartBody2977542860267636249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175493219,"filename":"image_09042025_03_54_54_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d556d97c6a898c65b87e818d423a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody5411394521626897041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175493219,"filename":"image_09042025_03_54_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/4/9/546cccb34153fef8c0d0279bbba50602.jpg","text":"TemporaryFile(/tmp/multipartBody2968618293431390773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175493219,"filename":"image_09042025_03_55_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6f137b4cf7e8c766ed2e10996146db68.jpg","text":"TemporaryFile(/tmp/multipartBody8377404792313920073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175493219,"filename":"image_09042025_03_54_34_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22b09e0d7eefd79c53fdadc20fb6d02c.jpg","text":"TemporaryFile(/tmp/multipartBody6709500746721577981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175493219,"filename":"image_09042025_03_53_44_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5c53b57b70591ffcf9253a4bf79fe9a.jpg","text":"TemporaryFile(/tmp/multipartBody792926362891808758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175493219,"filename":"image_09042025_03_53_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681407","file1":"1350681405","file0":"1350681403","file4":"1350681413","file5":"1350681416","file3":"1350681409"},"map_files_photo_id_array":[{"photo_id":"1350681416","filename":"file5"},{"photo_id":"1350681407","filename":"file2"},{"photo_id":"1350681413","filename":"file4"},{"photo_id":"1350681405","filename":"file1"},{"photo_id":"1350681403","filename":"file0"},{"photo_id":"1350681409","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681413":["hashtag1","hashtag2"]},{"1350681407":["hashtag1","hashtag2"]},{"1350681416":["hashtag1","hashtag2"]},{"1350681409":["hashtag1","hashtag2"]},{"1350681403":["hashtag1","hashtag2"]},{"1350681405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681413, 1350681407, 1350681416, 1350681409, 1350681403, 1350681405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42673420906067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:11:32.963174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_24_9479.jpg', '/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_35_10368.jpg', '/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_44_9467.jpg', '/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_54_10354.jpg', '/home/pi/Desktop/images/09042025/03/55/image_09042025_03_56_05_10349.jpg', '/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_14_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_24_9479.jpg
/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_35_10368.jpg
/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_44_9467.jpg
/home/pi/Desktop/images/09042025/03/55/image_09042025_03_55_54_10354.jpg
/home/pi/Desktop/images/09042025/03/55/image_09042025_03_56_05_10349.jpg
/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_14_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":["1350681440","1350681442","1350681445","1350681447","1350681444","1350681438"],"photo_ids_order":["1350681438","1350681440","1350681442","1350681444","1350681445","1350681447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f2e335fac8933e7b49313a44faddeaa.jpg","text":"TemporaryFile(/tmp/multipartBody6329834572552136147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175553451,"filename":"image_09042025_03_55_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/4/9/008ca59d046f8febc275e7f0177d011a.jpg","text":"TemporaryFile(/tmp/multipartBody6823819512686898896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175553451,"filename":"image_09042025_03_55_44_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/757db21b1cd85d74c3e11232b6f72f0f.jpg","text":"TemporaryFile(/tmp/multipartBody6864079597379817410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175553451,"filename":"image_09042025_03_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/4/9/736967fedc1616037792b60fad9071d5.jpg","text":"TemporaryFile(/tmp/multipartBody3183300894573979177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175553451,"filename":"image_09042025_03_56_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/4/9/8233616393c1470961ec5a93cb37ee43.jpg","text":"TemporaryFile(/tmp/multipartBody655655721733708669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175553451,"filename":"image_09042025_03_55_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/4/9/ca6c62925a720c92c2172ec0859aef75.jpg","text":"TemporaryFile(/tmp/multipartBody4404111393687387181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175553451,"filename":"image_09042025_03_55_24_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681442","file1":"1350681440","file0":"1350681438","file4":"1350681445","file5":"1350681447","file3":"1350681444"},"map_files_photo_id_array":[{"photo_id":"1350681447","filename":"file5"},{"photo_id":"1350681442","filename":"file2"},{"photo_id":"1350681445","filename":"file4"},{"photo_id":"1350681440","filename":"file1"},{"photo_id":"1350681438","filename":"file0"},{"photo_id":"1350681444","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681440":["hashtag1","hashtag2"]},{"1350681442":["hashtag1","hashtag2"]},{"1350681445":["hashtag1","hashtag2"]},{"1350681447":["hashtag1","hashtag2"]},{"1350681444":["hashtag1","hashtag2"]},{"1350681438":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681440, 1350681442, 1350681445, 1350681447, 1350681444, 1350681438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.652241706848145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:12:32.410766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_25_10364.jpg', '/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_35_10353.jpg', '/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_44_9457.jpg', '/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_55_10363.jpg', '/home/pi/Desktop/images/09042025/03/56/image_09042025_03_57_04_9422.jpg', '/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_14_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_25_10364.jpg
/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_35_10353.jpg
/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_44_9457.jpg
/home/pi/Desktop/images/09042025/03/56/image_09042025_03_56_55_10363.jpg
/home/pi/Desktop/images/09042025/03/56/image_09042025_03_57_04_9422.jpg
/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_14_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":["1350681482","1350681470","1350681472","1350681477","1350681471","1350681474"],"photo_ids_order":["1350681470","1350681471","1350681472","1350681474","1350681477","1350681482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49631a8f00a02e1472aec35a0c6d9c62.jpg","text":"TemporaryFile(/tmp/multipartBody5112673964727226633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175612877,"filename":"image_09042025_03_57_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/4/9/a75d23cc46830b81d40fc25034035334.jpg","text":"TemporaryFile(/tmp/multipartBody5831339909702578706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175612877,"filename":"image_09042025_03_56_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/4/9/df1e43aa70414235a8fb96a7283887cc.jpg","text":"TemporaryFile(/tmp/multipartBody7901230412333141964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175612877,"filename":"image_09042025_03_56_44_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75b7d6b86a9dc53418f64a0a0bdc5701.jpg","text":"TemporaryFile(/tmp/multipartBody8983035555196261166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175612877,"filename":"image_09042025_03_57_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/4/9/fd58f8a9eb70936bc8d46d1339f0bcc8.jpg","text":"TemporaryFile(/tmp/multipartBody7974756129397150634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175612877,"filename":"image_09042025_03_56_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/4/9/fd55303f338a9ba3b1b8b984b3e2ccc9.jpg","text":"TemporaryFile(/tmp/multipartBody6237145706043464969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175612877,"filename":"image_09042025_03_56_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681472","file1":"1350681471","file0":"1350681470","file4":"1350681477","file5":"1350681482","file3":"1350681474"},"map_files_photo_id_array":[{"photo_id":"1350681482","filename":"file5"},{"photo_id":"1350681472","filename":"file2"},{"photo_id":"1350681477","filename":"file4"},{"photo_id":"1350681471","filename":"file1"},{"photo_id":"1350681470","filename":"file0"},{"photo_id":"1350681474","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681482":["hashtag1","hashtag2"]},{"1350681470":["hashtag1","hashtag2"]},{"1350681472":["hashtag1","hashtag2"]},{"1350681477":["hashtag1","hashtag2"]},{"1350681471":["hashtag1","hashtag2"]},{"1350681474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681482, 1350681470, 1350681472, 1350681477, 1350681471, 1350681474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.160890340805054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:13:32.598701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_25_10362.jpg', '/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_34_9403.jpg', '/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_45_10355.jpg', '/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_54_9413.jpg', '/home/pi/Desktop/images/09042025/03/57/image_09042025_03_58_04_10375.jpg', '/home/pi/Desktop/images/09042025/03/58/image_09042025_03_58_15_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_25_10362.jpg
/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_34_9403.jpg
/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_45_10355.jpg
/home/pi/Desktop/images/09042025/03/57/image_09042025_03_57_54_9413.jpg
/home/pi/Desktop/images/09042025/03/57/image_09042025_03_58_04_10375.jpg
/home/pi/Desktop/images/09042025/03/58/image_09042025_03_58_15_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":["1350681512","1350681506","1350681515","1350681503","1350681514","1350681510"],"photo_ids_order":["1350681503","1350681506","1350681510","1350681512","1350681514","1350681515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ca99df1477e480a2372a8b2cc857cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5574340556121843752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175673079,"filename":"image_09042025_03_57_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/4/9/8af62a6433e520b55feefe1c45e5c076.jpg","text":"TemporaryFile(/tmp/multipartBody8014887816897203692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175673079,"filename":"image_09042025_03_57_34_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f5cfe0858781b2ee6555be47aa07f2c2.jpg","text":"TemporaryFile(/tmp/multipartBody2419177910676832691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175673079,"filename":"image_09042025_03_58_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/4/9/128b6e31bcb31d836f3603e6cc353a1e.jpg","text":"TemporaryFile(/tmp/multipartBody2014230109753131653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175673079,"filename":"image_09042025_03_57_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/4/9/9a179dbc40b88634b8af226e4b91e100.jpg","text":"TemporaryFile(/tmp/multipartBody2205825408577459666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175673079,"filename":"image_09042025_03_58_04_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8874d444a913f113439e328a8165170.jpg","text":"TemporaryFile(/tmp/multipartBody4368903860646029661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175673079,"filename":"image_09042025_03_57_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681510","file1":"1350681506","file0":"1350681503","file4":"1350681514","file5":"1350681515","file3":"1350681512"},"map_files_photo_id_array":[{"photo_id":"1350681515","filename":"file5"},{"photo_id":"1350681510","filename":"file2"},{"photo_id":"1350681514","filename":"file4"},{"photo_id":"1350681506","filename":"file1"},{"photo_id":"1350681503","filename":"file0"},{"photo_id":"1350681512","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681512":["hashtag1","hashtag2"]},{"1350681506":["hashtag1","hashtag2"]},{"1350681515":["hashtag1","hashtag2"]},{"1350681503":["hashtag1","hashtag2"]},{"1350681514":["hashtag1","hashtag2"]},{"1350681510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681512, 1350681506, 1350681515, 1350681503, 1350681514, 1350681510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.325294017791748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:14:32.733496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/58/image_09042025_03_58_24_9386.jpg', '/home/pi/Desktop/images/09042025/03/58/image_09042025_03_58_34_10359.jpg', '/home/pi/Desktop/images/09042025/03/58/image_09042025_03_58_45_10391.jpg', '/home/pi/Desktop/images/09042025/03/58/image_09042025_03_59_05_10351.jpg', '/home/pi/Desktop/images/09042025/03/59/image_09042025_03_59_14_9424.jpg', '/home/pi/Desktop/images/09042025/03/59/image_09042025_03_59_44_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/58/image_09042025_03_58_24_9386.jpg
/home/pi/Desktop/images/09042025/03/58/image_09042025_03_58_34_10359.jpg
/home/pi/Desktop/images/09042025/03/58/image_09042025_03_58_45_10391.jpg
/home/pi/Desktop/images/09042025/03/58/image_09042025_03_59_05_10351.jpg
/home/pi/Desktop/images/09042025/03/59/image_09042025_03_59_14_9424.jpg
/home/pi/Desktop/images/09042025/03/59/image_09042025_03_59_44_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":["1350681554","1350681542","1350681551","1350681545","1350681548","1350681540"],"photo_ids_order":["1350681540","1350681542","1350681545","1350681548","1350681551","1350681554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf18dc1bf983ff29b337d42c47ed09c5.jpg","text":"TemporaryFile(/tmp/multipartBody4074972018816624499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175733216,"filename":"image_09042025_03_59_44_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2cb4317cf8ce6235fcbfb99a9c3f8779.jpg","text":"TemporaryFile(/tmp/multipartBody4916292490495381635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175733216,"filename":"image_09042025_03_58_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/4/9/500f7ddce4d13aba53c644be676f1c44.jpg","text":"TemporaryFile(/tmp/multipartBody2813043254362255774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175733216,"filename":"image_09042025_03_59_14_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8997a00df9abaeaf8bba2bbc0baa39b.jpg","text":"TemporaryFile(/tmp/multipartBody8630243166483606669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175733216,"filename":"image_09042025_03_58_45_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd06fd2477cc388be115f89a521efef5.jpg","text":"TemporaryFile(/tmp/multipartBody4124449087313382158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175733216,"filename":"image_09042025_03_59_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/355f257e8ba57d309f9142d3c5c1bade.jpg","text":"TemporaryFile(/tmp/multipartBody8785793223099336086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175733216,"filename":"image_09042025_03_58_24_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681545","file1":"1350681542","file0":"1350681540","file4":"1350681551","file5":"1350681554","file3":"1350681548"},"map_files_photo_id_array":[{"photo_id":"1350681554","filename":"file5"},{"photo_id":"1350681545","filename":"file2"},{"photo_id":"1350681551","filename":"file4"},{"photo_id":"1350681542","filename":"file1"},{"photo_id":"1350681540","filename":"file0"},{"photo_id":"1350681548","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681554":["hashtag1","hashtag2"]},{"1350681542":["hashtag1","hashtag2"]},{"1350681551":["hashtag1","hashtag2"]},{"1350681545":["hashtag1","hashtag2"]},{"1350681548":["hashtag1","hashtag2"]},{"1350681540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681554, 1350681542, 1350681551, 1350681545, 1350681548, 1350681540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1317925453186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:15:32.923045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/03/59/image_09042025_03_59_55_10388.jpg', '/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_15_10064.jpg', '/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_25_10421.jpg', '/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_35_10360.jpg', '/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_45_9353.jpg', '/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_55_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/03/59/image_09042025_03_59_55_10388.jpg
/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_15_10064.jpg
/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_25_10421.jpg
/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_35_10360.jpg
/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_45_9353.jpg
/home/pi/Desktop/images/09042025/04/01/image_09042025_04_01_55_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":["1350681574","1350681582","1350681576","1350681585","1350681579","1350681587"],"photo_ids_order":["1350681574","1350681576","1350681579","1350681582","1350681585","1350681587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69f031298c155a409e3ea43f78b112be.jpg","text":"TemporaryFile(/tmp/multipartBody1677230988467914371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175793405,"filename":"image_09042025_03_59_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c986afa472026fabfd445bc6b8464417.jpg","text":"TemporaryFile(/tmp/multipartBody1894016620216623588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175793405,"filename":"image_09042025_04_01_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/4/9/143b5ebc8e41558ffd80974df690e9d9.jpg","text":"TemporaryFile(/tmp/multipartBody8755497118716971457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175793405,"filename":"image_09042025_04_01_15_10064.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/811192646a83fae412133cf4f91c1afd.jpg","text":"TemporaryFile(/tmp/multipartBody6234290017423753223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175793405,"filename":"image_09042025_04_01_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/4/9/b041715bc4b47806a734ca50c1311567.jpg","text":"TemporaryFile(/tmp/multipartBody6551252993272482862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175793405,"filename":"image_09042025_04_01_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/4/9/6674ab5bbb0662a34cd7638ff9323d3e.jpg","text":"TemporaryFile(/tmp/multipartBody6942520141907989824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175793405,"filename":"image_09042025_04_01_55_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681579","file1":"1350681576","file0":"1350681574","file4":"1350681585","file5":"1350681587","file3":"1350681582"},"map_files_photo_id_array":[{"photo_id":"1350681587","filename":"file5"},{"photo_id":"1350681579","filename":"file2"},{"photo_id":"1350681585","filename":"file4"},{"photo_id":"1350681576","filename":"file1"},{"photo_id":"1350681574","filename":"file0"},{"photo_id":"1350681582","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681574":["hashtag1","hashtag2"]},{"1350681582":["hashtag1","hashtag2"]},{"1350681576":["hashtag1","hashtag2"]},{"1350681585":["hashtag1","hashtag2"]},{"1350681579":["hashtag1","hashtag2"]},{"1350681587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681574, 1350681582, 1350681576, 1350681585, 1350681579, 1350681587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.68489980697632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:16:32.190726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/01/image_09042025_04_02_06_10342.jpg', '/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_15_9400.jpg', '/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_25_10377.jpg', '/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_35_9340.jpg', '/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_45_10361.jpg', '/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/01/image_09042025_04_02_06_10342.jpg
/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_15_9400.jpg
/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_25_10377.jpg
/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_35_9340.jpg
/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_45_10361.jpg
/home/pi/Desktop/images/09042025/04/02/image_09042025_04_02_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681623","1350681611","1350681614","1350681625","1350681621","1350681618"],"photo_ids_order":["1350681611","1350681614","1350681618","1350681621","1350681623","1350681625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc2f25fff5b6dc763290d4b067a588db.jpg","text":"TemporaryFile(/tmp/multipartBody2968841350517313243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175852661,"filename":"image_09042025_04_02_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/4/9/e5ec8be2e145a688abe2d879ea46a2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5181619348177498321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175852661,"filename":"image_09042025_04_02_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/4/9/acc07f0457df4d70bdd752d09dd90c35.jpg","text":"TemporaryFile(/tmp/multipartBody3495816831772606020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175852661,"filename":"image_09042025_04_02_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/4/9/309a629fa5e7d90a79f522f66c5c49ff.jpg","text":"TemporaryFile(/tmp/multipartBody5679638316255536394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175852661,"filename":"image_09042025_04_02_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/4/9/6d0ebd1e198cb3dd4e8c27987af74176.jpg","text":"TemporaryFile(/tmp/multipartBody7235579002261673655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175852661,"filename":"image_09042025_04_02_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9aba7a77f24c1533acd98e69bcefdcfa.jpg","text":"TemporaryFile(/tmp/multipartBody2319738513260969592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175852661,"filename":"image_09042025_04_02_25_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681618","file1":"1350681614","file0":"1350681611","file4":"1350681623","file5":"1350681625","file3":"1350681621"},"map_files_photo_id_array":[{"photo_id":"1350681625","filename":"file5"},{"photo_id":"1350681618","filename":"file2"},{"photo_id":"1350681623","filename":"file4"},{"photo_id":"1350681614","filename":"file1"},{"photo_id":"1350681611","filename":"file0"},{"photo_id":"1350681621","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681623":["hashtag1","hashtag2"]},{"1350681611":["hashtag1","hashtag2"]},{"1350681614":["hashtag1","hashtag2"]},{"1350681625":["hashtag1","hashtag2"]},{"1350681621":["hashtag1","hashtag2"]},{"1350681618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681623, 1350681611, 1350681614, 1350681625, 1350681621, 1350681618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.750447034835815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:17:32.416642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/02/image_09042025_04_03_05_9449.jpg', '/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_15_10405.jpg', '/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_25_9366.jpg', '/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_35_10471.jpg', '/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_46_10360.jpg', '/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_55_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/02/image_09042025_04_03_05_9449.jpg
/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_15_10405.jpg
/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_25_9366.jpg
/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_35_10471.jpg
/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_46_10360.jpg
/home/pi/Desktop/images/09042025/04/03/image_09042025_04_03_55_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":["1350681656","1350681659","1350681661","1350681663","1350681657","1350681654"],"photo_ids_order":["1350681654","1350681656","1350681657","1350681659","1350681661","1350681663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f62f7cc20caff862757d8673f86138f.jpg","text":"TemporaryFile(/tmp/multipartBody791670280780627845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175912879,"filename":"image_09042025_04_03_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96879954dfc4ecbce66784ddf23cbe83.jpg","text":"TemporaryFile(/tmp/multipartBody4004615929888719646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175912879,"filename":"image_09042025_04_03_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/4/9/9f51609336e6d64a95a7715841673111.jpg","text":"TemporaryFile(/tmp/multipartBody1924959392579186568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175912879,"filename":"image_09042025_04_03_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/4/9/f6b17c9ccbccc0714bfaed0a8a14f749.jpg","text":"TemporaryFile(/tmp/multipartBody6424952674058304343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175912879,"filename":"image_09042025_04_03_55_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5596e71f733837297a9856caa9621d1d.jpg","text":"TemporaryFile(/tmp/multipartBody3642853694988520831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175912879,"filename":"image_09042025_04_03_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5f65c55eaff6de809361a19391f726ae.jpg","text":"TemporaryFile(/tmp/multipartBody9051420357853430886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175912879,"filename":"image_09042025_04_03_05_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681657","file1":"1350681656","file0":"1350681654","file4":"1350681661","file5":"1350681663","file3":"1350681659"},"map_files_photo_id_array":[{"photo_id":"1350681663","filename":"file5"},{"photo_id":"1350681657","filename":"file2"},{"photo_id":"1350681661","filename":"file4"},{"photo_id":"1350681656","filename":"file1"},{"photo_id":"1350681654","filename":"file0"},{"photo_id":"1350681659","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681656":["hashtag1","hashtag2"]},{"1350681659":["hashtag1","hashtag2"]},{"1350681661":["hashtag1","hashtag2"]},{"1350681663":["hashtag1","hashtag2"]},{"1350681657":["hashtag1","hashtag2"]},{"1350681654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681656, 1350681659, 1350681661, 1350681663, 1350681657, 1350681654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25547504425049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:18:32.659225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/03/image_09042025_04_04_05_10437.jpg', '/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_15_9327.jpg', '/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_25_10500.jpg', '/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_36_10371.jpg', '/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_45_9360.jpg', '/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_55_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/03/image_09042025_04_04_05_10437.jpg
/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_15_9327.jpg
/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_25_10500.jpg
/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_36_10371.jpg
/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_45_9360.jpg
/home/pi/Desktop/images/09042025/04/04/image_09042025_04_04_55_10519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681695","1350681697","1350681694","1350681696","1350681690","1350681692"],"photo_ids_order":["1350681690","1350681692","1350681694","1350681695","1350681696","1350681697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa1945c16ef5fb13c2be01d7bc4821cb.jpg","text":"TemporaryFile(/tmp/multipartBody4876678925121581049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175973150,"filename":"image_09042025_04_04_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/4/9/01e4a2b6e177cbd0de77b0898f00e295.jpg","text":"TemporaryFile(/tmp/multipartBody476154453531639144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175973150,"filename":"image_09042025_04_04_55_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/089a4c53a22abdd2f10733ded3fcf4fc.jpg","text":"TemporaryFile(/tmp/multipartBody7615296037100471685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175973150,"filename":"image_09042025_04_04_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/4/9/12a7101bc07260aa9448cdc4f4e3c513.jpg","text":"TemporaryFile(/tmp/multipartBody308721179993872377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175973150,"filename":"image_09042025_04_04_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/4/9/02b05b4c9d43ccca849952b05c7ad21e.jpg","text":"TemporaryFile(/tmp/multipartBody2328653318306697625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175973150,"filename":"image_09042025_04_04_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/4/9/cb0c0b545dad950ef8f1aae1ff0af6d0.jpg","text":"TemporaryFile(/tmp/multipartBody3842577622823020824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744175973150,"filename":"image_09042025_04_04_15_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681694","file1":"1350681692","file0":"1350681690","file4":"1350681696","file5":"1350681697","file3":"1350681695"},"map_files_photo_id_array":[{"photo_id":"1350681697","filename":"file5"},{"photo_id":"1350681694","filename":"file2"},{"photo_id":"1350681696","filename":"file4"},{"photo_id":"1350681692","filename":"file1"},{"photo_id":"1350681690","filename":"file0"},{"photo_id":"1350681695","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681695":["hashtag1","hashtag2"]},{"1350681697":["hashtag1","hashtag2"]},{"1350681694":["hashtag1","hashtag2"]},{"1350681696":["hashtag1","hashtag2"]},{"1350681690":["hashtag1","hashtag2"]},{"1350681692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681695, 1350681697, 1350681694, 1350681696, 1350681690, 1350681692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47017812728882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:19:32.934838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/04/image_09042025_04_05_05_9629.jpg', '/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_15_10364.jpg', '/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_25_9399.jpg', '/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_35_10486.jpg', '/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_45_9347.jpg', '/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_55_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/04/image_09042025_04_05_05_9629.jpg
/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_15_10364.jpg
/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_25_9399.jpg
/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_35_10486.jpg
/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_45_9347.jpg
/home/pi/Desktop/images/09042025/04/05/image_09042025_04_05_55_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681734","1350681731","1350681736","1350681738","1350681732","1350681729"],"photo_ids_order":["1350681729","1350681731","1350681732","1350681734","1350681736","1350681738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f873e070d78207f8f0534f16e30c449b.jpg","text":"TemporaryFile(/tmp/multipartBody4122878520229131223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176033437,"filename":"image_09042025_04_05_35_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d99f77816005d28cef4cb650f64ed657.jpg","text":"TemporaryFile(/tmp/multipartBody231289985242136869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176033437,"filename":"image_09042025_04_05_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/4/9/f7dd4c1623fadf0d0480178c3e3569bf.jpg","text":"TemporaryFile(/tmp/multipartBody1464672977923324272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176033437,"filename":"image_09042025_04_05_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/4/9/a496be147043bccf0c2e732d9b621263.jpg","text":"TemporaryFile(/tmp/multipartBody834029365627035192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176033437,"filename":"image_09042025_04_05_55_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/652948331b8fd5f8af7bc32f2839e029.jpg","text":"TemporaryFile(/tmp/multipartBody8176624262016689522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176033437,"filename":"image_09042025_04_05_25_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a92f88d71ca20a5f0e2e8c668374d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1886556989041695330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176033437,"filename":"image_09042025_04_05_05_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681732","file1":"1350681731","file0":"1350681729","file4":"1350681736","file5":"1350681738","file3":"1350681734"},"map_files_photo_id_array":[{"photo_id":"1350681738","filename":"file5"},{"photo_id":"1350681732","filename":"file2"},{"photo_id":"1350681736","filename":"file4"},{"photo_id":"1350681731","filename":"file1"},{"photo_id":"1350681729","filename":"file0"},{"photo_id":"1350681734","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681734":["hashtag1","hashtag2"]},{"1350681731":["hashtag1","hashtag2"]},{"1350681736":["hashtag1","hashtag2"]},{"1350681738":["hashtag1","hashtag2"]},{"1350681732":["hashtag1","hashtag2"]},{"1350681729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681734, 1350681731, 1350681736, 1350681738, 1350681732, 1350681729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.700984001159668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:20:33.055786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/06/image_09042025_04_06_15_9346.jpg', '/home/pi/Desktop/images/09042025/04/06/image_09042025_04_06_55_10397.jpg', '/home/pi/Desktop/images/09042025/04/06/image_09042025_04_07_05_9366.jpg', '/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_15_10457.jpg', '/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_25_9437.jpg', '/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/06/image_09042025_04_06_15_9346.jpg
/home/pi/Desktop/images/09042025/04/06/image_09042025_04_06_55_10397.jpg
/home/pi/Desktop/images/09042025/04/06/image_09042025_04_07_05_9366.jpg
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_15_10457.jpg
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_25_9437.jpg
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_35_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":["1350681781","1350681784","1350681787","1350681774","1350681768","1350681771"],"photo_ids_order":["1350681768","1350681771","1350681774","1350681781","1350681784","1350681787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d127f0284cda7fd8b0a6d2139da4f24.jpg","text":"TemporaryFile(/tmp/multipartBody5510915683620182656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176093543,"filename":"image_09042025_04_07_15_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b0dec5d7175636952d9c96f6771578d2.jpg","text":"TemporaryFile(/tmp/multipartBody1504227539814664674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176093543,"filename":"image_09042025_04_07_25_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe766e788d9f4d7deec58369bd18cec7.jpg","text":"TemporaryFile(/tmp/multipartBody4239237546932559916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176093543,"filename":"image_09042025_04_07_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/4/9/d23d52ca8c4ed9c28c1e189758019adf.jpg","text":"TemporaryFile(/tmp/multipartBody1900310564558855687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176093543,"filename":"image_09042025_04_07_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c76b6f313bbd96d1935e8c916e4c1534.jpg","text":"TemporaryFile(/tmp/multipartBody979717072216165229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176093543,"filename":"image_09042025_04_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/4/9/cd6f75c14ccec67d3a8d56c9d9b0c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody1203119493796103528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176093543,"filename":"image_09042025_04_06_55_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681774","file1":"1350681771","file0":"1350681768","file4":"1350681784","file5":"1350681787","file3":"1350681781"},"map_files_photo_id_array":[{"photo_id":"1350681787","filename":"file5"},{"photo_id":"1350681774","filename":"file2"},{"photo_id":"1350681784","filename":"file4"},{"photo_id":"1350681771","filename":"file1"},{"photo_id":"1350681768","filename":"file0"},{"photo_id":"1350681781","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681781":["hashtag1","hashtag2"]},{"1350681784":["hashtag1","hashtag2"]},{"1350681787":["hashtag1","hashtag2"]},{"1350681774":["hashtag1","hashtag2"]},{"1350681768":["hashtag1","hashtag2"]},{"1350681771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681781, 1350681784, 1350681787, 1350681774, 1350681768, 1350681771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82553458213806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:21:32.340519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_46_10464.jpg', '/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_55_9445.jpg', '/home/pi/Desktop/images/09042025/04/07/image_09042025_04_08_05_10362.jpg', '/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_15_9347.jpg', '/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_25_10480.jpg', '/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_46_10464.jpg
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_55_9445.jpg
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_08_05_10362.jpg
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_15_9347.jpg
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_25_10480.jpg
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_36_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38550400733947754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 07:21:42.178698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_46_10464.jpg', '/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_55_9445.jpg', '/home/pi/Desktop/images/09042025/04/07/image_09042025_04_08_05_10362.jpg', '/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_15_9347.jpg', '/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_25_10480.jpg', '/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_46_10464.jpg
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_07_55_9445.jpg
/home/pi/Desktop/images/09042025/04/07/image_09042025_04_08_05_10362.jpg
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_15_9347.jpg
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_25_10480.jpg
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_36_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":["1350681830","1350681820","1350681823","1350681831","1350681825","1350681828"],"photo_ids_order":["1350681820","1350681823","1350681825","1350681828","1350681830","1350681831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1973a9b2a1a65dcfc89c8039027fd030.jpg","text":"TemporaryFile(/tmp/multipartBody5009606676573476579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176162644,"filename":"image_09042025_04_08_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/4/9/2d84d140f5bfd81a0aadd2c5684f1d85.jpg","text":"TemporaryFile(/tmp/multipartBody7161942005837273537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176162644,"filename":"image_09042025_04_07_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6de4a8c2217c5ece3c2169b044afb98c.jpg","text":"TemporaryFile(/tmp/multipartBody3527470098140943162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176162644,"filename":"image_09042025_04_07_55_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b1b4eaa24d9a17ed4cb29e13e9ecaf2.jpg","text":"TemporaryFile(/tmp/multipartBody3333810929232760622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176162644,"filename":"image_09042025_04_08_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/83150b3c2c5a5ab71d272cdca92f1d70.jpg","text":"TemporaryFile(/tmp/multipartBody7247927715093071708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176162644,"filename":"image_09042025_04_08_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/4/9/b40dd9a005a6d4b99742db08dfc8cabe.jpg","text":"TemporaryFile(/tmp/multipartBody5286408650670492029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176162644,"filename":"image_09042025_04_08_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681825","file1":"1350681823","file0":"1350681820","file4":"1350681830","file5":"1350681831","file3":"1350681828"},"map_files_photo_id_array":[{"photo_id":"1350681831","filename":"file5"},{"photo_id":"1350681825","filename":"file2"},{"photo_id":"1350681830","filename":"file4"},{"photo_id":"1350681823","filename":"file1"},{"photo_id":"1350681820","filename":"file0"},{"photo_id":"1350681828","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681830":["hashtag1","hashtag2"]},{"1350681820":["hashtag1","hashtag2"]},{"1350681823":["hashtag1","hashtag2"]},{"1350681831":["hashtag1","hashtag2"]},{"1350681825":["hashtag1","hashtag2"]},{"1350681828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681830, 1350681820, 1350681823, 1350681831, 1350681825, 1350681828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82630681991577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:22:32.432625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_45_9361.jpg', '/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_55_10370.jpg', '/home/pi/Desktop/images/09042025/04/08/image_09042025_04_09_05_9349.jpg', '/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_15_10426.jpg', '/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_25_10375.jpg', '/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_35_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_45_9361.jpg
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_08_55_10370.jpg
/home/pi/Desktop/images/09042025/04/08/image_09042025_04_09_05_9349.jpg
/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_15_10426.jpg
/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_25_10375.jpg
/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_35_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":["1350681869","1350681862","1350681865","1350681859","1350681856","1350681852"],"photo_ids_order":["1350681852","1350681856","1350681859","1350681862","1350681865","1350681869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/520459c172b5c86e6b9afe306cfcfa6f.jpg","text":"TemporaryFile(/tmp/multipartBody3383452269064428825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176212906,"filename":"image_09042025_04_09_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/4/9/c8c6e670fec2451bd0130dc3709feefa.jpg","text":"TemporaryFile(/tmp/multipartBody1757445311751261522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176212906,"filename":"image_09042025_04_09_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/4/9/537aff346f6d4194e7e542531a8810d5.jpg","text":"TemporaryFile(/tmp/multipartBody1624197075402178714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176212906,"filename":"image_09042025_04_09_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/4/9/cee4c265f22fc6ae138480a86a4a4777.jpg","text":"TemporaryFile(/tmp/multipartBody1985241273661189516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176212906,"filename":"image_09042025_04_09_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/4/9/81f92ed91247b79f67d7658d955feb73.jpg","text":"TemporaryFile(/tmp/multipartBody4504342274947163003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176212906,"filename":"image_09042025_04_08_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/4/9/742591f1f3a029321c238eba3621b472.jpg","text":"TemporaryFile(/tmp/multipartBody3633416789291423827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176212906,"filename":"image_09042025_04_08_45_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681859","file1":"1350681856","file0":"1350681852","file4":"1350681865","file5":"1350681869","file3":"1350681862"},"map_files_photo_id_array":[{"photo_id":"1350681869","filename":"file5"},{"photo_id":"1350681859","filename":"file2"},{"photo_id":"1350681865","filename":"file4"},{"photo_id":"1350681856","filename":"file1"},{"photo_id":"1350681852","filename":"file0"},{"photo_id":"1350681862","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681869":["hashtag1","hashtag2"]},{"1350681862":["hashtag1","hashtag2"]},{"1350681865":["hashtag1","hashtag2"]},{"1350681859":["hashtag1","hashtag2"]},{"1350681856":["hashtag1","hashtag2"]},{"1350681852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681869, 1350681862, 1350681865, 1350681859, 1350681856, 1350681852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.079208850860596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:23:32.732358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_45_10363.jpg', '/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_55_9430.jpg', '/home/pi/Desktop/images/09042025/04/09/image_09042025_04_10_05_10447.jpg', '/home/pi/Desktop/images/09042025/04/10/image_09042025_04_10_15_10398.jpg', '/home/pi/Desktop/images/09042025/04/10/image_09042025_04_10_35_10441.jpg', '/home/pi/Desktop/images/09042025/04/10/image_09042025_04_10_45_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_45_10363.jpg
/home/pi/Desktop/images/09042025/04/09/image_09042025_04_09_55_9430.jpg
/home/pi/Desktop/images/09042025/04/09/image_09042025_04_10_05_10447.jpg
/home/pi/Desktop/images/09042025/04/10/image_09042025_04_10_15_10398.jpg
/home/pi/Desktop/images/09042025/04/10/image_09042025_04_10_35_10441.jpg
/home/pi/Desktop/images/09042025/04/10/image_09042025_04_10_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":["1350681902","1350681905","1350681895","1350681907","1350681897","1350681900"],"photo_ids_order":["1350681895","1350681897","1350681900","1350681902","1350681905","1350681907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5e0b73985975b652c9da47de2696486b.jpg","text":"TemporaryFile(/tmp/multipartBody3405649527024683198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176273227,"filename":"image_09042025_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/4/9/d9e08b19ff2dd1e9454ea29a3d24215b.jpg","text":"TemporaryFile(/tmp/multipartBody2650830690559228419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176273227,"filename":"image_09042025_04_10_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/4/9/d34301e057e2b907184a28deb3411d42.jpg","text":"TemporaryFile(/tmp/multipartBody5540654705418397726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176273227,"filename":"image_09042025_04_09_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/afc63b0bb20291e48be1a67886ae78e2.jpg","text":"TemporaryFile(/tmp/multipartBody3564056912556543434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176273227,"filename":"image_09042025_04_10_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/4/9/1fac78c0820366e58f41da1b09f73dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6273661425709755667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176273227,"filename":"image_09042025_04_09_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/4/9/09911d723cb52a8b1898567139eaca47.jpg","text":"TemporaryFile(/tmp/multipartBody4980015332327961279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176273227,"filename":"image_09042025_04_10_05_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681900","file1":"1350681897","file0":"1350681895","file4":"1350681905","file5":"1350681907","file3":"1350681902"},"map_files_photo_id_array":[{"photo_id":"1350681907","filename":"file5"},{"photo_id":"1350681900","filename":"file2"},{"photo_id":"1350681905","filename":"file4"},{"photo_id":"1350681897","filename":"file1"},{"photo_id":"1350681895","filename":"file0"},{"photo_id":"1350681902","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681902":["hashtag1","hashtag2"]},{"1350681905":["hashtag1","hashtag2"]},{"1350681895":["hashtag1","hashtag2"]},{"1350681907":["hashtag1","hashtag2"]},{"1350681897":["hashtag1","hashtag2"]},{"1350681900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681902, 1350681905, 1350681895, 1350681907, 1350681897, 1350681900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87134528160095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:24:32.947941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/10/image_09042025_04_10_55_10446.jpg', '/home/pi/Desktop/images/09042025/04/10/image_09042025_04_11_06_10351.jpg', '/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_15_9344.jpg', '/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_25_10462.jpg', '/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_35_9352.jpg', '/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_45_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/10/image_09042025_04_10_55_10446.jpg
/home/pi/Desktop/images/09042025/04/10/image_09042025_04_11_06_10351.jpg
/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_15_9344.jpg
/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_25_10462.jpg
/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_35_9352.jpg
/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_45_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681953","1350681947","1350681940","1350681936","1350681951","1350681945"],"photo_ids_order":["1350681936","1350681940","1350681945","1350681947","1350681951","1350681953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ca5de3269887c4d2f315c737a435519.jpg","text":"TemporaryFile(/tmp/multipartBody5224884274765252903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176333445,"filename":"image_09042025_04_11_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/4/9/d46e48e7d38724456cc961740f9cb1f0.jpg","text":"TemporaryFile(/tmp/multipartBody4908485028969496505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176333445,"filename":"image_09042025_04_11_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/543278b3186b32cd6792469968b4d555.jpg","text":"TemporaryFile(/tmp/multipartBody1154951449401874209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176333445,"filename":"image_09042025_04_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/4/9/a0b99a9171c125cd768aa718409b3d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1946797366658588663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176333445,"filename":"image_09042025_04_10_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/4/9/2c0f9015be6225142f109056ca900671.jpg","text":"TemporaryFile(/tmp/multipartBody4812100297226963245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176333445,"filename":"image_09042025_04_11_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3542aba91e9cd4792e6a2f2c183d9797.jpg","text":"TemporaryFile(/tmp/multipartBody782336440973586975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176333445,"filename":"image_09042025_04_11_15_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681945","file1":"1350681940","file0":"1350681936","file4":"1350681951","file5":"1350681953","file3":"1350681947"},"map_files_photo_id_array":[{"photo_id":"1350681953","filename":"file5"},{"photo_id":"1350681945","filename":"file2"},{"photo_id":"1350681951","filename":"file4"},{"photo_id":"1350681940","filename":"file1"},{"photo_id":"1350681936","filename":"file0"},{"photo_id":"1350681947","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681953":["hashtag1","hashtag2"]},{"1350681947":["hashtag1","hashtag2"]},{"1350681940":["hashtag1","hashtag2"]},{"1350681936":["hashtag1","hashtag2"]},{"1350681951":["hashtag1","hashtag2"]},{"1350681945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681953, 1350681947, 1350681940, 1350681936, 1350681951, 1350681945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.47240424156189 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:25:33.273261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_56_10368.jpg', '/home/pi/Desktop/images/09042025/04/11/image_09042025_04_12_05_9339.jpg', '/home/pi/Desktop/images/09042025/04/12/image_09042025_04_12_15_10459.jpg', '/home/pi/Desktop/images/09042025/04/12/image_09042025_04_12_46_10380.jpg', '/home/pi/Desktop/images/09042025/04/12/image_09042025_04_12_55_9359.jpg', '/home/pi/Desktop/images/09042025/04/12/image_09042025_04_13_05_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/11/image_09042025_04_11_56_10368.jpg
/home/pi/Desktop/images/09042025/04/11/image_09042025_04_12_05_9339.jpg
/home/pi/Desktop/images/09042025/04/12/image_09042025_04_12_15_10459.jpg
/home/pi/Desktop/images/09042025/04/12/image_09042025_04_12_46_10380.jpg
/home/pi/Desktop/images/09042025/04/12/image_09042025_04_12_55_9359.jpg
/home/pi/Desktop/images/09042025/04/12/image_09042025_04_13_05_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350681992","1350681980","1350681988","1350681982","1350681985","1350681981"],"photo_ids_order":["1350681980","1350681981","1350681982","1350681985","1350681988","1350681992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67b5e629474bdc7f0f79465658fe3dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3294334706636524533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176393743,"filename":"image_09042025_04_13_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/4/9/8ce459fdd9ebc7314b5dbbe980d92efe.jpg","text":"TemporaryFile(/tmp/multipartBody7892358792338267066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176393743,"filename":"image_09042025_04_11_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/25f5296f5479d689ecb3d1595f7a4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1932785217766969852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176393743,"filename":"image_09042025_04_12_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/4/9/097b2ed973312cc1e494ef237f6ac424.jpg","text":"TemporaryFile(/tmp/multipartBody8566010679371075280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176393743,"filename":"image_09042025_04_12_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/4/9/7687ef043bee9651dfe7f07ffcc6b503.jpg","text":"TemporaryFile(/tmp/multipartBody942411311382632086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176393743,"filename":"image_09042025_04_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/4/9/b7395969449721f4925ff06c99489a57.jpg","text":"TemporaryFile(/tmp/multipartBody8746458069393586906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176393743,"filename":"image_09042025_04_12_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350681982","file1":"1350681981","file0":"1350681980","file4":"1350681988","file5":"1350681992","file3":"1350681985"},"map_files_photo_id_array":[{"photo_id":"1350681992","filename":"file5"},{"photo_id":"1350681982","filename":"file2"},{"photo_id":"1350681988","filename":"file4"},{"photo_id":"1350681981","filename":"file1"},{"photo_id":"1350681980","filename":"file0"},{"photo_id":"1350681985","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350681992":["hashtag1","hashtag2"]},{"1350681980":["hashtag1","hashtag2"]},{"1350681988":["hashtag1","hashtag2"]},{"1350681982":["hashtag1","hashtag2"]},{"1350681985":["hashtag1","hashtag2"]},{"1350681981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350681992, 1350681980, 1350681988, 1350681982, 1350681985, 1350681981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58111882209778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:26:32.404773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/13/image_09042025_04_13_15_9342.jpg', '/home/pi/Desktop/images/09042025/04/13/image_09042025_04_13_25_10373.jpg', '/home/pi/Desktop/images/09042025/04/13/image_09042025_04_13_55_9373.jpg', '/home/pi/Desktop/images/09042025/04/14/image_09042025_04_14_16_10357.jpg', '/home/pi/Desktop/images/09042025/04/14/image_09042025_04_14_25_9482.jpg', '/home/pi/Desktop/images/09042025/04/14/image_09042025_04_14_35_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/13/image_09042025_04_13_15_9342.jpg
/home/pi/Desktop/images/09042025/04/13/image_09042025_04_13_25_10373.jpg
/home/pi/Desktop/images/09042025/04/13/image_09042025_04_13_55_9373.jpg
/home/pi/Desktop/images/09042025/04/14/image_09042025_04_14_16_10357.jpg
/home/pi/Desktop/images/09042025/04/14/image_09042025_04_14_25_9482.jpg
/home/pi/Desktop/images/09042025/04/14/image_09042025_04_14_35_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":["1350682028","1350682016","1350682019","1350682024","1350682021","1350682026"],"photo_ids_order":["1350682016","1350682019","1350682021","1350682024","1350682026","1350682028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/87e2f70f36e6e7549c322dc985b334c7.jpg","text":"TemporaryFile(/tmp/multipartBody168686523489318417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176452873,"filename":"image_09042025_04_14_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/4/9/5f68d18151588ff575b067a7149b5bb6.jpg","text":"TemporaryFile(/tmp/multipartBody4932315504782351724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176452873,"filename":"image_09042025_04_13_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/4/9/36147e4f510bb7ead1f44b9b3b47d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody7826824436894033519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176452873,"filename":"image_09042025_04_13_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/4/9/968bb3f6bcc7280ea7aa2a47045cf520.jpg","text":"TemporaryFile(/tmp/multipartBody9017170920459411354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176452873,"filename":"image_09042025_04_14_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/4/9/6446ab36374fc742edcf939c2d7c380d.jpg","text":"TemporaryFile(/tmp/multipartBody2657273598893497268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176452873,"filename":"image_09042025_04_13_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa172d3b8e2c4891596f0a9017e6b5b6.jpg","text":"TemporaryFile(/tmp/multipartBody5590326248578468753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176452873,"filename":"image_09042025_04_14_25_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682021","file1":"1350682019","file0":"1350682016","file4":"1350682026","file5":"1350682028","file3":"1350682024"},"map_files_photo_id_array":[{"photo_id":"1350682028","filename":"file5"},{"photo_id":"1350682021","filename":"file2"},{"photo_id":"1350682026","filename":"file4"},{"photo_id":"1350682019","filename":"file1"},{"photo_id":"1350682016","filename":"file0"},{"photo_id":"1350682024","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682028":["hashtag1","hashtag2"]},{"1350682016":["hashtag1","hashtag2"]},{"1350682019":["hashtag1","hashtag2"]},{"1350682024":["hashtag1","hashtag2"]},{"1350682021":["hashtag1","hashtag2"]},{"1350682026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682028, 1350682016, 1350682019, 1350682024, 1350682021, 1350682026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36503052711487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:27:32.643836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/14/image_09042025_04_14_55_10426.jpg', '/home/pi/Desktop/images/09042025/04/14/image_09042025_04_15_06_10355.jpg', '/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_15_9349.jpg', '/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_25_10347.jpg', '/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_35_9331.jpg', '/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_45_10501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/14/image_09042025_04_14_55_10426.jpg
/home/pi/Desktop/images/09042025/04/14/image_09042025_04_15_06_10355.jpg
/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_15_9349.jpg
/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_25_10347.jpg
/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_35_9331.jpg
/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_45_10501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682054","1350682057","1350682056","1350682050","1350682058","1350682052"],"photo_ids_order":["1350682050","1350682052","1350682054","1350682056","1350682057","1350682058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6262662e4969031f8a79de488d0fed90.jpg","text":"TemporaryFile(/tmp/multipartBody4459743444713284161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176513129,"filename":"image_09042025_04_15_15_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6b25ad4957af994692ab93f13d553f5.jpg","text":"TemporaryFile(/tmp/multipartBody337652965423618360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176513129,"filename":"image_09042025_04_15_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/4/9/c0e2f74f091c46ab2ea90ef261f92b19.jpg","text":"TemporaryFile(/tmp/multipartBody7938545369269525636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176513129,"filename":"image_09042025_04_15_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/4/9/e138c1652bb6c5204847de7621c4f70d.jpg","text":"TemporaryFile(/tmp/multipartBody6954399905323521126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176513129,"filename":"image_09042025_04_14_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/4/9/6a2edabb4a83f18a34f766e7be6bc25e.jpg","text":"TemporaryFile(/tmp/multipartBody8270069133565811828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176513129,"filename":"image_09042025_04_15_45_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b3117c42338e459a102cabab565f693.jpg","text":"TemporaryFile(/tmp/multipartBody6437197115473865336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176513129,"filename":"image_09042025_04_15_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682054","file1":"1350682052","file0":"1350682050","file4":"1350682057","file5":"1350682058","file3":"1350682056"},"map_files_photo_id_array":[{"photo_id":"1350682058","filename":"file5"},{"photo_id":"1350682054","filename":"file2"},{"photo_id":"1350682057","filename":"file4"},{"photo_id":"1350682052","filename":"file1"},{"photo_id":"1350682050","filename":"file0"},{"photo_id":"1350682056","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682054":["hashtag1","hashtag2"]},{"1350682057":["hashtag1","hashtag2"]},{"1350682056":["hashtag1","hashtag2"]},{"1350682050":["hashtag1","hashtag2"]},{"1350682058":["hashtag1","hashtag2"]},{"1350682052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682054, 1350682057, 1350682056, 1350682050, 1350682058, 1350682052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.050196170806885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:28:32.753885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_55_10380.jpg', '/home/pi/Desktop/images/09042025/04/15/image_09042025_04_16_05_9338.jpg', '/home/pi/Desktop/images/09042025/04/16/image_09042025_04_16_15_10365.jpg', '/home/pi/Desktop/images/09042025/04/16/image_09042025_04_16_26_10361.jpg', '/home/pi/Desktop/images/09042025/04/16/image_09042025_04_16_45_10458.jpg', '/home/pi/Desktop/images/09042025/04/16/image_09042025_04_16_55_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/15/image_09042025_04_15_55_10380.jpg
/home/pi/Desktop/images/09042025/04/15/image_09042025_04_16_05_9338.jpg
/home/pi/Desktop/images/09042025/04/16/image_09042025_04_16_15_10365.jpg
/home/pi/Desktop/images/09042025/04/16/image_09042025_04_16_26_10361.jpg
/home/pi/Desktop/images/09042025/04/16/image_09042025_04_16_45_10458.jpg
/home/pi/Desktop/images/09042025/04/16/image_09042025_04_16_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":["1350682093","1350682086","1350682082","1350682091","1350682085","1350682088"],"photo_ids_order":["1350682082","1350682085","1350682086","1350682088","1350682091","1350682093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ccecd85de81a0abd83276dfc408fa293.jpg","text":"TemporaryFile(/tmp/multipartBody4408450241244240813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176573230,"filename":"image_09042025_04_16_55_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/686e4f924e51f01606f1d6ad10e7fbe6.jpg","text":"TemporaryFile(/tmp/multipartBody3489763632910162722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176573230,"filename":"image_09042025_04_16_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/4/9/b94d12f55e77fe5771ec58f09b6603f1.jpg","text":"TemporaryFile(/tmp/multipartBody7555758122871057535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176573230,"filename":"image_09042025_04_15_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/4/9/0d064ec4234cb6bf7f2c1d97b8d56196.jpg","text":"TemporaryFile(/tmp/multipartBody7880104737984981977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176573230,"filename":"image_09042025_04_16_45_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81f2df2456bfc3762dff70a2cafb4b69.jpg","text":"TemporaryFile(/tmp/multipartBody3886351970439331946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176573230,"filename":"image_09042025_04_16_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/4/9/6c607180883f0fc0c0fec4541d5b60a8.jpg","text":"TemporaryFile(/tmp/multipartBody1953875328176558333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176573230,"filename":"image_09042025_04_16_26_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682086","file1":"1350682085","file0":"1350682082","file4":"1350682091","file5":"1350682093","file3":"1350682088"},"map_files_photo_id_array":[{"photo_id":"1350682093","filename":"file5"},{"photo_id":"1350682086","filename":"file2"},{"photo_id":"1350682091","filename":"file4"},{"photo_id":"1350682085","filename":"file1"},{"photo_id":"1350682082","filename":"file0"},{"photo_id":"1350682088","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682093":["hashtag1","hashtag2"]},{"1350682086":["hashtag1","hashtag2"]},{"1350682082":["hashtag1","hashtag2"]},{"1350682091":["hashtag1","hashtag2"]},{"1350682085":["hashtag1","hashtag2"]},{"1350682088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682093, 1350682086, 1350682082, 1350682091, 1350682085, 1350682088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.823354959487915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:29:33.002718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/16/image_09042025_04_17_05_10374.jpg', '/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_15_10335.jpg', '/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_25_9372.jpg', '/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_35_10454.jpg', '/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_45_9362.jpg', '/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_55_10502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/16/image_09042025_04_17_05_10374.jpg
/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_15_10335.jpg
/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_25_9372.jpg
/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_35_10454.jpg
/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_45_9362.jpg
/home/pi/Desktop/images/09042025/04/17/image_09042025_04_17_55_10502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682127","1350682121","1350682124","1350682129","1350682131","1350682119"],"photo_ids_order":["1350682119","1350682121","1350682124","1350682127","1350682129","1350682131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f63d5ab8b83048bbe6accf8939111657.jpg","text":"TemporaryFile(/tmp/multipartBody392225624581402495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176633515,"filename":"image_09042025_04_17_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/4/9/7a180e1cd31d05ffaa028552a77413d4.jpg","text":"TemporaryFile(/tmp/multipartBody883151951373536534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176633515,"filename":"image_09042025_04_17_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/4/9/a513d449d9e5de0ad508e7f87a0e65d9.jpg","text":"TemporaryFile(/tmp/multipartBody4110789672269296543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176633515,"filename":"image_09042025_04_17_25_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0bdcee6ca08fa7d8e47c6902d27c692.jpg","text":"TemporaryFile(/tmp/multipartBody235019851661118028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176633515,"filename":"image_09042025_04_17_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b83a2951efaa44885cf581017a4bbca.jpg","text":"TemporaryFile(/tmp/multipartBody4348557908807687161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176633515,"filename":"image_09042025_04_17_55_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7781eb91375a18922f8c5282c3eb22b.jpg","text":"TemporaryFile(/tmp/multipartBody3576572799621187175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176633515,"filename":"image_09042025_04_17_05_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682124","file1":"1350682121","file0":"1350682119","file4":"1350682129","file5":"1350682131","file3":"1350682127"},"map_files_photo_id_array":[{"photo_id":"1350682131","filename":"file5"},{"photo_id":"1350682124","filename":"file2"},{"photo_id":"1350682129","filename":"file4"},{"photo_id":"1350682121","filename":"file1"},{"photo_id":"1350682119","filename":"file0"},{"photo_id":"1350682127","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682127":["hashtag1","hashtag2"]},{"1350682121":["hashtag1","hashtag2"]},{"1350682124":["hashtag1","hashtag2"]},{"1350682129":["hashtag1","hashtag2"]},{"1350682131":["hashtag1","hashtag2"]},{"1350682119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682127, 1350682121, 1350682124, 1350682129, 1350682131, 1350682119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45437693595886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:30:32.308845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/17/image_09042025_04_18_05_9439.jpg', '/home/pi/Desktop/images/09042025/04/18/image_09042025_04_18_15_10462.jpg', '/home/pi/Desktop/images/09042025/04/18/image_09042025_04_18_35_9370.jpg', '/home/pi/Desktop/images/09042025/04/18/image_09042025_04_18_45_10466.jpg', '/home/pi/Desktop/images/09042025/04/18/image_09042025_04_18_55_9375.jpg', '/home/pi/Desktop/images/09042025/04/18/image_09042025_04_19_05_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/17/image_09042025_04_18_05_9439.jpg
/home/pi/Desktop/images/09042025/04/18/image_09042025_04_18_15_10462.jpg
/home/pi/Desktop/images/09042025/04/18/image_09042025_04_18_35_9370.jpg
/home/pi/Desktop/images/09042025/04/18/image_09042025_04_18_45_10466.jpg
/home/pi/Desktop/images/09042025/04/18/image_09042025_04_18_55_9375.jpg
/home/pi/Desktop/images/09042025/04/18/image_09042025_04_19_05_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":["1350682160","1350682150","1350682161","1350682155","1350682158","1350682157"],"photo_ids_order":["1350682150","1350682155","1350682157","1350682158","1350682160","1350682161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cde45561903727cdabf3859c7633d5ce.jpg","text":"TemporaryFile(/tmp/multipartBody9157893118428515804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176692774,"filename":"image_09042025_04_18_55_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51ecabc8686dd472f9aabe87b795717f.jpg","text":"TemporaryFile(/tmp/multipartBody7021913658725835784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176692774,"filename":"image_09042025_04_18_05_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a858816f0db3d2f4677e3769aa6e33f5.jpg","text":"TemporaryFile(/tmp/multipartBody3382807767265112468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176692774,"filename":"image_09042025_04_19_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a171afdff6623ce96ea577e3d8258776.jpg","text":"TemporaryFile(/tmp/multipartBody7351148630091370020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176692774,"filename":"image_09042025_04_18_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf139e35f31583414bd4922a3c22ce2b.jpg","text":"TemporaryFile(/tmp/multipartBody1566493912497692399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176692774,"filename":"image_09042025_04_18_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/4/9/e74420255f1d00da1478bd3366a04223.jpg","text":"TemporaryFile(/tmp/multipartBody6800415841001664879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176692774,"filename":"image_09042025_04_18_35_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682157","file1":"1350682155","file0":"1350682150","file4":"1350682160","file5":"1350682161","file3":"1350682158"},"map_files_photo_id_array":[{"photo_id":"1350682161","filename":"file5"},{"photo_id":"1350682157","filename":"file2"},{"photo_id":"1350682160","filename":"file4"},{"photo_id":"1350682155","filename":"file1"},{"photo_id":"1350682150","filename":"file0"},{"photo_id":"1350682158","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682160":["hashtag1","hashtag2"]},{"1350682150":["hashtag1","hashtag2"]},{"1350682161":["hashtag1","hashtag2"]},{"1350682155":["hashtag1","hashtag2"]},{"1350682158":["hashtag1","hashtag2"]},{"1350682157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682160, 1350682150, 1350682161, 1350682155, 1350682158, 1350682157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22602581977844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:31:32.418008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_15_10356.jpg', '/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_25_9354.jpg', '/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_35_10427.jpg', '/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_45_9361.jpg', '/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_55_10529.jpg', '/home/pi/Desktop/images/09042025/04/19/image_09042025_04_20_06_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_15_10356.jpg
/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_25_9354.jpg
/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_35_10427.jpg
/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_45_9361.jpg
/home/pi/Desktop/images/09042025/04/19/image_09042025_04_19_55_10529.jpg
/home/pi/Desktop/images/09042025/04/19/image_09042025_04_20_06_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682186","1350682182","1350682179","1350682187","1350682181","1350682184"],"photo_ids_order":["1350682179","1350682181","1350682182","1350682184","1350682186","1350682187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fdab0a0798884404fc4d316a0ffa0770.jpg","text":"TemporaryFile(/tmp/multipartBody3009474722406025020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176752881,"filename":"image_09042025_04_19_55_10529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a29b0d3ca24570d775cb97aa03dad9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2197383638850327219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176752881,"filename":"image_09042025_04_19_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/4/9/d4964c70c26f251bebc92174d1ffe26f.jpg","text":"TemporaryFile(/tmp/multipartBody2840575553356840058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176752881,"filename":"image_09042025_04_19_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/4/9/04092ccb1c386d9a19c77d5a44ad7640.jpg","text":"TemporaryFile(/tmp/multipartBody2019996523780227882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176752881,"filename":"image_09042025_04_20_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/43d48c2945b762291e17e76db42cae92.jpg","text":"TemporaryFile(/tmp/multipartBody8332585959787964299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176752881,"filename":"image_09042025_04_19_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/4/9/bf5eee412834355e4e26a5a0be4801a9.jpg","text":"TemporaryFile(/tmp/multipartBody7353462998057035092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176752881,"filename":"image_09042025_04_19_45_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682182","file1":"1350682181","file0":"1350682179","file4":"1350682186","file5":"1350682187","file3":"1350682184"},"map_files_photo_id_array":[{"photo_id":"1350682187","filename":"file5"},{"photo_id":"1350682182","filename":"file2"},{"photo_id":"1350682186","filename":"file4"},{"photo_id":"1350682181","filename":"file1"},{"photo_id":"1350682179","filename":"file0"},{"photo_id":"1350682184","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682186":["hashtag1","hashtag2"]},{"1350682182":["hashtag1","hashtag2"]},{"1350682179":["hashtag1","hashtag2"]},{"1350682187":["hashtag1","hashtag2"]},{"1350682181":["hashtag1","hashtag2"]},{"1350682184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682186, 1350682182, 1350682179, 1350682187, 1350682181, 1350682184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.549744367599487 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:32:32.741576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_15_9461.jpg', '/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_45_10481.jpg', '/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_56_10379.jpg', '/home/pi/Desktop/images/09042025/04/20/image_09042025_04_21_05_9408.jpg', '/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_15_10367.jpg', '/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_25_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_15_9461.jpg
/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_45_10481.jpg
/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_56_10379.jpg
/home/pi/Desktop/images/09042025/04/20/image_09042025_04_21_05_9408.jpg
/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_15_10367.jpg
/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_25_9371.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39351797103881836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 07:32:42.675026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_15_9461.jpg', '/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_45_10481.jpg', '/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_56_10379.jpg', '/home/pi/Desktop/images/09042025/04/20/image_09042025_04_21_05_9408.jpg', '/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_15_10367.jpg', '/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_25_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_15_9461.jpg
/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_45_10481.jpg
/home/pi/Desktop/images/09042025/04/20/image_09042025_04_20_56_10379.jpg
/home/pi/Desktop/images/09042025/04/20/image_09042025_04_21_05_9408.jpg
/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_15_10367.jpg
/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_25_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682211","1350682220","1350682214","1350682216","1350682219","1350682218"],"photo_ids_order":["1350682211","1350682214","1350682216","1350682218","1350682219","1350682220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3b093194159109e5a0828f9a245405b.jpg","text":"TemporaryFile(/tmp/multipartBody7524608597499948944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176823156,"filename":"image_09042025_04_20_15_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d047931adbb9e921e5024392a78a06ce.jpg","text":"TemporaryFile(/tmp/multipartBody2838414948875992686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176823156,"filename":"image_09042025_04_21_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f2d0c7bf4cf876f8ff6003ba393524cc.jpg","text":"TemporaryFile(/tmp/multipartBody7629516689416823824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176823156,"filename":"image_09042025_04_20_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/4/9/66afcd4c727835ca51a7c1f487168f4d.jpg","text":"TemporaryFile(/tmp/multipartBody4551067830363329523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176823156,"filename":"image_09042025_04_20_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/4/9/604a51a94ec6023777913071ee3c3997.jpg","text":"TemporaryFile(/tmp/multipartBody1091589050539335233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176823156,"filename":"image_09042025_04_21_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/4/9/ba671f8e8501726c7d129c0c6d1efd05.jpg","text":"TemporaryFile(/tmp/multipartBody6931019606559310278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176823156,"filename":"image_09042025_04_21_05_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682216","file1":"1350682214","file0":"1350682211","file4":"1350682219","file5":"1350682220","file3":"1350682218"},"map_files_photo_id_array":[{"photo_id":"1350682220","filename":"file5"},{"photo_id":"1350682216","filename":"file2"},{"photo_id":"1350682219","filename":"file4"},{"photo_id":"1350682214","filename":"file1"},{"photo_id":"1350682211","filename":"file0"},{"photo_id":"1350682218","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682211":["hashtag1","hashtag2"]},{"1350682220":["hashtag1","hashtag2"]},{"1350682214":["hashtag1","hashtag2"]},{"1350682216":["hashtag1","hashtag2"]},{"1350682219":["hashtag1","hashtag2"]},{"1350682218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682211, 1350682220, 1350682214, 1350682216, 1350682219, 1350682218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.768439292907715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:33:32.866424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_35_10407.jpg', '/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_45_9472.jpg', '/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_55_10438.jpg', '/home/pi/Desktop/images/09042025/04/21/image_09042025_04_22_05_10367.jpg', '/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_15_9340.jpg', '/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_25_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_35_10407.jpg
/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_45_9472.jpg
/home/pi/Desktop/images/09042025/04/21/image_09042025_04_21_55_10438.jpg
/home/pi/Desktop/images/09042025/04/21/image_09042025_04_22_05_10367.jpg
/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_15_9340.jpg
/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_25_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":["1350682241","1350682240","1350682243","1350682246","1350682245","1350682238"],"photo_ids_order":["1350682238","1350682240","1350682241","1350682243","1350682245","1350682246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ad01cdb61af129eef31bfa0897bc83f.jpg","text":"TemporaryFile(/tmp/multipartBody2078562954607302614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176873352,"filename":"image_09042025_04_21_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/4/9/d26a35053d5b27d42d5e6d837f93f229.jpg","text":"TemporaryFile(/tmp/multipartBody8547651820495238215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176873352,"filename":"image_09042025_04_21_45_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e50a953e569ee75ff5719c033d77f97.jpg","text":"TemporaryFile(/tmp/multipartBody955098314783954517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176873352,"filename":"image_09042025_04_22_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37d655e44083a02857b4f5eba813a077.jpg","text":"TemporaryFile(/tmp/multipartBody5906780583833232734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176873352,"filename":"image_09042025_04_22_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/4/9/e9ceffcc1d38c1919bd29bf56c18c25e.jpg","text":"TemporaryFile(/tmp/multipartBody3146463576679381643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176873352,"filename":"image_09042025_04_22_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0de90b855769a4c7a8d254cd417b24f9.jpg","text":"TemporaryFile(/tmp/multipartBody3988461911350715431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176873352,"filename":"image_09042025_04_21_35_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682241","file1":"1350682240","file0":"1350682238","file4":"1350682245","file5":"1350682246","file3":"1350682243"},"map_files_photo_id_array":[{"photo_id":"1350682246","filename":"file5"},{"photo_id":"1350682241","filename":"file2"},{"photo_id":"1350682245","filename":"file4"},{"photo_id":"1350682240","filename":"file1"},{"photo_id":"1350682238","filename":"file0"},{"photo_id":"1350682243","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682241":["hashtag1","hashtag2"]},{"1350682240":["hashtag1","hashtag2"]},{"1350682243":["hashtag1","hashtag2"]},{"1350682246":["hashtag1","hashtag2"]},{"1350682245":["hashtag1","hashtag2"]},{"1350682238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682241, 1350682240, 1350682243, 1350682246, 1350682245, 1350682238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05121088027954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:34:33.052613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_36_10350.jpg', '/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_45_9490.jpg', '/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_55_10363.jpg', '/home/pi/Desktop/images/09042025/04/22/image_09042025_04_23_05_9338.jpg', '/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_15_10333.jpg', '/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_25_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_36_10350.jpg
/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_45_9490.jpg
/home/pi/Desktop/images/09042025/04/22/image_09042025_04_22_55_10363.jpg
/home/pi/Desktop/images/09042025/04/22/image_09042025_04_23_05_9338.jpg
/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_15_10333.jpg
/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_25_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682288","1350682273","1350682284","1350682286","1350682280","1350682277"],"photo_ids_order":["1350682273","1350682277","1350682280","1350682284","1350682286","1350682288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75f245cd8e561212c5689d81c27aef59.jpg","text":"TemporaryFile(/tmp/multipartBody6031435329688195607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176933534,"filename":"image_09042025_04_23_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/4/9/4dd50bdbc7d96169479a2bdfbbe0d20a.jpg","text":"TemporaryFile(/tmp/multipartBody5758158961587615596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176933534,"filename":"image_09042025_04_22_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09b1f3bfd2f34decd33ff43e2953810a.jpg","text":"TemporaryFile(/tmp/multipartBody3963338568690769167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176933534,"filename":"image_09042025_04_23_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/4/9/7565839481076656bdf9bfdd7c6dd776.jpg","text":"TemporaryFile(/tmp/multipartBody4087454068466900198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176933534,"filename":"image_09042025_04_23_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/4/9/8ca326062ebbc2945faeeac687035f43.jpg","text":"TemporaryFile(/tmp/multipartBody1460533836179183663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176933534,"filename":"image_09042025_04_22_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/4/9/556232eb2522138122c932b717669f59.jpg","text":"TemporaryFile(/tmp/multipartBody6883078545037075113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176933534,"filename":"image_09042025_04_22_45_9490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682280","file1":"1350682277","file0":"1350682273","file4":"1350682286","file5":"1350682288","file3":"1350682284"},"map_files_photo_id_array":[{"photo_id":"1350682288","filename":"file5"},{"photo_id":"1350682280","filename":"file2"},{"photo_id":"1350682286","filename":"file4"},{"photo_id":"1350682277","filename":"file1"},{"photo_id":"1350682273","filename":"file0"},{"photo_id":"1350682284","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682288":["hashtag1","hashtag2"]},{"1350682273":["hashtag1","hashtag2"]},{"1350682284":["hashtag1","hashtag2"]},{"1350682286":["hashtag1","hashtag2"]},{"1350682280":["hashtag1","hashtag2"]},{"1350682277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682288, 1350682273, 1350682284, 1350682286, 1350682280, 1350682277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.96213984489441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:35:32.536662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_35_9386.jpg', '/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_45_10376.jpg', '/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_55_9374.jpg', '/home/pi/Desktop/images/09042025/04/23/image_09042025_04_24_05_10419.jpg', '/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_15_10344.jpg', '/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_25_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_35_9386.jpg
/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_45_10376.jpg
/home/pi/Desktop/images/09042025/04/23/image_09042025_04_23_55_9374.jpg
/home/pi/Desktop/images/09042025/04/23/image_09042025_04_24_05_10419.jpg
/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_15_10344.jpg
/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_25_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682310","1350682321","1350682318","1350682314","1350682323","1350682322"],"photo_ids_order":["1350682310","1350682314","1350682318","1350682321","1350682322","1350682323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b338e6cb3cc29d6ed06f9e8e16103f84.jpg","text":"TemporaryFile(/tmp/multipartBody4185959457992871831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176993038,"filename":"image_09042025_04_23_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/4/9/66a731625873b2924d6b82e26595f77a.jpg","text":"TemporaryFile(/tmp/multipartBody1081440257180429275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176993038,"filename":"image_09042025_04_24_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/4/9/af759633c7af60f0d5c3061eac4afe0d.jpg","text":"TemporaryFile(/tmp/multipartBody6996932141198721556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176993038,"filename":"image_09042025_04_23_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/4/9/b5bbd1833ee35d734b080981ceaa1731.jpg","text":"TemporaryFile(/tmp/multipartBody172590968177647128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176993038,"filename":"image_09042025_04_23_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/4/9/b74498f4659ade38a25a2c754ca75570.jpg","text":"TemporaryFile(/tmp/multipartBody5573018985979800045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176993038,"filename":"image_09042025_04_24_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b40d85900407bcdaadecb0fee8e375d.jpg","text":"TemporaryFile(/tmp/multipartBody3040389738222725204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744176993038,"filename":"image_09042025_04_24_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682318","file1":"1350682314","file0":"1350682310","file4":"1350682322","file5":"1350682323","file3":"1350682321"},"map_files_photo_id_array":[{"photo_id":"1350682323","filename":"file5"},{"photo_id":"1350682318","filename":"file2"},{"photo_id":"1350682322","filename":"file4"},{"photo_id":"1350682314","filename":"file1"},{"photo_id":"1350682310","filename":"file0"},{"photo_id":"1350682321","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682310":["hashtag1","hashtag2"]},{"1350682321":["hashtag1","hashtag2"]},{"1350682318":["hashtag1","hashtag2"]},{"1350682314":["hashtag1","hashtag2"]},{"1350682323":["hashtag1","hashtag2"]},{"1350682322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682310, 1350682321, 1350682318, 1350682314, 1350682323, 1350682322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96680498123169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:36:32.675307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_35_10413.jpg', '/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_45_10358.jpg', '/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_55_9388.jpg', '/home/pi/Desktop/images/09042025/04/24/image_09042025_04_25_05_10467.jpg', '/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_15_9339.jpg', '/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_25_10496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_35_10413.jpg
/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_45_10358.jpg
/home/pi/Desktop/images/09042025/04/24/image_09042025_04_24_55_9388.jpg
/home/pi/Desktop/images/09042025/04/24/image_09042025_04_25_05_10467.jpg
/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_15_9339.jpg
/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_25_10496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682360","1350682354","1350682357","1350682362","1350682350","1350682353"],"photo_ids_order":["1350682350","1350682353","1350682354","1350682357","1350682360","1350682362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/53e9c4bd230da9199f1689620d528d88.jpg","text":"TemporaryFile(/tmp/multipartBody3521694624911071520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177053150,"filename":"image_09042025_04_25_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/4/9/94769e1d26b282ad2b3e7dff7daeff68.jpg","text":"TemporaryFile(/tmp/multipartBody7120052812214660180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177053150,"filename":"image_09042025_04_24_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b2e4ee9e4bc7cccc654e92ca1b53dedf.jpg","text":"TemporaryFile(/tmp/multipartBody1623513978328924443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177053150,"filename":"image_09042025_04_25_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/4/9/0e30fa957208c2eb3503892f03f6468f.jpg","text":"TemporaryFile(/tmp/multipartBody669044778366171111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177053150,"filename":"image_09042025_04_25_25_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b154006e0deb31ab76f7850f531b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody6701384533392236038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177053150,"filename":"image_09042025_04_24_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/4/9/d2f015cac612460661782fdd747a6ddc.jpg","text":"TemporaryFile(/tmp/multipartBody2502986855028819731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177053150,"filename":"image_09042025_04_24_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682354","file1":"1350682353","file0":"1350682350","file4":"1350682360","file5":"1350682362","file3":"1350682357"},"map_files_photo_id_array":[{"photo_id":"1350682362","filename":"file5"},{"photo_id":"1350682354","filename":"file2"},{"photo_id":"1350682360","filename":"file4"},{"photo_id":"1350682353","filename":"file1"},{"photo_id":"1350682350","filename":"file0"},{"photo_id":"1350682357","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682360":["hashtag1","hashtag2"]},{"1350682354":["hashtag1","hashtag2"]},{"1350682357":["hashtag1","hashtag2"]},{"1350682362":["hashtag1","hashtag2"]},{"1350682350":["hashtag1","hashtag2"]},{"1350682353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682360, 1350682354, 1350682357, 1350682362, 1350682350, 1350682353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.025086641311646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 07:37:04.566772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_36_10348.jpg', '/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_45_9352.jpg', '/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_55_10470.jpg', '/home/pi/Desktop/images/09042025/04/25/image_09042025_04_26_05_9353.jpg', '/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_15_10383.jpg', '/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_36_10348.jpg
/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_45_9352.jpg
/home/pi/Desktop/images/09042025/04/25/image_09042025_04_25_55_10470.jpg
/home/pi/Desktop/images/09042025/04/25/image_09042025_04_26_05_9353.jpg
/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_15_10383.jpg
/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_25_10377.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682387","1350682372","1350682381","1350682369","1350682377","1350682367"],"photo_ids_order":["1350682367","1350682369","1350682372","1350682377","1350682381","1350682387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77cc6121b0ad19fafa83a729f82c011f.jpg","text":"TemporaryFile(/tmp/multipartBody552943346111832031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177085203,"filename":"image_09042025_04_26_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/4/9/6f9bbfcf2bf91b5179297e634049cff2.jpg","text":"TemporaryFile(/tmp/multipartBody6274242092564990142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177085203,"filename":"image_09042025_04_25_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/4/9/506f6cb0e5176ece373e7de726fd2940.jpg","text":"TemporaryFile(/tmp/multipartBody2760473853301227947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177085203,"filename":"image_09042025_04_26_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/4/9/a52e95fd6ac5d0a87d5595b3b612f435.jpg","text":"TemporaryFile(/tmp/multipartBody1887122064197828518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177085203,"filename":"image_09042025_04_25_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/4/9/1e6c0772fecdb28699b5e45d71d65a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7493478252299587039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177085203,"filename":"image_09042025_04_26_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/4/9/2fddd3df26c131eca303f4d203178c48.jpg","text":"TemporaryFile(/tmp/multipartBody2306190526791123966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177085203,"filename":"image_09042025_04_25_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682372","file1":"1350682369","file0":"1350682367","file4":"1350682381","file5":"1350682387","file3":"1350682377"},"map_files_photo_id_array":[{"photo_id":"1350682387","filename":"file5"},{"photo_id":"1350682372","filename":"file2"},{"photo_id":"1350682381","filename":"file4"},{"photo_id":"1350682369","filename":"file1"},{"photo_id":"1350682367","filename":"file0"},{"photo_id":"1350682377","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682387":["hashtag1","hashtag2"]},{"1350682372":["hashtag1","hashtag2"]},{"1350682381":["hashtag1","hashtag2"]},{"1350682369":["hashtag1","hashtag2"]},{"1350682377":["hashtag1","hashtag2"]},{"1350682367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682387, 1350682372, 1350682381, 1350682369, 1350682377, 1350682367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.285241842269897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 07:37:42.905196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_35_9342.jpg', '/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_45_10454.jpg', '/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_55_9357.jpg', '/home/pi/Desktop/images/09042025/04/26/image_09042025_04_27_05_10405.jpg', '/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_15_10340.jpg', '/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_25_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_35_9342.jpg
/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_45_10454.jpg
/home/pi/Desktop/images/09042025/04/26/image_09042025_04_26_55_9357.jpg
/home/pi/Desktop/images/09042025/04/26/image_09042025_04_27_05_10405.jpg
/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_15_10340.jpg
/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_25_9487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682403","1350682406","1350682400","1350682405","1350682407","1350682410"],"photo_ids_order":["1350682400","1350682403","1350682405","1350682406","1350682407","1350682410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3029e5eb2612defb32723ca6a4c38859.jpg","text":"TemporaryFile(/tmp/multipartBody4144881048590114678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177123367,"filename":"image_09042025_04_26_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/4/9/3f65efd92d01b54c1edcb70316a92cc9.jpg","text":"TemporaryFile(/tmp/multipartBody6283899705276381055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177123367,"filename":"image_09042025_04_27_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/4/9/06f626801a1c222d04ed23d8867ba985.jpg","text":"TemporaryFile(/tmp/multipartBody2359208454139562241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177123367,"filename":"image_09042025_04_26_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/4/9/6e319fa90eb9221f100b1b0362b52408.jpg","text":"TemporaryFile(/tmp/multipartBody4238301727108722551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177123367,"filename":"image_09042025_04_26_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/4/9/8709f813bb622d74591d1b7e7a9141f1.jpg","text":"TemporaryFile(/tmp/multipartBody4208837897956924320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177123367,"filename":"image_09042025_04_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/4/9/3dafe703ced9772eb29907793d30516a.jpg","text":"TemporaryFile(/tmp/multipartBody7804806413045762350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177123367,"filename":"image_09042025_04_27_25_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682405","file1":"1350682403","file0":"1350682400","file4":"1350682407","file5":"1350682410","file3":"1350682406"},"map_files_photo_id_array":[{"photo_id":"1350682410","filename":"file5"},{"photo_id":"1350682405","filename":"file2"},{"photo_id":"1350682407","filename":"file4"},{"photo_id":"1350682403","filename":"file1"},{"photo_id":"1350682400","filename":"file0"},{"photo_id":"1350682406","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682403":["hashtag1","hashtag2"]},{"1350682406":["hashtag1","hashtag2"]},{"1350682400":["hashtag1","hashtag2"]},{"1350682405":["hashtag1","hashtag2"]},{"1350682407":["hashtag1","hashtag2"]},{"1350682410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682403, 1350682406, 1350682400, 1350682405, 1350682407, 1350682410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49973654747009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:38:33.211499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_35_10400.jpg', '/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_45_9343.jpg', '/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_55_10400.jpg', '/home/pi/Desktop/images/09042025/04/27/image_09042025_04_28_05_10363.jpg', '/home/pi/Desktop/images/09042025/04/28/image_09042025_04_28_15_9333.jpg', '/home/pi/Desktop/images/09042025/04/28/image_09042025_04_28_35_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_35_10400.jpg
/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_45_9343.jpg
/home/pi/Desktop/images/09042025/04/27/image_09042025_04_27_55_10400.jpg
/home/pi/Desktop/images/09042025/04/27/image_09042025_04_28_05_10363.jpg
/home/pi/Desktop/images/09042025/04/28/image_09042025_04_28_15_9333.jpg
/home/pi/Desktop/images/09042025/04/28/image_09042025_04_28_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":["1350682430","1350682433","1350682432","1350682435","1350682434","1350682436"],"photo_ids_order":["1350682430","1350682432","1350682433","1350682434","1350682435","1350682436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9f4a6fbaec4906bf400c60397084fe7.jpg","text":"TemporaryFile(/tmp/multipartBody7199804453968679439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177173691,"filename":"image_09042025_04_27_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97e6bd551c06ea5b225f5b8da2e49ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7910039253164113812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177173691,"filename":"image_09042025_04_27_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/4/9/01b4b319cd3e159cc45666e669a8af52.jpg","text":"TemporaryFile(/tmp/multipartBody80569793638184355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177173691,"filename":"image_09042025_04_27_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/4/9/b648b66c7c0e4f4541bdbed80a0a7c69.jpg","text":"TemporaryFile(/tmp/multipartBody7189806991664888903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177173691,"filename":"image_09042025_04_28_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/4/9/77565d685f701eead4669b7059ef0c44.jpg","text":"TemporaryFile(/tmp/multipartBody5245051860200519011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177173691,"filename":"image_09042025_04_28_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/4/9/3a41125717124a0561c6b74a039a085a.jpg","text":"TemporaryFile(/tmp/multipartBody5751704847599646316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177173691,"filename":"image_09042025_04_28_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682433","file1":"1350682432","file0":"1350682430","file4":"1350682435","file5":"1350682436","file3":"1350682434"},"map_files_photo_id_array":[{"photo_id":"1350682436","filename":"file5"},{"photo_id":"1350682433","filename":"file2"},{"photo_id":"1350682435","filename":"file4"},{"photo_id":"1350682432","filename":"file1"},{"photo_id":"1350682430","filename":"file0"},{"photo_id":"1350682434","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682430":["hashtag1","hashtag2"]},{"1350682433":["hashtag1","hashtag2"]},{"1350682432":["hashtag1","hashtag2"]},{"1350682435":["hashtag1","hashtag2"]},{"1350682434":["hashtag1","hashtag2"]},{"1350682436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682430, 1350682433, 1350682432, 1350682435, 1350682434, 1350682436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.546239852905273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:39:32.513782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/28/image_09042025_04_28_45_9441.jpg', '/home/pi/Desktop/images/09042025/04/28/image_09042025_04_28_55_10509.jpg', '/home/pi/Desktop/images/09042025/04/28/image_09042025_04_29_05_9436.jpg', '/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_15_10462.jpg', '/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_25_9351.jpg', '/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_35_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/28/image_09042025_04_28_45_9441.jpg
/home/pi/Desktop/images/09042025/04/28/image_09042025_04_28_55_10509.jpg
/home/pi/Desktop/images/09042025/04/28/image_09042025_04_29_05_9436.jpg
/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_15_10462.jpg
/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_25_9351.jpg
/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_35_10756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682459","1350682473","1350682472","1350682466","1350682469","1350682463"],"photo_ids_order":["1350682459","1350682463","1350682466","1350682469","1350682472","1350682473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e87b8c89ddb4f5123e060159ce4fa3f.jpg","text":"TemporaryFile(/tmp/multipartBody3384833772869570704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177232988,"filename":"image_09042025_04_28_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/4/9/0e2a154a9eefc093b2d0ad618b010e4c.jpg","text":"TemporaryFile(/tmp/multipartBody2840240710266169838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177232988,"filename":"image_09042025_04_29_35_10756.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a5bb923e1776d92f445628d493f982c5.jpg","text":"TemporaryFile(/tmp/multipartBody6434713114441818809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177232988,"filename":"image_09042025_04_29_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/4/9/fae90589c7f9ad629b513d5946558766.jpg","text":"TemporaryFile(/tmp/multipartBody2685009971393993539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177232988,"filename":"image_09042025_04_29_05_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19a656920f77759e032b2a6520bb0a93.jpg","text":"TemporaryFile(/tmp/multipartBody4617715633697209762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177232988,"filename":"image_09042025_04_29_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd86e175690ca377164973a668550e7e.jpg","text":"TemporaryFile(/tmp/multipartBody8865737581064890607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177232988,"filename":"image_09042025_04_28_55_10509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682466","file1":"1350682463","file0":"1350682459","file4":"1350682472","file5":"1350682473","file3":"1350682469"},"map_files_photo_id_array":[{"photo_id":"1350682473","filename":"file5"},{"photo_id":"1350682466","filename":"file2"},{"photo_id":"1350682472","filename":"file4"},{"photo_id":"1350682463","filename":"file1"},{"photo_id":"1350682459","filename":"file0"},{"photo_id":"1350682469","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682459":["hashtag1","hashtag2"]},{"1350682473":["hashtag1","hashtag2"]},{"1350682472":["hashtag1","hashtag2"]},{"1350682466":["hashtag1","hashtag2"]},{"1350682469":["hashtag1","hashtag2"]},{"1350682463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682459, 1350682473, 1350682472, 1350682466, 1350682469, 1350682463)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 30.22715973854065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:40:32.776924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_45_9355.jpg', '/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_55_10696.jpg', '/home/pi/Desktop/images/09042025/04/29/image_09042025_04_30_05_9653.jpg', '/home/pi/Desktop/images/09042025/04/30/image_09042025_04_30_16_10430.jpg', '/home/pi/Desktop/images/09042025/04/30/image_09042025_04_30_25_9347.jpg', '/home/pi/Desktop/images/09042025/04/30/image_09042025_04_30_45_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_45_9355.jpg
/home/pi/Desktop/images/09042025/04/29/image_09042025_04_29_55_10696.jpg
/home/pi/Desktop/images/09042025/04/29/image_09042025_04_30_05_9653.jpg
/home/pi/Desktop/images/09042025/04/30/image_09042025_04_30_16_10430.jpg
/home/pi/Desktop/images/09042025/04/30/image_09042025_04_30_25_9347.jpg
/home/pi/Desktop/images/09042025/04/30/image_09042025_04_30_45_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":["1350682502","1350682498","1350682504","1350682494","1350682497","1350682500"],"photo_ids_order":["1350682494","1350682497","1350682498","1350682500","1350682502","1350682504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de4e01f220976116017b1c110978266a.jpg","text":"TemporaryFile(/tmp/multipartBody956297235963588040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177293313,"filename":"image_09042025_04_30_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/4/9/a2ff2c34ccde42c682db14a91def592e.jpg","text":"TemporaryFile(/tmp/multipartBody7565720845209505294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177293313,"filename":"image_09042025_04_30_05_9653.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef86a783bf7e5619e4bef2eb50bf3c02.jpg","text":"TemporaryFile(/tmp/multipartBody2578293650490994873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177293313,"filename":"image_09042025_04_30_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/4/9/bc7b2016636a49b5d1db7b7d9e198543.jpg","text":"TemporaryFile(/tmp/multipartBody2895352736073819519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177293313,"filename":"image_09042025_04_29_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/4/9/81431e00f37c992af9067928d3d1378e.jpg","text":"TemporaryFile(/tmp/multipartBody8350285347483016852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177293313,"filename":"image_09042025_04_29_55_10696.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/adf68197e84cad8c9e3ed452ce9f3ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7013236835756409339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177293313,"filename":"image_09042025_04_30_16_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682498","file1":"1350682497","file0":"1350682494","file4":"1350682502","file5":"1350682504","file3":"1350682500"},"map_files_photo_id_array":[{"photo_id":"1350682504","filename":"file5"},{"photo_id":"1350682498","filename":"file2"},{"photo_id":"1350682502","filename":"file4"},{"photo_id":"1350682497","filename":"file1"},{"photo_id":"1350682494","filename":"file0"},{"photo_id":"1350682500","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682502":["hashtag1","hashtag2"]},{"1350682498":["hashtag1","hashtag2"]},{"1350682504":["hashtag1","hashtag2"]},{"1350682494":["hashtag1","hashtag2"]},{"1350682497":["hashtag1","hashtag2"]},{"1350682500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682502, 1350682498, 1350682504, 1350682494, 1350682497, 1350682500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.23105001449585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:41:32.989537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/30/image_09042025_04_30_55_10491.jpg', '/home/pi/Desktop/images/09042025/04/30/image_09042025_04_31_06_10362.jpg', '/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_15_9347.jpg', '/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_25_10450.jpg', '/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_35_9345.jpg', '/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_45_10506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/30/image_09042025_04_30_55_10491.jpg
/home/pi/Desktop/images/09042025/04/30/image_09042025_04_31_06_10362.jpg
/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_15_9347.jpg
/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_25_10450.jpg
/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_35_9345.jpg
/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_45_10506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682523","1350682532","1350682526","1350682534","1350682533","1350682529"],"photo_ids_order":["1350682523","1350682526","1350682529","1350682532","1350682533","1350682534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15846276c3e8778f3f75b061d60c66a7.jpg","text":"TemporaryFile(/tmp/multipartBody4601992323090588950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177353479,"filename":"image_09042025_04_30_55_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31e69f9acbdcbaaba7f4f1d8a7228731.jpg","text":"TemporaryFile(/tmp/multipartBody8165642447801953928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177353479,"filename":"image_09042025_04_31_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/4/9/45d07bba4f31de2484a42560803d17d3.jpg","text":"TemporaryFile(/tmp/multipartBody5698481262728731546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177353479,"filename":"image_09042025_04_31_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/4/9/8d9f7bd0d509ecbd485d2d298500ef56.jpg","text":"TemporaryFile(/tmp/multipartBody317057280298584378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177353479,"filename":"image_09042025_04_31_45_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfec95afa540384ef21dbdbaf01ae083.jpg","text":"TemporaryFile(/tmp/multipartBody4086866947548587998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177353479,"filename":"image_09042025_04_31_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/4/9/1f3a0ae713097873e6cec3a11bbd2103.jpg","text":"TemporaryFile(/tmp/multipartBody5645402096157014854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177353479,"filename":"image_09042025_04_31_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682529","file1":"1350682526","file0":"1350682523","file4":"1350682533","file5":"1350682534","file3":"1350682532"},"map_files_photo_id_array":[{"photo_id":"1350682534","filename":"file5"},{"photo_id":"1350682529","filename":"file2"},{"photo_id":"1350682533","filename":"file4"},{"photo_id":"1350682526","filename":"file1"},{"photo_id":"1350682523","filename":"file0"},{"photo_id":"1350682532","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682523":["hashtag1","hashtag2"]},{"1350682532":["hashtag1","hashtag2"]},{"1350682526":["hashtag1","hashtag2"]},{"1350682534":["hashtag1","hashtag2"]},{"1350682533":["hashtag1","hashtag2"]},{"1350682529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682523, 1350682532, 1350682526, 1350682534, 1350682533, 1350682529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.32973337173462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:42:32.512235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_55_9394.jpg', '/home/pi/Desktop/images/09042025/04/31/image_09042025_04_32_05_10480.jpg', '/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_16_10454.jpg', '/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_25_9369.jpg', '/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_35_10435.jpg', '/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_45_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/31/image_09042025_04_31_55_9394.jpg
/home/pi/Desktop/images/09042025/04/31/image_09042025_04_32_05_10480.jpg
/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_16_10454.jpg
/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_25_9369.jpg
/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_35_10435.jpg
/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_45_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682559","1350682567","1350682561","1350682560","1350682563","1350682565"],"photo_ids_order":["1350682559","1350682560","1350682561","1350682563","1350682565","1350682567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5560416e16c100520adf273a4aa40de.jpg","text":"TemporaryFile(/tmp/multipartBody7773115865031796905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177412983,"filename":"image_09042025_04_31_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/4/9/a09b19b9fe81a8ebf0ddfd4768611310.jpg","text":"TemporaryFile(/tmp/multipartBody23987325435113687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177412983,"filename":"image_09042025_04_32_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/4/9/0078d7decb9718b9070218bfbd41043d.jpg","text":"TemporaryFile(/tmp/multipartBody8564019758417040752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177412983,"filename":"image_09042025_04_32_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/4/9/634831b3dd4588c7dae89b27e7880a51.jpg","text":"TemporaryFile(/tmp/multipartBody2658726261421560185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177412983,"filename":"image_09042025_04_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/4/9/606fc89489d713a0147e994c9722b5e9.jpg","text":"TemporaryFile(/tmp/multipartBody8734122175450008884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177412983,"filename":"image_09042025_04_32_25_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33e80032890388b4fbeaa8f6084b6feb.jpg","text":"TemporaryFile(/tmp/multipartBody4928909712683267347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177412983,"filename":"image_09042025_04_32_35_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682561","file1":"1350682560","file0":"1350682559","file4":"1350682565","file5":"1350682567","file3":"1350682563"},"map_files_photo_id_array":[{"photo_id":"1350682567","filename":"file5"},{"photo_id":"1350682561","filename":"file2"},{"photo_id":"1350682565","filename":"file4"},{"photo_id":"1350682560","filename":"file1"},{"photo_id":"1350682559","filename":"file0"},{"photo_id":"1350682563","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682559":["hashtag1","hashtag2"]},{"1350682567":["hashtag1","hashtag2"]},{"1350682561":["hashtag1","hashtag2"]},{"1350682560":["hashtag1","hashtag2"]},{"1350682563":["hashtag1","hashtag2"]},{"1350682565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682559, 1350682567, 1350682561, 1350682560, 1350682563, 1350682565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.137741327285767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:43:32.740499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_55_10492.jpg', '/home/pi/Desktop/images/09042025/04/32/image_09042025_04_33_06_10391.jpg', '/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_15_9335.jpg', '/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_25_10421.jpg', '/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_35_9347.jpg', '/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_45_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/32/image_09042025_04_32_55_10492.jpg
/home/pi/Desktop/images/09042025/04/32/image_09042025_04_33_06_10391.jpg
/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_15_9335.jpg
/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_25_10421.jpg
/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_35_9347.jpg
/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_45_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682594","1350682591","1350682600","1350682599","1350682596","1350682598"],"photo_ids_order":["1350682591","1350682594","1350682596","1350682598","1350682599","1350682600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a4c8b1a89f17322627295459586efc48.jpg","text":"TemporaryFile(/tmp/multipartBody290041193129818545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177473204,"filename":"image_09042025_04_33_06_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/784000e83459f2a6f23cee9f5e6bc0c7.jpg","text":"TemporaryFile(/tmp/multipartBody4873463390512579100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177473204,"filename":"image_09042025_04_32_55_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0c2bf90792bebd5c1a2077179e3dcaf8.jpg","text":"TemporaryFile(/tmp/multipartBody361093391613652908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177473204,"filename":"image_09042025_04_33_45_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/87842bb8998293267c41780e2dd6031c.jpg","text":"TemporaryFile(/tmp/multipartBody4786864821576469058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177473204,"filename":"image_09042025_04_33_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/4/9/e93acc2843ef7bacf7b8ab7d55b680d9.jpg","text":"TemporaryFile(/tmp/multipartBody368324066509552780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177473204,"filename":"image_09042025_04_33_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/4/9/ad50f44e00fe5f948f6d2679bc9169b8.jpg","text":"TemporaryFile(/tmp/multipartBody526465739310979523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177473204,"filename":"image_09042025_04_33_25_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682596","file1":"1350682594","file0":"1350682591","file4":"1350682599","file5":"1350682600","file3":"1350682598"},"map_files_photo_id_array":[{"photo_id":"1350682600","filename":"file5"},{"photo_id":"1350682596","filename":"file2"},{"photo_id":"1350682599","filename":"file4"},{"photo_id":"1350682594","filename":"file1"},{"photo_id":"1350682591","filename":"file0"},{"photo_id":"1350682598","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682594":["hashtag1","hashtag2"]},{"1350682591":["hashtag1","hashtag2"]},{"1350682600":["hashtag1","hashtag2"]},{"1350682599":["hashtag1","hashtag2"]},{"1350682596":["hashtag1","hashtag2"]},{"1350682598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682594, 1350682591, 1350682600, 1350682599, 1350682596, 1350682598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.118885278701782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:44:32.837357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_56_10374.jpg', '/home/pi/Desktop/images/09042025/04/33/image_09042025_04_34_05_9356.jpg', '/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_15_10462.jpg', '/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_25_9415.jpg', '/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_35_10436.jpg', '/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/33/image_09042025_04_33_56_10374.jpg
/home/pi/Desktop/images/09042025/04/33/image_09042025_04_34_05_9356.jpg
/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_15_10462.jpg
/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_25_9415.jpg
/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_35_10436.jpg
/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_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":["1350682639","1350682624","1350682627","1350682636","1350682632","1350682629"],"photo_ids_order":["1350682624","1350682627","1350682629","1350682632","1350682636","1350682639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8935441c66331617090325f5c0e08cd3.jpg","text":"TemporaryFile(/tmp/multipartBody2783030750428662418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177533323,"filename":"image_09042025_04_34_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/4/9/56e7bae874388bd56ad7a6257970dace.jpg","text":"TemporaryFile(/tmp/multipartBody3040991848513854312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177533323,"filename":"image_09042025_04_33_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/4/9/bac4c3d418f78d0f5e4e75fd287f961c.jpg","text":"TemporaryFile(/tmp/multipartBody1224996298633090722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177533323,"filename":"image_09042025_04_34_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef7ee2811918239484c973f5f9d20cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2201271302269569901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177533323,"filename":"image_09042025_04_34_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/4/9/df4fc936613b771b95abcbafb8d948ad.jpg","text":"TemporaryFile(/tmp/multipartBody3222081712103605487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177533323,"filename":"image_09042025_04_34_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de71a0c18980c918e6c255e9e11d1227.jpg","text":"TemporaryFile(/tmp/multipartBody3397427907807719023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177533323,"filename":"image_09042025_04_34_15_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682629","file1":"1350682627","file0":"1350682624","file4":"1350682636","file5":"1350682639","file3":"1350682632"},"map_files_photo_id_array":[{"photo_id":"1350682639","filename":"file5"},{"photo_id":"1350682629","filename":"file2"},{"photo_id":"1350682636","filename":"file4"},{"photo_id":"1350682627","filename":"file1"},{"photo_id":"1350682624","filename":"file0"},{"photo_id":"1350682632","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682639":["hashtag1","hashtag2"]},{"1350682624":["hashtag1","hashtag2"]},{"1350682627":["hashtag1","hashtag2"]},{"1350682636":["hashtag1","hashtag2"]},{"1350682632":["hashtag1","hashtag2"]},{"1350682629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682639, 1350682624, 1350682627, 1350682636, 1350682632, 1350682629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.919724225997925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:45:32.989152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_55_9353.jpg', '/home/pi/Desktop/images/09042025/04/34/image_09042025_04_35_05_10446.jpg', '/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_15_9328.jpg', '/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_25_10468.jpg', '/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_36_10370.jpg', '/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_45_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/34/image_09042025_04_34_55_9353.jpg
/home/pi/Desktop/images/09042025/04/34/image_09042025_04_35_05_10446.jpg
/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_15_9328.jpg
/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_25_10468.jpg
/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_36_10370.jpg
/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_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":["1350682660","1350682668","1350682662","1350682665","1350682670","1350682664"],"photo_ids_order":["1350682660","1350682662","1350682664","1350682665","1350682668","1350682670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec393ee30eb8f6001c247831708ac585.jpg","text":"TemporaryFile(/tmp/multipartBody8596014843842513287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177593498,"filename":"image_09042025_04_34_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/4/9/e69ce1eca87b1078a8a31df16015f9cd.jpg","text":"TemporaryFile(/tmp/multipartBody3292505205316881921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177593498,"filename":"image_09042025_04_35_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/4/9/b91137efbe3e3aa21bfb946ec7b463c6.jpg","text":"TemporaryFile(/tmp/multipartBody923451835649403367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177593498,"filename":"image_09042025_04_35_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/749cc1b2e5d516339e4b77cb4407fe52.jpg","text":"TemporaryFile(/tmp/multipartBody336585474171675768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177593498,"filename":"image_09042025_04_35_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/4/9/46ca64ecc51bf9f60dc3f864bb61201f.jpg","text":"TemporaryFile(/tmp/multipartBody960283261465191198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177593498,"filename":"image_09042025_04_35_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/4/9/4c57702aaa54c4fb4e8ce17ab11b5bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5489401662126203289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177593498,"filename":"image_09042025_04_35_15_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682664","file1":"1350682662","file0":"1350682660","file4":"1350682668","file5":"1350682670","file3":"1350682665"},"map_files_photo_id_array":[{"photo_id":"1350682670","filename":"file5"},{"photo_id":"1350682664","filename":"file2"},{"photo_id":"1350682668","filename":"file4"},{"photo_id":"1350682662","filename":"file1"},{"photo_id":"1350682660","filename":"file0"},{"photo_id":"1350682665","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682660":["hashtag1","hashtag2"]},{"1350682668":["hashtag1","hashtag2"]},{"1350682662":["hashtag1","hashtag2"]},{"1350682665":["hashtag1","hashtag2"]},{"1350682670":["hashtag1","hashtag2"]},{"1350682664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682660, 1350682668, 1350682662, 1350682665, 1350682670, 1350682664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20767521858215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:46:32.427794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_55_10450.jpg', '/home/pi/Desktop/images/09042025/04/35/image_09042025_04_36_05_9418.jpg', '/home/pi/Desktop/images/09042025/04/36/image_09042025_04_36_15_10345.jpg', '/home/pi/Desktop/images/09042025/04/36/image_09042025_04_36_35_9356.jpg', '/home/pi/Desktop/images/09042025/04/36/image_09042025_04_36_45_10439.jpg', '/home/pi/Desktop/images/09042025/04/36/image_09042025_04_36_55_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/35/image_09042025_04_35_55_10450.jpg
/home/pi/Desktop/images/09042025/04/35/image_09042025_04_36_05_9418.jpg
/home/pi/Desktop/images/09042025/04/36/image_09042025_04_36_15_10345.jpg
/home/pi/Desktop/images/09042025/04/36/image_09042025_04_36_35_9356.jpg
/home/pi/Desktop/images/09042025/04/36/image_09042025_04_36_45_10439.jpg
/home/pi/Desktop/images/09042025/04/36/image_09042025_04_36_55_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682700","1350682703","1350682706","1350682708","1350682698","1350682707"],"photo_ids_order":["1350682698","1350682700","1350682703","1350682706","1350682707","1350682708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ccb34a6c04690e71e8537d1e0a222eb.jpg","text":"TemporaryFile(/tmp/multipartBody8181724674607040563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177652889,"filename":"image_09042025_04_36_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad75a005428a0baaef98469c7ae62b7b.jpg","text":"TemporaryFile(/tmp/multipartBody2375168998989285292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177652889,"filename":"image_09042025_04_36_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5006d63067c3c374948c9219484782d7.jpg","text":"TemporaryFile(/tmp/multipartBody2618933959251347483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177652889,"filename":"image_09042025_04_36_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/4/9/114b8fdc85766ea7dc69b7f955e9d2dd.jpg","text":"TemporaryFile(/tmp/multipartBody8344189934601732136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177652889,"filename":"image_09042025_04_36_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/4/9/4f8bbf0970ed4a817fa51a32c9e0a71d.jpg","text":"TemporaryFile(/tmp/multipartBody4502337113623055553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177652889,"filename":"image_09042025_04_35_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/4/9/0092e553516ff71e35d7a6b668f94fa6.jpg","text":"TemporaryFile(/tmp/multipartBody3359056323860572652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177652889,"filename":"image_09042025_04_36_45_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682703","file1":"1350682700","file0":"1350682698","file4":"1350682707","file5":"1350682708","file3":"1350682706"},"map_files_photo_id_array":[{"photo_id":"1350682708","filename":"file5"},{"photo_id":"1350682703","filename":"file2"},{"photo_id":"1350682707","filename":"file4"},{"photo_id":"1350682700","filename":"file1"},{"photo_id":"1350682698","filename":"file0"},{"photo_id":"1350682706","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682700":["hashtag1","hashtag2"]},{"1350682703":["hashtag1","hashtag2"]},{"1350682706":["hashtag1","hashtag2"]},{"1350682708":["hashtag1","hashtag2"]},{"1350682698":["hashtag1","hashtag2"]},{"1350682707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682700, 1350682703, 1350682706, 1350682708, 1350682698, 1350682707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2410032749176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:47:32.557956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/36/image_09042025_04_37_05_10367.jpg', '/home/pi/Desktop/images/09042025/04/37/image_09042025_04_37_15_10351.jpg', '/home/pi/Desktop/images/09042025/04/37/image_09042025_04_37_25_9361.jpg', '/home/pi/Desktop/images/09042025/04/37/image_09042025_04_37_35_10446.jpg', '/home/pi/Desktop/images/09042025/04/37/image_09042025_04_37_45_9370.jpg', '/home/pi/Desktop/images/09042025/04/37/image_09042025_04_38_05_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/36/image_09042025_04_37_05_10367.jpg
/home/pi/Desktop/images/09042025/04/37/image_09042025_04_37_15_10351.jpg
/home/pi/Desktop/images/09042025/04/37/image_09042025_04_37_25_9361.jpg
/home/pi/Desktop/images/09042025/04/37/image_09042025_04_37_35_10446.jpg
/home/pi/Desktop/images/09042025/04/37/image_09042025_04_37_45_9370.jpg
/home/pi/Desktop/images/09042025/04/37/image_09042025_04_38_05_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682742","1350682736","1350682741","1350682744","1350682738","1350682734"],"photo_ids_order":["1350682734","1350682736","1350682738","1350682741","1350682742","1350682744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c170c4f6b369159f0cc91b7021673cf.jpg","text":"TemporaryFile(/tmp/multipartBody7773373319437709850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177713023,"filename":"image_09042025_04_37_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/4/9/5ceb4303f7ba59606bbed1875a0a4f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3654171469854193695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177713023,"filename":"image_09042025_04_37_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/754862d7fa213f8da56d6a45a4b7f22b.jpg","text":"TemporaryFile(/tmp/multipartBody3339083442121152055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177713023,"filename":"image_09042025_04_37_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/4/9/ba8d369a13e02f188424101d98fbc592.jpg","text":"TemporaryFile(/tmp/multipartBody4743438240151787316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177713023,"filename":"image_09042025_04_38_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/4/9/f63ff84f189dcc50b09d2a4a7fd8a817.jpg","text":"TemporaryFile(/tmp/multipartBody51979988245150300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177713023,"filename":"image_09042025_04_37_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/4/9/d69eaa9f81d43f57010a949490d56e93.jpg","text":"TemporaryFile(/tmp/multipartBody6609766251068233145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177713023,"filename":"image_09042025_04_37_05_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682738","file1":"1350682736","file0":"1350682734","file4":"1350682742","file5":"1350682744","file3":"1350682741"},"map_files_photo_id_array":[{"photo_id":"1350682744","filename":"file5"},{"photo_id":"1350682738","filename":"file2"},{"photo_id":"1350682742","filename":"file4"},{"photo_id":"1350682736","filename":"file1"},{"photo_id":"1350682734","filename":"file0"},{"photo_id":"1350682741","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682742":["hashtag1","hashtag2"]},{"1350682736":["hashtag1","hashtag2"]},{"1350682741":["hashtag1","hashtag2"]},{"1350682744":["hashtag1","hashtag2"]},{"1350682738":["hashtag1","hashtag2"]},{"1350682734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682742, 1350682736, 1350682741, 1350682744, 1350682738, 1350682734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.032195329666138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 07:48:03.650759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_15_9319.jpg', '/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_25_10479.jpg', '/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_35_9340.jpg', '/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_45_10475.jpg', '/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_55_10352.jpg', '/home/pi/Desktop/images/09042025/04/38/image_09042025_04_39_05_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_15_9319.jpg
/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_25_10479.jpg
/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_35_9340.jpg
/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_45_10475.jpg
/home/pi/Desktop/images/09042025/04/38/image_09042025_04_38_55_10352.jpg
/home/pi/Desktop/images/09042025/04/38/image_09042025_04_39_05_9420.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682768","1350682779","1350682773","1350682761","1350682755","1350682748"],"photo_ids_order":["1350682748","1350682755","1350682761","1350682768","1350682773","1350682779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/186f5533d72bc20c92219fad368f1b72.jpg","text":"TemporaryFile(/tmp/multipartBody6557964123124257721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177744198,"filename":"image_09042025_04_38_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/4/9/b98a3aacad19ee5cf17f9be44e35f34d.jpg","text":"TemporaryFile(/tmp/multipartBody3442786031577432761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177744198,"filename":"image_09042025_04_39_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/4/9/ff418be8c56d38bfe5f8e6143f09781e.jpg","text":"TemporaryFile(/tmp/multipartBody1375801962258891851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177744198,"filename":"image_09042025_04_38_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/4/9/76898f1fe0bc5e15c602a3655213caa2.jpg","text":"TemporaryFile(/tmp/multipartBody1068523165337305185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177744198,"filename":"image_09042025_04_38_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/4/9/a82b1dd3b8073edf5a03b1f7191b6043.jpg","text":"TemporaryFile(/tmp/multipartBody3559064191046824168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177744198,"filename":"image_09042025_04_38_25_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/207f21d110b3d7c31f4a2a5a15a788c8.jpg","text":"TemporaryFile(/tmp/multipartBody8512486064451245328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177744198,"filename":"image_09042025_04_38_15_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682761","file1":"1350682755","file0":"1350682748","file4":"1350682773","file5":"1350682779","file3":"1350682768"},"map_files_photo_id_array":[{"photo_id":"1350682779","filename":"file5"},{"photo_id":"1350682761","filename":"file2"},{"photo_id":"1350682773","filename":"file4"},{"photo_id":"1350682755","filename":"file1"},{"photo_id":"1350682748","filename":"file0"},{"photo_id":"1350682768","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682768":["hashtag1","hashtag2"]},{"1350682779":["hashtag1","hashtag2"]},{"1350682773":["hashtag1","hashtag2"]},{"1350682761":["hashtag1","hashtag2"]},{"1350682755":["hashtag1","hashtag2"]},{"1350682748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682768, 1350682779, 1350682773, 1350682761, 1350682755, 1350682748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.70241951942444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 07:48:42.808465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_15_10450.jpg', '/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_25_9376.jpg', '/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_35_10445.jpg', '/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_45_10361.jpg', '/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_55_9361.jpg', '/home/pi/Desktop/images/09042025/04/39/image_09042025_04_40_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_15_10450.jpg
/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_25_9376.jpg
/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_35_10445.jpg
/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_45_10361.jpg
/home/pi/Desktop/images/09042025/04/39/image_09042025_04_39_55_9361.jpg
/home/pi/Desktop/images/09042025/04/39/image_09042025_04_40_05_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682792","1350682795","1350682789","1350682797","1350682803","1350682800"],"photo_ids_order":["1350682789","1350682792","1350682795","1350682797","1350682800","1350682803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2886e73088b66ed5f566ef22b7f15977.jpg","text":"TemporaryFile(/tmp/multipartBody2437908232904461120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177783272,"filename":"image_09042025_04_39_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/4/9/04382d14f60698efad4a89a83aca55a3.jpg","text":"TemporaryFile(/tmp/multipartBody4687457041141196220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177783272,"filename":"image_09042025_04_39_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc59e2fdbbb3067c8644cd055a8e293a.jpg","text":"TemporaryFile(/tmp/multipartBody1994446872149680661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177783272,"filename":"image_09042025_04_39_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/4/9/666814c8d32c4c374b32cbdd761db469.jpg","text":"TemporaryFile(/tmp/multipartBody6609316233231184536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177783272,"filename":"image_09042025_04_39_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/4/9/877d026e4092f562690cf6d7fe82af47.jpg","text":"TemporaryFile(/tmp/multipartBody9148136848732400069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177783272,"filename":"image_09042025_04_40_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/093187796728d959c7ce1dadf1918e03.jpg","text":"TemporaryFile(/tmp/multipartBody3044953669583585755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177783272,"filename":"image_09042025_04_39_55_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682795","file1":"1350682792","file0":"1350682789","file4":"1350682800","file5":"1350682803","file3":"1350682797"},"map_files_photo_id_array":[{"photo_id":"1350682803","filename":"file5"},{"photo_id":"1350682795","filename":"file2"},{"photo_id":"1350682800","filename":"file4"},{"photo_id":"1350682792","filename":"file1"},{"photo_id":"1350682789","filename":"file0"},{"photo_id":"1350682797","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682792":["hashtag1","hashtag2"]},{"1350682795":["hashtag1","hashtag2"]},{"1350682789":["hashtag1","hashtag2"]},{"1350682797":["hashtag1","hashtag2"]},{"1350682803":["hashtag1","hashtag2"]},{"1350682800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682792, 1350682795, 1350682789, 1350682797, 1350682803, 1350682800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.30091691017151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:49:33.113617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_16_10357.jpg', '/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_25_9354.jpg', '/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_35_10410.jpg', '/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_45_9466.jpg', '/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_55_10477.jpg', '/home/pi/Desktop/images/09042025/04/40/image_09042025_04_41_05_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_16_10357.jpg
/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_25_9354.jpg
/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_35_10410.jpg
/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_45_9466.jpg
/home/pi/Desktop/images/09042025/04/40/image_09042025_04_40_55_10477.jpg
/home/pi/Desktop/images/09042025/04/40/image_09042025_04_41_05_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":["1350682835","1350682823","1350682840","1350682843","1350682830","1350682827"],"photo_ids_order":["1350682823","1350682827","1350682830","1350682835","1350682840","1350682843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c728e392f7b160036a451c1c769ca735.jpg","text":"TemporaryFile(/tmp/multipartBody4626519406322417568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177833609,"filename":"image_09042025_04_40_45_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2c2566c09f89dfb7fe8cd490c289238.jpg","text":"TemporaryFile(/tmp/multipartBody2761510961604341296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177833609,"filename":"image_09042025_04_40_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/4/9/d2dfd8bc9a321698bf98ff3eb835b9fa.jpg","text":"TemporaryFile(/tmp/multipartBody314121272952370289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177833609,"filename":"image_09042025_04_40_55_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01ce7c95582d070c41c0acf4dcb2d5c9.jpg","text":"TemporaryFile(/tmp/multipartBody7836078431365370049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177833609,"filename":"image_09042025_04_41_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ed277f2556efe5e55f93619f045caa4.jpg","text":"TemporaryFile(/tmp/multipartBody8246396557424601637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177833609,"filename":"image_09042025_04_40_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a042238cb47674c49c2d431df91c163b.jpg","text":"TemporaryFile(/tmp/multipartBody517518170570663032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177833609,"filename":"image_09042025_04_40_25_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682830","file1":"1350682827","file0":"1350682823","file4":"1350682840","file5":"1350682843","file3":"1350682835"},"map_files_photo_id_array":[{"photo_id":"1350682843","filename":"file5"},{"photo_id":"1350682830","filename":"file2"},{"photo_id":"1350682840","filename":"file4"},{"photo_id":"1350682827","filename":"file1"},{"photo_id":"1350682823","filename":"file0"},{"photo_id":"1350682835","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682835":["hashtag1","hashtag2"]},{"1350682823":["hashtag1","hashtag2"]},{"1350682840":["hashtag1","hashtag2"]},{"1350682843":["hashtag1","hashtag2"]},{"1350682830":["hashtag1","hashtag2"]},{"1350682827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682835, 1350682823, 1350682840, 1350682843, 1350682830, 1350682827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.549298524856567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:50:32.287398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_15_10462.jpg', '/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_25_10363.jpg', '/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_35_9355.jpg', '/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_45_10373.jpg', '/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_56_10380.jpg', '/home/pi/Desktop/images/09042025/04/41/image_09042025_04_42_05_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_15_10462.jpg
/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_25_10363.jpg
/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_35_9355.jpg
/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_45_10373.jpg
/home/pi/Desktop/images/09042025/04/41/image_09042025_04_41_56_10380.jpg
/home/pi/Desktop/images/09042025/04/41/image_09042025_04_42_05_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682882","1350682876","1350682890","1350682878","1350682875","1350682886"],"photo_ids_order":["1350682875","1350682876","1350682878","1350682882","1350682886","1350682890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd9e1c02b96f206bd19371f4400476e5.jpg","text":"TemporaryFile(/tmp/multipartBody2758822808978464755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177892753,"filename":"image_09042025_04_41_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/4/9/92da447b0236b5b9edf3aec5fdfab409.jpg","text":"TemporaryFile(/tmp/multipartBody6844796996615516996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177892753,"filename":"image_09042025_04_41_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/12fb885c468998594909a3346158a492.jpg","text":"TemporaryFile(/tmp/multipartBody209627424495002868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177892753,"filename":"image_09042025_04_42_05_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57d66db3b2c8f1ce62e5e8e4a75919db.jpg","text":"TemporaryFile(/tmp/multipartBody255584537336190477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177892753,"filename":"image_09042025_04_41_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ddb2dba83850d7f81074fd5975b09683.jpg","text":"TemporaryFile(/tmp/multipartBody5000411935816724790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177892753,"filename":"image_09042025_04_41_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe9d60a97d5554a97d68629dd1fbd977.jpg","text":"TemporaryFile(/tmp/multipartBody8868124439876950531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177892753,"filename":"image_09042025_04_41_56_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682878","file1":"1350682876","file0":"1350682875","file4":"1350682886","file5":"1350682890","file3":"1350682882"},"map_files_photo_id_array":[{"photo_id":"1350682890","filename":"file5"},{"photo_id":"1350682878","filename":"file2"},{"photo_id":"1350682886","filename":"file4"},{"photo_id":"1350682876","filename":"file1"},{"photo_id":"1350682875","filename":"file0"},{"photo_id":"1350682882","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682882":["hashtag1","hashtag2"]},{"1350682876":["hashtag1","hashtag2"]},{"1350682890":["hashtag1","hashtag2"]},{"1350682878":["hashtag1","hashtag2"]},{"1350682875":["hashtag1","hashtag2"]},{"1350682886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682882, 1350682876, 1350682890, 1350682878, 1350682875, 1350682886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.16472029685974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:51:32.479301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_15_10401.jpg', '/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_25_9441.jpg', '/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_35_10354.jpg', '/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_45_9341.jpg', '/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_55_10459.jpg', '/home/pi/Desktop/images/09042025/04/42/image_09042025_04_43_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_15_10401.jpg
/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_25_9441.jpg
/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_35_10354.jpg
/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_45_9341.jpg
/home/pi/Desktop/images/09042025/04/42/image_09042025_04_42_55_10459.jpg
/home/pi/Desktop/images/09042025/04/42/image_09042025_04_43_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350682918","1350682933","1350682927","1350682935","1350682923","1350682931"],"photo_ids_order":["1350682918","1350682923","1350682927","1350682931","1350682933","1350682935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/259e7dd1c290dfe1e6ec2b0b908d9ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2795352984994422180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177952948,"filename":"image_09042025_04_42_15_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/302b9fd7ab20c4c9c3358225de18a152.jpg","text":"TemporaryFile(/tmp/multipartBody8229035918193418892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177952948,"filename":"image_09042025_04_42_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/00123403365bedf9972642d976ab9b01.jpg","text":"TemporaryFile(/tmp/multipartBody5763651802750127986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177952948,"filename":"image_09042025_04_42_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/4/9/038e0e10436324be3c324d63110ce2f3.jpg","text":"TemporaryFile(/tmp/multipartBody6302115825562547288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177952948,"filename":"image_09042025_04_43_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/4/9/0f02eaf49d2caa4bdff4af2db60b82a5.jpg","text":"TemporaryFile(/tmp/multipartBody9164354281255289234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177952948,"filename":"image_09042025_04_42_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/4/9/1720f6d1103ee63135037c41965e2a60.jpg","text":"TemporaryFile(/tmp/multipartBody7908487470776707923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744177952948,"filename":"image_09042025_04_42_45_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682927","file1":"1350682923","file0":"1350682918","file4":"1350682933","file5":"1350682935","file3":"1350682931"},"map_files_photo_id_array":[{"photo_id":"1350682935","filename":"file5"},{"photo_id":"1350682927","filename":"file2"},{"photo_id":"1350682933","filename":"file4"},{"photo_id":"1350682923","filename":"file1"},{"photo_id":"1350682918","filename":"file0"},{"photo_id":"1350682931","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682918":["hashtag1","hashtag2"]},{"1350682933":["hashtag1","hashtag2"]},{"1350682927":["hashtag1","hashtag2"]},{"1350682935":["hashtag1","hashtag2"]},{"1350682923":["hashtag1","hashtag2"]},{"1350682931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682918, 1350682933, 1350682927, 1350682935, 1350682923, 1350682931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.632964611053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:52:32.760723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_15_9359.jpg', '/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_25_10372.jpg', '/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_36_10424.jpg', '/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_45_9421.jpg', '/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_55_10353.jpg', '/home/pi/Desktop/images/09042025/04/43/image_09042025_04_44_05_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_15_9359.jpg
/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_25_10372.jpg
/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_36_10424.jpg
/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_45_9421.jpg
/home/pi/Desktop/images/09042025/04/43/image_09042025_04_43_55_10353.jpg
/home/pi/Desktop/images/09042025/04/43/image_09042025_04_44_05_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":["1350682987","1350682972","1350682966","1350682968","1350682976","1350682964"],"photo_ids_order":["1350682964","1350682966","1350682968","1350682972","1350682976","1350682987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/803e5d5198519e2a59fc4f86fc540d97.jpg","text":"TemporaryFile(/tmp/multipartBody5871262878107905812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178013218,"filename":"image_09042025_04_44_05_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2582ac796c3cbbbe97ffcaf38ba82710.jpg","text":"TemporaryFile(/tmp/multipartBody1890309270138569073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178013218,"filename":"image_09042025_04_43_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/4/9/fe45ae0f550bc11c5eaf5ee5bcad3ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7638075836991649745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178013218,"filename":"image_09042025_04_43_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08ba96cfddf70ef7062e2e50e8757098.jpg","text":"TemporaryFile(/tmp/multipartBody5512832081384845999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178013218,"filename":"image_09042025_04_43_36_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ac36d1ad12e6cb1500dd32b3e5b6a0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2354741650790145325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178013218,"filename":"image_09042025_04_43_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/4/9/a8f7fdf0fd66ae4b5fac80daec1afe6b.jpg","text":"TemporaryFile(/tmp/multipartBody4683367800071223435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178013218,"filename":"image_09042025_04_43_15_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350682968","file1":"1350682966","file0":"1350682964","file4":"1350682976","file5":"1350682987","file3":"1350682972"},"map_files_photo_id_array":[{"photo_id":"1350682987","filename":"file5"},{"photo_id":"1350682968","filename":"file2"},{"photo_id":"1350682976","filename":"file4"},{"photo_id":"1350682966","filename":"file1"},{"photo_id":"1350682964","filename":"file0"},{"photo_id":"1350682972","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350682987":["hashtag1","hashtag2"]},{"1350682972":["hashtag1","hashtag2"]},{"1350682966":["hashtag1","hashtag2"]},{"1350682968":["hashtag1","hashtag2"]},{"1350682976":["hashtag1","hashtag2"]},{"1350682964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350682987, 1350682972, 1350682966, 1350682968, 1350682976, 1350682964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.18769025802612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:53:32.892456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/44/image_09042025_04_44_15_10467.jpg', '/home/pi/Desktop/images/09042025/04/44/image_09042025_04_44_26_10354.jpg', '/home/pi/Desktop/images/09042025/04/44/image_09042025_04_44_45_10366.jpg', '/home/pi/Desktop/images/09042025/04/44/image_09042025_04_44_55_9401.jpg', '/home/pi/Desktop/images/09042025/04/44/image_09042025_04_45_05_10460.jpg', '/home/pi/Desktop/images/09042025/04/45/image_09042025_04_45_25_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/44/image_09042025_04_44_15_10467.jpg
/home/pi/Desktop/images/09042025/04/44/image_09042025_04_44_26_10354.jpg
/home/pi/Desktop/images/09042025/04/44/image_09042025_04_44_45_10366.jpg
/home/pi/Desktop/images/09042025/04/44/image_09042025_04_44_55_9401.jpg
/home/pi/Desktop/images/09042025/04/44/image_09042025_04_45_05_10460.jpg
/home/pi/Desktop/images/09042025/04/45/image_09042025_04_45_25_10519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350683026","1350683014","1350683024","1350683018","1350683021","1350683009"],"photo_ids_order":["1350683009","1350683014","1350683018","1350683021","1350683024","1350683026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/372a3573a5f3d12c25fa46a87c8cafb6.jpg","text":"TemporaryFile(/tmp/multipartBody2351375865803315269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178073367,"filename":"image_09042025_04_45_25_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e2fd94ac922c4311af1b0ddfb127bf17.jpg","text":"TemporaryFile(/tmp/multipartBody6449199911176096952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178073367,"filename":"image_09042025_04_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/4/9/dbba654ffa52964a06a0671b97253562.jpg","text":"TemporaryFile(/tmp/multipartBody4047902905866254764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178073367,"filename":"image_09042025_04_45_05_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e1212abf450ddf68bde41d82f95b06d.jpg","text":"TemporaryFile(/tmp/multipartBody5581734101959669619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178073367,"filename":"image_09042025_04_44_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/4/9/e79865967d89745ccedd822cef8efc85.jpg","text":"TemporaryFile(/tmp/multipartBody355059773545026423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178073367,"filename":"image_09042025_04_44_55_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/91ab0a56fe02f553c32b10eb7c75be9c.jpg","text":"TemporaryFile(/tmp/multipartBody1150917327819939818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178073367,"filename":"image_09042025_04_44_15_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683018","file1":"1350683014","file0":"1350683009","file4":"1350683024","file5":"1350683026","file3":"1350683021"},"map_files_photo_id_array":[{"photo_id":"1350683026","filename":"file5"},{"photo_id":"1350683018","filename":"file2"},{"photo_id":"1350683024","filename":"file4"},{"photo_id":"1350683014","filename":"file1"},{"photo_id":"1350683009","filename":"file0"},{"photo_id":"1350683021","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683026":["hashtag1","hashtag2"]},{"1350683014":["hashtag1","hashtag2"]},{"1350683024":["hashtag1","hashtag2"]},{"1350683018":["hashtag1","hashtag2"]},{"1350683021":["hashtag1","hashtag2"]},{"1350683009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683026, 1350683014, 1350683024, 1350683018, 1350683021, 1350683009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98707413673401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:54:33.155261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/45/image_09042025_04_45_36_10365.jpg', '/home/pi/Desktop/images/09042025/04/45/image_09042025_04_45_55_10413.jpg', '/home/pi/Desktop/images/09042025/04/45/image_09042025_04_46_05_9338.jpg', '/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_15_10356.jpg', '/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_26_10376.jpg', '/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_35_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/45/image_09042025_04_45_36_10365.jpg
/home/pi/Desktop/images/09042025/04/45/image_09042025_04_45_55_10413.jpg
/home/pi/Desktop/images/09042025/04/45/image_09042025_04_46_05_9338.jpg
/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_15_10356.jpg
/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_26_10376.jpg
/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_35_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350683072","1350683075","1350683069","1350683060","1350683063","1350683066"],"photo_ids_order":["1350683060","1350683063","1350683066","1350683069","1350683072","1350683075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/63a1d317c95722acd7599dd8a4888925.jpg","text":"TemporaryFile(/tmp/multipartBody8653291592210285201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178133639,"filename":"image_09042025_04_46_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/146d15ec70f4a9021f30d9fe85187510.jpg","text":"TemporaryFile(/tmp/multipartBody8175845216214060565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178133639,"filename":"image_09042025_04_46_35_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8afed8d81248a96e507b53554da56d4.jpg","text":"TemporaryFile(/tmp/multipartBody437123876295800195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178133639,"filename":"image_09042025_04_46_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/4/9/3c0e4f52697fc2023b9e5926efe1225a.jpg","text":"TemporaryFile(/tmp/multipartBody1381097384941023038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178133639,"filename":"image_09042025_04_45_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/4/9/d49bf7987d86ec26d6d401d92e7f1ded.jpg","text":"TemporaryFile(/tmp/multipartBody555505642031869289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178133639,"filename":"image_09042025_04_45_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9a4fc2edb7b1b92f8730378d2504194.jpg","text":"TemporaryFile(/tmp/multipartBody7003687084316893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178133639,"filename":"image_09042025_04_46_05_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683066","file1":"1350683063","file0":"1350683060","file4":"1350683072","file5":"1350683075","file3":"1350683069"},"map_files_photo_id_array":[{"photo_id":"1350683075","filename":"file5"},{"photo_id":"1350683066","filename":"file2"},{"photo_id":"1350683072","filename":"file4"},{"photo_id":"1350683063","filename":"file1"},{"photo_id":"1350683060","filename":"file0"},{"photo_id":"1350683069","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683072":["hashtag1","hashtag2"]},{"1350683075":["hashtag1","hashtag2"]},{"1350683069":["hashtag1","hashtag2"]},{"1350683060":["hashtag1","hashtag2"]},{"1350683063":["hashtag1","hashtag2"]},{"1350683066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683072, 1350683075, 1350683069, 1350683060, 1350683063, 1350683066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.278043031692505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:55:32.498388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_45_10363.jpg', '/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_55_9429.jpg', '/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_16_10424.jpg', '/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_25_9361.jpg', '/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_35_10433.jpg', '/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_45_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_45_10363.jpg
/home/pi/Desktop/images/09042025/04/46/image_09042025_04_46_55_9429.jpg
/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_16_10424.jpg
/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_25_9361.jpg
/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_35_10433.jpg
/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_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":["1350683116","1350683110","1350683113","1350683106","1350683118","1350683117"],"photo_ids_order":["1350683106","1350683110","1350683113","1350683116","1350683117","1350683118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d5e7595ebac28efaddd6882bb289d82e.jpg","text":"TemporaryFile(/tmp/multipartBody961331206702988998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178192959,"filename":"image_09042025_04_47_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/4/9/c10bf8a5d91c9e3b3a835a3c868e5528.jpg","text":"TemporaryFile(/tmp/multipartBody480944670930338558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178192959,"filename":"image_09042025_04_46_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/4/9/f3ece6cfdd01714020d8c4e6e62aedcc.jpg","text":"TemporaryFile(/tmp/multipartBody5743188723803263266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178192959,"filename":"image_09042025_04_47_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d21ed5f2641775c686f1ab1a21801a06.jpg","text":"TemporaryFile(/tmp/multipartBody1423189611267642583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178192959,"filename":"image_09042025_04_46_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/4/9/7e58fbdea7833a62209d3f48d1c28d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4684499872375519514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178192959,"filename":"image_09042025_04_47_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/4/9/485f89a2f6e8c0024b23b61fafefde4f.jpg","text":"TemporaryFile(/tmp/multipartBody2737277658793109148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178192959,"filename":"image_09042025_04_47_35_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683113","file1":"1350683110","file0":"1350683106","file4":"1350683117","file5":"1350683118","file3":"1350683116"},"map_files_photo_id_array":[{"photo_id":"1350683118","filename":"file5"},{"photo_id":"1350683113","filename":"file2"},{"photo_id":"1350683117","filename":"file4"},{"photo_id":"1350683110","filename":"file1"},{"photo_id":"1350683106","filename":"file0"},{"photo_id":"1350683116","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683116":["hashtag1","hashtag2"]},{"1350683110":["hashtag1","hashtag2"]},{"1350683113":["hashtag1","hashtag2"]},{"1350683106":["hashtag1","hashtag2"]},{"1350683118":["hashtag1","hashtag2"]},{"1350683117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683116, 1350683110, 1350683113, 1350683106, 1350683118, 1350683117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.769782066345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:56:32.581895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_55_10381.jpg', '/home/pi/Desktop/images/09042025/04/47/image_09042025_04_48_06_10419.jpg', '/home/pi/Desktop/images/09042025/04/48/image_09042025_04_48_15_9356.jpg', '/home/pi/Desktop/images/09042025/04/48/image_09042025_04_48_35_9480.jpg', '/home/pi/Desktop/images/09042025/04/48/image_09042025_04_48_45_10479.jpg', '/home/pi/Desktop/images/09042025/04/48/image_09042025_04_48_55_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/47/image_09042025_04_47_55_10381.jpg
/home/pi/Desktop/images/09042025/04/47/image_09042025_04_48_06_10419.jpg
/home/pi/Desktop/images/09042025/04/48/image_09042025_04_48_15_9356.jpg
/home/pi/Desktop/images/09042025/04/48/image_09042025_04_48_35_9480.jpg
/home/pi/Desktop/images/09042025/04/48/image_09042025_04_48_45_10479.jpg
/home/pi/Desktop/images/09042025/04/48/image_09042025_04_48_55_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350683158","1350683145","1350683154","1350683162","1350683150","1350683147"],"photo_ids_order":["1350683145","1350683147","1350683150","1350683154","1350683158","1350683162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a46da4bc36065462ec778163c7c5670.jpg","text":"TemporaryFile(/tmp/multipartBody3873574041712459579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178253041,"filename":"image_09042025_04_48_45_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b41a6175e54efdc35fce0ed61edc98a6.jpg","text":"TemporaryFile(/tmp/multipartBody4617988289325105504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178253041,"filename":"image_09042025_04_47_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/4/9/e0ec6c6da4275627f79cea889e09bf78.jpg","text":"TemporaryFile(/tmp/multipartBody6507856705787578332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178253041,"filename":"image_09042025_04_48_35_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d03dcdca43f4c0d3de7b6a5845a9d780.jpg","text":"TemporaryFile(/tmp/multipartBody7613652129271871955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178253041,"filename":"image_09042025_04_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/4/9/ed3e0830ef925ca69bf7dfda0a122a31.jpg","text":"TemporaryFile(/tmp/multipartBody764705996404940261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178253041,"filename":"image_09042025_04_48_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/4/9/fca34c0a4e4f27e54891dfdf1a809143.jpg","text":"TemporaryFile(/tmp/multipartBody4714444857095296010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178253041,"filename":"image_09042025_04_48_06_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683150","file1":"1350683147","file0":"1350683145","file4":"1350683158","file5":"1350683162","file3":"1350683154"},"map_files_photo_id_array":[{"photo_id":"1350683162","filename":"file5"},{"photo_id":"1350683150","filename":"file2"},{"photo_id":"1350683158","filename":"file4"},{"photo_id":"1350683147","filename":"file1"},{"photo_id":"1350683145","filename":"file0"},{"photo_id":"1350683154","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683158":["hashtag1","hashtag2"]},{"1350683145":["hashtag1","hashtag2"]},{"1350683154":["hashtag1","hashtag2"]},{"1350683162":["hashtag1","hashtag2"]},{"1350683150":["hashtag1","hashtag2"]},{"1350683147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683158, 1350683145, 1350683154, 1350683162, 1350683150, 1350683147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.581550359725952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 07:57:32.945834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/48/image_09042025_04_49_05_10486.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_16_10353.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_25_9365.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_35_10470.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_45_9372.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_55_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/48/image_09042025_04_49_05_10486.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_16_10353.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_25_9365.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_35_10470.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_45_9372.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_55_10380.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 07:59:04.046218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/48/image_09042025_04_49_05_10486.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_16_10353.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_25_9365.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_35_10470.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_45_9372.jpg', '/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_55_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/48/image_09042025_04_49_05_10486.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_16_10353.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_25_9365.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_35_10470.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_45_9372.jpg
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_49_55_10380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350683218","1350683223","1350683229","1350683214","1350683240","1350683234"],"photo_ids_order":["1350683214","1350683218","1350683223","1350683229","1350683234","1350683240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66c866f5b074a9d5f4ad98cd21390eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3241829151910905056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178404638,"filename":"image_09042025_04_49_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/4/9/3eb4ed2c1f0566e9327cf3e353f30404.jpg","text":"TemporaryFile(/tmp/multipartBody3400202619354146564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178404638,"filename":"image_09042025_04_49_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/4/9/b4c5c0388b53d08a7ebbb200760cd89e.jpg","text":"TemporaryFile(/tmp/multipartBody6575275636163381183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178404638,"filename":"image_09042025_04_49_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/4/9/f16f6269e0f26beb5bc2e3cc9566d694.jpg","text":"TemporaryFile(/tmp/multipartBody5825068825090819697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178404638,"filename":"image_09042025_04_49_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/4/9/c2724d71ddd5b039c04b1c189d016b2f.jpg","text":"TemporaryFile(/tmp/multipartBody8013633472029994552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178404638,"filename":"image_09042025_04_49_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/4/9/4aab02cb44939c1a13326a3717314dc8.jpg","text":"TemporaryFile(/tmp/multipartBody2248159025135084891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178404638,"filename":"image_09042025_04_49_45_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683223","file1":"1350683218","file0":"1350683214","file4":"1350683234","file5":"1350683240","file3":"1350683229"},"map_files_photo_id_array":[{"photo_id":"1350683240","filename":"file5"},{"photo_id":"1350683223","filename":"file2"},{"photo_id":"1350683234","filename":"file4"},{"photo_id":"1350683218","filename":"file1"},{"photo_id":"1350683214","filename":"file0"},{"photo_id":"1350683229","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683218":["hashtag1","hashtag2"]},{"1350683223":["hashtag1","hashtag2"]},{"1350683229":["hashtag1","hashtag2"]},{"1350683214":["hashtag1","hashtag2"]},{"1350683240":["hashtag1","hashtag2"]},{"1350683234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683218, 1350683223, 1350683229, 1350683214, 1350683240, 1350683234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0040340423584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 07:59:42.802048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/49/image_09042025_04_50_05_10359.jpg', '/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_15_9399.jpg', '/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_25_10373.jpg', '/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_35_9391.jpg', '/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_45_10425.jpg', '/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_55_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/49/image_09042025_04_50_05_10359.jpg
/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_15_9399.jpg
/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_25_10373.jpg
/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_35_9391.jpg
/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_45_10425.jpg
/home/pi/Desktop/images/09042025/04/50/image_09042025_04_50_55_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":["1350683253","1350683270","1350683261","1350683255","1350683264","1350683258"],"photo_ids_order":["1350683253","1350683255","1350683258","1350683261","1350683264","1350683270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a3d8b187ab6a053676a1c4bddd09f9a4.jpg","text":"TemporaryFile(/tmp/multipartBody8123350012518909622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178443258,"filename":"image_09042025_04_50_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/106bf37cb873197a0bf31a1cbb0ed3dc.jpg","text":"TemporaryFile(/tmp/multipartBody7397199969474284022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178443258,"filename":"image_09042025_04_50_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/4/9/a6bdb15edb633b8d32fe666e711e916e.jpg","text":"TemporaryFile(/tmp/multipartBody2584613147490620528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178443258,"filename":"image_09042025_04_50_35_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/224f9eefb04b9b6d3283415e7e7f31c6.jpg","text":"TemporaryFile(/tmp/multipartBody8202422380892033905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178443258,"filename":"image_09042025_04_50_15_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0228f080593e9092fb6f056f4956843e.jpg","text":"TemporaryFile(/tmp/multipartBody555719246970620030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178443258,"filename":"image_09042025_04_50_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/4/9/8b70d424e824b38b52642c33b026fbc9.jpg","text":"TemporaryFile(/tmp/multipartBody4640783373653188052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178443258,"filename":"image_09042025_04_50_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683258","file1":"1350683255","file0":"1350683253","file4":"1350683264","file5":"1350683270","file3":"1350683261"},"map_files_photo_id_array":[{"photo_id":"1350683270","filename":"file5"},{"photo_id":"1350683258","filename":"file2"},{"photo_id":"1350683264","filename":"file4"},{"photo_id":"1350683255","filename":"file1"},{"photo_id":"1350683253","filename":"file0"},{"photo_id":"1350683261","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683253":["hashtag1","hashtag2"]},{"1350683270":["hashtag1","hashtag2"]},{"1350683261":["hashtag1","hashtag2"]},{"1350683255":["hashtag1","hashtag2"]},{"1350683264":["hashtag1","hashtag2"]},{"1350683258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683253, 1350683270, 1350683261, 1350683255, 1350683264, 1350683258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53637385368347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:00:33.603338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/50/image_09042025_04_51_05_9343.jpg', '/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_15_10411.jpg', '/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_26_10367.jpg', '/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_35_9498.jpg', '/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_45_10448.jpg', '/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_55_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/50/image_09042025_04_51_05_9343.jpg
/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_15_10411.jpg
/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_26_10367.jpg
/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_35_9498.jpg
/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_45_10448.jpg
/home/pi/Desktop/images/09042025/04/51/image_09042025_04_51_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":["1350683299","1350683290","1350683287","1350683289","1350683293","1350683296"],"photo_ids_order":["1350683287","1350683289","1350683290","1350683293","1350683296","1350683299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67e425134e23c973410e467c694de2cd.jpg","text":"TemporaryFile(/tmp/multipartBody7246726851703140705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178494064,"filename":"image_09042025_04_51_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/131d4e160d1a2d33fc512537e018bafb.jpg","text":"TemporaryFile(/tmp/multipartBody7637942427374186921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178494064,"filename":"image_09042025_04_51_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/4/9/2f27c7e06df514697f299bf087edd863.jpg","text":"TemporaryFile(/tmp/multipartBody4867956022359240129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178494064,"filename":"image_09042025_04_51_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/4/9/eb1d270a721e5741cec04c1a81fd8583.jpg","text":"TemporaryFile(/tmp/multipartBody6281913352826771897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178494064,"filename":"image_09042025_04_51_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/4/9/3c69f773cd3298bf9cf2e9e948fd14eb.jpg","text":"TemporaryFile(/tmp/multipartBody1115710652816006726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178494064,"filename":"image_09042025_04_51_35_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/40e2565c1dcfeebcd95809b99d2a79cd.jpg","text":"TemporaryFile(/tmp/multipartBody3401973718468333276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178494064,"filename":"image_09042025_04_51_45_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683290","file1":"1350683289","file0":"1350683287","file4":"1350683296","file5":"1350683299","file3":"1350683293"},"map_files_photo_id_array":[{"photo_id":"1350683299","filename":"file5"},{"photo_id":"1350683290","filename":"file2"},{"photo_id":"1350683296","filename":"file4"},{"photo_id":"1350683289","filename":"file1"},{"photo_id":"1350683287","filename":"file0"},{"photo_id":"1350683293","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683299":["hashtag1","hashtag2"]},{"1350683290":["hashtag1","hashtag2"]},{"1350683287":["hashtag1","hashtag2"]},{"1350683289":["hashtag1","hashtag2"]},{"1350683293":["hashtag1","hashtag2"]},{"1350683296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683299, 1350683290, 1350683287, 1350683289, 1350683293, 1350683296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68099665641785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:01:32.175054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/51/image_09042025_04_52_05_10362.jpg', '/home/pi/Desktop/images/09042025/04/52/image_09042025_04_52_25_9365.jpg', '/home/pi/Desktop/images/09042025/04/52/image_09042025_04_52_35_10378.jpg', '/home/pi/Desktop/images/09042025/04/52/image_09042025_04_52_45_9356.jpg', '/home/pi/Desktop/images/09042025/04/52/image_09042025_04_52_55_10440.jpg', '/home/pi/Desktop/images/09042025/04/52/image_09042025_04_53_05_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/51/image_09042025_04_52_05_10362.jpg
/home/pi/Desktop/images/09042025/04/52/image_09042025_04_52_25_9365.jpg
/home/pi/Desktop/images/09042025/04/52/image_09042025_04_52_35_10378.jpg
/home/pi/Desktop/images/09042025/04/52/image_09042025_04_52_45_9356.jpg
/home/pi/Desktop/images/09042025/04/52/image_09042025_04_52_55_10440.jpg
/home/pi/Desktop/images/09042025/04/52/image_09042025_04_53_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":["1350683332","1350683335","1350683320","1350683323","1350683334","1350683330"],"photo_ids_order":["1350683320","1350683323","1350683330","1350683332","1350683334","1350683335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c5141e25f792ad3e06852b91c3a122a.jpg","text":"TemporaryFile(/tmp/multipartBody2509231535741675669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178552642,"filename":"image_09042025_04_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/4/9/5c8bdbc6876c1fc6fe455739b60dadfe.jpg","text":"TemporaryFile(/tmp/multipartBody6014758004252108199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178552642,"filename":"image_09042025_04_53_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/830eb3ca8c0393e3c4f636a9e602661c.jpg","text":"TemporaryFile(/tmp/multipartBody7140428123011275874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178552642,"filename":"image_09042025_04_52_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/4/9/d9a1a84c3b6af72fc64db1528d13a44f.jpg","text":"TemporaryFile(/tmp/multipartBody4607062011156374700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178552642,"filename":"image_09042025_04_52_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/4/9/e080cc8f6d5639d82d3b186cfd268379.jpg","text":"TemporaryFile(/tmp/multipartBody5131401766303282945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178552642,"filename":"image_09042025_04_52_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2086e128f65b0a0cafceba9032080072.jpg","text":"TemporaryFile(/tmp/multipartBody8921019928965605410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178552642,"filename":"image_09042025_04_52_35_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683330","file1":"1350683323","file0":"1350683320","file4":"1350683334","file5":"1350683335","file3":"1350683332"},"map_files_photo_id_array":[{"photo_id":"1350683335","filename":"file5"},{"photo_id":"1350683330","filename":"file2"},{"photo_id":"1350683334","filename":"file4"},{"photo_id":"1350683323","filename":"file1"},{"photo_id":"1350683320","filename":"file0"},{"photo_id":"1350683332","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683332":["hashtag1","hashtag2"]},{"1350683335":["hashtag1","hashtag2"]},{"1350683320":["hashtag1","hashtag2"]},{"1350683323":["hashtag1","hashtag2"]},{"1350683334":["hashtag1","hashtag2"]},{"1350683330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683332, 1350683335, 1350683320, 1350683323, 1350683334, 1350683330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76489877700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:02:32.421373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_15_9406.jpg', '/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_25_10490.jpg', '/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_35_9335.jpg', '/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_45_10416.jpg', '/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_55_10364.jpg', '/home/pi/Desktop/images/09042025/04/53/image_09042025_04_54_05_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_15_9406.jpg
/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_25_10490.jpg
/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_35_9335.jpg
/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_45_10416.jpg
/home/pi/Desktop/images/09042025/04/53/image_09042025_04_53_55_10364.jpg
/home/pi/Desktop/images/09042025/04/53/image_09042025_04_54_05_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":["1350683356","1350683358","1350683366","1350683369","1350683360","1350683363"],"photo_ids_order":["1350683356","1350683358","1350683360","1350683363","1350683366","1350683369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/490fd400792cf9e02bad21fa071f9029.jpg","text":"TemporaryFile(/tmp/multipartBody4685879098919432601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178612883,"filename":"image_09042025_04_53_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/4/9/278bf388e021f49bea7e8abe8946dd09.jpg","text":"TemporaryFile(/tmp/multipartBody7182498169060579932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178612883,"filename":"image_09042025_04_53_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/4/9/3e4b1ed380c317c14bfe101e4f973c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6949466592047186159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178612883,"filename":"image_09042025_04_53_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/4/9/416b5e26d4f5aa97037a6b7cfd213e96.jpg","text":"TemporaryFile(/tmp/multipartBody2355356266555736173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178612883,"filename":"image_09042025_04_54_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/90a4f55a25b4ea749d019d3e61aeb22c.jpg","text":"TemporaryFile(/tmp/multipartBody3519848750691322647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178612883,"filename":"image_09042025_04_53_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/4/9/0b88860f05c893f43e2282cdc1430d0f.jpg","text":"TemporaryFile(/tmp/multipartBody3936362825194189761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178612883,"filename":"image_09042025_04_53_45_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683360","file1":"1350683358","file0":"1350683356","file4":"1350683366","file5":"1350683369","file3":"1350683363"},"map_files_photo_id_array":[{"photo_id":"1350683369","filename":"file5"},{"photo_id":"1350683360","filename":"file2"},{"photo_id":"1350683366","filename":"file4"},{"photo_id":"1350683358","filename":"file1"},{"photo_id":"1350683356","filename":"file0"},{"photo_id":"1350683363","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683356":["hashtag1","hashtag2"]},{"1350683358":["hashtag1","hashtag2"]},{"1350683366":["hashtag1","hashtag2"]},{"1350683369":["hashtag1","hashtag2"]},{"1350683360":["hashtag1","hashtag2"]},{"1350683363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683356, 1350683358, 1350683366, 1350683369, 1350683360, 1350683363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.664669036865234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:03:32.658801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/54/image_09042025_04_54_15_10334.jpg', '/home/pi/Desktop/images/09042025/04/54/image_09042025_04_54_35_9345.jpg', '/home/pi/Desktop/images/09042025/04/54/image_09042025_04_54_45_10396.jpg', '/home/pi/Desktop/images/09042025/04/55/image_09042025_04_55_15_10452.jpg', '/home/pi/Desktop/images/09042025/04/55/image_09042025_04_55_25_9351.jpg', '/home/pi/Desktop/images/09042025/04/55/image_09042025_04_56_05_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/54/image_09042025_04_54_15_10334.jpg
/home/pi/Desktop/images/09042025/04/54/image_09042025_04_54_35_9345.jpg
/home/pi/Desktop/images/09042025/04/54/image_09042025_04_54_45_10396.jpg
/home/pi/Desktop/images/09042025/04/55/image_09042025_04_55_15_10452.jpg
/home/pi/Desktop/images/09042025/04/55/image_09042025_04_55_25_9351.jpg
/home/pi/Desktop/images/09042025/04/55/image_09042025_04_56_05_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350683398","1350683401","1350683391","1350683394","1350683388","1350683403"],"photo_ids_order":["1350683388","1350683391","1350683394","1350683398","1350683401","1350683403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a364257b4282525b087eebe8a29774e.jpg","text":"TemporaryFile(/tmp/multipartBody2997574869516279105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178673134,"filename":"image_09042025_04_55_15_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b708a1294d75594eabfe4ef23b8e9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7032468630583953718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178673134,"filename":"image_09042025_04_55_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/4/9/037a573624cb9edcf307d4fea977fb38.jpg","text":"TemporaryFile(/tmp/multipartBody5835776305569409020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178673134,"filename":"image_09042025_04_54_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/4/9/d9d76b2659bf488438b32b8cd5b83cae.jpg","text":"TemporaryFile(/tmp/multipartBody4970557163932705246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178673134,"filename":"image_09042025_04_54_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/4/9/508c666015684d8697c25accfa5992b5.jpg","text":"TemporaryFile(/tmp/multipartBody4178391796640654669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178673134,"filename":"image_09042025_04_54_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d2f1e8104a4a65d5205e3712f7bb5e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3986423728313180049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178673134,"filename":"image_09042025_04_56_05_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683394","file1":"1350683391","file0":"1350683388","file4":"1350683401","file5":"1350683403","file3":"1350683398"},"map_files_photo_id_array":[{"photo_id":"1350683403","filename":"file5"},{"photo_id":"1350683394","filename":"file2"},{"photo_id":"1350683401","filename":"file4"},{"photo_id":"1350683391","filename":"file1"},{"photo_id":"1350683388","filename":"file0"},{"photo_id":"1350683398","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683398":["hashtag1","hashtag2"]},{"1350683401":["hashtag1","hashtag2"]},{"1350683391":["hashtag1","hashtag2"]},{"1350683394":["hashtag1","hashtag2"]},{"1350683388":["hashtag1","hashtag2"]},{"1350683403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683398, 1350683401, 1350683391, 1350683394, 1350683388, 1350683403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.832847118377686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:04:32.874551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_15_9344.jpg', '/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_25_10420.jpg', '/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_35_10353.jpg', '/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_45_9359.jpg', '/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_55_10365.jpg', '/home/pi/Desktop/images/09042025/04/56/image_09042025_04_57_06_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_15_9344.jpg
/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_25_10420.jpg
/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_35_10353.jpg
/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_45_9359.jpg
/home/pi/Desktop/images/09042025/04/56/image_09042025_04_56_55_10365.jpg
/home/pi/Desktop/images/09042025/04/56/image_09042025_04_57_06_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350683443","1350683437","1350683446","1350683449","1350683442","1350683450"],"photo_ids_order":["1350683437","1350683442","1350683443","1350683446","1350683449","1350683450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/387dd007f0a7d0c064a383f47f4e37c0.jpg","text":"TemporaryFile(/tmp/multipartBody2482712919249993206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178733366,"filename":"image_09042025_04_56_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/4/9/328de4a0ad78115c282d4bf506091e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4723119942874420796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178733366,"filename":"image_09042025_04_56_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98ad110754a55989321eb37b8e0810a9.jpg","text":"TemporaryFile(/tmp/multipartBody502911245018572665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178733366,"filename":"image_09042025_04_56_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/4/9/c68d0e22dcfdeb9b2693014022f3d92c.jpg","text":"TemporaryFile(/tmp/multipartBody5117442838869306790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178733366,"filename":"image_09042025_04_56_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/4/9/e8f7b4ea8f532dd93c7aa745ba7aef30.jpg","text":"TemporaryFile(/tmp/multipartBody4503050735484943603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178733366,"filename":"image_09042025_04_56_25_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/35f9d7ee34ee81fcb6fa66025f4871ca.jpg","text":"TemporaryFile(/tmp/multipartBody7648714072662200859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178733366,"filename":"image_09042025_04_57_06_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683443","file1":"1350683442","file0":"1350683437","file4":"1350683449","file5":"1350683450","file3":"1350683446"},"map_files_photo_id_array":[{"photo_id":"1350683450","filename":"file5"},{"photo_id":"1350683443","filename":"file2"},{"photo_id":"1350683449","filename":"file4"},{"photo_id":"1350683442","filename":"file1"},{"photo_id":"1350683437","filename":"file0"},{"photo_id":"1350683446","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683443":["hashtag1","hashtag2"]},{"1350683437":["hashtag1","hashtag2"]},{"1350683446":["hashtag1","hashtag2"]},{"1350683449":["hashtag1","hashtag2"]},{"1350683442":["hashtag1","hashtag2"]},{"1350683450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683443, 1350683437, 1350683446, 1350683449, 1350683442, 1350683450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.52423405647278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:05:33.237325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/57/image_09042025_04_57_15_9341.jpg', '/home/pi/Desktop/images/09042025/04/57/image_09042025_04_57_45_10406.jpg', '/home/pi/Desktop/images/09042025/04/57/image_09042025_04_57_55_10369.jpg', '/home/pi/Desktop/images/09042025/04/57/image_09042025_04_58_05_9341.jpg', '/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_15_10334.jpg', '/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/57/image_09042025_04_57_15_9341.jpg
/home/pi/Desktop/images/09042025/04/57/image_09042025_04_57_45_10406.jpg
/home/pi/Desktop/images/09042025/04/57/image_09042025_04_57_55_10369.jpg
/home/pi/Desktop/images/09042025/04/57/image_09042025_04_58_05_9341.jpg
/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_15_10334.jpg
/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_25_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350683482","1350683485","1350683487","1350683478","1350683489","1350683480"],"photo_ids_order":["1350683478","1350683480","1350683482","1350683485","1350683487","1350683489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a60ef71ce4a9ded4e210f474670869e.jpg","text":"TemporaryFile(/tmp/multipartBody5764070504978401465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178793709,"filename":"image_09042025_04_57_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/4/9/f8349a032c1352672728e424ad307a49.jpg","text":"TemporaryFile(/tmp/multipartBody8957331663136955862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178793709,"filename":"image_09042025_04_58_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/4/9/3bce217385ce6340cc27135faee0a545.jpg","text":"TemporaryFile(/tmp/multipartBody2211451953279458797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178793709,"filename":"image_09042025_04_58_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/4/9/36411efe8b25792e60dcd8d51ba20a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5309524735493599196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178793709,"filename":"image_09042025_04_57_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/4/9/41d2079d64b07109bd3fafa833887cdd.jpg","text":"TemporaryFile(/tmp/multipartBody2221717355259426758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178793709,"filename":"image_09042025_04_58_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/4/9/830330eec52835b345cd854de948d57e.jpg","text":"TemporaryFile(/tmp/multipartBody6504617965276084724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178793709,"filename":"image_09042025_04_57_45_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683482","file1":"1350683480","file0":"1350683478","file4":"1350683487","file5":"1350683489","file3":"1350683485"},"map_files_photo_id_array":[{"photo_id":"1350683489","filename":"file5"},{"photo_id":"1350683482","filename":"file2"},{"photo_id":"1350683487","filename":"file4"},{"photo_id":"1350683480","filename":"file1"},{"photo_id":"1350683478","filename":"file0"},{"photo_id":"1350683485","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683482":["hashtag1","hashtag2"]},{"1350683485":["hashtag1","hashtag2"]},{"1350683487":["hashtag1","hashtag2"]},{"1350683478":["hashtag1","hashtag2"]},{"1350683489":["hashtag1","hashtag2"]},{"1350683480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683482, 1350683485, 1350683487, 1350683478, 1350683489, 1350683480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12824296951294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:06:32.349530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_35_9350.jpg', '/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_45_10429.jpg', '/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_55_9375.jpg', '/home/pi/Desktop/images/09042025/04/58/image_09042025_04_59_05_10419.jpg', '/home/pi/Desktop/images/09042025/04/59/image_09042025_04_59_15_10351.jpg', '/home/pi/Desktop/images/09042025/04/59/image_09042025_04_59_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_35_9350.jpg
/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_45_10429.jpg
/home/pi/Desktop/images/09042025/04/58/image_09042025_04_58_55_9375.jpg
/home/pi/Desktop/images/09042025/04/58/image_09042025_04_59_05_10419.jpg
/home/pi/Desktop/images/09042025/04/59/image_09042025_04_59_15_10351.jpg
/home/pi/Desktop/images/09042025/04/59/image_09042025_04_59_25_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":["1350683536","1350683521","1350683529","1350683523","1350683532","1350683525"],"photo_ids_order":["1350683521","1350683523","1350683525","1350683529","1350683532","1350683536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82b4cc6fe12965e2342b8257d205cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody3273302868520525132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178852817,"filename":"image_09042025_04_59_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/4/9/e03363ef31a887fb5e219418382e060f.jpg","text":"TemporaryFile(/tmp/multipartBody6481058613543305671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178852817,"filename":"image_09042025_04_58_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/4/9/fd9072b61351bf83954ec400d1860ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4892248232644402709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178852817,"filename":"image_09042025_04_59_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/4/9/9001cadaea7754f598de9158556e0c54.jpg","text":"TemporaryFile(/tmp/multipartBody342546252760980915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178852817,"filename":"image_09042025_04_58_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8bd7468edb3d97be550c3ac036716540.jpg","text":"TemporaryFile(/tmp/multipartBody2381766072054335420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178852817,"filename":"image_09042025_04_59_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/4/9/69e1377cbab943e2b19ea002169e848d.jpg","text":"TemporaryFile(/tmp/multipartBody1168072035964954872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178852817,"filename":"image_09042025_04_58_55_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683525","file1":"1350683523","file0":"1350683521","file4":"1350683532","file5":"1350683536","file3":"1350683529"},"map_files_photo_id_array":[{"photo_id":"1350683536","filename":"file5"},{"photo_id":"1350683525","filename":"file2"},{"photo_id":"1350683532","filename":"file4"},{"photo_id":"1350683523","filename":"file1"},{"photo_id":"1350683521","filename":"file0"},{"photo_id":"1350683529","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683536":["hashtag1","hashtag2"]},{"1350683521":["hashtag1","hashtag2"]},{"1350683529":["hashtag1","hashtag2"]},{"1350683523":["hashtag1","hashtag2"]},{"1350683532":["hashtag1","hashtag2"]},{"1350683525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683536, 1350683521, 1350683529, 1350683523, 1350683532, 1350683525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73795795440674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:07:32.551718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/04/59/image_09042025_04_59_35_10365.jpg', '/home/pi/Desktop/images/09042025/04/59/image_09042025_04_59_45_10368.jpg', '/home/pi/Desktop/images/09042025/05/00/image_09042025_05_00_16_10074.jpg', '/home/pi/Desktop/images/09042025/05/00/image_09042025_05_00_27_10365.jpg', '/home/pi/Desktop/images/09042025/05/00/image_09042025_05_00_47_9353.jpg', '/home/pi/Desktop/images/09042025/05/00/image_09042025_05_00_57_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/04/59/image_09042025_04_59_35_10365.jpg
/home/pi/Desktop/images/09042025/04/59/image_09042025_04_59_45_10368.jpg
/home/pi/Desktop/images/09042025/05/00/image_09042025_05_00_16_10074.jpg
/home/pi/Desktop/images/09042025/05/00/image_09042025_05_00_27_10365.jpg
/home/pi/Desktop/images/09042025/05/00/image_09042025_05_00_47_9353.jpg
/home/pi/Desktop/images/09042025/05/00/image_09042025_05_00_57_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":["1350683578","1350683568","1350683576","1350683579","1350683570","1350683573"],"photo_ids_order":["1350683568","1350683570","1350683573","1350683576","1350683578","1350683579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d612e39fd9c72f67db6ee3662a2ad953.jpg","text":"TemporaryFile(/tmp/multipartBody3580410937809410088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178913019,"filename":"image_09042025_05_00_47_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/190f631076cac22edcc347091d5e1d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5378149832726682675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178913019,"filename":"image_09042025_04_59_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/4/9/460b036588a01240f1c4b72565bb6e66.jpg","text":"TemporaryFile(/tmp/multipartBody8170345171043234054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178913019,"filename":"image_09042025_05_00_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37ed8e042c1a4c23d9e4963b3fd58f59.jpg","text":"TemporaryFile(/tmp/multipartBody8197632898458228060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178913019,"filename":"image_09042025_05_00_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/4/9/ae3748c8ef391be61911e8f5a492c96f.jpg","text":"TemporaryFile(/tmp/multipartBody4691613214702238054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178913019,"filename":"image_09042025_04_59_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/4/9/830c4f901ee216bfd6515d4b6bc3a090.jpg","text":"TemporaryFile(/tmp/multipartBody3723182825252506771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178913019,"filename":"image_09042025_05_00_16_10074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683573","file1":"1350683570","file0":"1350683568","file4":"1350683578","file5":"1350683579","file3":"1350683576"},"map_files_photo_id_array":[{"photo_id":"1350683579","filename":"file5"},{"photo_id":"1350683573","filename":"file2"},{"photo_id":"1350683578","filename":"file4"},{"photo_id":"1350683570","filename":"file1"},{"photo_id":"1350683568","filename":"file0"},{"photo_id":"1350683576","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683578":["hashtag1","hashtag2"]},{"1350683568":["hashtag1","hashtag2"]},{"1350683576":["hashtag1","hashtag2"]},{"1350683579":["hashtag1","hashtag2"]},{"1350683570":["hashtag1","hashtag2"]},{"1350683573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683578, 1350683568, 1350683576, 1350683579, 1350683570, 1350683573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.049885272979736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:08:32.843140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/00/image_09042025_05_01_07_10434.jpg', '/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_17_9361.jpg', '/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_27_10477.jpg', '/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_37_9365.jpg', '/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_47_10375.jpg', '/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_57_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/00/image_09042025_05_01_07_10434.jpg
/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_17_9361.jpg
/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_27_10477.jpg
/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_37_9365.jpg
/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_47_10375.jpg
/home/pi/Desktop/images/09042025/05/01/image_09042025_05_01_57_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":["1350683623","1350683617","1350683614","1350683616","1350683619","1350683627"],"photo_ids_order":["1350683614","1350683616","1350683617","1350683619","1350683623","1350683627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e2c9e0c6662f0b09ef152318ea446a2.jpg","text":"TemporaryFile(/tmp/multipartBody4300761351223823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178973321,"filename":"image_09042025_05_01_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/4/9/d32cf31373d3e2461237daa5e5fb7872.jpg","text":"TemporaryFile(/tmp/multipartBody5724295933678296495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178973321,"filename":"image_09042025_05_01_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/4/9/d817f85c3e60af4c90bd034bb4b148ca.jpg","text":"TemporaryFile(/tmp/multipartBody1268396841117011491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178973321,"filename":"image_09042025_05_01_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/4/9/445a55a7c4e15e635444d65fae505195.jpg","text":"TemporaryFile(/tmp/multipartBody8677499622961418768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178973321,"filename":"image_09042025_05_01_17_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09cc1a66306297dddca55278b23623ba.jpg","text":"TemporaryFile(/tmp/multipartBody7017623877482777623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178973321,"filename":"image_09042025_05_01_37_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9b351ef581f8ef825c69e83801edbcc.jpg","text":"TemporaryFile(/tmp/multipartBody156591549757787549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744178973321,"filename":"image_09042025_05_01_57_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683617","file1":"1350683616","file0":"1350683614","file4":"1350683623","file5":"1350683627","file3":"1350683619"},"map_files_photo_id_array":[{"photo_id":"1350683627","filename":"file5"},{"photo_id":"1350683617","filename":"file2"},{"photo_id":"1350683623","filename":"file4"},{"photo_id":"1350683616","filename":"file1"},{"photo_id":"1350683614","filename":"file0"},{"photo_id":"1350683619","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683623":["hashtag1","hashtag2"]},{"1350683617":["hashtag1","hashtag2"]},{"1350683614":["hashtag1","hashtag2"]},{"1350683616":["hashtag1","hashtag2"]},{"1350683619":["hashtag1","hashtag2"]},{"1350683627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683623, 1350683617, 1350683614, 1350683616, 1350683619, 1350683627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.182159423828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:09:33.143831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/01/image_09042025_05_02_07_9358.jpg', '/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_17_10438.jpg', '/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_27_9389.jpg', '/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_37_10368.jpg', '/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_47_10417.jpg', '/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_57_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/01/image_09042025_05_02_07_9358.jpg
/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_17_10438.jpg
/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_27_9389.jpg
/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_37_10368.jpg
/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_47_10417.jpg
/home/pi/Desktop/images/09042025/05/02/image_09042025_05_02_57_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":["1350683674","1350683676","1350683670","1350683664","1350683667","1350683661"],"photo_ids_order":["1350683661","1350683664","1350683667","1350683670","1350683674","1350683676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b217819cb91f900ea40dcf09215202d.jpg","text":"TemporaryFile(/tmp/multipartBody2149450604574144947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179033617,"filename":"image_09042025_05_02_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/4/9/08f41f6acc4b2b71f6771a2048067cbd.jpg","text":"TemporaryFile(/tmp/multipartBody5992827995162728066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179033617,"filename":"image_09042025_05_02_57_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6dbcb70a1c49eeef9c6f7d07607e79a.jpg","text":"TemporaryFile(/tmp/multipartBody1078978145625265718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179033617,"filename":"image_09042025_05_02_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82f9b0693a8a4cd86fab2e101aaa4c96.jpg","text":"TemporaryFile(/tmp/multipartBody7338260952058128930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179033617,"filename":"image_09042025_05_02_17_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64e3fa6c8d50dcb48a81e47dd69d0f18.jpg","text":"TemporaryFile(/tmp/multipartBody6415822853236183222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179033617,"filename":"image_09042025_05_02_27_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f2c0d822e5942c75b0337565c8b70227.jpg","text":"TemporaryFile(/tmp/multipartBody2358239151973897698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179033617,"filename":"image_09042025_05_02_07_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683667","file1":"1350683664","file0":"1350683661","file4":"1350683674","file5":"1350683676","file3":"1350683670"},"map_files_photo_id_array":[{"photo_id":"1350683676","filename":"file5"},{"photo_id":"1350683667","filename":"file2"},{"photo_id":"1350683674","filename":"file4"},{"photo_id":"1350683664","filename":"file1"},{"photo_id":"1350683661","filename":"file0"},{"photo_id":"1350683670","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683674":["hashtag1","hashtag2"]},{"1350683676":["hashtag1","hashtag2"]},{"1350683670":["hashtag1","hashtag2"]},{"1350683664":["hashtag1","hashtag2"]},{"1350683667":["hashtag1","hashtag2"]},{"1350683661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683674, 1350683676, 1350683670, 1350683664, 1350683667, 1350683661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.669811248779297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:10:32.355032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/02/image_09042025_05_03_07_10380.jpg', '/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_16_9354.jpg', '/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_27_10454.jpg', '/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_37_10427.jpg', '/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_47_9361.jpg', '/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_57_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/02/image_09042025_05_03_07_10380.jpg
/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_16_9354.jpg
/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_27_10454.jpg
/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_37_10427.jpg
/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_47_9361.jpg
/home/pi/Desktop/images/09042025/05/03/image_09042025_05_03_57_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":["1350683722","1350683731","1350683728","1350683713","1350683724","1350683718"],"photo_ids_order":["1350683713","1350683718","1350683722","1350683724","1350683728","1350683731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a28e13da0523c58d7f0c5cb42d1beafb.jpg","text":"TemporaryFile(/tmp/multipartBody1282019824113807367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179092876,"filename":"image_09042025_05_03_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/4/9/d73b96b2c04ff5d8c568d582118bb84a.jpg","text":"TemporaryFile(/tmp/multipartBody1178164641086879457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179092876,"filename":"image_09042025_05_03_57_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6eed62bd7b6dde51627779c6d3dc070.jpg","text":"TemporaryFile(/tmp/multipartBody4719519709129112085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179092876,"filename":"image_09042025_05_03_47_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d011197d5c301389f33bf7cd0ffb056.jpg","text":"TemporaryFile(/tmp/multipartBody7650456127089381345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179092876,"filename":"image_09042025_05_03_07_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f268923bf9bc39bcc611793860edfba.jpg","text":"TemporaryFile(/tmp/multipartBody1781439480202262833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179092876,"filename":"image_09042025_05_03_37_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7eeffef252e513a4bd533a2b7f4b32fb.jpg","text":"TemporaryFile(/tmp/multipartBody1549826717595213450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179092876,"filename":"image_09042025_05_03_16_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683722","file1":"1350683718","file0":"1350683713","file4":"1350683728","file5":"1350683731","file3":"1350683724"},"map_files_photo_id_array":[{"photo_id":"1350683731","filename":"file5"},{"photo_id":"1350683722","filename":"file2"},{"photo_id":"1350683728","filename":"file4"},{"photo_id":"1350683718","filename":"file1"},{"photo_id":"1350683713","filename":"file0"},{"photo_id":"1350683724","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683722":["hashtag1","hashtag2"]},{"1350683731":["hashtag1","hashtag2"]},{"1350683728":["hashtag1","hashtag2"]},{"1350683713":["hashtag1","hashtag2"]},{"1350683724":["hashtag1","hashtag2"]},{"1350683718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683722, 1350683731, 1350683728, 1350683713, 1350683724, 1350683718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.7058527469635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:11:32.599477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/03/image_09042025_05_04_06_9359.jpg', '/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_17_10343.jpg', '/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_27_10473.jpg', '/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_37_9361.jpg', '/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_47_10487.jpg', '/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_57_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/03/image_09042025_05_04_06_9359.jpg
/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_17_10343.jpg
/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_27_10473.jpg
/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_37_9361.jpg
/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_47_10487.jpg
/home/pi/Desktop/images/09042025/05/04/image_09042025_05_04_57_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":["1350683767","1350683764","1350683774","1350683777","1350683765","1350683770"],"photo_ids_order":["1350683764","1350683765","1350683767","1350683770","1350683774","1350683777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fde468320dbe8aa688293f12e5eabab6.jpg","text":"TemporaryFile(/tmp/multipartBody9059705677134554262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179153065,"filename":"image_09042025_05_04_27_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fea940e06ed15793153e2177445cae01.jpg","text":"TemporaryFile(/tmp/multipartBody2418853640507900098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179153065,"filename":"image_09042025_05_04_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/4/9/af7092479a55e26d68a3cd122d6e691e.jpg","text":"TemporaryFile(/tmp/multipartBody6136486182992298074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179153065,"filename":"image_09042025_05_04_47_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09f17c0a796b66f4a3985a49fa974340.jpg","text":"TemporaryFile(/tmp/multipartBody5469208436121168019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179153065,"filename":"image_09042025_05_04_57_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30ab7f04cd33002c9dfdd0cf3ba9e0d5.jpg","text":"TemporaryFile(/tmp/multipartBody4626157876503375303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179153065,"filename":"image_09042025_05_04_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3305936b5d422f6b8ace5d1ad3066fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1115527853726320840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179153065,"filename":"image_09042025_05_04_37_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683767","file1":"1350683765","file0":"1350683764","file4":"1350683774","file5":"1350683777","file3":"1350683770"},"map_files_photo_id_array":[{"photo_id":"1350683777","filename":"file5"},{"photo_id":"1350683767","filename":"file2"},{"photo_id":"1350683774","filename":"file4"},{"photo_id":"1350683765","filename":"file1"},{"photo_id":"1350683764","filename":"file0"},{"photo_id":"1350683770","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683767":["hashtag1","hashtag2"]},{"1350683764":["hashtag1","hashtag2"]},{"1350683774":["hashtag1","hashtag2"]},{"1350683777":["hashtag1","hashtag2"]},{"1350683765":["hashtag1","hashtag2"]},{"1350683770":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683767, 1350683764, 1350683774, 1350683777, 1350683765, 1350683770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.017988443374634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:12:32.783693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/04/image_09042025_05_05_07_10493.jpg', '/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_16_9368.jpg', '/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_27_10364.jpg', '/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_37_10354.jpg', '/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_46_9356.jpg', '/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_57_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/04/image_09042025_05_05_07_10493.jpg
/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_16_9368.jpg
/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_27_10364.jpg
/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_37_10354.jpg
/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_46_9356.jpg
/home/pi/Desktop/images/09042025/05/05/image_09042025_05_05_57_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":["1350683821","1350683811","1350683808","1350683819","1350683813","1350683816"],"photo_ids_order":["1350683808","1350683811","1350683813","1350683816","1350683819","1350683821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/079c6ae26fec422b5e7d68ffd859c159.jpg","text":"TemporaryFile(/tmp/multipartBody2802317558974539036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179213260,"filename":"image_09042025_05_05_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/4/9/c717d7310e06030425168f70979a0bb9.jpg","text":"TemporaryFile(/tmp/multipartBody4143162011891067278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179213260,"filename":"image_09042025_05_05_16_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64a97469c229ef7cb0c3087fd8ce3de3.jpg","text":"TemporaryFile(/tmp/multipartBody7101589622189189008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179213260,"filename":"image_09042025_05_05_07_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/497366accb028fa3574d9e84caf84b84.jpg","text":"TemporaryFile(/tmp/multipartBody1638049687097377131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179213260,"filename":"image_09042025_05_05_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/54812d75f08f845d7d4fa98fb90bdb03.jpg","text":"TemporaryFile(/tmp/multipartBody154908977978702217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179213260,"filename":"image_09042025_05_05_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b04962550ec60c7d3227c357434de804.jpg","text":"TemporaryFile(/tmp/multipartBody5343569453248450101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179213260,"filename":"image_09042025_05_05_37_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683813","file1":"1350683811","file0":"1350683808","file4":"1350683819","file5":"1350683821","file3":"1350683816"},"map_files_photo_id_array":[{"photo_id":"1350683821","filename":"file5"},{"photo_id":"1350683813","filename":"file2"},{"photo_id":"1350683819","filename":"file4"},{"photo_id":"1350683811","filename":"file1"},{"photo_id":"1350683808","filename":"file0"},{"photo_id":"1350683816","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683821":["hashtag1","hashtag2"]},{"1350683811":["hashtag1","hashtag2"]},{"1350683808":["hashtag1","hashtag2"]},{"1350683819":["hashtag1","hashtag2"]},{"1350683813":["hashtag1","hashtag2"]},{"1350683816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683821, 1350683811, 1350683808, 1350683819, 1350683813, 1350683816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3762423992157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:13:33.253635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/05/image_09042025_05_06_07_10417.jpg', '/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_17_9410.jpg', '/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_27_10456.jpg', '/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_37_9424.jpg', '/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_47_10369.jpg', '/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_57_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/05/image_09042025_05_06_07_10417.jpg
/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_17_9410.jpg
/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_27_10456.jpg
/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_37_9424.jpg
/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_47_10369.jpg
/home/pi/Desktop/images/09042025/05/06/image_09042025_05_06_57_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350683866","1350683869","1350683862","1350683859","1350683853","1350683855"],"photo_ids_order":["1350683853","1350683855","1350683859","1350683862","1350683866","1350683869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc4bbd5cb47b65743580f9ac790af8a2.jpg","text":"TemporaryFile(/tmp/multipartBody6468792637985168406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179273717,"filename":"image_09042025_05_06_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48b0d2f4e5b7c7c4e405aedfcd880362.jpg","text":"TemporaryFile(/tmp/multipartBody9190152541259959043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179273717,"filename":"image_09042025_05_06_57_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7432e434d69535025b778c8cd594bdec.jpg","text":"TemporaryFile(/tmp/multipartBody4797956493926612432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179273717,"filename":"image_09042025_05_06_37_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfc0310c1e183f7becc752af004706ba.jpg","text":"TemporaryFile(/tmp/multipartBody9217172006952097024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179273717,"filename":"image_09042025_05_06_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/4/9/db4105ed22ab4a62d0bc68ee446f7766.jpg","text":"TemporaryFile(/tmp/multipartBody165344945491526856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179273717,"filename":"image_09042025_05_06_07_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7dd4280c32ab03db68d7b8682dc88009.jpg","text":"TemporaryFile(/tmp/multipartBody5991445381632908986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179273717,"filename":"image_09042025_05_06_17_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683859","file1":"1350683855","file0":"1350683853","file4":"1350683866","file5":"1350683869","file3":"1350683862"},"map_files_photo_id_array":[{"photo_id":"1350683869","filename":"file5"},{"photo_id":"1350683859","filename":"file2"},{"photo_id":"1350683866","filename":"file4"},{"photo_id":"1350683855","filename":"file1"},{"photo_id":"1350683853","filename":"file0"},{"photo_id":"1350683862","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683866":["hashtag1","hashtag2"]},{"1350683869":["hashtag1","hashtag2"]},{"1350683862":["hashtag1","hashtag2"]},{"1350683859":["hashtag1","hashtag2"]},{"1350683853":["hashtag1","hashtag2"]},{"1350683855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683866, 1350683869, 1350683862, 1350683859, 1350683853, 1350683855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38251233100891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:14:32.747679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/06/image_09042025_05_07_07_9420.jpg', '/home/pi/Desktop/images/09042025/05/07/image_09042025_05_07_17_10482.jpg', '/home/pi/Desktop/images/09042025/05/07/image_09042025_05_07_27_9359.jpg', '/home/pi/Desktop/images/09042025/05/07/image_09042025_05_07_37_10395.jpg', '/home/pi/Desktop/images/09042025/05/07/image_09042025_05_07_57_10357.jpg', '/home/pi/Desktop/images/09042025/05/07/image_09042025_05_08_07_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/06/image_09042025_05_07_07_9420.jpg
/home/pi/Desktop/images/09042025/05/07/image_09042025_05_07_17_10482.jpg
/home/pi/Desktop/images/09042025/05/07/image_09042025_05_07_27_9359.jpg
/home/pi/Desktop/images/09042025/05/07/image_09042025_05_07_37_10395.jpg
/home/pi/Desktop/images/09042025/05/07/image_09042025_05_07_57_10357.jpg
/home/pi/Desktop/images/09042025/05/07/image_09042025_05_08_07_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":["1350683914","1350683911","1350683905","1350683916","1350683918","1350683909"],"photo_ids_order":["1350683905","1350683909","1350683911","1350683914","1350683916","1350683918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62f8067fe2f71713a37d55ebbe9ef160.jpg","text":"TemporaryFile(/tmp/multipartBody2940047748057747495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179333240,"filename":"image_09042025_05_07_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/4/9/201d34fa92553001874e65e91cb34bf4.jpg","text":"TemporaryFile(/tmp/multipartBody684794848079590990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179333240,"filename":"image_09042025_05_07_27_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ac2cc379cfa4efd0042d98efb6c03ede.jpg","text":"TemporaryFile(/tmp/multipartBody4807368220179896173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179333240,"filename":"image_09042025_05_07_07_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c074a30c06a7a1a2440d112b6dcd1297.jpg","text":"TemporaryFile(/tmp/multipartBody2690395171333627291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179333240,"filename":"image_09042025_05_07_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/4/9/64e18f8a92a98409dddddf69ff95e138.jpg","text":"TemporaryFile(/tmp/multipartBody4470201811038661958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179333240,"filename":"image_09042025_05_08_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/4/9/0f31e3d6b1d3f35153476d371c8af220.jpg","text":"TemporaryFile(/tmp/multipartBody6205202328104284825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179333240,"filename":"image_09042025_05_07_17_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683911","file1":"1350683909","file0":"1350683905","file4":"1350683916","file5":"1350683918","file3":"1350683914"},"map_files_photo_id_array":[{"photo_id":"1350683918","filename":"file5"},{"photo_id":"1350683911","filename":"file2"},{"photo_id":"1350683916","filename":"file4"},{"photo_id":"1350683909","filename":"file1"},{"photo_id":"1350683905","filename":"file0"},{"photo_id":"1350683914","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683914":["hashtag1","hashtag2"]},{"1350683911":["hashtag1","hashtag2"]},{"1350683905":["hashtag1","hashtag2"]},{"1350683916":["hashtag1","hashtag2"]},{"1350683918":["hashtag1","hashtag2"]},{"1350683909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683914, 1350683911, 1350683905, 1350683916, 1350683918, 1350683909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.877928018569946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:15:32.996766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_17_9442.jpg', '/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_27_10463.jpg', '/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_36_9339.jpg', '/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_47_10357.jpg', '/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_57_10450.jpg', '/home/pi/Desktop/images/09042025/05/08/image_09042025_05_09_07_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_17_9442.jpg
/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_27_10463.jpg
/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_36_9339.jpg
/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_47_10357.jpg
/home/pi/Desktop/images/09042025/05/08/image_09042025_05_08_57_10450.jpg
/home/pi/Desktop/images/09042025/05/08/image_09042025_05_09_07_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":["1350683959","1350683953","1350683955","1350683964","1350683951","1350683962"],"photo_ids_order":["1350683951","1350683953","1350683955","1350683959","1350683962","1350683964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7c424a9d5439a750cf4311774c88f5b.jpg","text":"TemporaryFile(/tmp/multipartBody8943425958586383909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179393470,"filename":"image_09042025_05_08_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/4/9/3061e518cfa2ca8db1e75adc4c5299a5.jpg","text":"TemporaryFile(/tmp/multipartBody55103144573005687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179393470,"filename":"image_09042025_05_08_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/4/9/e7074678291f439fa964a600064907f2.jpg","text":"TemporaryFile(/tmp/multipartBody1314757384836928081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179393470,"filename":"image_09042025_05_08_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/4/9/6421bcab87623634620aa96719c73d28.jpg","text":"TemporaryFile(/tmp/multipartBody2905412435540764094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179393470,"filename":"image_09042025_05_09_07_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/942e2804e0fb0e9e311530e4f2613dc6.jpg","text":"TemporaryFile(/tmp/multipartBody3942691054711952913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179393470,"filename":"image_09042025_05_08_17_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4d6692f2d201ded3aa395eb206f8c465.jpg","text":"TemporaryFile(/tmp/multipartBody3738589854349510862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179393470,"filename":"image_09042025_05_08_57_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683955","file1":"1350683953","file0":"1350683951","file4":"1350683962","file5":"1350683964","file3":"1350683959"},"map_files_photo_id_array":[{"photo_id":"1350683964","filename":"file5"},{"photo_id":"1350683955","filename":"file2"},{"photo_id":"1350683962","filename":"file4"},{"photo_id":"1350683953","filename":"file1"},{"photo_id":"1350683951","filename":"file0"},{"photo_id":"1350683959","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350683959":["hashtag1","hashtag2"]},{"1350683953":["hashtag1","hashtag2"]},{"1350683955":["hashtag1","hashtag2"]},{"1350683964":["hashtag1","hashtag2"]},{"1350683951":["hashtag1","hashtag2"]},{"1350683962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350683959, 1350683953, 1350683955, 1350683964, 1350683951, 1350683962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.867789030075073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:16:32.199909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_17_10372.jpg', '/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_27_10350.jpg', '/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_37_9438.jpg', '/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_47_10371.jpg', '/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_56_9348.jpg', '/home/pi/Desktop/images/09042025/05/10/image_09042025_05_10_17_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_17_10372.jpg
/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_27_10350.jpg
/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_37_9438.jpg
/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_47_10371.jpg
/home/pi/Desktop/images/09042025/05/09/image_09042025_05_09_56_9348.jpg
/home/pi/Desktop/images/09042025/05/10/image_09042025_05_10_17_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":["1350684004","1350683991","1350683994","1350683996","1350683999","1350684002"],"photo_ids_order":["1350683991","1350683994","1350683996","1350683999","1350684002","1350684004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4b64b47eeffb1d79805c47a20b9f4a1.jpg","text":"TemporaryFile(/tmp/multipartBody342279804519696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179452657,"filename":"image_09042025_05_10_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/4/9/e52fa09892223c41fc27b200d9b071dd.jpg","text":"TemporaryFile(/tmp/multipartBody6293871630202208539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179452657,"filename":"image_09042025_05_09_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4007c97e9cff641aa58003e95c789d0.jpg","text":"TemporaryFile(/tmp/multipartBody8955167475609286311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179452657,"filename":"image_09042025_05_09_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/4/9/f1bc79567829e181575a9ec8e85cfb0b.jpg","text":"TemporaryFile(/tmp/multipartBody2864290430561700290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179452657,"filename":"image_09042025_05_09_37_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81fb662708b9c0bd7c376246278ff1f5.jpg","text":"TemporaryFile(/tmp/multipartBody699024924811915835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179452657,"filename":"image_09042025_05_09_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a587a5c379e8cff2ce76906395d03c8f.jpg","text":"TemporaryFile(/tmp/multipartBody7119561520630745481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179452657,"filename":"image_09042025_05_09_56_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350683996","file1":"1350683994","file0":"1350683991","file4":"1350684002","file5":"1350684004","file3":"1350683999"},"map_files_photo_id_array":[{"photo_id":"1350684004","filename":"file5"},{"photo_id":"1350683996","filename":"file2"},{"photo_id":"1350684002","filename":"file4"},{"photo_id":"1350683994","filename":"file1"},{"photo_id":"1350683991","filename":"file0"},{"photo_id":"1350683999","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684004":["hashtag1","hashtag2"]},{"1350683991":["hashtag1","hashtag2"]},{"1350683994":["hashtag1","hashtag2"]},{"1350683996":["hashtag1","hashtag2"]},{"1350683999":["hashtag1","hashtag2"]},{"1350684002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684004, 1350683991, 1350683994, 1350683996, 1350683999, 1350684002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.289720058441162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:17:32.403221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/10/image_09042025_05_10_47_10440.jpg', '/home/pi/Desktop/images/09042025/05/10/image_09042025_05_10_57_9358.jpg', '/home/pi/Desktop/images/09042025/05/10/image_09042025_05_11_07_10448.jpg', '/home/pi/Desktop/images/09042025/05/11/image_09042025_05_11_16_9360.jpg', '/home/pi/Desktop/images/09042025/05/11/image_09042025_05_11_27_10366.jpg', '/home/pi/Desktop/images/09042025/05/11/image_09042025_05_11_37_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/10/image_09042025_05_10_47_10440.jpg
/home/pi/Desktop/images/09042025/05/10/image_09042025_05_10_57_9358.jpg
/home/pi/Desktop/images/09042025/05/10/image_09042025_05_11_07_10448.jpg
/home/pi/Desktop/images/09042025/05/11/image_09042025_05_11_16_9360.jpg
/home/pi/Desktop/images/09042025/05/11/image_09042025_05_11_27_10366.jpg
/home/pi/Desktop/images/09042025/05/11/image_09042025_05_11_37_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":["1350684040","1350684037","1350684041","1350684035","1350684032","1350684043"],"photo_ids_order":["1350684032","1350684035","1350684037","1350684040","1350684041","1350684043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/790f7d6f67e247f54655e7af9edf4a14.jpg","text":"TemporaryFile(/tmp/multipartBody3255438471065883231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179512864,"filename":"image_09042025_05_11_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/68117beed1caeeec24be70eb6abb64f7.jpg","text":"TemporaryFile(/tmp/multipartBody4812262399886243619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179512864,"filename":"image_09042025_05_11_07_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4d7b59d0cc709d3b53144ffa82d58127.jpg","text":"TemporaryFile(/tmp/multipartBody3048351218220042956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179512864,"filename":"image_09042025_05_11_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3028eea1f00909ae7aa8b1ef1bec353.jpg","text":"TemporaryFile(/tmp/multipartBody6247945787198210326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179512864,"filename":"image_09042025_05_10_57_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2585c4e49c91ab72edf105014f15a23.jpg","text":"TemporaryFile(/tmp/multipartBody6153965662633398891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179512864,"filename":"image_09042025_05_10_47_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a0b45bc65f61d5f7b982b3acc534bd15.jpg","text":"TemporaryFile(/tmp/multipartBody3094718131303302982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179512864,"filename":"image_09042025_05_11_37_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684037","file1":"1350684035","file0":"1350684032","file4":"1350684041","file5":"1350684043","file3":"1350684040"},"map_files_photo_id_array":[{"photo_id":"1350684043","filename":"file5"},{"photo_id":"1350684037","filename":"file2"},{"photo_id":"1350684041","filename":"file4"},{"photo_id":"1350684035","filename":"file1"},{"photo_id":"1350684032","filename":"file0"},{"photo_id":"1350684040","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684040":["hashtag1","hashtag2"]},{"1350684037":["hashtag1","hashtag2"]},{"1350684041":["hashtag1","hashtag2"]},{"1350684035":["hashtag1","hashtag2"]},{"1350684032":["hashtag1","hashtag2"]},{"1350684043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684040, 1350684037, 1350684041, 1350684035, 1350684032, 1350684043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.49401593208313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:18:32.631728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/11/image_09042025_05_12_07_9358.jpg', '/home/pi/Desktop/images/09042025/05/12/image_09042025_05_12_17_10352.jpg', '/home/pi/Desktop/images/09042025/05/12/image_09042025_05_12_37_9348.jpg', '/home/pi/Desktop/images/09042025/05/12/image_09042025_05_12_56_9364.jpg', '/home/pi/Desktop/images/09042025/05/12/image_09042025_05_13_07_10349.jpg', '/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_37_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/11/image_09042025_05_12_07_9358.jpg
/home/pi/Desktop/images/09042025/05/12/image_09042025_05_12_17_10352.jpg
/home/pi/Desktop/images/09042025/05/12/image_09042025_05_12_37_9348.jpg
/home/pi/Desktop/images/09042025/05/12/image_09042025_05_12_56_9364.jpg
/home/pi/Desktop/images/09042025/05/12/image_09042025_05_13_07_10349.jpg
/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_37_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684075","1350684065","1350684068","1350684076","1350684070","1350684073"],"photo_ids_order":["1350684065","1350684068","1350684070","1350684073","1350684075","1350684076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8ca73ae9cbe4990fcf7bad8bebea960.jpg","text":"TemporaryFile(/tmp/multipartBody7609537491040992584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179573103,"filename":"image_09042025_05_13_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/4/9/105dbec7deb4218d08baf7604e41e726.jpg","text":"TemporaryFile(/tmp/multipartBody3874276589523388890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179573103,"filename":"image_09042025_05_12_07_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23a82a8de426ba29423e2c338ce63c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2686626247566589549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179573103,"filename":"image_09042025_05_12_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/4/9/3e96fe654bfcfc0079847dad7b927e43.jpg","text":"TemporaryFile(/tmp/multipartBody8270628943366694471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179573103,"filename":"image_09042025_05_14_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/4/9/1825456a16ed2ebf1e160eef8024506f.jpg","text":"TemporaryFile(/tmp/multipartBody2557334861907557561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179573103,"filename":"image_09042025_05_12_37_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8c7b859cd0f2b3603491c4607f8aca31.jpg","text":"TemporaryFile(/tmp/multipartBody6464916969426080313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179573103,"filename":"image_09042025_05_12_56_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684070","file1":"1350684068","file0":"1350684065","file4":"1350684075","file5":"1350684076","file3":"1350684073"},"map_files_photo_id_array":[{"photo_id":"1350684076","filename":"file5"},{"photo_id":"1350684070","filename":"file2"},{"photo_id":"1350684075","filename":"file4"},{"photo_id":"1350684068","filename":"file1"},{"photo_id":"1350684065","filename":"file0"},{"photo_id":"1350684073","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684075":["hashtag1","hashtag2"]},{"1350684065":["hashtag1","hashtag2"]},{"1350684068":["hashtag1","hashtag2"]},{"1350684076":["hashtag1","hashtag2"]},{"1350684070":["hashtag1","hashtag2"]},{"1350684073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684075, 1350684065, 1350684068, 1350684076, 1350684070, 1350684073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.05282211303711 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:19:32.796406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_47_10361.jpg', '/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_57_9427.jpg', '/home/pi/Desktop/images/09042025/05/14/image_09042025_05_15_07_10349.jpg', '/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_17_10397.jpg', '/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_27_9359.jpg', '/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_37_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_47_10361.jpg
/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_57_9427.jpg
/home/pi/Desktop/images/09042025/05/14/image_09042025_05_15_07_10349.jpg
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_17_10397.jpg
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_27_9359.jpg
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_37_10382.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4084584712982178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 08:19:42.892638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_47_10361.jpg', '/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_57_9427.jpg', '/home/pi/Desktop/images/09042025/05/14/image_09042025_05_15_07_10349.jpg', '/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_17_10397.jpg', '/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_27_9359.jpg', '/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_37_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_47_10361.jpg
/home/pi/Desktop/images/09042025/05/14/image_09042025_05_14_57_9427.jpg
/home/pi/Desktop/images/09042025/05/14/image_09042025_05_15_07_10349.jpg
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_17_10397.jpg
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_27_9359.jpg
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_37_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684127","1350684115","1350684120","1350684128","1350684130","1350684124"],"photo_ids_order":["1350684115","1350684120","1350684124","1350684127","1350684128","1350684130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31d4448748d89821601069ff24f7625c.jpg","text":"TemporaryFile(/tmp/multipartBody266298032290351838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179643361,"filename":"image_09042025_05_15_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/4/9/ce38069b4285256bdbed441bb62fe4ca.jpg","text":"TemporaryFile(/tmp/multipartBody1029569092486458774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179643361,"filename":"image_09042025_05_14_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/4/9/5ae0ae4ea09823c7a400e124372e17a1.jpg","text":"TemporaryFile(/tmp/multipartBody1016333060915449516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179643361,"filename":"image_09042025_05_14_57_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8cf2696f9c260198e954191615e52a86.jpg","text":"TemporaryFile(/tmp/multipartBody4353516304783143754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179643361,"filename":"image_09042025_05_15_27_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ba58bf4983fa8d90b2950734ab0f147.jpg","text":"TemporaryFile(/tmp/multipartBody5112448783465780438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179643361,"filename":"image_09042025_05_15_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/550e7bc61620f567713947f1fcf7ef72.jpg","text":"TemporaryFile(/tmp/multipartBody8066493090018492507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179643361,"filename":"image_09042025_05_15_07_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684124","file1":"1350684120","file0":"1350684115","file4":"1350684128","file5":"1350684130","file3":"1350684127"},"map_files_photo_id_array":[{"photo_id":"1350684130","filename":"file5"},{"photo_id":"1350684124","filename":"file2"},{"photo_id":"1350684128","filename":"file4"},{"photo_id":"1350684120","filename":"file1"},{"photo_id":"1350684115","filename":"file0"},{"photo_id":"1350684127","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684127":["hashtag1","hashtag2"]},{"1350684115":["hashtag1","hashtag2"]},{"1350684120":["hashtag1","hashtag2"]},{"1350684128":["hashtag1","hashtag2"]},{"1350684130":["hashtag1","hashtag2"]},{"1350684124":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684127, 1350684115, 1350684120, 1350684128, 1350684130, 1350684124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.458991050720215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:20:32.203648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_46_9348.jpg', '/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_57_10370.jpg', '/home/pi/Desktop/images/09042025/05/15/image_09042025_05_16_07_10347.jpg', '/home/pi/Desktop/images/09042025/05/16/image_09042025_05_16_17_9399.jpg', '/home/pi/Desktop/images/09042025/05/16/image_09042025_05_16_27_10499.jpg', '/home/pi/Desktop/images/09042025/05/16/image_09042025_05_16_36_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_46_9348.jpg
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_15_57_10370.jpg
/home/pi/Desktop/images/09042025/05/15/image_09042025_05_16_07_10347.jpg
/home/pi/Desktop/images/09042025/05/16/image_09042025_05_16_17_9399.jpg
/home/pi/Desktop/images/09042025/05/16/image_09042025_05_16_27_10499.jpg
/home/pi/Desktop/images/09042025/05/16/image_09042025_05_16_36_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":["1350684156","1350684164","1350684158","1350684167","1350684161","1350684166"],"photo_ids_order":["1350684156","1350684158","1350684161","1350684164","1350684166","1350684167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5098e7e3921a74746791e4951c0e8100.jpg","text":"TemporaryFile(/tmp/multipartBody4657656037531046076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179692667,"filename":"image_09042025_05_15_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/4/9/2de7c864d5ecc7f0fd1b2826541e8f52.jpg","text":"TemporaryFile(/tmp/multipartBody6069915346256401382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179692667,"filename":"image_09042025_05_16_17_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b0f825c34274a37ee417e7cd28ad057.jpg","text":"TemporaryFile(/tmp/multipartBody837044428641736878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179692667,"filename":"image_09042025_05_15_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3994521976afee26eae40793bbd02ad.jpg","text":"TemporaryFile(/tmp/multipartBody8674978607607800497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179692667,"filename":"image_09042025_05_16_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/4/9/cc729d30429454d54052b8b6b05752b7.jpg","text":"TemporaryFile(/tmp/multipartBody5574295102952557544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179692667,"filename":"image_09042025_05_16_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a1e6e7d8676b4d04d00a95993b35a98.jpg","text":"TemporaryFile(/tmp/multipartBody1404761027058619097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179692667,"filename":"image_09042025_05_16_27_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684161","file1":"1350684158","file0":"1350684156","file4":"1350684166","file5":"1350684167","file3":"1350684164"},"map_files_photo_id_array":[{"photo_id":"1350684167","filename":"file5"},{"photo_id":"1350684161","filename":"file2"},{"photo_id":"1350684166","filename":"file4"},{"photo_id":"1350684158","filename":"file1"},{"photo_id":"1350684156","filename":"file0"},{"photo_id":"1350684164","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684156":["hashtag1","hashtag2"]},{"1350684164":["hashtag1","hashtag2"]},{"1350684158":["hashtag1","hashtag2"]},{"1350684167":["hashtag1","hashtag2"]},{"1350684161":["hashtag1","hashtag2"]},{"1350684166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684156, 1350684164, 1350684158, 1350684167, 1350684161, 1350684166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.78818941116333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:21:32.329160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/16/image_09042025_05_17_06_9344.jpg', '/home/pi/Desktop/images/09042025/05/17/image_09042025_05_17_37_9346.jpg', '/home/pi/Desktop/images/09042025/05/17/image_09042025_05_17_47_10497.jpg', '/home/pi/Desktop/images/09042025/05/17/image_09042025_05_17_57_9431.jpg', '/home/pi/Desktop/images/09042025/05/17/image_09042025_05_18_07_10479.jpg', '/home/pi/Desktop/images/09042025/05/18/image_09042025_05_18_27_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/16/image_09042025_05_17_06_9344.jpg
/home/pi/Desktop/images/09042025/05/17/image_09042025_05_17_37_9346.jpg
/home/pi/Desktop/images/09042025/05/17/image_09042025_05_17_47_10497.jpg
/home/pi/Desktop/images/09042025/05/17/image_09042025_05_17_57_9431.jpg
/home/pi/Desktop/images/09042025/05/17/image_09042025_05_18_07_10479.jpg
/home/pi/Desktop/images/09042025/05/18/image_09042025_05_18_27_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684198","1350684195","1350684207","1350684197","1350684200","1350684203"],"photo_ids_order":["1350684195","1350684197","1350684198","1350684200","1350684203","1350684207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a6d0dd7b6c3a104906157602d7c3582.jpg","text":"TemporaryFile(/tmp/multipartBody2818749042769348610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179752795,"filename":"image_09042025_05_17_47_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aab13ba992a30497d5f284b63b23cd1b.jpg","text":"TemporaryFile(/tmp/multipartBody2820457449387737621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179752795,"filename":"image_09042025_05_17_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/4/9/8198fd9123228f4d00438437acdb94eb.jpg","text":"TemporaryFile(/tmp/multipartBody3763163012443305901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179752795,"filename":"image_09042025_05_18_27_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18e8eb3bccfd347a14c6f0b72a8487db.jpg","text":"TemporaryFile(/tmp/multipartBody5757263236664625249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179752795,"filename":"image_09042025_05_17_37_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/868ffef319b5f27c89867bd10fa61092.jpg","text":"TemporaryFile(/tmp/multipartBody6500036185143469403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179752795,"filename":"image_09042025_05_17_57_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/32a6f3eafe4ce8a54970698d6a44fd41.jpg","text":"TemporaryFile(/tmp/multipartBody1497713576566638040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179752795,"filename":"image_09042025_05_18_07_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684198","file1":"1350684197","file0":"1350684195","file4":"1350684203","file5":"1350684207","file3":"1350684200"},"map_files_photo_id_array":[{"photo_id":"1350684207","filename":"file5"},{"photo_id":"1350684198","filename":"file2"},{"photo_id":"1350684203","filename":"file4"},{"photo_id":"1350684197","filename":"file1"},{"photo_id":"1350684195","filename":"file0"},{"photo_id":"1350684200","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684198":["hashtag1","hashtag2"]},{"1350684195":["hashtag1","hashtag2"]},{"1350684207":["hashtag1","hashtag2"]},{"1350684197":["hashtag1","hashtag2"]},{"1350684200":["hashtag1","hashtag2"]},{"1350684203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684198, 1350684195, 1350684207, 1350684197, 1350684200, 1350684203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.57192087173462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:22:32.701780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/18/image_09042025_05_18_37_10363.jpg', '/home/pi/Desktop/images/09042025/05/18/image_09042025_05_18_47_9355.jpg', '/home/pi/Desktop/images/09042025/05/18/image_09042025_05_18_57_10397.jpg', '/home/pi/Desktop/images/09042025/05/18/image_09042025_05_19_06_9424.jpg', '/home/pi/Desktop/images/09042025/05/19/image_09042025_05_19_17_10351.jpg', '/home/pi/Desktop/images/09042025/05/19/image_09042025_05_19_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/18/image_09042025_05_18_37_10363.jpg
/home/pi/Desktop/images/09042025/05/18/image_09042025_05_18_47_9355.jpg
/home/pi/Desktop/images/09042025/05/18/image_09042025_05_18_57_10397.jpg
/home/pi/Desktop/images/09042025/05/18/image_09042025_05_19_06_9424.jpg
/home/pi/Desktop/images/09042025/05/19/image_09042025_05_19_17_10351.jpg
/home/pi/Desktop/images/09042025/05/19/image_09042025_05_19_27_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":["1350684253","1350684243","1350684246","1350684254","1350684250","1350684238"],"photo_ids_order":["1350684238","1350684243","1350684246","1350684250","1350684253","1350684254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/655d5430060f06b49efe98e42a91f719.jpg","text":"TemporaryFile(/tmp/multipartBody5568808833345475167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179813198,"filename":"image_09042025_05_19_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/4/9/9ff7b0fd5df156e318094f7d7400ee61.jpg","text":"TemporaryFile(/tmp/multipartBody2893851835208176135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179813198,"filename":"image_09042025_05_18_47_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a0b19317d5efe9e6508f1cc89fad2eb.jpg","text":"TemporaryFile(/tmp/multipartBody7281885830589475160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179813198,"filename":"image_09042025_05_18_57_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/50ab6e8400448459e94fc9c082b95c45.jpg","text":"TemporaryFile(/tmp/multipartBody8699170560082660217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179813198,"filename":"image_09042025_05_19_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/4/9/6450c944dbfcb9e55be04a5f19b6e1ed.jpg","text":"TemporaryFile(/tmp/multipartBody635324831203120411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179813198,"filename":"image_09042025_05_19_06_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f2bd7796cb8cef76ff8fede737c7353.jpg","text":"TemporaryFile(/tmp/multipartBody4758735773939691406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179813198,"filename":"image_09042025_05_18_37_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684246","file1":"1350684243","file0":"1350684238","file4":"1350684253","file5":"1350684254","file3":"1350684250"},"map_files_photo_id_array":[{"photo_id":"1350684254","filename":"file5"},{"photo_id":"1350684246","filename":"file2"},{"photo_id":"1350684253","filename":"file4"},{"photo_id":"1350684243","filename":"file1"},{"photo_id":"1350684238","filename":"file0"},{"photo_id":"1350684250","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684253":["hashtag1","hashtag2"]},{"1350684243":["hashtag1","hashtag2"]},{"1350684246":["hashtag1","hashtag2"]},{"1350684254":["hashtag1","hashtag2"]},{"1350684250":["hashtag1","hashtag2"]},{"1350684238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684253, 1350684243, 1350684246, 1350684254, 1350684250, 1350684238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.363248586654663 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:23:32.847792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/19/image_09042025_05_19_36_9363.jpg', '/home/pi/Desktop/images/09042025/05/19/image_09042025_05_19_47_10362.jpg', '/home/pi/Desktop/images/09042025/05/20/image_09042025_05_20_26_9354.jpg', '/home/pi/Desktop/images/09042025/05/20/image_09042025_05_20_47_10370.jpg', '/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_16_9396.jpg', '/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_27_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/19/image_09042025_05_19_36_9363.jpg
/home/pi/Desktop/images/09042025/05/19/image_09042025_05_19_47_10362.jpg
/home/pi/Desktop/images/09042025/05/20/image_09042025_05_20_26_9354.jpg
/home/pi/Desktop/images/09042025/05/20/image_09042025_05_20_47_10370.jpg
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_16_9396.jpg
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_27_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":["1350684285","1350684293","1350684296","1350684281","1350684289","1350684283"],"photo_ids_order":["1350684281","1350684283","1350684285","1350684289","1350684293","1350684296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/92a7df40d1e64aa4bfc136c04609a2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7915044613809520540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179873311,"filename":"image_09042025_05_20_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/4/9/4058255cfb9dee7d2b745a71188a68b1.jpg","text":"TemporaryFile(/tmp/multipartBody9037062490310303573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179873311,"filename":"image_09042025_05_21_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/4/9/df1fe8287272dd95787b557b3e16f3f0.jpg","text":"TemporaryFile(/tmp/multipartBody9086391949491409122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179873311,"filename":"image_09042025_05_21_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/4/9/931517f54a677094209d09d0a84b8339.jpg","text":"TemporaryFile(/tmp/multipartBody1251458502176075072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179873311,"filename":"image_09042025_05_19_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/4/9/4b39ac2587147904a7c930add8f3c32c.jpg","text":"TemporaryFile(/tmp/multipartBody1756984336702842958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179873311,"filename":"image_09042025_05_20_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/4/9/60edb6f5e003455e4f10bb76d8131de4.jpg","text":"TemporaryFile(/tmp/multipartBody2351601401568167015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179873311,"filename":"image_09042025_05_19_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684285","file1":"1350684283","file0":"1350684281","file4":"1350684293","file5":"1350684296","file3":"1350684289"},"map_files_photo_id_array":[{"photo_id":"1350684296","filename":"file5"},{"photo_id":"1350684285","filename":"file2"},{"photo_id":"1350684293","filename":"file4"},{"photo_id":"1350684283","filename":"file1"},{"photo_id":"1350684281","filename":"file0"},{"photo_id":"1350684289","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684285":["hashtag1","hashtag2"]},{"1350684293":["hashtag1","hashtag2"]},{"1350684296":["hashtag1","hashtag2"]},{"1350684281":["hashtag1","hashtag2"]},{"1350684289":["hashtag1","hashtag2"]},{"1350684283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684285, 1350684293, 1350684296, 1350684281, 1350684289, 1350684283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.775054454803467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:24:33.135153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_37_10381.jpg', '/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_47_9411.jpg', '/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_57_10385.jpg', '/home/pi/Desktop/images/09042025/05/21/image_09042025_05_22_06_9350.jpg', '/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_27_10486.jpg', '/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_37_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_37_10381.jpg
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_47_9411.jpg
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_57_10385.jpg
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_22_06_9350.jpg
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_27_10486.jpg
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_37_9373.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4347851276397705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 08:24:43.061147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_37_10381.jpg', '/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_47_9411.jpg', '/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_57_10385.jpg', '/home/pi/Desktop/images/09042025/05/21/image_09042025_05_22_06_9350.jpg', '/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_27_10486.jpg', '/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_37_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_37_10381.jpg
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_47_9411.jpg
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_21_57_10385.jpg
/home/pi/Desktop/images/09042025/05/21/image_09042025_05_22_06_9350.jpg
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_27_10486.jpg
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_37_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":["1350684346","1350684351","1350684342","1350684350","1350684347","1350684349"],"photo_ids_order":["1350684342","1350684346","1350684347","1350684349","1350684350","1350684351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0393aeb794bebc0ca5ac3f6b9290355f.jpg","text":"TemporaryFile(/tmp/multipartBody1218741843136746152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179943523,"filename":"image_09042025_05_21_47_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a5c289de4a462e3cf3909d2393aebc0.jpg","text":"TemporaryFile(/tmp/multipartBody3282761574198243037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179943523,"filename":"image_09042025_05_22_37_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5df59af460a463c9f6eae226c6815c4.jpg","text":"TemporaryFile(/tmp/multipartBody7674267639214767533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179943523,"filename":"image_09042025_05_21_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/4/9/acb8e1f27f6a56548b26d9994866a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody5974330160825287365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179943523,"filename":"image_09042025_05_22_27_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0101ec49fd30450784a722fcb1a712bc.jpg","text":"TemporaryFile(/tmp/multipartBody3970702969139178018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179943523,"filename":"image_09042025_05_21_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/215354684b69ec6869baaa41b6053040.jpg","text":"TemporaryFile(/tmp/multipartBody6694909489114826349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744179943523,"filename":"image_09042025_05_22_06_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684347","file1":"1350684346","file0":"1350684342","file4":"1350684350","file5":"1350684351","file3":"1350684349"},"map_files_photo_id_array":[{"photo_id":"1350684351","filename":"file5"},{"photo_id":"1350684347","filename":"file2"},{"photo_id":"1350684350","filename":"file4"},{"photo_id":"1350684346","filename":"file1"},{"photo_id":"1350684342","filename":"file0"},{"photo_id":"1350684349","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684346":["hashtag1","hashtag2"]},{"1350684351":["hashtag1","hashtag2"]},{"1350684342":["hashtag1","hashtag2"]},{"1350684350":["hashtag1","hashtag2"]},{"1350684347":["hashtag1","hashtag2"]},{"1350684349":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684346, 1350684351, 1350684342, 1350684350, 1350684347, 1350684349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.198840141296387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:25:32.311357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_47_10420.jpg', '/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_56_9346.jpg', '/home/pi/Desktop/images/09042025/05/22/image_09042025_05_23_07_10373.jpg', '/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_17_10461.jpg', '/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_27_9344.jpg', '/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_37_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_47_10420.jpg
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_56_9346.jpg
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_23_07_10373.jpg
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_17_10461.jpg
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_27_9344.jpg
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_37_10423.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75433810>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.20525360107422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:27:52.724985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_47_10420.jpg', '/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_56_9346.jpg', '/home/pi/Desktop/images/09042025/05/22/image_09042025_05_23_07_10373.jpg', '/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_17_10461.jpg', '/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_27_9344.jpg', '/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_37_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_47_10420.jpg
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_22_56_9346.jpg
/home/pi/Desktop/images/09042025/05/22/image_09042025_05_23_07_10373.jpg
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_17_10461.jpg
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_27_9344.jpg
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_37_10423.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684489","1350684483","1350684485","1350684479","1350684493","1350684481"],"photo_ids_order":["1350684479","1350684481","1350684483","1350684485","1350684489","1350684493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c10bedc1e57ed6b53aa7c7ddfdbb9307.jpg","text":"TemporaryFile(/tmp/multipartBody1677740636196820094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180133187,"filename":"image_09042025_05_23_27_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb8daa6298821a9f54826e2ed88ed82d.jpg","text":"TemporaryFile(/tmp/multipartBody3178721087951681061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180133187,"filename":"image_09042025_05_23_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/712347a63f93713ac58948c536f10ef3.jpg","text":"TemporaryFile(/tmp/multipartBody7696122564625809244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180133187,"filename":"image_09042025_05_23_17_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aba47e391127052f9be5aeb7eb51b62f.jpg","text":"TemporaryFile(/tmp/multipartBody2195321306699087244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180133187,"filename":"image_09042025_05_22_47_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e96682c3915e4c5c3ae0ada0615dcd02.jpg","text":"TemporaryFile(/tmp/multipartBody4205286486076137872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180133187,"filename":"image_09042025_05_23_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/4/9/5b0c93669ab59941d553efa8405bca46.jpg","text":"TemporaryFile(/tmp/multipartBody4517042492659250913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180133187,"filename":"image_09042025_05_22_56_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684483","file1":"1350684481","file0":"1350684479","file4":"1350684489","file5":"1350684493","file3":"1350684485"},"map_files_photo_id_array":[{"photo_id":"1350684493","filename":"file5"},{"photo_id":"1350684483","filename":"file2"},{"photo_id":"1350684489","filename":"file4"},{"photo_id":"1350684481","filename":"file1"},{"photo_id":"1350684479","filename":"file0"},{"photo_id":"1350684485","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684489":["hashtag1","hashtag2"]},{"1350684483":["hashtag1","hashtag2"]},{"1350684485":["hashtag1","hashtag2"]},{"1350684479":["hashtag1","hashtag2"]},{"1350684493":["hashtag1","hashtag2"]},{"1350684481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684489, 1350684483, 1350684485, 1350684479, 1350684493, 1350684481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.565091371536255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:28:32.973148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_46_9445.jpg', '/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_57_10528.jpg', '/home/pi/Desktop/images/09042025/05/23/image_09042025_05_24_06_9356.jpg', '/home/pi/Desktop/images/09042025/05/24/image_09042025_05_24_17_10359.jpg', '/home/pi/Desktop/images/09042025/05/24/image_09042025_05_24_27_10376.jpg', '/home/pi/Desktop/images/09042025/05/24/image_09042025_05_24_36_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_46_9445.jpg
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_23_57_10528.jpg
/home/pi/Desktop/images/09042025/05/23/image_09042025_05_24_06_9356.jpg
/home/pi/Desktop/images/09042025/05/24/image_09042025_05_24_17_10359.jpg
/home/pi/Desktop/images/09042025/05/24/image_09042025_05_24_27_10376.jpg
/home/pi/Desktop/images/09042025/05/24/image_09042025_05_24_36_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684517","1350684511","1350684513","1350684522","1350684509","1350684520"],"photo_ids_order":["1350684509","1350684511","1350684513","1350684517","1350684520","1350684522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f94a00c63236298dc770beaedc9806f2.jpg","text":"TemporaryFile(/tmp/multipartBody1388596737055912602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180173463,"filename":"image_09042025_05_24_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/4/9/d1076d1bd606e127b104cd4f0d91080b.jpg","text":"TemporaryFile(/tmp/multipartBody7976027285413608474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180173463,"filename":"image_09042025_05_23_57_10528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/58665ed0435608b3151ba2e696d3cda0.jpg","text":"TemporaryFile(/tmp/multipartBody9221702334542545690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180173463,"filename":"image_09042025_05_24_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/4/9/ca1b83b3f33f1d1932080a8e58ed9706.jpg","text":"TemporaryFile(/tmp/multipartBody8493744509079420537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180173463,"filename":"image_09042025_05_24_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/4/9/57219690b03550acd5eaf19fd80fd63c.jpg","text":"TemporaryFile(/tmp/multipartBody5972017341508284649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180173463,"filename":"image_09042025_05_23_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/4/9/3f025b97ba569315feedbbf10f990306.jpg","text":"TemporaryFile(/tmp/multipartBody8927512908335015319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180173463,"filename":"image_09042025_05_24_27_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684513","file1":"1350684511","file0":"1350684509","file4":"1350684520","file5":"1350684522","file3":"1350684517"},"map_files_photo_id_array":[{"photo_id":"1350684522","filename":"file5"},{"photo_id":"1350684513","filename":"file2"},{"photo_id":"1350684520","filename":"file4"},{"photo_id":"1350684511","filename":"file1"},{"photo_id":"1350684509","filename":"file0"},{"photo_id":"1350684517","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684517":["hashtag1","hashtag2"]},{"1350684511":["hashtag1","hashtag2"]},{"1350684513":["hashtag1","hashtag2"]},{"1350684522":["hashtag1","hashtag2"]},{"1350684509":["hashtag1","hashtag2"]},{"1350684520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684517, 1350684511, 1350684513, 1350684522, 1350684509, 1350684520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41424012184143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:29:32.261750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/24/image_09042025_05_24_47_10365.jpg', '/home/pi/Desktop/images/09042025/05/24/image_09042025_05_25_07_9352.jpg', '/home/pi/Desktop/images/09042025/05/25/image_09042025_05_25_17_10429.jpg', '/home/pi/Desktop/images/09042025/05/25/image_09042025_05_25_26_9363.jpg', '/home/pi/Desktop/images/09042025/05/25/image_09042025_05_25_37_10357.jpg', '/home/pi/Desktop/images/09042025/05/25/image_09042025_05_25_47_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/24/image_09042025_05_24_47_10365.jpg
/home/pi/Desktop/images/09042025/05/24/image_09042025_05_25_07_9352.jpg
/home/pi/Desktop/images/09042025/05/25/image_09042025_05_25_17_10429.jpg
/home/pi/Desktop/images/09042025/05/25/image_09042025_05_25_26_9363.jpg
/home/pi/Desktop/images/09042025/05/25/image_09042025_05_25_37_10357.jpg
/home/pi/Desktop/images/09042025/05/25/image_09042025_05_25_47_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":["1350684564","1350684554","1350684557","1350684565","1350684559","1350684562"],"photo_ids_order":["1350684554","1350684557","1350684559","1350684562","1350684564","1350684565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae9d21066139508e5f944af38a64d6b7.jpg","text":"TemporaryFile(/tmp/multipartBody266790687499536579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180232724,"filename":"image_09042025_05_25_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/4/9/53ac284470fea838170e4509987bda9f.jpg","text":"TemporaryFile(/tmp/multipartBody7295020528075331289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180232724,"filename":"image_09042025_05_24_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db7c5c368c56b7df28242fe5f400d6ff.jpg","text":"TemporaryFile(/tmp/multipartBody3350444187715098973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180232724,"filename":"image_09042025_05_25_07_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7aac1c0b663bae87a8ff7e61950915eb.jpg","text":"TemporaryFile(/tmp/multipartBody6974209332758169594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180232724,"filename":"image_09042025_05_25_47_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/116d24f211564d011d48650e7bc903f6.jpg","text":"TemporaryFile(/tmp/multipartBody987826619704963452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180232724,"filename":"image_09042025_05_25_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/4/9/cd081508fce2a7144736393849c63f3f.jpg","text":"TemporaryFile(/tmp/multipartBody2277050861300711266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180232724,"filename":"image_09042025_05_25_26_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684559","file1":"1350684557","file0":"1350684554","file4":"1350684564","file5":"1350684565","file3":"1350684562"},"map_files_photo_id_array":[{"photo_id":"1350684565","filename":"file5"},{"photo_id":"1350684559","filename":"file2"},{"photo_id":"1350684564","filename":"file4"},{"photo_id":"1350684557","filename":"file1"},{"photo_id":"1350684554","filename":"file0"},{"photo_id":"1350684562","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684564":["hashtag1","hashtag2"]},{"1350684554":["hashtag1","hashtag2"]},{"1350684557":["hashtag1","hashtag2"]},{"1350684565":["hashtag1","hashtag2"]},{"1350684559":["hashtag1","hashtag2"]},{"1350684562":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684564, 1350684554, 1350684557, 1350684565, 1350684559, 1350684562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.81182312965393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:30:32.454173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/26/image_09042025_05_26_37_10370.jpg', '/home/pi/Desktop/images/09042025/05/26/image_09042025_05_26_47_9346.jpg', '/home/pi/Desktop/images/09042025/05/26/image_09042025_05_26_57_10374.jpg', '/home/pi/Desktop/images/09042025/05/26/image_09042025_05_27_07_10363.jpg', '/home/pi/Desktop/images/09042025/05/27/image_09042025_05_27_27_10453.jpg', '/home/pi/Desktop/images/09042025/05/27/image_09042025_05_27_37_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/26/image_09042025_05_26_37_10370.jpg
/home/pi/Desktop/images/09042025/05/26/image_09042025_05_26_47_9346.jpg
/home/pi/Desktop/images/09042025/05/26/image_09042025_05_26_57_10374.jpg
/home/pi/Desktop/images/09042025/05/26/image_09042025_05_27_07_10363.jpg
/home/pi/Desktop/images/09042025/05/27/image_09042025_05_27_27_10453.jpg
/home/pi/Desktop/images/09042025/05/27/image_09042025_05_27_37_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":["1350684607","1350684597","1350684603","1350684617","1350684620","1350684613"],"photo_ids_order":["1350684597","1350684603","1350684607","1350684613","1350684617","1350684620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/236abe0770a96d151f09850e3e09d2d3.jpg","text":"TemporaryFile(/tmp/multipartBody7171585992240756759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180292918,"filename":"image_09042025_05_26_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f41b7fc8631cdae00683621a57429f7.jpg","text":"TemporaryFile(/tmp/multipartBody8705847814151263856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180292918,"filename":"image_09042025_05_26_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52d8451936fdbd2f94a12d4c3e4f6cb3.jpg","text":"TemporaryFile(/tmp/multipartBody3375275036039071420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180292918,"filename":"image_09042025_05_26_47_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8c3d986af9e0fe214e0cee880c2c31d.jpg","text":"TemporaryFile(/tmp/multipartBody3679389186136279355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180292918,"filename":"image_09042025_05_27_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6dc25b8420f451c63ec43f7f3e526a82.jpg","text":"TemporaryFile(/tmp/multipartBody2414333971843063084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180292918,"filename":"image_09042025_05_27_37_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1fb44d8f0dc6c95145b8cd2025d93615.jpg","text":"TemporaryFile(/tmp/multipartBody6128317144273447126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180292918,"filename":"image_09042025_05_27_07_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684607","file1":"1350684603","file0":"1350684597","file4":"1350684617","file5":"1350684620","file3":"1350684613"},"map_files_photo_id_array":[{"photo_id":"1350684620","filename":"file5"},{"photo_id":"1350684607","filename":"file2"},{"photo_id":"1350684617","filename":"file4"},{"photo_id":"1350684603","filename":"file1"},{"photo_id":"1350684597","filename":"file0"},{"photo_id":"1350684613","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684607":["hashtag1","hashtag2"]},{"1350684597":["hashtag1","hashtag2"]},{"1350684603":["hashtag1","hashtag2"]},{"1350684617":["hashtag1","hashtag2"]},{"1350684620":["hashtag1","hashtag2"]},{"1350684613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684607, 1350684597, 1350684603, 1350684617, 1350684620, 1350684613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.15915870666504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:31:32.843423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/27/image_09042025_05_27_47_10407.jpg', '/home/pi/Desktop/images/09042025/05/27/image_09042025_05_27_56_9363.jpg', '/home/pi/Desktop/images/09042025/05/27/image_09042025_05_28_07_10350.jpg', '/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_17_10363.jpg', '/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_27_9387.jpg', '/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_37_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/27/image_09042025_05_27_47_10407.jpg
/home/pi/Desktop/images/09042025/05/27/image_09042025_05_27_56_9363.jpg
/home/pi/Desktop/images/09042025/05/27/image_09042025_05_28_07_10350.jpg
/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_17_10363.jpg
/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_27_9387.jpg
/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_37_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684643","1350684660","1350684651","1350684656","1350684647","1350684664"],"photo_ids_order":["1350684643","1350684647","1350684651","1350684656","1350684660","1350684664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ea51fe3fe492d3112de222aea9b4690.jpg","text":"TemporaryFile(/tmp/multipartBody8264252205138858003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180353313,"filename":"image_09042025_05_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/4/9/388d93c6dd19bd9569cc74bd85646adc.jpg","text":"TemporaryFile(/tmp/multipartBody8492454680799168332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180353313,"filename":"image_09042025_05_28_27_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a076ed7f3104bcf46233d8e404d6b70f.jpg","text":"TemporaryFile(/tmp/multipartBody7196099210352589554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180353313,"filename":"image_09042025_05_28_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/4/9/7afa039c5012606cab72771e9f4afc78.jpg","text":"TemporaryFile(/tmp/multipartBody2459424098095349590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180353313,"filename":"image_09042025_05_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/4/9/bda1b75b557e957a2e9e8539295b07f9.jpg","text":"TemporaryFile(/tmp/multipartBody5481455579619159020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180353313,"filename":"image_09042025_05_27_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c0e345855e8915791802e561c2f24349.jpg","text":"TemporaryFile(/tmp/multipartBody7620465025979576904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180353313,"filename":"image_09042025_05_28_37_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684651","file1":"1350684647","file0":"1350684643","file4":"1350684660","file5":"1350684664","file3":"1350684656"},"map_files_photo_id_array":[{"photo_id":"1350684664","filename":"file5"},{"photo_id":"1350684651","filename":"file2"},{"photo_id":"1350684660","filename":"file4"},{"photo_id":"1350684647","filename":"file1"},{"photo_id":"1350684643","filename":"file0"},{"photo_id":"1350684656","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684643":["hashtag1","hashtag2"]},{"1350684660":["hashtag1","hashtag2"]},{"1350684651":["hashtag1","hashtag2"]},{"1350684656":["hashtag1","hashtag2"]},{"1350684647":["hashtag1","hashtag2"]},{"1350684664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684643, 1350684660, 1350684651, 1350684656, 1350684647, 1350684664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74321675300598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:32:32.993084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_47_10450.jpg', '/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_57_9390.jpg', '/home/pi/Desktop/images/09042025/05/28/image_09042025_05_29_07_10362.jpg', '/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_16_9362.jpg', '/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_27_10376.jpg', '/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_37_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_47_10450.jpg
/home/pi/Desktop/images/09042025/05/28/image_09042025_05_28_57_9390.jpg
/home/pi/Desktop/images/09042025/05/28/image_09042025_05_29_07_10362.jpg
/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_16_9362.jpg
/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_27_10376.jpg
/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_37_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684709","1350684706","1350684686","1350684695","1350684701","1350684691"],"photo_ids_order":["1350684686","1350684691","1350684695","1350684701","1350684706","1350684709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dee7f4307c6e4d90d4f88490eedc985e.jpg","text":"TemporaryFile(/tmp/multipartBody6281325185071521802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180413466,"filename":"image_09042025_05_29_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/4/9/80f2f53edf3e274c80cf5a860b621f5b.jpg","text":"TemporaryFile(/tmp/multipartBody6608159231239344371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180413466,"filename":"image_09042025_05_29_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/4/9/95a8e09b7f0bd4e802d9019b084d7918.jpg","text":"TemporaryFile(/tmp/multipartBody8147668317350912631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180413466,"filename":"image_09042025_05_28_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/4/9/0af854505701131dd08d840938d9373a.jpg","text":"TemporaryFile(/tmp/multipartBody5893164561944256500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180413466,"filename":"image_09042025_05_29_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/4/9/9dcf7fbe4d22df2667855772ecbb4426.jpg","text":"TemporaryFile(/tmp/multipartBody3299509396775696178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180413466,"filename":"image_09042025_05_29_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6dd7b773528bc5a2f9072e28d47c83c.jpg","text":"TemporaryFile(/tmp/multipartBody404846501415933772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180413466,"filename":"image_09042025_05_28_57_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684695","file1":"1350684691","file0":"1350684686","file4":"1350684706","file5":"1350684709","file3":"1350684701"},"map_files_photo_id_array":[{"photo_id":"1350684709","filename":"file5"},{"photo_id":"1350684695","filename":"file2"},{"photo_id":"1350684706","filename":"file4"},{"photo_id":"1350684691","filename":"file1"},{"photo_id":"1350684686","filename":"file0"},{"photo_id":"1350684701","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684709":["hashtag1","hashtag2"]},{"1350684706":["hashtag1","hashtag2"]},{"1350684686":["hashtag1","hashtag2"]},{"1350684695":["hashtag1","hashtag2"]},{"1350684701":["hashtag1","hashtag2"]},{"1350684691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684709, 1350684706, 1350684686, 1350684695, 1350684701, 1350684691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.988778352737427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:33:32.314303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_47_9387.jpg', '/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_57_10429.jpg', '/home/pi/Desktop/images/09042025/05/29/image_09042025_05_30_06_9349.jpg', '/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_17_10358.jpg', '/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_27_10366.jpg', '/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_37_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_47_9387.jpg
/home/pi/Desktop/images/09042025/05/29/image_09042025_05_29_57_10429.jpg
/home/pi/Desktop/images/09042025/05/29/image_09042025_05_30_06_9349.jpg
/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_17_10358.jpg
/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_27_10366.jpg
/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_37_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":["1350684742","1350684738","1350684746","1350684734","1350684751","1350684754"],"photo_ids_order":["1350684734","1350684738","1350684742","1350684746","1350684751","1350684754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/138b7cd7ff98bdf0235a11e7ed78c2ee.jpg","text":"TemporaryFile(/tmp/multipartBody8811828371830784407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180472781,"filename":"image_09042025_05_30_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/4/9/0aec4ff611bd148b3749b457db2da119.jpg","text":"TemporaryFile(/tmp/multipartBody131386769880990440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180472781,"filename":"image_09042025_05_29_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0230542090212435ad753c5ef011c174.jpg","text":"TemporaryFile(/tmp/multipartBody3658070677802119663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180472781,"filename":"image_09042025_05_30_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/4/9/a8ddb94840c60b1e62514054da7e2117.jpg","text":"TemporaryFile(/tmp/multipartBody6696760716984005941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180472781,"filename":"image_09042025_05_29_47_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e8dd005c2196b2648f50e6f919286d7.jpg","text":"TemporaryFile(/tmp/multipartBody2409247574422374008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180472781,"filename":"image_09042025_05_30_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/766911326683e2a26872c33137853b81.jpg","text":"TemporaryFile(/tmp/multipartBody5149985172581178889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180472781,"filename":"image_09042025_05_30_37_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684742","file1":"1350684738","file0":"1350684734","file4":"1350684751","file5":"1350684754","file3":"1350684746"},"map_files_photo_id_array":[{"photo_id":"1350684754","filename":"file5"},{"photo_id":"1350684742","filename":"file2"},{"photo_id":"1350684751","filename":"file4"},{"photo_id":"1350684738","filename":"file1"},{"photo_id":"1350684734","filename":"file0"},{"photo_id":"1350684746","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684742":["hashtag1","hashtag2"]},{"1350684738":["hashtag1","hashtag2"]},{"1350684746":["hashtag1","hashtag2"]},{"1350684734":["hashtag1","hashtag2"]},{"1350684751":["hashtag1","hashtag2"]},{"1350684754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684742, 1350684738, 1350684746, 1350684734, 1350684751, 1350684754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.985284566879272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:34:32.399709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_47_10365.jpg', '/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_57_10393.jpg', '/home/pi/Desktop/images/09042025/05/30/image_09042025_05_31_07_9359.jpg', '/home/pi/Desktop/images/09042025/05/31/image_09042025_05_31_17_10488.jpg', '/home/pi/Desktop/images/09042025/05/31/image_09042025_05_31_26_9346.jpg', '/home/pi/Desktop/images/09042025/05/31/image_09042025_05_31_37_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_47_10365.jpg
/home/pi/Desktop/images/09042025/05/30/image_09042025_05_30_57_10393.jpg
/home/pi/Desktop/images/09042025/05/30/image_09042025_05_31_07_9359.jpg
/home/pi/Desktop/images/09042025/05/31/image_09042025_05_31_17_10488.jpg
/home/pi/Desktop/images/09042025/05/31/image_09042025_05_31_26_9346.jpg
/home/pi/Desktop/images/09042025/05/31/image_09042025_05_31_37_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":["1350684805","1350684783","1350684810","1350684788","1350684793","1350684799"],"photo_ids_order":["1350684783","1350684788","1350684793","1350684799","1350684805","1350684810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f3283ed599891e8c2d67d044ae09129.jpg","text":"TemporaryFile(/tmp/multipartBody5449228729051205100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180532857,"filename":"image_09042025_05_31_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df5dfc0ced4696647b48b3db44b48b30.jpg","text":"TemporaryFile(/tmp/multipartBody8242167237418874818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180532857,"filename":"image_09042025_05_30_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/4/9/cd6bfc4f4bf05ef8e81541c0d35ce031.jpg","text":"TemporaryFile(/tmp/multipartBody7898604250067339618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180532857,"filename":"image_09042025_05_31_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/4/9/67f5490bd78f8080584eff5f0a0fcc02.jpg","text":"TemporaryFile(/tmp/multipartBody1613785438484326681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180532857,"filename":"image_09042025_05_30_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/4/9/5e8cb675bd794c1e8e7dec632be4667b.jpg","text":"TemporaryFile(/tmp/multipartBody1874339837311365416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180532857,"filename":"image_09042025_05_31_07_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1bc0e70625e394464546e8b9b122fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3601595823303989958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180532857,"filename":"image_09042025_05_31_17_10488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684793","file1":"1350684788","file0":"1350684783","file4":"1350684805","file5":"1350684810","file3":"1350684799"},"map_files_photo_id_array":[{"photo_id":"1350684810","filename":"file5"},{"photo_id":"1350684793","filename":"file2"},{"photo_id":"1350684805","filename":"file4"},{"photo_id":"1350684788","filename":"file1"},{"photo_id":"1350684783","filename":"file0"},{"photo_id":"1350684799","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684805":["hashtag1","hashtag2"]},{"1350684783":["hashtag1","hashtag2"]},{"1350684810":["hashtag1","hashtag2"]},{"1350684788":["hashtag1","hashtag2"]},{"1350684793":["hashtag1","hashtag2"]},{"1350684799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684805, 1350684783, 1350684810, 1350684788, 1350684793, 1350684799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.829541444778442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:35:32.725196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/31/image_09042025_05_31_57_9348.jpg', '/home/pi/Desktop/images/09042025/05/31/image_09042025_05_32_07_10366.jpg', '/home/pi/Desktop/images/09042025/05/32/image_09042025_05_32_16_9412.jpg', '/home/pi/Desktop/images/09042025/05/32/image_09042025_05_32_27_10365.jpg', '/home/pi/Desktop/images/09042025/05/32/image_09042025_05_32_37_10369.jpg', '/home/pi/Desktop/images/09042025/05/32/image_09042025_05_32_46_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/31/image_09042025_05_31_57_9348.jpg
/home/pi/Desktop/images/09042025/05/31/image_09042025_05_32_07_10366.jpg
/home/pi/Desktop/images/09042025/05/32/image_09042025_05_32_16_9412.jpg
/home/pi/Desktop/images/09042025/05/32/image_09042025_05_32_27_10365.jpg
/home/pi/Desktop/images/09042025/05/32/image_09042025_05_32_37_10369.jpg
/home/pi/Desktop/images/09042025/05/32/image_09042025_05_32_46_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684849","1350684852","1350684845","1350684842","1350684839","1350684856"],"photo_ids_order":["1350684839","1350684842","1350684845","1350684849","1350684852","1350684856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/845724ff52395c76b8e8d4e07f3b6c64.jpg","text":"TemporaryFile(/tmp/multipartBody5526500799216125502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180593195,"filename":"image_09042025_05_32_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/4/9/7fd3ead6873162b696a14b2e719854cf.jpg","text":"TemporaryFile(/tmp/multipartBody6206225035430111736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180593195,"filename":"image_09042025_05_32_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/089ee365071992c6dd11c85726a58687.jpg","text":"TemporaryFile(/tmp/multipartBody5129039987511631022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180593195,"filename":"image_09042025_05_32_16_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fccaaa4a234849d04bba46325cbbcf0b.jpg","text":"TemporaryFile(/tmp/multipartBody4658732475561737833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180593195,"filename":"image_09042025_05_32_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/4/9/a750519d1a91af8066c2cd8842fefb60.jpg","text":"TemporaryFile(/tmp/multipartBody7542773009681400322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180593195,"filename":"image_09042025_05_31_57_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a245c63cb7b56d72a3e6d904384ae631.jpg","text":"TemporaryFile(/tmp/multipartBody2569258693500769450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180593195,"filename":"image_09042025_05_32_46_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684845","file1":"1350684842","file0":"1350684839","file4":"1350684852","file5":"1350684856","file3":"1350684849"},"map_files_photo_id_array":[{"photo_id":"1350684856","filename":"file5"},{"photo_id":"1350684845","filename":"file2"},{"photo_id":"1350684852","filename":"file4"},{"photo_id":"1350684842","filename":"file1"},{"photo_id":"1350684839","filename":"file0"},{"photo_id":"1350684849","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684849":["hashtag1","hashtag2"]},{"1350684852":["hashtag1","hashtag2"]},{"1350684845":["hashtag1","hashtag2"]},{"1350684842":["hashtag1","hashtag2"]},{"1350684839":["hashtag1","hashtag2"]},{"1350684856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684849, 1350684852, 1350684845, 1350684842, 1350684839, 1350684856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.90473175048828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:36:32.941998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/32/image_09042025_05_33_07_10438.jpg', '/home/pi/Desktop/images/09042025/05/33/image_09042025_05_33_17_9359.jpg', '/home/pi/Desktop/images/09042025/05/33/image_09042025_05_33_27_10428.jpg', '/home/pi/Desktop/images/09042025/05/33/image_09042025_05_33_47_10361.jpg', '/home/pi/Desktop/images/09042025/05/33/image_09042025_05_33_57_10364.jpg', '/home/pi/Desktop/images/09042025/05/33/image_09042025_05_34_06_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/32/image_09042025_05_33_07_10438.jpg
/home/pi/Desktop/images/09042025/05/33/image_09042025_05_33_17_9359.jpg
/home/pi/Desktop/images/09042025/05/33/image_09042025_05_33_27_10428.jpg
/home/pi/Desktop/images/09042025/05/33/image_09042025_05_33_47_10361.jpg
/home/pi/Desktop/images/09042025/05/33/image_09042025_05_33_57_10364.jpg
/home/pi/Desktop/images/09042025/05/33/image_09042025_05_34_06_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350684885","1350684894","1350684881","1350684902","1350684889","1350684898"],"photo_ids_order":["1350684881","1350684885","1350684889","1350684894","1350684898","1350684902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/be042b951bd80bb1b5c2e403f82e4952.jpg","text":"TemporaryFile(/tmp/multipartBody7014488553606898628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180653417,"filename":"image_09042025_05_33_17_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9a1b48d641d4dbc6349ee131aa6a4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2820099274991102523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180653417,"filename":"image_09042025_05_33_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/4/9/ff8e88c294f6a0dba74278c6824afdc6.jpg","text":"TemporaryFile(/tmp/multipartBody7456230755180831694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180653417,"filename":"image_09042025_05_33_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/4/9/55f51396338e3f0719d01c4503b6019e.jpg","text":"TemporaryFile(/tmp/multipartBody8275272552260150670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180653417,"filename":"image_09042025_05_34_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/4/9/1f8b3b54fef13b8a1b2e0906a67f6b18.jpg","text":"TemporaryFile(/tmp/multipartBody3455890662934944647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180653417,"filename":"image_09042025_05_33_27_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b238071ea14b225d146bee19333c604.jpg","text":"TemporaryFile(/tmp/multipartBody3852658431219340632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180653417,"filename":"image_09042025_05_33_57_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684889","file1":"1350684885","file0":"1350684881","file4":"1350684898","file5":"1350684902","file3":"1350684894"},"map_files_photo_id_array":[{"photo_id":"1350684902","filename":"file5"},{"photo_id":"1350684889","filename":"file2"},{"photo_id":"1350684898","filename":"file4"},{"photo_id":"1350684885","filename":"file1"},{"photo_id":"1350684881","filename":"file0"},{"photo_id":"1350684894","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684885":["hashtag1","hashtag2"]},{"1350684894":["hashtag1","hashtag2"]},{"1350684881":["hashtag1","hashtag2"]},{"1350684902":["hashtag1","hashtag2"]},{"1350684889":["hashtag1","hashtag2"]},{"1350684898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684885, 1350684894, 1350684881, 1350684902, 1350684889, 1350684898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.471811056137085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:37:33.146502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_17_10344.jpg', '/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_27_10358.jpg', '/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_37_9344.jpg', '/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_47_10424.jpg', '/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_56_9410.jpg', '/home/pi/Desktop/images/09042025/05/34/image_09042025_05_35_07_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_17_10344.jpg
/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_27_10358.jpg
/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_37_9344.jpg
/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_47_10424.jpg
/home/pi/Desktop/images/09042025/05/34/image_09042025_05_34_56_9410.jpg
/home/pi/Desktop/images/09042025/05/34/image_09042025_05_35_07_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":["1350684934","1350684930","1350684944","1350684941","1350684937","1350684925"],"photo_ids_order":["1350684925","1350684930","1350684934","1350684937","1350684941","1350684944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0959dc97f67fb3251c2479615977f899.jpg","text":"TemporaryFile(/tmp/multipartBody6551566614968552226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180713629,"filename":"image_09042025_05_34_37_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/177f097249f86b8422171bed61aadb88.jpg","text":"TemporaryFile(/tmp/multipartBody4598180586510346418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180713629,"filename":"image_09042025_05_34_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06f605cb8b73901334a08e81346eeae6.jpg","text":"TemporaryFile(/tmp/multipartBody3589772695580809783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180713629,"filename":"image_09042025_05_35_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82b0506263d6ea51b6de2825ea4e8125.jpg","text":"TemporaryFile(/tmp/multipartBody7489217380958345634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180713629,"filename":"image_09042025_05_34_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/4/9/b88618487aa0bf43d7bcbfd1907a0dbf.jpg","text":"TemporaryFile(/tmp/multipartBody1189131665882625425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180713629,"filename":"image_09042025_05_34_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/4/9/4834ebf055f32c61f6d2427280c175c2.jpg","text":"TemporaryFile(/tmp/multipartBody8619552970842164694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180713629,"filename":"image_09042025_05_34_17_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684934","file1":"1350684930","file0":"1350684925","file4":"1350684941","file5":"1350684944","file3":"1350684937"},"map_files_photo_id_array":[{"photo_id":"1350684944","filename":"file5"},{"photo_id":"1350684934","filename":"file2"},{"photo_id":"1350684941","filename":"file4"},{"photo_id":"1350684930","filename":"file1"},{"photo_id":"1350684925","filename":"file0"},{"photo_id":"1350684937","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684934":["hashtag1","hashtag2"]},{"1350684930":["hashtag1","hashtag2"]},{"1350684944":["hashtag1","hashtag2"]},{"1350684941":["hashtag1","hashtag2"]},{"1350684937":["hashtag1","hashtag2"]},{"1350684925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684934, 1350684930, 1350684944, 1350684941, 1350684937, 1350684925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.903746604919434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:38:32.382185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/35/image_09042025_05_35_17_10457.jpg', '/home/pi/Desktop/images/09042025/05/35/image_09042025_05_35_37_10363.jpg', '/home/pi/Desktop/images/09042025/05/35/image_09042025_05_35_47_10432.jpg', '/home/pi/Desktop/images/09042025/05/35/image_09042025_05_35_57_9344.jpg', '/home/pi/Desktop/images/09042025/05/35/image_09042025_05_36_07_10432.jpg', '/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_16_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/35/image_09042025_05_35_17_10457.jpg
/home/pi/Desktop/images/09042025/05/35/image_09042025_05_35_37_10363.jpg
/home/pi/Desktop/images/09042025/05/35/image_09042025_05_35_47_10432.jpg
/home/pi/Desktop/images/09042025/05/35/image_09042025_05_35_57_9344.jpg
/home/pi/Desktop/images/09042025/05/35/image_09042025_05_36_07_10432.jpg
/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_16_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":["1350684975","1350684977","1350684971","1350684973","1350684982","1350684979"],"photo_ids_order":["1350684971","1350684973","1350684975","1350684977","1350684979","1350684982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39df8ee48e34fbb7c816c1a701eb5aed.jpg","text":"TemporaryFile(/tmp/multipartBody581303494630208845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180772847,"filename":"image_09042025_05_35_47_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7d7af4c344ddb12d8230b94bfee6bea.jpg","text":"TemporaryFile(/tmp/multipartBody7702078168913843230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180772847,"filename":"image_09042025_05_35_57_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de7fc4fcbf828ea4c7d6fffed5bba30c.jpg","text":"TemporaryFile(/tmp/multipartBody80508537380659759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180772847,"filename":"image_09042025_05_35_17_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/997be8ef4946fa02a1ca29bfe0d89e67.jpg","text":"TemporaryFile(/tmp/multipartBody2684365769105735188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180772847,"filename":"image_09042025_05_35_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1c21d55c2b6d47172951e0248d47030.jpg","text":"TemporaryFile(/tmp/multipartBody6037788255640187581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180772847,"filename":"image_09042025_05_36_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/4/9/00564b18dc6f1ab1b92531e617b0b2a9.jpg","text":"TemporaryFile(/tmp/multipartBody7240106009434801919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180772847,"filename":"image_09042025_05_36_07_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350684975","file1":"1350684973","file0":"1350684971","file4":"1350684979","file5":"1350684982","file3":"1350684977"},"map_files_photo_id_array":[{"photo_id":"1350684982","filename":"file5"},{"photo_id":"1350684975","filename":"file2"},{"photo_id":"1350684979","filename":"file4"},{"photo_id":"1350684973","filename":"file1"},{"photo_id":"1350684971","filename":"file0"},{"photo_id":"1350684977","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350684975":["hashtag1","hashtag2"]},{"1350684977":["hashtag1","hashtag2"]},{"1350684971":["hashtag1","hashtag2"]},{"1350684973":["hashtag1","hashtag2"]},{"1350684982":["hashtag1","hashtag2"]},{"1350684979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350684975, 1350684977, 1350684971, 1350684973, 1350684982, 1350684979)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 29.756014108657837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:39:32.607713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_27_10368.jpg', '/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_37_10432.jpg', '/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_47_9368.jpg', '/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_57_10439.jpg', '/home/pi/Desktop/images/09042025/05/36/image_09042025_05_37_06_9344.jpg', '/home/pi/Desktop/images/09042025/05/37/image_09042025_05_37_17_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_27_10368.jpg
/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_37_10432.jpg
/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_47_9368.jpg
/home/pi/Desktop/images/09042025/05/36/image_09042025_05_36_57_10439.jpg
/home/pi/Desktop/images/09042025/05/36/image_09042025_05_37_06_9344.jpg
/home/pi/Desktop/images/09042025/05/37/image_09042025_05_37_17_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":["1350685035","1350685020","1350685023","1350685037","1350685016","1350685018"],"photo_ids_order":["1350685016","1350685018","1350685020","1350685023","1350685035","1350685037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7727f5f47a1be31617a28f461d24705c.jpg","text":"TemporaryFile(/tmp/multipartBody8667520980385519973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180833075,"filename":"image_09042025_05_37_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/4/9/df8cc20d53938de2b045dca70b21d309.jpg","text":"TemporaryFile(/tmp/multipartBody961031971446714106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180833075,"filename":"image_09042025_05_36_47_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/29965ecd13227a7a4d005af7f9caa2a0.jpg","text":"TemporaryFile(/tmp/multipartBody7804250924804911393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180833075,"filename":"image_09042025_05_36_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/4/9/a165c0322bc8d1d8ab87c09126008dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7553641764524768254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180833075,"filename":"image_09042025_05_37_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/4/9/644b238b007d5004a481567b8cec55d4.jpg","text":"TemporaryFile(/tmp/multipartBody8314348962935081966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180833075,"filename":"image_09042025_05_36_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/4/9/ef6f1bd53a5b2d11e360c22f46600fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8203338769901040279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180833075,"filename":"image_09042025_05_36_37_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685020","file1":"1350685018","file0":"1350685016","file4":"1350685035","file5":"1350685037","file3":"1350685023"},"map_files_photo_id_array":[{"photo_id":"1350685037","filename":"file5"},{"photo_id":"1350685020","filename":"file2"},{"photo_id":"1350685035","filename":"file4"},{"photo_id":"1350685018","filename":"file1"},{"photo_id":"1350685016","filename":"file0"},{"photo_id":"1350685023","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685035":["hashtag1","hashtag2"]},{"1350685020":["hashtag1","hashtag2"]},{"1350685023":["hashtag1","hashtag2"]},{"1350685037":["hashtag1","hashtag2"]},{"1350685016":["hashtag1","hashtag2"]},{"1350685018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685035, 1350685020, 1350685023, 1350685037, 1350685016, 1350685018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.854116916656494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:40:32.691423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/37/image_09042025_05_37_27_10384.jpg', '/home/pi/Desktop/images/09042025/05/37/image_09042025_05_37_37_9359.jpg', '/home/pi/Desktop/images/09042025/05/37/image_09042025_05_37_57_10430.jpg', '/home/pi/Desktop/images/09042025/05/37/image_09042025_05_38_07_9353.jpg', '/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_17_10501.jpg', '/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_27_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/37/image_09042025_05_37_27_10384.jpg
/home/pi/Desktop/images/09042025/05/37/image_09042025_05_37_37_9359.jpg
/home/pi/Desktop/images/09042025/05/37/image_09042025_05_37_57_10430.jpg
/home/pi/Desktop/images/09042025/05/37/image_09042025_05_38_07_9353.jpg
/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_17_10501.jpg
/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_27_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":["1350685074","1350685056","1350685061","1350685070","1350685067","1350685072"],"photo_ids_order":["1350685056","1350685061","1350685067","1350685070","1350685072","1350685074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/041b0114d24a2e47047c5268b742b2eb.jpg","text":"TemporaryFile(/tmp/multipartBody1975206595688048929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180893163,"filename":"image_09042025_05_38_27_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7f99bd008cc6feb08b131456af3f2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2449760517382194312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180893163,"filename":"image_09042025_05_37_27_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2259f5af37d5f7925e33f8cb39f63b69.jpg","text":"TemporaryFile(/tmp/multipartBody2295709323372179565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180893163,"filename":"image_09042025_05_37_37_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/617972d5b541684277a8a7ef68960da7.jpg","text":"TemporaryFile(/tmp/multipartBody6218628330494284239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180893163,"filename":"image_09042025_05_38_07_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1241d4bfabe6e265f28c4ffe9db835d.jpg","text":"TemporaryFile(/tmp/multipartBody4663834808140362565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180893163,"filename":"image_09042025_05_37_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/4/9/bc178b45c38e96e82be7c3b388112d07.jpg","text":"TemporaryFile(/tmp/multipartBody1569016495369720515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180893163,"filename":"image_09042025_05_38_17_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685067","file1":"1350685061","file0":"1350685056","file4":"1350685072","file5":"1350685074","file3":"1350685070"},"map_files_photo_id_array":[{"photo_id":"1350685074","filename":"file5"},{"photo_id":"1350685067","filename":"file2"},{"photo_id":"1350685072","filename":"file4"},{"photo_id":"1350685061","filename":"file1"},{"photo_id":"1350685056","filename":"file0"},{"photo_id":"1350685070","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685074":["hashtag1","hashtag2"]},{"1350685056":["hashtag1","hashtag2"]},{"1350685061":["hashtag1","hashtag2"]},{"1350685070":["hashtag1","hashtag2"]},{"1350685067":["hashtag1","hashtag2"]},{"1350685072":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685074, 1350685056, 1350685061, 1350685070, 1350685067, 1350685072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.98488211631775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:41:32.988266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_37_10373.jpg', '/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_47_10406.jpg', '/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_57_9345.jpg', '/home/pi/Desktop/images/09042025/05/38/image_09042025_05_39_07_10486.jpg', '/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_16_9348.jpg', '/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_27_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_37_10373.jpg
/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_47_10406.jpg
/home/pi/Desktop/images/09042025/05/38/image_09042025_05_38_57_9345.jpg
/home/pi/Desktop/images/09042025/05/38/image_09042025_05_39_07_10486.jpg
/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_16_9348.jpg
/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_27_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685113","1350685110","1350685107","1350685097","1350685100","1350685103"],"photo_ids_order":["1350685097","1350685100","1350685103","1350685107","1350685110","1350685113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f234b8e94f049bac88f16a29977298b.jpg","text":"TemporaryFile(/tmp/multipartBody5700560222242179695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180953459,"filename":"image_09042025_05_39_27_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef75eeb9594b537ee3988a1f6cc6b952.jpg","text":"TemporaryFile(/tmp/multipartBody565118153615176986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180953459,"filename":"image_09042025_05_39_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/4/9/ca670aad496daca886655f53fc0a339a.jpg","text":"TemporaryFile(/tmp/multipartBody5914299771744550710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180953459,"filename":"image_09042025_05_39_07_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/276ba84b1b5999cd0bc41333a451f87b.jpg","text":"TemporaryFile(/tmp/multipartBody3025163946179979565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180953459,"filename":"image_09042025_05_38_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/4/9/fccfaf966dcf50e18b36b56e5c945e40.jpg","text":"TemporaryFile(/tmp/multipartBody2039625615632607769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180953459,"filename":"image_09042025_05_38_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/4/9/0c4ba9f1e368d0966160273204d05985.jpg","text":"TemporaryFile(/tmp/multipartBody5914394558222173942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744180953459,"filename":"image_09042025_05_38_57_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685103","file1":"1350685100","file0":"1350685097","file4":"1350685110","file5":"1350685113","file3":"1350685107"},"map_files_photo_id_array":[{"photo_id":"1350685113","filename":"file5"},{"photo_id":"1350685103","filename":"file2"},{"photo_id":"1350685110","filename":"file4"},{"photo_id":"1350685100","filename":"file1"},{"photo_id":"1350685097","filename":"file0"},{"photo_id":"1350685107","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685113":["hashtag1","hashtag2"]},{"1350685110":["hashtag1","hashtag2"]},{"1350685107":["hashtag1","hashtag2"]},{"1350685097":["hashtag1","hashtag2"]},{"1350685100":["hashtag1","hashtag2"]},{"1350685103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685113, 1350685110, 1350685107, 1350685097, 1350685100, 1350685103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.548564434051514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:42:32.175042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_36_9362.jpg', '/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_47_10362.jpg', '/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_57_10463.jpg', '/home/pi/Desktop/images/09042025/05/39/image_09042025_05_40_07_9339.jpg', '/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_17_10349.jpg', '/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_27_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_36_9362.jpg
/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_47_10362.jpg
/home/pi/Desktop/images/09042025/05/39/image_09042025_05_39_57_10463.jpg
/home/pi/Desktop/images/09042025/05/39/image_09042025_05_40_07_9339.jpg
/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_17_10349.jpg
/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_27_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":["1350685152","1350685146","1350685149","1350685151","1350685141","1350685144"],"photo_ids_order":["1350685141","1350685144","1350685146","1350685149","1350685151","1350685152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/977e1d7ce0bf38cf582540cbfa5abdd3.jpg","text":"TemporaryFile(/tmp/multipartBody1019209674436675269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181012648,"filename":"image_09042025_05_40_27_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea82e9c248d92a9dba53fd9a3f5f7e57.jpg","text":"TemporaryFile(/tmp/multipartBody2736081027942099266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181012648,"filename":"image_09042025_05_39_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/4/9/2298fe033a691d76e0bb70fc7d450a0c.jpg","text":"TemporaryFile(/tmp/multipartBody173958555736345810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181012648,"filename":"image_09042025_05_40_07_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc871b5acae7b49cb01534f53f7c4fc8.jpg","text":"TemporaryFile(/tmp/multipartBody7695345754050281128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181012648,"filename":"image_09042025_05_40_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/4/9/d0c6cbc2ae5b5a46adbcd80ac1edc677.jpg","text":"TemporaryFile(/tmp/multipartBody4468706903953157137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181012648,"filename":"image_09042025_05_39_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/4/9/fec060daca5da9f66f4204ed610f6438.jpg","text":"TemporaryFile(/tmp/multipartBody5086452198360610463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181012648,"filename":"image_09042025_05_39_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685146","file1":"1350685144","file0":"1350685141","file4":"1350685151","file5":"1350685152","file3":"1350685149"},"map_files_photo_id_array":[{"photo_id":"1350685152","filename":"file5"},{"photo_id":"1350685146","filename":"file2"},{"photo_id":"1350685151","filename":"file4"},{"photo_id":"1350685144","filename":"file1"},{"photo_id":"1350685141","filename":"file0"},{"photo_id":"1350685149","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685152":["hashtag1","hashtag2"]},{"1350685146":["hashtag1","hashtag2"]},{"1350685149":["hashtag1","hashtag2"]},{"1350685151":["hashtag1","hashtag2"]},{"1350685141":["hashtag1","hashtag2"]},{"1350685144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685152, 1350685146, 1350685149, 1350685151, 1350685141, 1350685144)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 29.56698966026306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:43:32.431386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_37_9350.jpg', '/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_47_10433.jpg', '/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_57_9442.jpg', '/home/pi/Desktop/images/09042025/05/40/image_09042025_05_41_07_10351.jpg', '/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_17_10363.jpg', '/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_27_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_37_9350.jpg
/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_47_10433.jpg
/home/pi/Desktop/images/09042025/05/40/image_09042025_05_40_57_9442.jpg
/home/pi/Desktop/images/09042025/05/40/image_09042025_05_41_07_10351.jpg
/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_17_10363.jpg
/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_27_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":["1350685185","1350685179","1350685188","1350685178","1350685177","1350685182"],"photo_ids_order":["1350685177","1350685178","1350685179","1350685182","1350685185","1350685188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b7076739bd22342d5fbe5143684f5487.jpg","text":"TemporaryFile(/tmp/multipartBody3521587277150529892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181072956,"filename":"image_09042025_05_41_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/4/9/39b196e7dfe3041c900a6afa8dcff281.jpg","text":"TemporaryFile(/tmp/multipartBody4229983120859623170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181072956,"filename":"image_09042025_05_40_57_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e42b1808f92c647c8976f38439215d65.jpg","text":"TemporaryFile(/tmp/multipartBody1513051349799571920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181072956,"filename":"image_09042025_05_41_27_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/83a984d27aeb143619fafe626178e5b6.jpg","text":"TemporaryFile(/tmp/multipartBody5980132702076322465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181072956,"filename":"image_09042025_05_40_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/4/9/1a32b82e09009383f4a97863dc7051c0.jpg","text":"TemporaryFile(/tmp/multipartBody8055665789877592348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181072956,"filename":"image_09042025_05_40_37_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/166449d8affb38a522df82236aa715a5.jpg","text":"TemporaryFile(/tmp/multipartBody8962740549534247911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181072956,"filename":"image_09042025_05_41_07_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685179","file1":"1350685178","file0":"1350685177","file4":"1350685185","file5":"1350685188","file3":"1350685182"},"map_files_photo_id_array":[{"photo_id":"1350685188","filename":"file5"},{"photo_id":"1350685179","filename":"file2"},{"photo_id":"1350685185","filename":"file4"},{"photo_id":"1350685178","filename":"file1"},{"photo_id":"1350685177","filename":"file0"},{"photo_id":"1350685182","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685185":["hashtag1","hashtag2"]},{"1350685179":["hashtag1","hashtag2"]},{"1350685188":["hashtag1","hashtag2"]},{"1350685178":["hashtag1","hashtag2"]},{"1350685177":["hashtag1","hashtag2"]},{"1350685182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685185, 1350685179, 1350685188, 1350685178, 1350685177, 1350685182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.476269483566284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:44:32.664339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_37_10488.jpg', '/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_46_9356.jpg', '/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_57_10360.jpg', '/home/pi/Desktop/images/09042025/05/41/image_09042025_05_42_07_10352.jpg', '/home/pi/Desktop/images/09042025/05/42/image_09042025_05_42_17_9469.jpg', '/home/pi/Desktop/images/09042025/05/42/image_09042025_05_42_36_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_37_10488.jpg
/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_46_9356.jpg
/home/pi/Desktop/images/09042025/05/41/image_09042025_05_41_57_10360.jpg
/home/pi/Desktop/images/09042025/05/41/image_09042025_05_42_07_10352.jpg
/home/pi/Desktop/images/09042025/05/42/image_09042025_05_42_17_9469.jpg
/home/pi/Desktop/images/09042025/05/42/image_09042025_05_42_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":["1350685215","1350685218","1350685220","1350685222","1350685210","1350685213"],"photo_ids_order":["1350685210","1350685213","1350685215","1350685218","1350685220","1350685222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5feaffb1300fccb5fcf429126700bc52.jpg","text":"TemporaryFile(/tmp/multipartBody8203805349976624698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181133127,"filename":"image_09042025_05_41_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df9bfed4b8738248fd0515702d9f81b4.jpg","text":"TemporaryFile(/tmp/multipartBody9092004021109188646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181133127,"filename":"image_09042025_05_42_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d724b0878eba6c9eeb4fc11ebeba878.jpg","text":"TemporaryFile(/tmp/multipartBody4122611973605202665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181133127,"filename":"image_09042025_05_42_17_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba183c6536ce7cdde1aa0152c2cba0fd.jpg","text":"TemporaryFile(/tmp/multipartBody3898833915779311322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181133127,"filename":"image_09042025_05_42_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/4/9/03670bf3cba71f56e634c251211ab172.jpg","text":"TemporaryFile(/tmp/multipartBody4897164467971401507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181133127,"filename":"image_09042025_05_41_37_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c561f8cfe1d462a80cdf1d2b3dfb7bf6.jpg","text":"TemporaryFile(/tmp/multipartBody6310999589014955155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181133127,"filename":"image_09042025_05_41_46_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685215","file1":"1350685213","file0":"1350685210","file4":"1350685220","file5":"1350685222","file3":"1350685218"},"map_files_photo_id_array":[{"photo_id":"1350685222","filename":"file5"},{"photo_id":"1350685215","filename":"file2"},{"photo_id":"1350685220","filename":"file4"},{"photo_id":"1350685213","filename":"file1"},{"photo_id":"1350685210","filename":"file0"},{"photo_id":"1350685218","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685215":["hashtag1","hashtag2"]},{"1350685218":["hashtag1","hashtag2"]},{"1350685220":["hashtag1","hashtag2"]},{"1350685222":["hashtag1","hashtag2"]},{"1350685210":["hashtag1","hashtag2"]},{"1350685213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685215, 1350685218, 1350685220, 1350685222, 1350685210, 1350685213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.755622386932373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:45:32.937219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/42/image_09042025_05_42_47_10369.jpg', '/home/pi/Desktop/images/09042025/05/42/image_09042025_05_42_57_10484.jpg', '/home/pi/Desktop/images/09042025/05/42/image_09042025_05_43_07_9365.jpg', '/home/pi/Desktop/images/09042025/05/43/image_09042025_05_43_26_9362.jpg', '/home/pi/Desktop/images/09042025/05/43/image_09042025_05_43_37_10361.jpg', '/home/pi/Desktop/images/09042025/05/43/image_09042025_05_43_47_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/42/image_09042025_05_42_47_10369.jpg
/home/pi/Desktop/images/09042025/05/42/image_09042025_05_42_57_10484.jpg
/home/pi/Desktop/images/09042025/05/42/image_09042025_05_43_07_9365.jpg
/home/pi/Desktop/images/09042025/05/43/image_09042025_05_43_26_9362.jpg
/home/pi/Desktop/images/09042025/05/43/image_09042025_05_43_37_10361.jpg
/home/pi/Desktop/images/09042025/05/43/image_09042025_05_43_47_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":["1350685248","1350685256","1350685250","1350685253","1350685247","1350685258"],"photo_ids_order":["1350685247","1350685248","1350685250","1350685253","1350685256","1350685258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d45e8a913305f29235dd41b10c134ba.jpg","text":"TemporaryFile(/tmp/multipartBody9017980979958428668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181193414,"filename":"image_09042025_05_42_57_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b3891335b520049d39fa13d5270ab2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6816685504795422880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181193414,"filename":"image_09042025_05_43_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6616041b6860313831a672795500041.jpg","text":"TemporaryFile(/tmp/multipartBody8656715098837626451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181193414,"filename":"image_09042025_05_43_07_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b88bff058101b10d13f517b4ca39099.jpg","text":"TemporaryFile(/tmp/multipartBody9102472249299993287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181193414,"filename":"image_09042025_05_43_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/4/9/e5bf124ada05ccda014d4effe3ff3066.jpg","text":"TemporaryFile(/tmp/multipartBody6080579616708274896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181193414,"filename":"image_09042025_05_42_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b19ebdc7662ca199f3b5f9c0bd5abd9f.jpg","text":"TemporaryFile(/tmp/multipartBody1802891729419347978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181193414,"filename":"image_09042025_05_43_47_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685250","file1":"1350685248","file0":"1350685247","file4":"1350685256","file5":"1350685258","file3":"1350685253"},"map_files_photo_id_array":[{"photo_id":"1350685258","filename":"file5"},{"photo_id":"1350685250","filename":"file2"},{"photo_id":"1350685256","filename":"file4"},{"photo_id":"1350685248","filename":"file1"},{"photo_id":"1350685247","filename":"file0"},{"photo_id":"1350685253","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685248":["hashtag1","hashtag2"]},{"1350685256":["hashtag1","hashtag2"]},{"1350685250":["hashtag1","hashtag2"]},{"1350685253":["hashtag1","hashtag2"]},{"1350685247":["hashtag1","hashtag2"]},{"1350685258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685248, 1350685256, 1350685250, 1350685253, 1350685247, 1350685258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.140029430389404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:46:33.058921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 08:46:43.103681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:46:53.251813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 08:47:04.632271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_17_9801.jpg', '/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_26_9421.jpg', '/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_37_10360.jpg', '/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_47_10440.jpg', '/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_57_9349.jpg', '/home/pi/Desktop/images/09042025/05/44/image_09042025_05_45_07_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_17_9801.jpg
/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_26_9421.jpg
/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_37_10360.jpg
/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_47_10440.jpg
/home/pi/Desktop/images/09042025/05/44/image_09042025_05_44_57_9349.jpg
/home/pi/Desktop/images/09042025/05/44/image_09042025_05_45_07_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685320","1350685317","1350685302","1350685322","1350685312","1350685306"],"photo_ids_order":["1350685302","1350685306","1350685312","1350685317","1350685320","1350685322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c52fd45bdf7824d7ca25ec5d92cc288.jpg","text":"TemporaryFile(/tmp/multipartBody5728555908645997515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181285695,"filename":"image_09042025_05_44_57_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2fcd07ace5ed139fc1bc90ed58a3a757.jpg","text":"TemporaryFile(/tmp/multipartBody187435703982288184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181285695,"filename":"image_09042025_05_44_47_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6bcbc58988455193e3e5d07e2262bd19.jpg","text":"TemporaryFile(/tmp/multipartBody4048219521221557319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181285695,"filename":"image_09042025_05_44_17_9801.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/042a10baeebf943b84f047576eb2f56e.jpg","text":"TemporaryFile(/tmp/multipartBody7361029167265959341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181285695,"filename":"image_09042025_05_45_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/4/9/b1bcf790bd5fd6216e9033b0f8f2e7c6.jpg","text":"TemporaryFile(/tmp/multipartBody2173920954689915828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181285695,"filename":"image_09042025_05_44_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5eefec7b5ea82cebbb0db5bd2d26bc75.jpg","text":"TemporaryFile(/tmp/multipartBody8586713499249736239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181285695,"filename":"image_09042025_05_44_26_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685312","file1":"1350685306","file0":"1350685302","file4":"1350685320","file5":"1350685322","file3":"1350685317"},"map_files_photo_id_array":[{"photo_id":"1350685322","filename":"file5"},{"photo_id":"1350685312","filename":"file2"},{"photo_id":"1350685320","filename":"file4"},{"photo_id":"1350685306","filename":"file1"},{"photo_id":"1350685302","filename":"file0"},{"photo_id":"1350685317","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685320":["hashtag1","hashtag2"]},{"1350685317":["hashtag1","hashtag2"]},{"1350685302":["hashtag1","hashtag2"]},{"1350685322":["hashtag1","hashtag2"]},{"1350685312":["hashtag1","hashtag2"]},{"1350685306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685320, 1350685317, 1350685302, 1350685322, 1350685312, 1350685306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.804033041000366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 08:47:43.293132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/45/image_09042025_05_46_07_10433.jpg', '/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_17_9345.jpg', '/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_27_10372.jpg', '/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_36_9432.jpg', '/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_47_10378.jpg', '/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_57_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/45/image_09042025_05_46_07_10433.jpg
/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_17_9345.jpg
/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_27_10372.jpg
/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_36_9432.jpg
/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_47_10378.jpg
/home/pi/Desktop/images/09042025/05/46/image_09042025_05_46_57_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685344","1350685347","1350685341","1350685329","1350685337","1350685333"],"photo_ids_order":["1350685329","1350685333","1350685337","1350685341","1350685344","1350685347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/835196a0eb0327b126e128de84b90e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8543486530991904631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181323835,"filename":"image_09042025_05_46_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/4/9/6b3a6f05c71226843ca770150f1a717b.jpg","text":"TemporaryFile(/tmp/multipartBody3299338272832725717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181323835,"filename":"image_09042025_05_46_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e926dfad755bb05ea55720539f9b7ce5.jpg","text":"TemporaryFile(/tmp/multipartBody1042942690391148864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181323835,"filename":"image_09042025_05_46_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/4/9/08e476564fb69dd848c1f013fb9734ae.jpg","text":"TemporaryFile(/tmp/multipartBody3147184038352979657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181323835,"filename":"image_09042025_05_46_07_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a8343fa17007b2d39dc291b29f8b2ba6.jpg","text":"TemporaryFile(/tmp/multipartBody5547148970970885663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181323835,"filename":"image_09042025_05_46_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b22808d65932962dcfa4aa9b6884564.jpg","text":"TemporaryFile(/tmp/multipartBody6674610233475026396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181323835,"filename":"image_09042025_05_46_17_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685337","file1":"1350685333","file0":"1350685329","file4":"1350685344","file5":"1350685347","file3":"1350685341"},"map_files_photo_id_array":[{"photo_id":"1350685347","filename":"file5"},{"photo_id":"1350685337","filename":"file2"},{"photo_id":"1350685344","filename":"file4"},{"photo_id":"1350685333","filename":"file1"},{"photo_id":"1350685329","filename":"file0"},{"photo_id":"1350685341","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685344":["hashtag1","hashtag2"]},{"1350685347":["hashtag1","hashtag2"]},{"1350685341":["hashtag1","hashtag2"]},{"1350685329":["hashtag1","hashtag2"]},{"1350685337":["hashtag1","hashtag2"]},{"1350685333":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685344, 1350685347, 1350685341, 1350685329, 1350685337, 1350685333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.574846506118774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:48:32.530738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/47/image_09042025_05_47_17_10360.jpg', '/home/pi/Desktop/images/09042025/05/47/image_09042025_05_47_27_10369.jpg', '/home/pi/Desktop/images/09042025/05/47/image_09042025_05_47_47_10402.jpg', '/home/pi/Desktop/images/09042025/05/47/image_09042025_05_47_56_9367.jpg', '/home/pi/Desktop/images/09042025/05/48/image_09042025_05_48_26_9349.jpg', '/home/pi/Desktop/images/09042025/05/48/image_09042025_05_48_37_10521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/47/image_09042025_05_47_17_10360.jpg
/home/pi/Desktop/images/09042025/05/47/image_09042025_05_47_27_10369.jpg
/home/pi/Desktop/images/09042025/05/47/image_09042025_05_47_47_10402.jpg
/home/pi/Desktop/images/09042025/05/47/image_09042025_05_47_56_9367.jpg
/home/pi/Desktop/images/09042025/05/48/image_09042025_05_48_26_9349.jpg
/home/pi/Desktop/images/09042025/05/48/image_09042025_05_48_37_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":["1350685371","1350685367","1350685364","1350685378","1350685375","1350685380"],"photo_ids_order":["1350685364","1350685367","1350685371","1350685375","1350685378","1350685380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c3e9f15c9383cd14d9669e3372c92d0.jpg","text":"TemporaryFile(/tmp/multipartBody8919578870621030537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181373055,"filename":"image_09042025_05_47_47_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8996d068e20aa9ad95e8e232cee42a5.jpg","text":"TemporaryFile(/tmp/multipartBody3518486447554502349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181373055,"filename":"image_09042025_05_47_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/517f1025e99744ea5042c9cf1468b234.jpg","text":"TemporaryFile(/tmp/multipartBody3588326204735043930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181373055,"filename":"image_09042025_05_47_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e3f1f97417bb4c02ae957f27e2818bb.jpg","text":"TemporaryFile(/tmp/multipartBody4428546928364898891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181373055,"filename":"image_09042025_05_48_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/4/9/9ba8b00b7ab222209810ff49f192a60c.jpg","text":"TemporaryFile(/tmp/multipartBody2132617131694532492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181373055,"filename":"image_09042025_05_47_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/4/9/c25db7bfbab1f7f145a917a22bca866b.jpg","text":"TemporaryFile(/tmp/multipartBody7751236585645578571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181373055,"filename":"image_09042025_05_48_37_10521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685371","file1":"1350685367","file0":"1350685364","file4":"1350685378","file5":"1350685380","file3":"1350685375"},"map_files_photo_id_array":[{"photo_id":"1350685380","filename":"file5"},{"photo_id":"1350685371","filename":"file2"},{"photo_id":"1350685378","filename":"file4"},{"photo_id":"1350685367","filename":"file1"},{"photo_id":"1350685364","filename":"file0"},{"photo_id":"1350685375","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685371":["hashtag1","hashtag2"]},{"1350685367":["hashtag1","hashtag2"]},{"1350685364":["hashtag1","hashtag2"]},{"1350685378":["hashtag1","hashtag2"]},{"1350685375":["hashtag1","hashtag2"]},{"1350685380":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685371, 1350685367, 1350685364, 1350685378, 1350685375, 1350685380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.853689193725586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:49:32.824399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/48/image_09042025_05_48_46_9367.jpg', '/home/pi/Desktop/images/09042025/05/48/image_09042025_05_48_57_10366.jpg', '/home/pi/Desktop/images/09042025/05/48/image_09042025_05_49_07_10422.jpg', '/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_17_9361.jpg', '/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_27_10370.jpg', '/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_37_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/48/image_09042025_05_48_46_9367.jpg
/home/pi/Desktop/images/09042025/05/48/image_09042025_05_48_57_10366.jpg
/home/pi/Desktop/images/09042025/05/48/image_09042025_05_49_07_10422.jpg
/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_17_9361.jpg
/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_27_10370.jpg
/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_37_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685416","1350685401","1350685403","1350685412","1350685409","1350685405"],"photo_ids_order":["1350685401","1350685403","1350685405","1350685409","1350685412","1350685416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f89f2c7d7fc64e40875a2219b7a3c700.jpg","text":"TemporaryFile(/tmp/multipartBody8824923041849056732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181433347,"filename":"image_09042025_05_49_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/4/9/4b9a5409e2901b2735d031df507003f6.jpg","text":"TemporaryFile(/tmp/multipartBody1486831884604545119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181433347,"filename":"image_09042025_05_48_46_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af25f78aae8be8ea9cac1ac89bd5a761.jpg","text":"TemporaryFile(/tmp/multipartBody3852134682579970619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181433347,"filename":"image_09042025_05_48_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/4/9/528d07a442bec65fd6b60fce85f9984d.jpg","text":"TemporaryFile(/tmp/multipartBody6376965772522905269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181433347,"filename":"image_09042025_05_49_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/4/9/4def7cb3f0d0889b85929f206a5cf108.jpg","text":"TemporaryFile(/tmp/multipartBody6440477686471451722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181433347,"filename":"image_09042025_05_49_17_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1865c71d33985123d4c814d43bbb2cac.jpg","text":"TemporaryFile(/tmp/multipartBody1778941508155196267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181433347,"filename":"image_09042025_05_49_07_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685405","file1":"1350685403","file0":"1350685401","file4":"1350685412","file5":"1350685416","file3":"1350685409"},"map_files_photo_id_array":[{"photo_id":"1350685416","filename":"file5"},{"photo_id":"1350685405","filename":"file2"},{"photo_id":"1350685412","filename":"file4"},{"photo_id":"1350685403","filename":"file1"},{"photo_id":"1350685401","filename":"file0"},{"photo_id":"1350685409","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685416":["hashtag1","hashtag2"]},{"1350685401":["hashtag1","hashtag2"]},{"1350685403":["hashtag1","hashtag2"]},{"1350685412":["hashtag1","hashtag2"]},{"1350685409":["hashtag1","hashtag2"]},{"1350685405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685416, 1350685401, 1350685403, 1350685412, 1350685409, 1350685405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.672419786453247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:50:33.156815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_47_9347.jpg', '/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_57_10484.jpg', '/home/pi/Desktop/images/09042025/05/49/image_09042025_05_50_06_9345.jpg', '/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_17_10360.jpg', '/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_27_10448.jpg', '/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_37_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_47_9347.jpg
/home/pi/Desktop/images/09042025/05/49/image_09042025_05_49_57_10484.jpg
/home/pi/Desktop/images/09042025/05/49/image_09042025_05_50_06_9345.jpg
/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_17_10360.jpg
/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_27_10448.jpg
/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_37_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685437","1350685448","1350685445","1350685450","1350685441","1350685435"],"photo_ids_order":["1350685435","1350685437","1350685441","1350685445","1350685448","1350685450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a5b1c4d919aecf4f3e06050564b40807.jpg","text":"TemporaryFile(/tmp/multipartBody1878455464151852042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181493679,"filename":"image_09042025_05_49_57_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/43828c6fdae2f286d6692001da22543a.jpg","text":"TemporaryFile(/tmp/multipartBody2921212186991929476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181493679,"filename":"image_09042025_05_50_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/4/9/36503d5126500ce1005c730b30d18533.jpg","text":"TemporaryFile(/tmp/multipartBody1113976254032595282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181493679,"filename":"image_09042025_05_50_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/520eb063d1c88dcf9dd7b45a3f2ca26e.jpg","text":"TemporaryFile(/tmp/multipartBody6928191138838535571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181493679,"filename":"image_09042025_05_50_37_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0c73bece9a2273a1ec5aa83e128e5c8c.jpg","text":"TemporaryFile(/tmp/multipartBody9118704564986298877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181493679,"filename":"image_09042025_05_50_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/4/9/0f9fc3e40a304feaf339c7907a405fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2532466412572222481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181493679,"filename":"image_09042025_05_49_47_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685441","file1":"1350685437","file0":"1350685435","file4":"1350685448","file5":"1350685450","file3":"1350685445"},"map_files_photo_id_array":[{"photo_id":"1350685450","filename":"file5"},{"photo_id":"1350685441","filename":"file2"},{"photo_id":"1350685448","filename":"file4"},{"photo_id":"1350685437","filename":"file1"},{"photo_id":"1350685435","filename":"file0"},{"photo_id":"1350685445","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685437":["hashtag1","hashtag2"]},{"1350685448":["hashtag1","hashtag2"]},{"1350685445":["hashtag1","hashtag2"]},{"1350685450":["hashtag1","hashtag2"]},{"1350685441":["hashtag1","hashtag2"]},{"1350685435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685437, 1350685448, 1350685445, 1350685450, 1350685441, 1350685435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.657885789871216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:51:32.323798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_47_10381.jpg', '/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_56_9354.jpg', '/home/pi/Desktop/images/09042025/05/51/image_09042025_05_51_17_10411.jpg', '/home/pi/Desktop/images/09042025/05/51/image_09042025_05_51_27_9356.jpg', '/home/pi/Desktop/images/09042025/05/51/image_09042025_05_51_37_10377.jpg', '/home/pi/Desktop/images/09042025/05/51/image_09042025_05_51_57_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_47_10381.jpg
/home/pi/Desktop/images/09042025/05/50/image_09042025_05_50_56_9354.jpg
/home/pi/Desktop/images/09042025/05/51/image_09042025_05_51_17_10411.jpg
/home/pi/Desktop/images/09042025/05/51/image_09042025_05_51_27_9356.jpg
/home/pi/Desktop/images/09042025/05/51/image_09042025_05_51_37_10377.jpg
/home/pi/Desktop/images/09042025/05/51/image_09042025_05_51_57_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685472","1350685469","1350685480","1350685483","1350685477","1350685474"],"photo_ids_order":["1350685469","1350685472","1350685474","1350685477","1350685480","1350685483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d732d687f900d26a81a7f28bcefc4d71.jpg","text":"TemporaryFile(/tmp/multipartBody4546405659964752962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181552786,"filename":"image_09042025_05_50_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/4/9/b38c8e9cfb33eba488b0909a68cfa60f.jpg","text":"TemporaryFile(/tmp/multipartBody836166038289065834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181552786,"filename":"image_09042025_05_50_47_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e623eb0cf1acb2fe9682b961cb1ed7b0.jpg","text":"TemporaryFile(/tmp/multipartBody4601176465838755489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181552786,"filename":"image_09042025_05_51_37_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51f4c79ccf0dd5a42de892d3a8772e20.jpg","text":"TemporaryFile(/tmp/multipartBody4141008374078735213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181552786,"filename":"image_09042025_05_51_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/4/9/663bfcfbd6841e10aa031117b888ff91.jpg","text":"TemporaryFile(/tmp/multipartBody1139530704787873651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181552786,"filename":"image_09042025_05_51_27_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38c4fd4546eaeb288d772b08699062e1.jpg","text":"TemporaryFile(/tmp/multipartBody6050606814044599076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181552786,"filename":"image_09042025_05_51_17_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685474","file1":"1350685472","file0":"1350685469","file4":"1350685480","file5":"1350685483","file3":"1350685477"},"map_files_photo_id_array":[{"photo_id":"1350685483","filename":"file5"},{"photo_id":"1350685474","filename":"file2"},{"photo_id":"1350685480","filename":"file4"},{"photo_id":"1350685472","filename":"file1"},{"photo_id":"1350685469","filename":"file0"},{"photo_id":"1350685477","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685472":["hashtag1","hashtag2"]},{"1350685469":["hashtag1","hashtag2"]},{"1350685480":["hashtag1","hashtag2"]},{"1350685483":["hashtag1","hashtag2"]},{"1350685477":["hashtag1","hashtag2"]},{"1350685474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685472, 1350685469, 1350685480, 1350685483, 1350685477, 1350685474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.034579277038574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:52:32.481708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/51/image_09042025_05_52_07_10349.jpg', '/home/pi/Desktop/images/09042025/05/52/image_09042025_05_52_16_9370.jpg', '/home/pi/Desktop/images/09042025/05/53/image_09042025_05_53_27_10491.jpg', '/home/pi/Desktop/images/09042025/05/53/image_09042025_05_53_36_9361.jpg', '/home/pi/Desktop/images/09042025/05/53/image_09042025_05_53_47_10367.jpg', '/home/pi/Desktop/images/09042025/05/53/image_09042025_05_53_57_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/51/image_09042025_05_52_07_10349.jpg
/home/pi/Desktop/images/09042025/05/52/image_09042025_05_52_16_9370.jpg
/home/pi/Desktop/images/09042025/05/53/image_09042025_05_53_27_10491.jpg
/home/pi/Desktop/images/09042025/05/53/image_09042025_05_53_36_9361.jpg
/home/pi/Desktop/images/09042025/05/53/image_09042025_05_53_47_10367.jpg
/home/pi/Desktop/images/09042025/05/53/image_09042025_05_53_57_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":["1350685518","1350685506","1350685514","1350685502","1350685516","1350685510"],"photo_ids_order":["1350685502","1350685506","1350685510","1350685514","1350685516","1350685518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01f05e655b8261f3d6c79d5fbfabb7c9.jpg","text":"TemporaryFile(/tmp/multipartBody6611658702486914663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181612947,"filename":"image_09042025_05_53_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/4/9/418bf3a9b807477c1e4bcb5d19d33c03.jpg","text":"TemporaryFile(/tmp/multipartBody2785765570883393100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181612947,"filename":"image_09042025_05_52_16_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b52609925d2f3f6b0b38a67b2f194d08.jpg","text":"TemporaryFile(/tmp/multipartBody9125878067602006730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181612947,"filename":"image_09042025_05_53_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/4/9/ec1db9b14e098f7910b5ee6bd19d7a91.jpg","text":"TemporaryFile(/tmp/multipartBody7789192342634325338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181612947,"filename":"image_09042025_05_52_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/4/9/f82448baad6cc73bd5e01a730d6267a8.jpg","text":"TemporaryFile(/tmp/multipartBody4157115565379245633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181612947,"filename":"image_09042025_05_53_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aedd14d168391eb57d1749a211e6af9e.jpg","text":"TemporaryFile(/tmp/multipartBody2114874973917530327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181612947,"filename":"image_09042025_05_53_27_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685510","file1":"1350685506","file0":"1350685502","file4":"1350685516","file5":"1350685518","file3":"1350685514"},"map_files_photo_id_array":[{"photo_id":"1350685518","filename":"file5"},{"photo_id":"1350685510","filename":"file2"},{"photo_id":"1350685516","filename":"file4"},{"photo_id":"1350685506","filename":"file1"},{"photo_id":"1350685502","filename":"file0"},{"photo_id":"1350685514","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685518":["hashtag1","hashtag2"]},{"1350685506":["hashtag1","hashtag2"]},{"1350685514":["hashtag1","hashtag2"]},{"1350685502":["hashtag1","hashtag2"]},{"1350685516":["hashtag1","hashtag2"]},{"1350685510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685518, 1350685506, 1350685514, 1350685502, 1350685516, 1350685510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.0720317363739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:53:32.710436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/53/image_09042025_05_54_07_9349.jpg', '/home/pi/Desktop/images/09042025/05/54/image_09042025_05_54_17_10399.jpg', '/home/pi/Desktop/images/09042025/05/54/image_09042025_05_54_27_9455.jpg', '/home/pi/Desktop/images/09042025/05/54/image_09042025_05_54_37_10367.jpg', '/home/pi/Desktop/images/09042025/05/54/image_09042025_05_54_47_10465.jpg', '/home/pi/Desktop/images/09042025/05/54/image_09042025_05_55_07_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/53/image_09042025_05_54_07_9349.jpg
/home/pi/Desktop/images/09042025/05/54/image_09042025_05_54_17_10399.jpg
/home/pi/Desktop/images/09042025/05/54/image_09042025_05_54_27_9455.jpg
/home/pi/Desktop/images/09042025/05/54/image_09042025_05_54_37_10367.jpg
/home/pi/Desktop/images/09042025/05/54/image_09042025_05_54_47_10465.jpg
/home/pi/Desktop/images/09042025/05/54/image_09042025_05_55_07_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":["1350685551","1350685547","1350685543","1350685555","1350685540","1350685537"],"photo_ids_order":["1350685537","1350685540","1350685543","1350685547","1350685551","1350685555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36ee2416507cd77e12c3b79b3e6f7ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3524309737817947985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181673168,"filename":"image_09042025_05_54_47_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c7aee7b93ff472a1dd884f66b6175ae.jpg","text":"TemporaryFile(/tmp/multipartBody8603444107667182436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181673168,"filename":"image_09042025_05_54_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/4/9/e28657fe3f444d583cb718e2427212e4.jpg","text":"TemporaryFile(/tmp/multipartBody4707836079759418358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181673168,"filename":"image_09042025_05_54_27_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19b0eb42badc9ea724c7a6e72c9ceaeb.jpg","text":"TemporaryFile(/tmp/multipartBody3635217481306611760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181673168,"filename":"image_09042025_05_55_07_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c46890ec14b62ed7fb99d1485c53e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3323748296070197667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181673168,"filename":"image_09042025_05_54_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/4/9/c32811aa101bebdf6499bed6f4c97386.jpg","text":"TemporaryFile(/tmp/multipartBody3313331287359937446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181673168,"filename":"image_09042025_05_54_07_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685543","file1":"1350685540","file0":"1350685537","file4":"1350685551","file5":"1350685555","file3":"1350685547"},"map_files_photo_id_array":[{"photo_id":"1350685555","filename":"file5"},{"photo_id":"1350685543","filename":"file2"},{"photo_id":"1350685551","filename":"file4"},{"photo_id":"1350685540","filename":"file1"},{"photo_id":"1350685537","filename":"file0"},{"photo_id":"1350685547","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685551":["hashtag1","hashtag2"]},{"1350685547":["hashtag1","hashtag2"]},{"1350685543":["hashtag1","hashtag2"]},{"1350685555":["hashtag1","hashtag2"]},{"1350685540":["hashtag1","hashtag2"]},{"1350685537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685551, 1350685547, 1350685543, 1350685555, 1350685540, 1350685537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46234321594238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:54:32.992848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/55/image_09042025_05_55_16_9344.jpg', '/home/pi/Desktop/images/09042025/05/55/image_09042025_05_55_47_9358.jpg', '/home/pi/Desktop/images/09042025/05/55/image_09042025_05_55_57_10457.jpg', '/home/pi/Desktop/images/09042025/05/56/image_09042025_05_56_17_10368.jpg', '/home/pi/Desktop/images/09042025/05/56/image_09042025_05_56_37_9395.jpg', '/home/pi/Desktop/images/09042025/05/56/image_09042025_05_56_47_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/55/image_09042025_05_55_16_9344.jpg
/home/pi/Desktop/images/09042025/05/55/image_09042025_05_55_47_9358.jpg
/home/pi/Desktop/images/09042025/05/55/image_09042025_05_55_57_10457.jpg
/home/pi/Desktop/images/09042025/05/56/image_09042025_05_56_17_10368.jpg
/home/pi/Desktop/images/09042025/05/56/image_09042025_05_56_37_9395.jpg
/home/pi/Desktop/images/09042025/05/56/image_09042025_05_56_47_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":["1350685595","1350685586","1350685582","1350685579","1350685590","1350685593"],"photo_ids_order":["1350685579","1350685582","1350685586","1350685590","1350685593","1350685595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9bcebd296f9807e6c08bbb5f03851b57.jpg","text":"TemporaryFile(/tmp/multipartBody5983203544799006828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181733479,"filename":"image_09042025_05_56_47_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c10d70c7cc84e14d3df5bac5afbe0de3.jpg","text":"TemporaryFile(/tmp/multipartBody6494396391978805477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181733479,"filename":"image_09042025_05_55_57_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb1d9db9b60b597b674cbe0ea8748e99.jpg","text":"TemporaryFile(/tmp/multipartBody3560503443485731971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181733479,"filename":"image_09042025_05_55_47_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c08489bfaa53791d10f1488521adae6d.jpg","text":"TemporaryFile(/tmp/multipartBody434331158191231603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181733479,"filename":"image_09042025_05_55_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/4/9/ac4a27684ab1cb7adbf3997de6bbe658.jpg","text":"TemporaryFile(/tmp/multipartBody4279630321103016212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181733479,"filename":"image_09042025_05_56_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/4/9/262b03cd3b134ebed77268aca170b23c.jpg","text":"TemporaryFile(/tmp/multipartBody7950484908381294842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181733479,"filename":"image_09042025_05_56_37_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685586","file1":"1350685582","file0":"1350685579","file4":"1350685593","file5":"1350685595","file3":"1350685590"},"map_files_photo_id_array":[{"photo_id":"1350685595","filename":"file5"},{"photo_id":"1350685586","filename":"file2"},{"photo_id":"1350685593","filename":"file4"},{"photo_id":"1350685582","filename":"file1"},{"photo_id":"1350685579","filename":"file0"},{"photo_id":"1350685590","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685595":["hashtag1","hashtag2"]},{"1350685586":["hashtag1","hashtag2"]},{"1350685582":["hashtag1","hashtag2"]},{"1350685579":["hashtag1","hashtag2"]},{"1350685590":["hashtag1","hashtag2"]},{"1350685593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685595, 1350685586, 1350685582, 1350685579, 1350685590, 1350685593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.937774419784546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:55:32.348406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/56/image_09042025_05_57_07_10444.jpg', '/home/pi/Desktop/images/09042025/05/57/image_09042025_05_57_57_10368.jpg', '/home/pi/Desktop/images/09042025/05/57/image_09042025_05_58_07_10432.jpg', '/home/pi/Desktop/images/09042025/05/58/image_09042025_05_58_17_9351.jpg', '/home/pi/Desktop/images/09042025/05/58/image_09042025_05_58_47_9354.jpg', '/home/pi/Desktop/images/09042025/05/58/image_09042025_05_58_57_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/56/image_09042025_05_57_07_10444.jpg
/home/pi/Desktop/images/09042025/05/57/image_09042025_05_57_57_10368.jpg
/home/pi/Desktop/images/09042025/05/57/image_09042025_05_58_07_10432.jpg
/home/pi/Desktop/images/09042025/05/58/image_09042025_05_58_17_9351.jpg
/home/pi/Desktop/images/09042025/05/58/image_09042025_05_58_47_9354.jpg
/home/pi/Desktop/images/09042025/05/58/image_09042025_05_58_57_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":["1350685623","1350685617","1350685631","1350685619","1350685627","1350685615"],"photo_ids_order":["1350685615","1350685617","1350685619","1350685623","1350685627","1350685631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/70c7ccbe0d300308b724e45e99893285.jpg","text":"TemporaryFile(/tmp/multipartBody9149990104814087907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181792822,"filename":"image_09042025_05_58_17_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c78897ed195cbb91111e9fdb928a6510.jpg","text":"TemporaryFile(/tmp/multipartBody747536195726176013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181792822,"filename":"image_09042025_05_57_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6815f22f41cb7ac64914d7a8aa27fac7.jpg","text":"TemporaryFile(/tmp/multipartBody6246971433034048917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181792822,"filename":"image_09042025_05_58_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/4/9/ca4e67cc7c6fb1d590e9b4375de7cba4.jpg","text":"TemporaryFile(/tmp/multipartBody6087163029450516102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181792822,"filename":"image_09042025_05_58_07_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01544c3829e456a4d159d9c9e3f6cbaa.jpg","text":"TemporaryFile(/tmp/multipartBody2999207492243842715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181792822,"filename":"image_09042025_05_58_47_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6983be4405896f24f28496eb0bb1b0a7.jpg","text":"TemporaryFile(/tmp/multipartBody4992159887825354591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181792822,"filename":"image_09042025_05_57_07_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685619","file1":"1350685617","file0":"1350685615","file4":"1350685627","file5":"1350685631","file3":"1350685623"},"map_files_photo_id_array":[{"photo_id":"1350685631","filename":"file5"},{"photo_id":"1350685619","filename":"file2"},{"photo_id":"1350685627","filename":"file4"},{"photo_id":"1350685617","filename":"file1"},{"photo_id":"1350685615","filename":"file0"},{"photo_id":"1350685623","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685623":["hashtag1","hashtag2"]},{"1350685617":["hashtag1","hashtag2"]},{"1350685631":["hashtag1","hashtag2"]},{"1350685619":["hashtag1","hashtag2"]},{"1350685627":["hashtag1","hashtag2"]},{"1350685615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685623, 1350685617, 1350685631, 1350685619, 1350685627, 1350685615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.174055576324463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:56:32.459268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/05/58/image_09042025_05_59_06_9370.jpg', '/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_17_10375.jpg', '/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_27_10379.jpg', '/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_37_9466.jpg', '/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_47_10531.jpg', '/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_57_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/05/58/image_09042025_05_59_06_9370.jpg
/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_17_10375.jpg
/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_27_10379.jpg
/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_37_9466.jpg
/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_47_10531.jpg
/home/pi/Desktop/images/09042025/05/59/image_09042025_05_59_57_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":["1350685656","1350685659","1350685664","1350685661","1350685651","1350685654"],"photo_ids_order":["1350685651","1350685654","1350685656","1350685659","1350685661","1350685664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7a86c45d0d5daf965e049b9cf25efa8.jpg","text":"TemporaryFile(/tmp/multipartBody3714884469053002217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181852916,"filename":"image_09042025_05_59_27_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d19471c7bf813d2ee365fa4af3662b15.jpg","text":"TemporaryFile(/tmp/multipartBody8876916019431110771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181852916,"filename":"image_09042025_05_59_37_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21aceb989d686a38e3805e492a14dbb0.jpg","text":"TemporaryFile(/tmp/multipartBody5425532036993890664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181852916,"filename":"image_09042025_05_59_57_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/503adfe8e3399f19efa649331f0da1bd.jpg","text":"TemporaryFile(/tmp/multipartBody6529920051998356173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181852916,"filename":"image_09042025_05_59_47_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b2aeac05df4d34a4a4e18ddef70eae4.jpg","text":"TemporaryFile(/tmp/multipartBody5599712077372410620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181852916,"filename":"image_09042025_05_59_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/184127283c377dd0d7fde1943ea429ba.jpg","text":"TemporaryFile(/tmp/multipartBody7204301042903785453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744181852916,"filename":"image_09042025_05_59_17_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685656","file1":"1350685654","file0":"1350685651","file4":"1350685661","file5":"1350685664","file3":"1350685659"},"map_files_photo_id_array":[{"photo_id":"1350685664","filename":"file5"},{"photo_id":"1350685656","filename":"file2"},{"photo_id":"1350685661","filename":"file4"},{"photo_id":"1350685654","filename":"file1"},{"photo_id":"1350685651","filename":"file0"},{"photo_id":"1350685659","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685656":["hashtag1","hashtag2"]},{"1350685659":["hashtag1","hashtag2"]},{"1350685664":["hashtag1","hashtag2"]},{"1350685661":["hashtag1","hashtag2"]},{"1350685651":["hashtag1","hashtag2"]},{"1350685654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685656, 1350685659, 1350685664, 1350685661, 1350685651, 1350685654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.84940791130066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 08:57:32.641398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_16_10072.jpg', '/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_26_10373.jpg', '/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_37_10385.jpg', '/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_57_10371.jpg', '/home/pi/Desktop/images/09042025/06/00/image_09042025_06_01_06_9458.jpg', '/home/pi/Desktop/images/09042025/06/01/image_09042025_06_01_27_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_16_10072.jpg
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_26_10373.jpg
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_37_10385.jpg
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_57_10371.jpg
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_01_06_9458.jpg
/home/pi/Desktop/images/09042025/06/01/image_09042025_06_01_27_10415.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 08:59:03.534718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_16_10072.jpg', '/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_26_10373.jpg', '/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_37_10385.jpg', '/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_57_10371.jpg', '/home/pi/Desktop/images/09042025/06/00/image_09042025_06_01_06_9458.jpg', '/home/pi/Desktop/images/09042025/06/01/image_09042025_06_01_27_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_16_10072.jpg
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_26_10373.jpg
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_37_10385.jpg
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_00_57_10371.jpg
/home/pi/Desktop/images/09042025/06/00/image_09042025_06_01_06_9458.jpg
/home/pi/Desktop/images/09042025/06/01/image_09042025_06_01_27_10415.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685758","1350685722","1350685754","1350685738","1350685729","1350685714"],"photo_ids_order":["1350685714","1350685722","1350685729","1350685738","1350685754","1350685758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a5593c6b756d154a630e9ebe79dcc027.jpg","text":"TemporaryFile(/tmp/multipartBody1115144036538314044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182004099,"filename":"image_09042025_06_01_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1563bbb78706eb9555ff3f71f7109d5.jpg","text":"TemporaryFile(/tmp/multipartBody5855736641308589758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182004099,"filename":"image_09042025_06_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/4/9/6f8d602fb6cdd0ef724a95215f2cc9c6.jpg","text":"TemporaryFile(/tmp/multipartBody1976947939379955261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182004099,"filename":"image_09042025_06_01_06_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4196ecfd418a1e3b2c48a045b687307c.jpg","text":"TemporaryFile(/tmp/multipartBody8323505435923344165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182004099,"filename":"image_09042025_06_00_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/4/9/29a12f969d6464871e3ea11ec10ece65.jpg","text":"TemporaryFile(/tmp/multipartBody2004092643605018455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182004099,"filename":"image_09042025_06_00_37_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4d96f5bbad21b7ce4c4e4e3ad7147b5.jpg","text":"TemporaryFile(/tmp/multipartBody8936062947305930622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182004099,"filename":"image_09042025_06_00_16_10072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685729","file1":"1350685722","file0":"1350685714","file4":"1350685754","file5":"1350685758","file3":"1350685738"},"map_files_photo_id_array":[{"photo_id":"1350685758","filename":"file5"},{"photo_id":"1350685729","filename":"file2"},{"photo_id":"1350685754","filename":"file4"},{"photo_id":"1350685722","filename":"file1"},{"photo_id":"1350685714","filename":"file0"},{"photo_id":"1350685738","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685758":["hashtag1","hashtag2"]},{"1350685722":["hashtag1","hashtag2"]},{"1350685754":["hashtag1","hashtag2"]},{"1350685738":["hashtag1","hashtag2"]},{"1350685729":["hashtag1","hashtag2"]},{"1350685714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685758, 1350685722, 1350685754, 1350685738, 1350685729, 1350685714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49977684020996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 08:59:42.368830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/01/image_09042025_06_01_36_9355.jpg', '/home/pi/Desktop/images/09042025/06/01/image_09042025_06_01_56_9402.jpg', '/home/pi/Desktop/images/09042025/06/01/image_09042025_06_02_06_10339.jpg', '/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_17_10350.jpg', '/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_26_9371.jpg', '/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/01/image_09042025_06_01_36_9355.jpg
/home/pi/Desktop/images/09042025/06/01/image_09042025_06_01_56_9402.jpg
/home/pi/Desktop/images/09042025/06/01/image_09042025_06_02_06_10339.jpg
/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_17_10350.jpg
/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_26_9371.jpg
/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_36_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":["1350685767","1350685776","1350685763","1350685772","1350685769","1350685759"],"photo_ids_order":["1350685759","1350685763","1350685767","1350685769","1350685772","1350685776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec84d0b36f0cb3174ed8fdf765c41621.jpg","text":"TemporaryFile(/tmp/multipartBody7533761896042766290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182042833,"filename":"image_09042025_06_02_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b15cc7c994a63ef670727f2f47d0a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3242809929171437615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182042833,"filename":"image_09042025_06_02_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efa351fd214ea87d0fd1b7407ccc3391.jpg","text":"TemporaryFile(/tmp/multipartBody7414672389020799521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182042833,"filename":"image_09042025_06_01_56_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/226c73cbe7c6167fb50dd92d8803e383.jpg","text":"TemporaryFile(/tmp/multipartBody2814805421495067612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182042833,"filename":"image_09042025_06_02_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d98384824b7fb10248a4de33ec29d4c9.jpg","text":"TemporaryFile(/tmp/multipartBody3041882649846617618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182042833,"filename":"image_09042025_06_02_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/4/9/8f3f06d1747fd47f75f85b561be94f85.jpg","text":"TemporaryFile(/tmp/multipartBody4491510169040875794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182042833,"filename":"image_09042025_06_01_36_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685767","file1":"1350685763","file0":"1350685759","file4":"1350685772","file5":"1350685776","file3":"1350685769"},"map_files_photo_id_array":[{"photo_id":"1350685776","filename":"file5"},{"photo_id":"1350685767","filename":"file2"},{"photo_id":"1350685772","filename":"file4"},{"photo_id":"1350685763","filename":"file1"},{"photo_id":"1350685759","filename":"file0"},{"photo_id":"1350685769","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685767":["hashtag1","hashtag2"]},{"1350685776":["hashtag1","hashtag2"]},{"1350685763":["hashtag1","hashtag2"]},{"1350685772":["hashtag1","hashtag2"]},{"1350685769":["hashtag1","hashtag2"]},{"1350685759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685767, 1350685776, 1350685763, 1350685772, 1350685769, 1350685759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6789391040802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:00:32.586485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_47_10363.jpg', '/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_56_9436.jpg', '/home/pi/Desktop/images/09042025/06/02/image_09042025_06_03_07_10447.jpg', '/home/pi/Desktop/images/09042025/06/03/image_09042025_06_03_16_9372.jpg', '/home/pi/Desktop/images/09042025/06/03/image_09042025_06_03_27_10713.jpg', '/home/pi/Desktop/images/09042025/06/03/image_09042025_06_03_36_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_47_10363.jpg
/home/pi/Desktop/images/09042025/06/02/image_09042025_06_02_56_9436.jpg
/home/pi/Desktop/images/09042025/06/02/image_09042025_06_03_07_10447.jpg
/home/pi/Desktop/images/09042025/06/03/image_09042025_06_03_16_9372.jpg
/home/pi/Desktop/images/09042025/06/03/image_09042025_06_03_27_10713.jpg
/home/pi/Desktop/images/09042025/06/03/image_09042025_06_03_36_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":["1350685800","1350685803","1350685806","1350685817","1350685810","1350685813"],"photo_ids_order":["1350685800","1350685803","1350685806","1350685810","1350685813","1350685817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36656266bd3883b6d526d83b66457288.jpg","text":"TemporaryFile(/tmp/multipartBody4832902802744213345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182093135,"filename":"image_09042025_06_02_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2243abe3f2688da803f4a5516ffc8116.jpg","text":"TemporaryFile(/tmp/multipartBody7712149862095642713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182093135,"filename":"image_09042025_06_02_56_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5243d6b47fe48d1dd9a0438c246b0dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5462114758952995715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182093135,"filename":"image_09042025_06_03_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/4/9/7562b875e078722944f316c532ca0f31.jpg","text":"TemporaryFile(/tmp/multipartBody331639247631369670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182093135,"filename":"image_09042025_06_03_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/4/9/067ebe446bc46b3bcf0aaaf1a5a642f9.jpg","text":"TemporaryFile(/tmp/multipartBody796770460065764524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182093135,"filename":"image_09042025_06_03_16_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67420341f65eb5a0d641762dbf7fee7a.jpg","text":"TemporaryFile(/tmp/multipartBody7970806092970234297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182093135,"filename":"image_09042025_06_03_27_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685806","file1":"1350685803","file0":"1350685800","file4":"1350685813","file5":"1350685817","file3":"1350685810"},"map_files_photo_id_array":[{"photo_id":"1350685817","filename":"file5"},{"photo_id":"1350685806","filename":"file2"},{"photo_id":"1350685813","filename":"file4"},{"photo_id":"1350685803","filename":"file1"},{"photo_id":"1350685800","filename":"file0"},{"photo_id":"1350685810","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685800":["hashtag1","hashtag2"]},{"1350685803":["hashtag1","hashtag2"]},{"1350685806":["hashtag1","hashtag2"]},{"1350685817":["hashtag1","hashtag2"]},{"1350685810":["hashtag1","hashtag2"]},{"1350685813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685800, 1350685803, 1350685806, 1350685817, 1350685810, 1350685813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.655848741531372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:01:32.847872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/03/image_09042025_06_03_56_9469.jpg', '/home/pi/Desktop/images/09042025/06/03/image_09042025_06_04_06_10358.jpg', '/home/pi/Desktop/images/09042025/06/04/image_09042025_06_04_17_10366.jpg', '/home/pi/Desktop/images/09042025/06/04/image_09042025_06_04_26_9410.jpg', '/home/pi/Desktop/images/09042025/06/04/image_09042025_06_04_37_10426.jpg', '/home/pi/Desktop/images/09042025/06/04/image_09042025_06_04_56_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/03/image_09042025_06_03_56_9469.jpg
/home/pi/Desktop/images/09042025/06/03/image_09042025_06_04_06_10358.jpg
/home/pi/Desktop/images/09042025/06/04/image_09042025_06_04_17_10366.jpg
/home/pi/Desktop/images/09042025/06/04/image_09042025_06_04_26_9410.jpg
/home/pi/Desktop/images/09042025/06/04/image_09042025_06_04_37_10426.jpg
/home/pi/Desktop/images/09042025/06/04/image_09042025_06_04_56_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685854","1350685842","1350685839","1350685850","1350685858","1350685846"],"photo_ids_order":["1350685839","1350685842","1350685846","1350685850","1350685854","1350685858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2aa8b54effc97bfb18bd3f3b8a9ae512.jpg","text":"TemporaryFile(/tmp/multipartBody1721723887259324906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182153308,"filename":"image_09042025_06_04_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/4/9/03b5df0d9edb075356352c76e928e503.jpg","text":"TemporaryFile(/tmp/multipartBody8403817904779297928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182153308,"filename":"image_09042025_06_04_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5fef1bbbe967e845ca0d77aba804ec5d.jpg","text":"TemporaryFile(/tmp/multipartBody4581422924272397066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182153308,"filename":"image_09042025_06_03_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d828c2b5e752dca8f11ef1f9e6ab6a31.jpg","text":"TemporaryFile(/tmp/multipartBody2936878913407485593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182153308,"filename":"image_09042025_06_04_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b806d6e9fe74736ceadfbc4ddf57c19.jpg","text":"TemporaryFile(/tmp/multipartBody4160361751894789574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182153308,"filename":"image_09042025_06_04_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/4/9/f3e8d5c29314f7613f58e53340249265.jpg","text":"TemporaryFile(/tmp/multipartBody6317178165037467040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182153308,"filename":"image_09042025_06_04_17_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685846","file1":"1350685842","file0":"1350685839","file4":"1350685854","file5":"1350685858","file3":"1350685850"},"map_files_photo_id_array":[{"photo_id":"1350685858","filename":"file5"},{"photo_id":"1350685846","filename":"file2"},{"photo_id":"1350685854","filename":"file4"},{"photo_id":"1350685842","filename":"file1"},{"photo_id":"1350685839","filename":"file0"},{"photo_id":"1350685850","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685854":["hashtag1","hashtag2"]},{"1350685842":["hashtag1","hashtag2"]},{"1350685839":["hashtag1","hashtag2"]},{"1350685850":["hashtag1","hashtag2"]},{"1350685858":["hashtag1","hashtag2"]},{"1350685846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685854, 1350685842, 1350685839, 1350685850, 1350685858, 1350685846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.546047925949097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:02:33.136201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/04/image_09042025_06_05_07_10419.jpg', '/home/pi/Desktop/images/09042025/06/05/image_09042025_06_05_17_9886.jpg', '/home/pi/Desktop/images/09042025/06/05/image_09042025_06_05_37_10353.jpg', '/home/pi/Desktop/images/09042025/06/05/image_09042025_06_05_47_10363.jpg', '/home/pi/Desktop/images/09042025/06/05/image_09042025_06_05_57_9718.jpg', '/home/pi/Desktop/images/09042025/06/05/image_09042025_06_06_06_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/04/image_09042025_06_05_07_10419.jpg
/home/pi/Desktop/images/09042025/06/05/image_09042025_06_05_17_9886.jpg
/home/pi/Desktop/images/09042025/06/05/image_09042025_06_05_37_10353.jpg
/home/pi/Desktop/images/09042025/06/05/image_09042025_06_05_47_10363.jpg
/home/pi/Desktop/images/09042025/06/05/image_09042025_06_05_57_9718.jpg
/home/pi/Desktop/images/09042025/06/05/image_09042025_06_06_06_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":["1350685895","1350685889","1350685881","1350685899","1350685884","1350685878"],"photo_ids_order":["1350685878","1350685881","1350685884","1350685889","1350685895","1350685899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/231bdf1fb4787e3f56aa818732b8d326.jpg","text":"TemporaryFile(/tmp/multipartBody6099287996729170608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182213610,"filename":"image_09042025_06_05_57_9718.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f623e1dbc349681eaf18624bde9d8b5.jpg","text":"TemporaryFile(/tmp/multipartBody3936111142818876438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182213610,"filename":"image_09042025_06_05_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/4/9/baac72f100ef947d63d1f58c3fab2e30.jpg","text":"TemporaryFile(/tmp/multipartBody9170774016952870035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182213610,"filename":"image_09042025_06_05_17_9886.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44231f42872b4ef02381713791accb20.jpg","text":"TemporaryFile(/tmp/multipartBody4804130854356306345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182213610,"filename":"image_09042025_06_06_06_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c09ddd67b72708d2cf6e237b067ca1bd.jpg","text":"TemporaryFile(/tmp/multipartBody5724223733095248678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182213610,"filename":"image_09042025_06_05_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/4/9/0f790e614b3b8f5342a526e355a971c7.jpg","text":"TemporaryFile(/tmp/multipartBody3843099401924507740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182213610,"filename":"image_09042025_06_05_07_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685884","file1":"1350685881","file0":"1350685878","file4":"1350685895","file5":"1350685899","file3":"1350685889"},"map_files_photo_id_array":[{"photo_id":"1350685899","filename":"file5"},{"photo_id":"1350685884","filename":"file2"},{"photo_id":"1350685895","filename":"file4"},{"photo_id":"1350685881","filename":"file1"},{"photo_id":"1350685878","filename":"file0"},{"photo_id":"1350685889","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685895":["hashtag1","hashtag2"]},{"1350685889":["hashtag1","hashtag2"]},{"1350685881":["hashtag1","hashtag2"]},{"1350685899":["hashtag1","hashtag2"]},{"1350685884":["hashtag1","hashtag2"]},{"1350685878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685895, 1350685889, 1350685881, 1350685899, 1350685884, 1350685878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.9375262260437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:03:32.437214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/06/image_09042025_06_06_16_10359.jpg', '/home/pi/Desktop/images/09042025/06/06/image_09042025_06_06_27_10361.jpg', '/home/pi/Desktop/images/09042025/06/06/image_09042025_06_06_36_9344.jpg', '/home/pi/Desktop/images/09042025/06/06/image_09042025_06_06_47_10852.jpg', '/home/pi/Desktop/images/09042025/06/06/image_09042025_06_07_07_10367.jpg', '/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_16_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/06/image_09042025_06_06_16_10359.jpg
/home/pi/Desktop/images/09042025/06/06/image_09042025_06_06_27_10361.jpg
/home/pi/Desktop/images/09042025/06/06/image_09042025_06_06_36_9344.jpg
/home/pi/Desktop/images/09042025/06/06/image_09042025_06_06_47_10852.jpg
/home/pi/Desktop/images/09042025/06/06/image_09042025_06_07_07_10367.jpg
/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_16_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350685932","1350685935","1350685925","1350685919","1350685928","1350685922"],"photo_ids_order":["1350685919","1350685922","1350685925","1350685928","1350685932","1350685935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b31386b03e37df38a92710404e88fcf.jpg","text":"TemporaryFile(/tmp/multipartBody524037961586780729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182272895,"filename":"image_09042025_06_07_07_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa06e2c51c1b62023361440c2abb38fc.jpg","text":"TemporaryFile(/tmp/multipartBody8887456410992719133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182272895,"filename":"image_09042025_06_07_16_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff24546cd943f63a8099577de714a4ba.jpg","text":"TemporaryFile(/tmp/multipartBody6279393097734890663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182272895,"filename":"image_09042025_06_06_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/4/9/912b7e28ec096d4dac74558ac852f8ea.jpg","text":"TemporaryFile(/tmp/multipartBody569922217941182723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182272895,"filename":"image_09042025_06_06_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/4/9/f738571d0e41f4c37d77cf57ee07c761.jpg","text":"TemporaryFile(/tmp/multipartBody5678877636867106938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182272895,"filename":"image_09042025_06_06_47_10852.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b378525d53777e0912483cce6aac67dd.jpg","text":"TemporaryFile(/tmp/multipartBody6515666184650794167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182272895,"filename":"image_09042025_06_06_27_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685925","file1":"1350685922","file0":"1350685919","file4":"1350685932","file5":"1350685935","file3":"1350685928"},"map_files_photo_id_array":[{"photo_id":"1350685935","filename":"file5"},{"photo_id":"1350685925","filename":"file2"},{"photo_id":"1350685932","filename":"file4"},{"photo_id":"1350685922","filename":"file1"},{"photo_id":"1350685919","filename":"file0"},{"photo_id":"1350685928","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685932":["hashtag1","hashtag2"]},{"1350685935":["hashtag1","hashtag2"]},{"1350685925":["hashtag1","hashtag2"]},{"1350685919":["hashtag1","hashtag2"]},{"1350685928":["hashtag1","hashtag2"]},{"1350685922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685932, 1350685935, 1350685925, 1350685919, 1350685928, 1350685922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.231691360473633 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:04:32.789963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_27_10385.jpg', '/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_37_10371.jpg', '/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_46_9445.jpg', '/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_57_10346.jpg', '/home/pi/Desktop/images/09042025/06/07/image_09042025_06_08_06_9398.jpg', '/home/pi/Desktop/images/09042025/06/08/image_09042025_06_08_16_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_27_10385.jpg
/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_37_10371.jpg
/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_46_9445.jpg
/home/pi/Desktop/images/09042025/06/07/image_09042025_06_07_57_10346.jpg
/home/pi/Desktop/images/09042025/06/07/image_09042025_06_08_06_9398.jpg
/home/pi/Desktop/images/09042025/06/08/image_09042025_06_08_16_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":["1350685971","1350685968","1350685956","1350685975","1350685960","1350685963"],"photo_ids_order":["1350685956","1350685960","1350685963","1350685968","1350685971","1350685975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d979a3a84a9028e8f372f81359b1c419.jpg","text":"TemporaryFile(/tmp/multipartBody7007824037166146274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182333269,"filename":"image_09042025_06_08_06_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9175a041beece28bf45fc06605f9b8e.jpg","text":"TemporaryFile(/tmp/multipartBody5246131983221592069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182333269,"filename":"image_09042025_06_07_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/4/9/18d358bd90810158a0e0bb526db1cda8.jpg","text":"TemporaryFile(/tmp/multipartBody6272272923262172505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182333269,"filename":"image_09042025_06_07_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/4/9/e61ac688b36ae7fb4b191a846f77a9f3.jpg","text":"TemporaryFile(/tmp/multipartBody810118035960178668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182333269,"filename":"image_09042025_06_08_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/4/9/16f222300dc5c927b8f84e1b1fa907f7.jpg","text":"TemporaryFile(/tmp/multipartBody6763575759479907919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182333269,"filename":"image_09042025_06_07_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62f0527cb516984564998799a3c865de.jpg","text":"TemporaryFile(/tmp/multipartBody8585111000039973793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182333269,"filename":"image_09042025_06_07_46_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685963","file1":"1350685960","file0":"1350685956","file4":"1350685971","file5":"1350685975","file3":"1350685968"},"map_files_photo_id_array":[{"photo_id":"1350685975","filename":"file5"},{"photo_id":"1350685963","filename":"file2"},{"photo_id":"1350685971","filename":"file4"},{"photo_id":"1350685960","filename":"file1"},{"photo_id":"1350685956","filename":"file0"},{"photo_id":"1350685968","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350685971":["hashtag1","hashtag2"]},{"1350685968":["hashtag1","hashtag2"]},{"1350685956":["hashtag1","hashtag2"]},{"1350685975":["hashtag1","hashtag2"]},{"1350685960":["hashtag1","hashtag2"]},{"1350685963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350685971, 1350685968, 1350685956, 1350685975, 1350685960, 1350685963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.371150493621826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:05:33.093027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/08/image_09042025_06_08_27_10348.jpg', '/home/pi/Desktop/images/09042025/06/08/image_09042025_06_09_06_9412.jpg', '/home/pi/Desktop/images/09042025/06/09/image_09042025_06_09_17_10365.jpg', '/home/pi/Desktop/images/09042025/06/09/image_09042025_06_09_26_9368.jpg', '/home/pi/Desktop/images/09042025/06/09/image_09042025_06_09_37_10427.jpg', '/home/pi/Desktop/images/09042025/06/09/image_09042025_06_09_47_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/08/image_09042025_06_08_27_10348.jpg
/home/pi/Desktop/images/09042025/06/08/image_09042025_06_09_06_9412.jpg
/home/pi/Desktop/images/09042025/06/09/image_09042025_06_09_17_10365.jpg
/home/pi/Desktop/images/09042025/06/09/image_09042025_06_09_26_9368.jpg
/home/pi/Desktop/images/09042025/06/09/image_09042025_06_09_37_10427.jpg
/home/pi/Desktop/images/09042025/06/09/image_09042025_06_09_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":["1350686007","1350685992","1350686003","1350685996","1350685999","1350686011"],"photo_ids_order":["1350685992","1350685996","1350685999","1350686003","1350686007","1350686011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7912b05c51b91b7005ae16c9c69a824e.jpg","text":"TemporaryFile(/tmp/multipartBody1652151180143453095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182393568,"filename":"image_09042025_06_09_37_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08307790944a81c0be342523a297b995.jpg","text":"TemporaryFile(/tmp/multipartBody6401525526726548947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182393568,"filename":"image_09042025_06_08_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/13fca991eb1ce45b4037cdbe592e3999.jpg","text":"TemporaryFile(/tmp/multipartBody4171978346920096452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182393568,"filename":"image_09042025_06_09_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4331f4e8c6dc8365ce7d6dffb77ef40c.jpg","text":"TemporaryFile(/tmp/multipartBody6464910718284078199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182393568,"filename":"image_09042025_06_09_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f20b1287e7fbe4807a271bfaee305923.jpg","text":"TemporaryFile(/tmp/multipartBody8243488857194408515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182393568,"filename":"image_09042025_06_09_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/4/9/2fae7bffbd2f9d52efe3f68b711e3896.jpg","text":"TemporaryFile(/tmp/multipartBody1580342012327686794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182393568,"filename":"image_09042025_06_09_47_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350685999","file1":"1350685996","file0":"1350685992","file4":"1350686007","file5":"1350686011","file3":"1350686003"},"map_files_photo_id_array":[{"photo_id":"1350686011","filename":"file5"},{"photo_id":"1350685999","filename":"file2"},{"photo_id":"1350686007","filename":"file4"},{"photo_id":"1350685996","filename":"file1"},{"photo_id":"1350685992","filename":"file0"},{"photo_id":"1350686003","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686007":["hashtag1","hashtag2"]},{"1350685992":["hashtag1","hashtag2"]},{"1350686003":["hashtag1","hashtag2"]},{"1350685996":["hashtag1","hashtag2"]},{"1350685999":["hashtag1","hashtag2"]},{"1350686011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686007, 1350685992, 1350686003, 1350685996, 1350685999, 1350686011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.758091926574707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:06:32.325902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/10/image_09042025_06_10_16_9448.jpg', '/home/pi/Desktop/images/09042025/06/10/image_09042025_06_10_26_10345.jpg', '/home/pi/Desktop/images/09042025/06/10/image_09042025_06_10_46_9387.jpg', '/home/pi/Desktop/images/09042025/06/10/image_09042025_06_10_57_10347.jpg', '/home/pi/Desktop/images/09042025/06/10/image_09042025_06_11_07_10410.jpg', '/home/pi/Desktop/images/09042025/06/11/image_09042025_06_11_16_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/10/image_09042025_06_10_16_9448.jpg
/home/pi/Desktop/images/09042025/06/10/image_09042025_06_10_26_10345.jpg
/home/pi/Desktop/images/09042025/06/10/image_09042025_06_10_46_9387.jpg
/home/pi/Desktop/images/09042025/06/10/image_09042025_06_10_57_10347.jpg
/home/pi/Desktop/images/09042025/06/10/image_09042025_06_11_07_10410.jpg
/home/pi/Desktop/images/09042025/06/11/image_09042025_06_11_16_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350686030","1350686024","1350686033","1350686027","1350686041","1350686038"],"photo_ids_order":["1350686024","1350686027","1350686030","1350686033","1350686038","1350686041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/460a5ff547bfd0e6155e023a48c99872.jpg","text":"TemporaryFile(/tmp/multipartBody14242876999585281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182452793,"filename":"image_09042025_06_10_46_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cbbca4f1f6fed60e6d3f142cc8ac8780.jpg","text":"TemporaryFile(/tmp/multipartBody2467821256732933204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182452793,"filename":"image_09042025_06_10_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/4/9/2cecc51b7e38a5d53e31c20d277dea68.jpg","text":"TemporaryFile(/tmp/multipartBody2627834626600547655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182452793,"filename":"image_09042025_06_10_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/4/9/02a6543c411ef4e18c37defee875456c.jpg","text":"TemporaryFile(/tmp/multipartBody2260314935557042049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182452793,"filename":"image_09042025_06_10_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/4/9/e4218de441d56459fe5a82822f11fee3.jpg","text":"TemporaryFile(/tmp/multipartBody1755007013367496638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182452793,"filename":"image_09042025_06_11_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/4/9/823a3be5289e1dd31f05bd6ce5ae3430.jpg","text":"TemporaryFile(/tmp/multipartBody4203388537142814418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182452793,"filename":"image_09042025_06_11_07_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686030","file1":"1350686027","file0":"1350686024","file4":"1350686038","file5":"1350686041","file3":"1350686033"},"map_files_photo_id_array":[{"photo_id":"1350686041","filename":"file5"},{"photo_id":"1350686030","filename":"file2"},{"photo_id":"1350686038","filename":"file4"},{"photo_id":"1350686027","filename":"file1"},{"photo_id":"1350686024","filename":"file0"},{"photo_id":"1350686033","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686030":["hashtag1","hashtag2"]},{"1350686024":["hashtag1","hashtag2"]},{"1350686033":["hashtag1","hashtag2"]},{"1350686027":["hashtag1","hashtag2"]},{"1350686041":["hashtag1","hashtag2"]},{"1350686038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686030, 1350686024, 1350686033, 1350686027, 1350686041, 1350686038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88411474227905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:07:32.476533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/11/image_09042025_06_11_36_9436.jpg', '/home/pi/Desktop/images/09042025/06/11/image_09042025_06_11_47_10369.jpg', '/home/pi/Desktop/images/09042025/06/11/image_09042025_06_11_57_10357.jpg', '/home/pi/Desktop/images/09042025/06/11/image_09042025_06_12_06_9367.jpg', '/home/pi/Desktop/images/09042025/06/12/image_09042025_06_12_17_10352.jpg', '/home/pi/Desktop/images/09042025/06/12/image_09042025_06_12_36_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/11/image_09042025_06_11_36_9436.jpg
/home/pi/Desktop/images/09042025/06/11/image_09042025_06_11_47_10369.jpg
/home/pi/Desktop/images/09042025/06/11/image_09042025_06_11_57_10357.jpg
/home/pi/Desktop/images/09042025/06/11/image_09042025_06_12_06_9367.jpg
/home/pi/Desktop/images/09042025/06/12/image_09042025_06_12_17_10352.jpg
/home/pi/Desktop/images/09042025/06/12/image_09042025_06_12_36_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":["1350686051","1350686065","1350686068","1350686053","1350686062","1350686056"],"photo_ids_order":["1350686051","1350686053","1350686056","1350686062","1350686065","1350686068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/68bde0c306553cbe8da9116ce8db0c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3603584351393734659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182512933,"filename":"image_09042025_06_11_36_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ac0d27c68ffbdb870c93a1de9df6e99.jpg","text":"TemporaryFile(/tmp/multipartBody3327708522756159631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182512933,"filename":"image_09042025_06_12_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/4/9/fc56052e8c8fddeb2aa8d5e72c16ea53.jpg","text":"TemporaryFile(/tmp/multipartBody6316460089875312162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182512933,"filename":"image_09042025_06_12_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/4/9/049d09689052ecb09e7a3a0971403c30.jpg","text":"TemporaryFile(/tmp/multipartBody3542902614584075924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182512933,"filename":"image_09042025_06_11_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22fd635e4ef503edaed934602f5125dc.jpg","text":"TemporaryFile(/tmp/multipartBody8056089352293222868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182512933,"filename":"image_09042025_06_12_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/4/9/334f40d85ada75b17cd045d116c285c4.jpg","text":"TemporaryFile(/tmp/multipartBody6868114404751245933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182512933,"filename":"image_09042025_06_11_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686056","file1":"1350686053","file0":"1350686051","file4":"1350686065","file5":"1350686068","file3":"1350686062"},"map_files_photo_id_array":[{"photo_id":"1350686068","filename":"file5"},{"photo_id":"1350686056","filename":"file2"},{"photo_id":"1350686065","filename":"file4"},{"photo_id":"1350686053","filename":"file1"},{"photo_id":"1350686051","filename":"file0"},{"photo_id":"1350686062","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686051":["hashtag1","hashtag2"]},{"1350686065":["hashtag1","hashtag2"]},{"1350686068":["hashtag1","hashtag2"]},{"1350686053":["hashtag1","hashtag2"]},{"1350686062":["hashtag1","hashtag2"]},{"1350686056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686051, 1350686065, 1350686068, 1350686053, 1350686062, 1350686056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06594371795654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:08:32.736823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/12/image_09042025_06_12_47_10421.jpg', '/home/pi/Desktop/images/09042025/06/12/image_09042025_06_13_07_10356.jpg', '/home/pi/Desktop/images/09042025/06/13/image_09042025_06_13_16_9451.jpg', '/home/pi/Desktop/images/09042025/06/13/image_09042025_06_13_26_10362.jpg', '/home/pi/Desktop/images/09042025/06/13/image_09042025_06_13_37_10373.jpg', '/home/pi/Desktop/images/09042025/06/13/image_09042025_06_13_57_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/12/image_09042025_06_12_47_10421.jpg
/home/pi/Desktop/images/09042025/06/12/image_09042025_06_13_07_10356.jpg
/home/pi/Desktop/images/09042025/06/13/image_09042025_06_13_16_9451.jpg
/home/pi/Desktop/images/09042025/06/13/image_09042025_06_13_26_10362.jpg
/home/pi/Desktop/images/09042025/06/13/image_09042025_06_13_37_10373.jpg
/home/pi/Desktop/images/09042025/06/13/image_09042025_06_13_57_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350686084","1350686087","1350686095","1350686098","1350686080","1350686091"],"photo_ids_order":["1350686080","1350686084","1350686087","1350686091","1350686095","1350686098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2bc0529f0a52b1d4f64b2e16e74e5063.jpg","text":"TemporaryFile(/tmp/multipartBody2983466619451995801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182573206,"filename":"image_09042025_06_13_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/4/9/ab7ca546e32c4e59144a3115b23c57ca.jpg","text":"TemporaryFile(/tmp/multipartBody1635402610590564678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182573206,"filename":"image_09042025_06_13_16_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e655b00b83699c971bf43401b9979ebd.jpg","text":"TemporaryFile(/tmp/multipartBody3202086482768448466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182573206,"filename":"image_09042025_06_13_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/4/9/e391f3ecbc46f18442b1107f50cf7316.jpg","text":"TemporaryFile(/tmp/multipartBody1038522734371708865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182573206,"filename":"image_09042025_06_13_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba349a165eebc2104632db4b39067bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2706857711292741248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182573206,"filename":"image_09042025_06_12_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/4/9/33c0526fd219f633d72ce607bf77e625.jpg","text":"TemporaryFile(/tmp/multipartBody3235864397704366148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182573206,"filename":"image_09042025_06_13_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686087","file1":"1350686084","file0":"1350686080","file4":"1350686095","file5":"1350686098","file3":"1350686091"},"map_files_photo_id_array":[{"photo_id":"1350686098","filename":"file5"},{"photo_id":"1350686087","filename":"file2"},{"photo_id":"1350686095","filename":"file4"},{"photo_id":"1350686084","filename":"file1"},{"photo_id":"1350686080","filename":"file0"},{"photo_id":"1350686091","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686084":["hashtag1","hashtag2"]},{"1350686087":["hashtag1","hashtag2"]},{"1350686095":["hashtag1","hashtag2"]},{"1350686098":["hashtag1","hashtag2"]},{"1350686080":["hashtag1","hashtag2"]},{"1350686091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686084, 1350686087, 1350686095, 1350686098, 1350686080, 1350686091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.82371687889099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:09:33.058703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/13/image_09042025_06_14_06_9394.jpg', '/home/pi/Desktop/images/09042025/06/14/image_09042025_06_14_16_10402.jpg', '/home/pi/Desktop/images/09042025/06/14/image_09042025_06_14_47_10368.jpg', '/home/pi/Desktop/images/09042025/06/15/image_09042025_06_15_17_10348.jpg', '/home/pi/Desktop/images/09042025/06/15/image_09042025_06_15_26_9425.jpg', '/home/pi/Desktop/images/09042025/06/15/image_09042025_06_16_07_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/13/image_09042025_06_14_06_9394.jpg
/home/pi/Desktop/images/09042025/06/14/image_09042025_06_14_16_10402.jpg
/home/pi/Desktop/images/09042025/06/14/image_09042025_06_14_47_10368.jpg
/home/pi/Desktop/images/09042025/06/15/image_09042025_06_15_17_10348.jpg
/home/pi/Desktop/images/09042025/06/15/image_09042025_06_15_26_9425.jpg
/home/pi/Desktop/images/09042025/06/15/image_09042025_06_16_07_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":["1350686133","1350686129","1350686123","1350686126","1350686131","1350686119"],"photo_ids_order":["1350686119","1350686123","1350686126","1350686129","1350686131","1350686133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79a45f09dc66cd7a349d2ce689c57054.jpg","text":"TemporaryFile(/tmp/multipartBody5871732132146754000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182633536,"filename":"image_09042025_06_16_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/4/9/40627a9e1621637a4f63f7e2885cf3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7695700052946571199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182633536,"filename":"image_09042025_06_15_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/4/9/1938d2f0a91c8d8f1198528665c674bc.jpg","text":"TemporaryFile(/tmp/multipartBody5723700802937572720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182633536,"filename":"image_09042025_06_14_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a7f2e46247e6d53a02d3cfa591cf017.jpg","text":"TemporaryFile(/tmp/multipartBody3537583389537968581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182633536,"filename":"image_09042025_06_14_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/4/9/833102cdaa7f64e2467b22573b7f8d98.jpg","text":"TemporaryFile(/tmp/multipartBody7687732633966596212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182633536,"filename":"image_09042025_06_15_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/4/9/f04fd65572468113cfd824b51002d830.jpg","text":"TemporaryFile(/tmp/multipartBody7605672185417037221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182633536,"filename":"image_09042025_06_14_06_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686126","file1":"1350686123","file0":"1350686119","file4":"1350686131","file5":"1350686133","file3":"1350686129"},"map_files_photo_id_array":[{"photo_id":"1350686133","filename":"file5"},{"photo_id":"1350686126","filename":"file2"},{"photo_id":"1350686131","filename":"file4"},{"photo_id":"1350686123","filename":"file1"},{"photo_id":"1350686119","filename":"file0"},{"photo_id":"1350686129","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686133":["hashtag1","hashtag2"]},{"1350686129":["hashtag1","hashtag2"]},{"1350686123":["hashtag1","hashtag2"]},{"1350686126":["hashtag1","hashtag2"]},{"1350686131":["hashtag1","hashtag2"]},{"1350686119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686133, 1350686129, 1350686123, 1350686126, 1350686131, 1350686119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07838416099548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:10:32.501087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_16_9438.jpg', '/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_46_9358.jpg', '/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_57_10377.jpg', '/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_16_9471.jpg', '/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_27_10351.jpg', '/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_57_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_16_9438.jpg
/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_46_9358.jpg
/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_57_10377.jpg
/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_16_9471.jpg
/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_27_10351.jpg
/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_57_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39960694313049316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 09:10:42.458909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_16_9438.jpg', '/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_46_9358.jpg', '/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_57_10377.jpg', '/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_16_9471.jpg', '/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_27_10351.jpg', '/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_57_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_16_9438.jpg
/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_46_9358.jpg
/home/pi/Desktop/images/09042025/06/16/image_09042025_06_16_57_10377.jpg
/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_16_9471.jpg
/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_27_10351.jpg
/home/pi/Desktop/images/09042025/06/17/image_09042025_06_17_57_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":["1350686168","1350686156","1350686164","1350686161","1350686166","1350686151"],"photo_ids_order":["1350686151","1350686156","1350686161","1350686164","1350686166","1350686168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2fa93d1b16fe00cf0cafbe9913e9a108.jpg","text":"TemporaryFile(/tmp/multipartBody2873972905656511986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182702914,"filename":"image_09042025_06_17_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b69eade20b61bf61fa8e46473ce66b1.jpg","text":"TemporaryFile(/tmp/multipartBody3607976590355871568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182702914,"filename":"image_09042025_06_16_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b88b4c191a4d8d9f90552ac5f87a0b35.jpg","text":"TemporaryFile(/tmp/multipartBody7243101222507400294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182702914,"filename":"image_09042025_06_17_16_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7170c5676c84658e9e51b67446527044.jpg","text":"TemporaryFile(/tmp/multipartBody6692795086805489384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182702914,"filename":"image_09042025_06_16_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/4/9/5b91624c96897be6f1811e044b10e6dd.jpg","text":"TemporaryFile(/tmp/multipartBody6137735435926573327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182702914,"filename":"image_09042025_06_17_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/4/9/a44e0cfb49f66cdd734ae4c599284cac.jpg","text":"TemporaryFile(/tmp/multipartBody6067061294743562805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182702914,"filename":"image_09042025_06_16_16_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686161","file1":"1350686156","file0":"1350686151","file4":"1350686166","file5":"1350686168","file3":"1350686164"},"map_files_photo_id_array":[{"photo_id":"1350686168","filename":"file5"},{"photo_id":"1350686161","filename":"file2"},{"photo_id":"1350686166","filename":"file4"},{"photo_id":"1350686156","filename":"file1"},{"photo_id":"1350686151","filename":"file0"},{"photo_id":"1350686164","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686168":["hashtag1","hashtag2"]},{"1350686156":["hashtag1","hashtag2"]},{"1350686164":["hashtag1","hashtag2"]},{"1350686161":["hashtag1","hashtag2"]},{"1350686166":["hashtag1","hashtag2"]},{"1350686151":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686168, 1350686156, 1350686164, 1350686161, 1350686166, 1350686151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95179224014282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:11:32.657800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_17_10354.jpg', '/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_26_9449.jpg', '/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_36_10361.jpg', '/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_47_10367.jpg', '/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_56_9396.jpg', '/home/pi/Desktop/images/09042025/06/18/image_09042025_06_19_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_17_10354.jpg
/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_26_9449.jpg
/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_36_10361.jpg
/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_47_10367.jpg
/home/pi/Desktop/images/09042025/06/18/image_09042025_06_18_56_9396.jpg
/home/pi/Desktop/images/09042025/06/18/image_09042025_06_19_07_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350686192","1350686186","1350686182","1350686179","1350686175","1350686190"],"photo_ids_order":["1350686175","1350686179","1350686182","1350686186","1350686190","1350686192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d83eb37eaca6c274aac07ddeb4ca75a0.jpg","text":"TemporaryFile(/tmp/multipartBody2014929342462033220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182753141,"filename":"image_09042025_06_19_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4b76d50d3e87b94b9247d00b899b976.jpg","text":"TemporaryFile(/tmp/multipartBody6366662185672930549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182753141,"filename":"image_09042025_06_18_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dee27933f2d42e3f8f8a7f474e276b94.jpg","text":"TemporaryFile(/tmp/multipartBody3669171221729055477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182753141,"filename":"image_09042025_06_18_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/4/9/b7d7d1839071f5774600a07b8d20babb.jpg","text":"TemporaryFile(/tmp/multipartBody2714190058445806494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182753141,"filename":"image_09042025_06_18_26_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38da2bfdfefc1f7fea90059c9054450b.jpg","text":"TemporaryFile(/tmp/multipartBody7353192587671874641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182753141,"filename":"image_09042025_06_18_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/4/9/c7fab8e08c59f5529f1d356f6f0c7f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5404285785747479427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182753141,"filename":"image_09042025_06_18_56_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686182","file1":"1350686179","file0":"1350686175","file4":"1350686190","file5":"1350686192","file3":"1350686186"},"map_files_photo_id_array":[{"photo_id":"1350686192","filename":"file5"},{"photo_id":"1350686182","filename":"file2"},{"photo_id":"1350686190","filename":"file4"},{"photo_id":"1350686179","filename":"file1"},{"photo_id":"1350686175","filename":"file0"},{"photo_id":"1350686186","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686192":["hashtag1","hashtag2"]},{"1350686186":["hashtag1","hashtag2"]},{"1350686182":["hashtag1","hashtag2"]},{"1350686179":["hashtag1","hashtag2"]},{"1350686175":["hashtag1","hashtag2"]},{"1350686190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686192, 1350686186, 1350686182, 1350686179, 1350686175, 1350686190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.05498957633972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:12:32.959427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_16_9475.jpg', '/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_26_10359.jpg', '/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_37_10358.jpg', '/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_46_9372.jpg', '/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_57_10346.jpg', '/home/pi/Desktop/images/09042025/06/19/image_09042025_06_20_07_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_16_9475.jpg
/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_26_10359.jpg
/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_37_10358.jpg
/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_46_9372.jpg
/home/pi/Desktop/images/09042025/06/19/image_09042025_06_19_57_10346.jpg
/home/pi/Desktop/images/09042025/06/19/image_09042025_06_20_07_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":["1350686211","1350686214","1350686216","1350686201","1350686209","1350686206"],"photo_ids_order":["1350686201","1350686206","1350686209","1350686211","1350686214","1350686216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e0b8c0a30aa78bef0142fdb5d3b78a05.jpg","text":"TemporaryFile(/tmp/multipartBody8387955961543132922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182813447,"filename":"image_09042025_06_19_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a699324975f80b64df17bd7001b58aa.jpg","text":"TemporaryFile(/tmp/multipartBody1713430917227390692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182813447,"filename":"image_09042025_06_19_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/4/9/4afd29104c112d6e3c165ac9577a4816.jpg","text":"TemporaryFile(/tmp/multipartBody5910132101261284422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182813447,"filename":"image_09042025_06_20_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2f8f814b6c64ae154b017dc7a38748e.jpg","text":"TemporaryFile(/tmp/multipartBody7895641649671508355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182813447,"filename":"image_09042025_06_19_16_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f996f0b4e18aff36a00663e1df9e3f2.jpg","text":"TemporaryFile(/tmp/multipartBody6974471980142223915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182813447,"filename":"image_09042025_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/4/9/d5f8a09af966343b70fb7539c58e4656.jpg","text":"TemporaryFile(/tmp/multipartBody2337709198182721094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182813447,"filename":"image_09042025_06_19_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686209","file1":"1350686206","file0":"1350686201","file4":"1350686214","file5":"1350686216","file3":"1350686211"},"map_files_photo_id_array":[{"photo_id":"1350686216","filename":"file5"},{"photo_id":"1350686209","filename":"file2"},{"photo_id":"1350686214","filename":"file4"},{"photo_id":"1350686206","filename":"file1"},{"photo_id":"1350686201","filename":"file0"},{"photo_id":"1350686211","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686211":["hashtag1","hashtag2"]},{"1350686214":["hashtag1","hashtag2"]},{"1350686216":["hashtag1","hashtag2"]},{"1350686201":["hashtag1","hashtag2"]},{"1350686209":["hashtag1","hashtag2"]},{"1350686206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686211, 1350686214, 1350686216, 1350686201, 1350686209, 1350686206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.992591381072998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:13:32.338858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/20/image_09042025_06_20_16_9352.jpg', '/home/pi/Desktop/images/09042025/06/20/image_09042025_06_20_27_10360.jpg', '/home/pi/Desktop/images/09042025/06/20/image_09042025_06_20_46_9365.jpg', '/home/pi/Desktop/images/09042025/06/20/image_09042025_06_20_57_10435.jpg', '/home/pi/Desktop/images/09042025/06/21/image_09042025_06_21_56_9352.jpg', '/home/pi/Desktop/images/09042025/06/22/image_09042025_06_22_26_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/20/image_09042025_06_20_16_9352.jpg
/home/pi/Desktop/images/09042025/06/20/image_09042025_06_20_27_10360.jpg
/home/pi/Desktop/images/09042025/06/20/image_09042025_06_20_46_9365.jpg
/home/pi/Desktop/images/09042025/06/20/image_09042025_06_20_57_10435.jpg
/home/pi/Desktop/images/09042025/06/21/image_09042025_06_21_56_9352.jpg
/home/pi/Desktop/images/09042025/06/22/image_09042025_06_22_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":["1350686240","1350686237","1350686231","1350686236","1350686241","1350686238"],"photo_ids_order":["1350686231","1350686236","1350686237","1350686238","1350686240","1350686241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e93f24f9dbc4c62c081592f19ef28e52.jpg","text":"TemporaryFile(/tmp/multipartBody6628558891554518878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182872816,"filename":"image_09042025_06_21_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/4/9/166d6c48acf121ab6436710b83c1e324.jpg","text":"TemporaryFile(/tmp/multipartBody8189113523257785534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182872816,"filename":"image_09042025_06_20_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/4/9/89d0755d166c9fa1ccc1faaeeb925bbd.jpg","text":"TemporaryFile(/tmp/multipartBody1245590812356569067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182872816,"filename":"image_09042025_06_20_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30aebac274b2bab2344e50f9cd9755e0.jpg","text":"TemporaryFile(/tmp/multipartBody1711205103967564971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182872816,"filename":"image_09042025_06_20_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d3a0f294d8f3c0cd685b43bfbdf610b.jpg","text":"TemporaryFile(/tmp/multipartBody4488876229287387610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182872816,"filename":"image_09042025_06_22_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/4/9/034c373b01f40762546603a1d0f3b37c.jpg","text":"TemporaryFile(/tmp/multipartBody2654986627138628648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182872816,"filename":"image_09042025_06_20_57_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686237","file1":"1350686236","file0":"1350686231","file4":"1350686240","file5":"1350686241","file3":"1350686238"},"map_files_photo_id_array":[{"photo_id":"1350686241","filename":"file5"},{"photo_id":"1350686237","filename":"file2"},{"photo_id":"1350686240","filename":"file4"},{"photo_id":"1350686236","filename":"file1"},{"photo_id":"1350686231","filename":"file0"},{"photo_id":"1350686238","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686240":["hashtag1","hashtag2"]},{"1350686237":["hashtag1","hashtag2"]},{"1350686231":["hashtag1","hashtag2"]},{"1350686236":["hashtag1","hashtag2"]},{"1350686241":["hashtag1","hashtag2"]},{"1350686238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686240, 1350686237, 1350686231, 1350686236, 1350686241, 1350686238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.370256662368774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:14:32.549075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/22/image_09042025_06_22_37_10369.jpg', '/home/pi/Desktop/images/09042025/06/22/image_09042025_06_22_46_9349.jpg', '/home/pi/Desktop/images/09042025/06/23/image_09042025_06_23_16_9430.jpg', '/home/pi/Desktop/images/09042025/06/23/image_09042025_06_23_27_10368.jpg', '/home/pi/Desktop/images/09042025/06/23/image_09042025_06_23_36_9372.jpg', '/home/pi/Desktop/images/09042025/06/23/image_09042025_06_23_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/22/image_09042025_06_22_37_10369.jpg
/home/pi/Desktop/images/09042025/06/22/image_09042025_06_22_46_9349.jpg
/home/pi/Desktop/images/09042025/06/23/image_09042025_06_23_16_9430.jpg
/home/pi/Desktop/images/09042025/06/23/image_09042025_06_23_27_10368.jpg
/home/pi/Desktop/images/09042025/06/23/image_09042025_06_23_36_9372.jpg
/home/pi/Desktop/images/09042025/06/23/image_09042025_06_23_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":["1350686270","1350686267","1350686281","1350686284","1350686274","1350686277"],"photo_ids_order":["1350686267","1350686270","1350686274","1350686277","1350686281","1350686284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ff26066397d20c2402393fb94c997f1.jpg","text":"TemporaryFile(/tmp/multipartBody1863890037344709047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182933078,"filename":"image_09042025_06_22_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da587c7f42f1b1ab53a8a1f540a870c2.jpg","text":"TemporaryFile(/tmp/multipartBody4126927063889140141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182933078,"filename":"image_09042025_06_22_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1665627bb5068918d066c43cefd051d5.jpg","text":"TemporaryFile(/tmp/multipartBody156159563744500753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182933078,"filename":"image_09042025_06_23_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/4/9/e6aa1fdf2fdfad435f08e7b4ea524be8.jpg","text":"TemporaryFile(/tmp/multipartBody288729517059567797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182933078,"filename":"image_09042025_06_23_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/4/9/323e32b3271c9ee2f14ab10b951503ab.jpg","text":"TemporaryFile(/tmp/multipartBody5522604479691596829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182933078,"filename":"image_09042025_06_23_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/4/9/7e3de7fd4166dc7fbc038c013ff91f31.jpg","text":"TemporaryFile(/tmp/multipartBody701505779733454280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182933078,"filename":"image_09042025_06_23_27_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686274","file1":"1350686270","file0":"1350686267","file4":"1350686281","file5":"1350686284","file3":"1350686277"},"map_files_photo_id_array":[{"photo_id":"1350686284","filename":"file5"},{"photo_id":"1350686274","filename":"file2"},{"photo_id":"1350686281","filename":"file4"},{"photo_id":"1350686270","filename":"file1"},{"photo_id":"1350686267","filename":"file0"},{"photo_id":"1350686277","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686270":["hashtag1","hashtag2"]},{"1350686267":["hashtag1","hashtag2"]},{"1350686281":["hashtag1","hashtag2"]},{"1350686284":["hashtag1","hashtag2"]},{"1350686274":["hashtag1","hashtag2"]},{"1350686277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686270, 1350686267, 1350686281, 1350686284, 1350686274, 1350686277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.107658863067627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:15:32.650839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/24/image_09042025_06_24_17_10348.jpg', '/home/pi/Desktop/images/09042025/06/24/image_09042025_06_24_26_9486.jpg', '/home/pi/Desktop/images/09042025/06/24/image_09042025_06_24_36_10388.jpg', '/home/pi/Desktop/images/09042025/06/25/image_09042025_06_25_16_9350.jpg', '/home/pi/Desktop/images/09042025/06/25/image_09042025_06_25_37_10381.jpg', '/home/pi/Desktop/images/09042025/06/28/image_09042025_06_29_06_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/24/image_09042025_06_24_17_10348.jpg
/home/pi/Desktop/images/09042025/06/24/image_09042025_06_24_26_9486.jpg
/home/pi/Desktop/images/09042025/06/24/image_09042025_06_24_36_10388.jpg
/home/pi/Desktop/images/09042025/06/25/image_09042025_06_25_16_9350.jpg
/home/pi/Desktop/images/09042025/06/25/image_09042025_06_25_37_10381.jpg
/home/pi/Desktop/images/09042025/06/28/image_09042025_06_29_06_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":["1350686310","1350686313","1350686301","1350686309","1350686311","1350686298"],"photo_ids_order":["1350686298","1350686301","1350686309","1350686310","1350686311","1350686313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/540ede6a705bff208ee14195af6222e4.jpg","text":"TemporaryFile(/tmp/multipartBody527366194085348017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182993120,"filename":"image_09042025_06_25_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2172a91e856a3fbddb2e203cc8c2d654.jpg","text":"TemporaryFile(/tmp/multipartBody8424401989316527876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182993120,"filename":"image_09042025_06_29_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/4/9/76b26144d0be263f6777267507cd43d7.jpg","text":"TemporaryFile(/tmp/multipartBody6320538929219283160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182993120,"filename":"image_09042025_06_24_26_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9cb9c181ae9b55315664cf2221e0fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1047024786437350827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182993120,"filename":"image_09042025_06_24_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/4/9/db2d36493f3020a36c44c3bf5f8b9dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7493691475420891008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182993120,"filename":"image_09042025_06_25_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/4/9/c3efed4bcfb96cc3b4523bdb9cb3c8ad.jpg","text":"TemporaryFile(/tmp/multipartBody5521466623884751574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744182993120,"filename":"image_09042025_06_24_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686309","file1":"1350686301","file0":"1350686298","file4":"1350686311","file5":"1350686313","file3":"1350686310"},"map_files_photo_id_array":[{"photo_id":"1350686313","filename":"file5"},{"photo_id":"1350686309","filename":"file2"},{"photo_id":"1350686311","filename":"file4"},{"photo_id":"1350686301","filename":"file1"},{"photo_id":"1350686298","filename":"file0"},{"photo_id":"1350686310","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686310":["hashtag1","hashtag2"]},{"1350686313":["hashtag1","hashtag2"]},{"1350686301":["hashtag1","hashtag2"]},{"1350686309":["hashtag1","hashtag2"]},{"1350686311":["hashtag1","hashtag2"]},{"1350686298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686310, 1350686313, 1350686301, 1350686309, 1350686311, 1350686298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.80183267593384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:16:32.938094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/29/image_09042025_06_29_16_10370.jpg', '/home/pi/Desktop/images/09042025/06/29/image_09042025_06_29_27_10363.jpg', '/home/pi/Desktop/images/09042025/06/29/image_09042025_06_29_36_9428.jpg', '/home/pi/Desktop/images/09042025/06/30/image_09042025_06_30_17_10342.jpg', '/home/pi/Desktop/images/09042025/06/30/image_09042025_06_30_47_10360.jpg', '/home/pi/Desktop/images/09042025/06/30/image_09042025_06_31_07_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/29/image_09042025_06_29_16_10370.jpg
/home/pi/Desktop/images/09042025/06/29/image_09042025_06_29_27_10363.jpg
/home/pi/Desktop/images/09042025/06/29/image_09042025_06_29_36_9428.jpg
/home/pi/Desktop/images/09042025/06/30/image_09042025_06_30_17_10342.jpg
/home/pi/Desktop/images/09042025/06/30/image_09042025_06_30_47_10360.jpg
/home/pi/Desktop/images/09042025/06/30/image_09042025_06_31_07_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350686346","1350686409","1350686411","1350686395","1350686377","1350686344"],"photo_ids_order":["1350686344","1350686346","1350686377","1350686395","1350686409","1350686411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e43c6a72c40f45ac2487c43b2dde12ac.jpg","text":"TemporaryFile(/tmp/multipartBody4629823249144826244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183053393,"filename":"image_09042025_06_29_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/4/9/8758dabecfea93f817de0c6e9fb3bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody6061380989536883613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183053393,"filename":"image_09042025_06_30_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1818b85ded6f291c7521de9643bc2a87.jpg","text":"TemporaryFile(/tmp/multipartBody8118326897806902274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183053393,"filename":"image_09042025_06_31_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/4/9/f1466611d4ffe91b8cf713fc49b2502d.jpg","text":"TemporaryFile(/tmp/multipartBody5162101740952767306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183053393,"filename":"image_09042025_06_30_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/4/9/752063649f777531903e3ad2df2aa695.jpg","text":"TemporaryFile(/tmp/multipartBody4540084570551472792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183053393,"filename":"image_09042025_06_29_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/4/9/e8cad733faabe3b237fcd7e7c7a9a765.jpg","text":"TemporaryFile(/tmp/multipartBody4198459762949724489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183053393,"filename":"image_09042025_06_29_16_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686377","file1":"1350686346","file0":"1350686344","file4":"1350686409","file5":"1350686411","file3":"1350686395"},"map_files_photo_id_array":[{"photo_id":"1350686411","filename":"file5"},{"photo_id":"1350686377","filename":"file2"},{"photo_id":"1350686409","filename":"file4"},{"photo_id":"1350686346","filename":"file1"},{"photo_id":"1350686344","filename":"file0"},{"photo_id":"1350686395","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686346":["hashtag1","hashtag2"]},{"1350686409":["hashtag1","hashtag2"]},{"1350686411":["hashtag1","hashtag2"]},{"1350686395":["hashtag1","hashtag2"]},{"1350686377":["hashtag1","hashtag2"]},{"1350686344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686346, 1350686409, 1350686411, 1350686395, 1350686377, 1350686344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.059391260147095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:17:33.138887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/31/image_09042025_06_31_16_9441.jpg', '/home/pi/Desktop/images/09042025/06/31/image_09042025_06_31_27_10436.jpg', '/home/pi/Desktop/images/09042025/06/31/image_09042025_06_31_37_10368.jpg', '/home/pi/Desktop/images/09042025/06/31/image_09042025_06_31_57_10362.jpg', '/home/pi/Desktop/images/09042025/06/32/image_09042025_06_32_16_10420.jpg', '/home/pi/Desktop/images/09042025/06/32/image_09042025_06_32_36_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/31/image_09042025_06_31_16_9441.jpg
/home/pi/Desktop/images/09042025/06/31/image_09042025_06_31_27_10436.jpg
/home/pi/Desktop/images/09042025/06/31/image_09042025_06_31_37_10368.jpg
/home/pi/Desktop/images/09042025/06/31/image_09042025_06_31_57_10362.jpg
/home/pi/Desktop/images/09042025/06/32/image_09042025_06_32_16_10420.jpg
/home/pi/Desktop/images/09042025/06/32/image_09042025_06_32_36_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350686459","1350686461","1350686478","1350686466","1350686469","1350686463"],"photo_ids_order":["1350686459","1350686461","1350686463","1350686466","1350686469","1350686478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f67c28ec21c87cc3f309e1b6a8e9d205.jpg","text":"TemporaryFile(/tmp/multipartBody5249601711537425175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183113611,"filename":"image_09042025_06_31_16_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0931f0fcd5b532c8c95da32a3a1b8c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8181837857138894946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183113611,"filename":"image_09042025_06_31_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/4/9/f931b9db9f56c29f4a43745891e87b39.jpg","text":"TemporaryFile(/tmp/multipartBody7021101891813952166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183113611,"filename":"image_09042025_06_32_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/4/9/799790c46932c32b43f28257181124e8.jpg","text":"TemporaryFile(/tmp/multipartBody3399513597068956778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183113611,"filename":"image_09042025_06_31_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3c4c5d2a8a3910f6b2d01ce9b0875dd.jpg","text":"TemporaryFile(/tmp/multipartBody5671099763343043798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183113611,"filename":"image_09042025_06_32_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77263c4df211031da133e6a96175a532.jpg","text":"TemporaryFile(/tmp/multipartBody4120432540021720065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183113611,"filename":"image_09042025_06_31_37_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686463","file1":"1350686461","file0":"1350686459","file4":"1350686469","file5":"1350686478","file3":"1350686466"},"map_files_photo_id_array":[{"photo_id":"1350686478","filename":"file5"},{"photo_id":"1350686463","filename":"file2"},{"photo_id":"1350686469","filename":"file4"},{"photo_id":"1350686461","filename":"file1"},{"photo_id":"1350686459","filename":"file0"},{"photo_id":"1350686466","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686459":["hashtag1","hashtag2"]},{"1350686461":["hashtag1","hashtag2"]},{"1350686478":["hashtag1","hashtag2"]},{"1350686466":["hashtag1","hashtag2"]},{"1350686469":["hashtag1","hashtag2"]},{"1350686463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686459, 1350686461, 1350686478, 1350686466, 1350686469, 1350686463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.93349051475525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:18:32.445560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/32/image_09042025_06_32_47_10375.jpg', '/home/pi/Desktop/images/09042025/06/32/image_09042025_06_32_56_9418.jpg', '/home/pi/Desktop/images/09042025/06/32/image_09042025_06_33_06_10338.jpg', '/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_17_10360.jpg', '/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_26_9420.jpg', '/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_37_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/32/image_09042025_06_32_47_10375.jpg
/home/pi/Desktop/images/09042025/06/32/image_09042025_06_32_56_9418.jpg
/home/pi/Desktop/images/09042025/06/32/image_09042025_06_33_06_10338.jpg
/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_17_10360.jpg
/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_26_9420.jpg
/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_37_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":["1350686531","1350686540","1350686534","1350686528","1350686537","1350686542"],"photo_ids_order":["1350686528","1350686531","1350686534","1350686537","1350686540","1350686542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bdeb6e7ed33f61adf143d461ce36c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1752044857343166387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183172908,"filename":"image_09042025_06_32_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/4/9/e7c304af87e5342987308f82e89787d4.jpg","text":"TemporaryFile(/tmp/multipartBody2796220053855027627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183172908,"filename":"image_09042025_06_33_26_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4c7298ec6a2b723d2c271c133bc849b.jpg","text":"TemporaryFile(/tmp/multipartBody6106898405033706995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183172908,"filename":"image_09042025_06_33_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/4/9/5247bdf65be60566b8ce44c0954ebe08.jpg","text":"TemporaryFile(/tmp/multipartBody2419998779231316177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183172908,"filename":"image_09042025_06_32_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/4/9/7e35688852764519d375a9c6c3224d1f.jpg","text":"TemporaryFile(/tmp/multipartBody379272901829800764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183172908,"filename":"image_09042025_06_33_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79569d9f7cc5e2bef40d9d1aa9fc2ce4.jpg","text":"TemporaryFile(/tmp/multipartBody9114225479378207309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183172908,"filename":"image_09042025_06_33_37_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686534","file1":"1350686531","file0":"1350686528","file4":"1350686540","file5":"1350686542","file3":"1350686537"},"map_files_photo_id_array":[{"photo_id":"1350686542","filename":"file5"},{"photo_id":"1350686534","filename":"file2"},{"photo_id":"1350686540","filename":"file4"},{"photo_id":"1350686531","filename":"file1"},{"photo_id":"1350686528","filename":"file0"},{"photo_id":"1350686537","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686531":["hashtag1","hashtag2"]},{"1350686540":["hashtag1","hashtag2"]},{"1350686534":["hashtag1","hashtag2"]},{"1350686528":["hashtag1","hashtag2"]},{"1350686537":["hashtag1","hashtag2"]},{"1350686542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686531, 1350686540, 1350686534, 1350686528, 1350686537, 1350686542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.835033178329468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:19:32.599184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_47_10404.jpg', '/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_56_9346.jpg', '/home/pi/Desktop/images/09042025/06/33/image_09042025_06_34_07_10358.jpg', '/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_16_9456.jpg', '/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_27_10364.jpg', '/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_37_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_47_10404.jpg
/home/pi/Desktop/images/09042025/06/33/image_09042025_06_33_56_9346.jpg
/home/pi/Desktop/images/09042025/06/33/image_09042025_06_34_07_10358.jpg
/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_16_9456.jpg
/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_27_10364.jpg
/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_37_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350686582","1350686576","1350686579","1350686572","1350686566","1350686574"],"photo_ids_order":["1350686566","1350686572","1350686574","1350686576","1350686579","1350686582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/282c64836acd561d2414f702b4fb87fc.jpg","text":"TemporaryFile(/tmp/multipartBody7842118715974720174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183233070,"filename":"image_09042025_06_34_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/4/9/f7a55a8270f22ae413d1d2c3a4bfde74.jpg","text":"TemporaryFile(/tmp/multipartBody7777502468942140880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183233070,"filename":"image_09042025_06_34_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/4/9/1d11ca7db3c56d04436f27a19f426c79.jpg","text":"TemporaryFile(/tmp/multipartBody6193935504955353625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183233070,"filename":"image_09042025_06_34_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d950cf88183e95924b66ab8cb4cbb6a6.jpg","text":"TemporaryFile(/tmp/multipartBody722440290350351115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183233070,"filename":"image_09042025_06_33_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/4/9/3e9e0cc02ab0c79f2e83022dc64efb7a.jpg","text":"TemporaryFile(/tmp/multipartBody8152929511280151508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183233070,"filename":"image_09042025_06_33_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/4/9/ab9062fbb4d46677fe9a7b86561e57b3.jpg","text":"TemporaryFile(/tmp/multipartBody5919427396631184798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183233070,"filename":"image_09042025_06_34_07_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686574","file1":"1350686572","file0":"1350686566","file4":"1350686579","file5":"1350686582","file3":"1350686576"},"map_files_photo_id_array":[{"photo_id":"1350686582","filename":"file5"},{"photo_id":"1350686574","filename":"file2"},{"photo_id":"1350686579","filename":"file4"},{"photo_id":"1350686572","filename":"file1"},{"photo_id":"1350686566","filename":"file0"},{"photo_id":"1350686576","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686582":["hashtag1","hashtag2"]},{"1350686576":["hashtag1","hashtag2"]},{"1350686579":["hashtag1","hashtag2"]},{"1350686572":["hashtag1","hashtag2"]},{"1350686566":["hashtag1","hashtag2"]},{"1350686574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686582, 1350686576, 1350686579, 1350686572, 1350686566, 1350686574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.208794355392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:20:32.791030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_46_9376.jpg', '/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_57_10370.jpg', '/home/pi/Desktop/images/09042025/06/34/image_09042025_06_35_06_9435.jpg', '/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_17_10437.jpg', '/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_27_10363.jpg', '/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_36_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_46_9376.jpg
/home/pi/Desktop/images/09042025/06/34/image_09042025_06_34_57_10370.jpg
/home/pi/Desktop/images/09042025/06/34/image_09042025_06_35_06_9435.jpg
/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_17_10437.jpg
/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_27_10363.jpg
/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_36_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":["1350686604","1350686607","1350686630","1350686627","1350686615","1350686620"],"photo_ids_order":["1350686604","1350686607","1350686615","1350686620","1350686627","1350686630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea059181c04e0a1fc6ff9e309929c705.jpg","text":"TemporaryFile(/tmp/multipartBody7013579272767480248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183293275,"filename":"image_09042025_06_34_46_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7cf8868189d9637e8681c23492dc618e.jpg","text":"TemporaryFile(/tmp/multipartBody4752407842415217401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183293275,"filename":"image_09042025_06_34_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26a984b2c3c0a767c09ffabdae622a2b.jpg","text":"TemporaryFile(/tmp/multipartBody3757201073903664169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183293275,"filename":"image_09042025_06_35_36_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e70fefc480b1cdb536c3a32676165731.jpg","text":"TemporaryFile(/tmp/multipartBody1433338974255924720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183293275,"filename":"image_09042025_06_35_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/074ee555e01a39e90dd9aaa46b565ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4247255082424155255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183293275,"filename":"image_09042025_06_35_06_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b5734ca01ff3b2874f6188d5896bb35.jpg","text":"TemporaryFile(/tmp/multipartBody5782384112881935881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183293275,"filename":"image_09042025_06_35_17_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686615","file1":"1350686607","file0":"1350686604","file4":"1350686627","file5":"1350686630","file3":"1350686620"},"map_files_photo_id_array":[{"photo_id":"1350686630","filename":"file5"},{"photo_id":"1350686615","filename":"file2"},{"photo_id":"1350686627","filename":"file4"},{"photo_id":"1350686607","filename":"file1"},{"photo_id":"1350686604","filename":"file0"},{"photo_id":"1350686620","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686604":["hashtag1","hashtag2"]},{"1350686607":["hashtag1","hashtag2"]},{"1350686630":["hashtag1","hashtag2"]},{"1350686627":["hashtag1","hashtag2"]},{"1350686615":["hashtag1","hashtag2"]},{"1350686620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686604, 1350686607, 1350686630, 1350686627, 1350686615, 1350686620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.374500036239624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:21:32.990778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_47_10375.jpg', '/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_56_9481.jpg', '/home/pi/Desktop/images/09042025/06/35/image_09042025_06_36_06_10374.jpg', '/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_17_10340.jpg', '/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_26_9464.jpg', '/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_37_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_47_10375.jpg
/home/pi/Desktop/images/09042025/06/35/image_09042025_06_35_56_9481.jpg
/home/pi/Desktop/images/09042025/06/35/image_09042025_06_36_06_10374.jpg
/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_17_10340.jpg
/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_26_9464.jpg
/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_37_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350686672","1350686669","1350686684","1350686680","1350686664","1350686667"],"photo_ids_order":["1350686664","1350686667","1350686669","1350686672","1350686680","1350686684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c6df4335241f93073ee2c4eb2a7689b.jpg","text":"TemporaryFile(/tmp/multipartBody6188459554185299616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183353467,"filename":"image_09042025_06_36_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6fd003dc5e90c0f1cc1e8ff8ac8361ca.jpg","text":"TemporaryFile(/tmp/multipartBody4506902333053402118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183353467,"filename":"image_09042025_06_36_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e949f51c7dacc32fe0440c7abb34f73.jpg","text":"TemporaryFile(/tmp/multipartBody2331833265629032214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183353467,"filename":"image_09042025_06_36_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/4/9/8c5fb50ec64253a56203fa01b3cc0823.jpg","text":"TemporaryFile(/tmp/multipartBody4401411985601154888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183353467,"filename":"image_09042025_06_36_26_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ddefb9ecfc82b18692fda485175b926.jpg","text":"TemporaryFile(/tmp/multipartBody4350622369342388923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183353467,"filename":"image_09042025_06_35_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/4/9/f65af0b2cf976ed1e655529c033bc450.jpg","text":"TemporaryFile(/tmp/multipartBody66042671663743951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183353467,"filename":"image_09042025_06_35_56_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686669","file1":"1350686667","file0":"1350686664","file4":"1350686680","file5":"1350686684","file3":"1350686672"},"map_files_photo_id_array":[{"photo_id":"1350686684","filename":"file5"},{"photo_id":"1350686669","filename":"file2"},{"photo_id":"1350686680","filename":"file4"},{"photo_id":"1350686667","filename":"file1"},{"photo_id":"1350686664","filename":"file0"},{"photo_id":"1350686672","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686672":["hashtag1","hashtag2"]},{"1350686669":["hashtag1","hashtag2"]},{"1350686684":["hashtag1","hashtag2"]},{"1350686680":["hashtag1","hashtag2"]},{"1350686664":["hashtag1","hashtag2"]},{"1350686667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686672, 1350686669, 1350686684, 1350686680, 1350686664, 1350686667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.468242406845093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:22:32.212735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_46_9446.jpg', '/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_57_10420.jpg', '/home/pi/Desktop/images/09042025/06/36/image_09042025_06_37_07_10364.jpg', '/home/pi/Desktop/images/09042025/06/37/image_09042025_06_37_16_9338.jpg', '/home/pi/Desktop/images/09042025/06/37/image_09042025_06_37_37_10438.jpg', '/home/pi/Desktop/images/09042025/06/37/image_09042025_06_37_46_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_46_9446.jpg
/home/pi/Desktop/images/09042025/06/36/image_09042025_06_36_57_10420.jpg
/home/pi/Desktop/images/09042025/06/36/image_09042025_06_37_07_10364.jpg
/home/pi/Desktop/images/09042025/06/37/image_09042025_06_37_16_9338.jpg
/home/pi/Desktop/images/09042025/06/37/image_09042025_06_37_37_10438.jpg
/home/pi/Desktop/images/09042025/06/37/image_09042025_06_37_46_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":["1350686732","1350686740","1350686743","1350686737","1350686725","1350686745"],"photo_ids_order":["1350686725","1350686732","1350686737","1350686740","1350686743","1350686745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69ae2d5106101507df585b106b0fda20.jpg","text":"TemporaryFile(/tmp/multipartBody3920810112491879632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183412666,"filename":"image_09042025_06_36_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d5dba7b624e1c3c12bc2d02562cd229e.jpg","text":"TemporaryFile(/tmp/multipartBody3354846007407288611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183412666,"filename":"image_09042025_06_37_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf39814c75fe5af2a10fcec586b3fef2.jpg","text":"TemporaryFile(/tmp/multipartBody4270458700932693030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183412666,"filename":"image_09042025_06_37_37_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/182c9881f1d59ed74b0a2d75705e0000.jpg","text":"TemporaryFile(/tmp/multipartBody1544577247288172227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183412666,"filename":"image_09042025_06_37_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/4/9/9979dbc5d796a2bfb269af93d81c7db1.jpg","text":"TemporaryFile(/tmp/multipartBody1049452150570793002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183412666,"filename":"image_09042025_06_36_46_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77157b46508e3cf575111b093db8b75a.jpg","text":"TemporaryFile(/tmp/multipartBody8533188104597523483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183412666,"filename":"image_09042025_06_37_46_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686737","file1":"1350686732","file0":"1350686725","file4":"1350686743","file5":"1350686745","file3":"1350686740"},"map_files_photo_id_array":[{"photo_id":"1350686745","filename":"file5"},{"photo_id":"1350686737","filename":"file2"},{"photo_id":"1350686743","filename":"file4"},{"photo_id":"1350686732","filename":"file1"},{"photo_id":"1350686725","filename":"file0"},{"photo_id":"1350686740","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686732":["hashtag1","hashtag2"]},{"1350686740":["hashtag1","hashtag2"]},{"1350686743":["hashtag1","hashtag2"]},{"1350686737":["hashtag1","hashtag2"]},{"1350686725":["hashtag1","hashtag2"]},{"1350686745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686732, 1350686740, 1350686743, 1350686737, 1350686725, 1350686745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.619171380996704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:23:32.613174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/37/image_09042025_06_37_57_10391.jpg', '/home/pi/Desktop/images/09042025/06/37/image_09042025_06_38_06_9444.jpg', '/home/pi/Desktop/images/09042025/06/38/image_09042025_06_38_26_9460.jpg', '/home/pi/Desktop/images/09042025/06/38/image_09042025_06_38_36_10370.jpg', '/home/pi/Desktop/images/09042025/06/38/image_09042025_06_38_47_10548.jpg', '/home/pi/Desktop/images/09042025/06/38/image_09042025_06_38_56_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/37/image_09042025_06_37_57_10391.jpg
/home/pi/Desktop/images/09042025/06/37/image_09042025_06_38_06_9444.jpg
/home/pi/Desktop/images/09042025/06/38/image_09042025_06_38_26_9460.jpg
/home/pi/Desktop/images/09042025/06/38/image_09042025_06_38_36_10370.jpg
/home/pi/Desktop/images/09042025/06/38/image_09042025_06_38_47_10548.jpg
/home/pi/Desktop/images/09042025/06/38/image_09042025_06_38_56_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350686915","1350686912","1350686908","1350686923","1350686919","1350686910"],"photo_ids_order":["1350686908","1350686910","1350686912","1350686915","1350686919","1350686923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7bb4582aceba37c5430ed141ba0355ce.jpg","text":"TemporaryFile(/tmp/multipartBody7615114808739339511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183473072,"filename":"image_09042025_06_38_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/4/9/c9d2bbc91e8d3ad56ecc1d56d85cf95f.jpg","text":"TemporaryFile(/tmp/multipartBody2933954252581396281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183473072,"filename":"image_09042025_06_38_26_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc477783a25c2e09ffe363b3e9ee692d.jpg","text":"TemporaryFile(/tmp/multipartBody7168807839614218661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183473072,"filename":"image_09042025_06_37_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/4/9/41439c0605ba14c031f6b7804240308a.jpg","text":"TemporaryFile(/tmp/multipartBody3740773286886068433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183473072,"filename":"image_09042025_06_38_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/4/9/e3a29fd3f6614c1565ce4a8f0132dae1.jpg","text":"TemporaryFile(/tmp/multipartBody9184855662744290199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183473072,"filename":"image_09042025_06_38_47_10548.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b8679f49ebd289474662a7b5c4ff88d.jpg","text":"TemporaryFile(/tmp/multipartBody1956039372450217915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183473072,"filename":"image_09042025_06_38_06_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686912","file1":"1350686910","file0":"1350686908","file4":"1350686919","file5":"1350686923","file3":"1350686915"},"map_files_photo_id_array":[{"photo_id":"1350686923","filename":"file5"},{"photo_id":"1350686912","filename":"file2"},{"photo_id":"1350686919","filename":"file4"},{"photo_id":"1350686910","filename":"file1"},{"photo_id":"1350686908","filename":"file0"},{"photo_id":"1350686915","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686915":["hashtag1","hashtag2"]},{"1350686912":["hashtag1","hashtag2"]},{"1350686908":["hashtag1","hashtag2"]},{"1350686923":["hashtag1","hashtag2"]},{"1350686919":["hashtag1","hashtag2"]},{"1350686910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686915, 1350686912, 1350686908, 1350686923, 1350686919, 1350686910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.810556888580322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:24:32.791859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/38/image_09042025_06_39_07_10514.jpg', '/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_16_9423.jpg', '/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_27_10382.jpg', '/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_36_9479.jpg', '/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_47_10371.jpg', '/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_57_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/38/image_09042025_06_39_07_10514.jpg
/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_16_9423.jpg
/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_27_10382.jpg
/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_36_9479.jpg
/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_47_10371.jpg
/home/pi/Desktop/images/09042025/06/39/image_09042025_06_39_57_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":["1350686939","1350686962","1350686956","1350686941","1350686949","1350686946"],"photo_ids_order":["1350686939","1350686941","1350686946","1350686949","1350686956","1350686962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8363e6cecc62d9cc5e0c1a1e2f4f497f.jpg","text":"TemporaryFile(/tmp/multipartBody4480170981310968736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183533268,"filename":"image_09042025_06_39_07_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eac61ca0df65d3178e22f19c6c3d746b.jpg","text":"TemporaryFile(/tmp/multipartBody3232536116328007832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183533268,"filename":"image_09042025_06_39_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/4/9/1e0efccd0123e74461d052cbfaff820b.jpg","text":"TemporaryFile(/tmp/multipartBody6299068742084922697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183533268,"filename":"image_09042025_06_39_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a1fb386b6fab660e52674d140288137.jpg","text":"TemporaryFile(/tmp/multipartBody7402359101404788823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183533268,"filename":"image_09042025_06_39_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/4/9/94d8b459010aac024b0976003d37a8c4.jpg","text":"TemporaryFile(/tmp/multipartBody4762216848543820570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183533268,"filename":"image_09042025_06_39_36_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c36eb888c6fc3dfb784ef22f3cb12edd.jpg","text":"TemporaryFile(/tmp/multipartBody6379301046657672229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183533268,"filename":"image_09042025_06_39_27_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686946","file1":"1350686941","file0":"1350686939","file4":"1350686956","file5":"1350686962","file3":"1350686949"},"map_files_photo_id_array":[{"photo_id":"1350686962","filename":"file5"},{"photo_id":"1350686946","filename":"file2"},{"photo_id":"1350686956","filename":"file4"},{"photo_id":"1350686941","filename":"file1"},{"photo_id":"1350686939","filename":"file0"},{"photo_id":"1350686949","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686939":["hashtag1","hashtag2"]},{"1350686962":["hashtag1","hashtag2"]},{"1350686956":["hashtag1","hashtag2"]},{"1350686941":["hashtag1","hashtag2"]},{"1350686949":["hashtag1","hashtag2"]},{"1350686946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686939, 1350686962, 1350686956, 1350686941, 1350686949, 1350686946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34600210189819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:25:33.019531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/39/image_09042025_06_40_06_9415.jpg', '/home/pi/Desktop/images/09042025/06/40/image_09042025_06_40_17_10398.jpg', '/home/pi/Desktop/images/09042025/06/40/image_09042025_06_40_26_9451.jpg', '/home/pi/Desktop/images/09042025/06/40/image_09042025_06_40_37_10453.jpg', '/home/pi/Desktop/images/09042025/06/40/image_09042025_06_40_57_10415.jpg', '/home/pi/Desktop/images/09042025/06/40/image_09042025_06_41_07_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/39/image_09042025_06_40_06_9415.jpg
/home/pi/Desktop/images/09042025/06/40/image_09042025_06_40_17_10398.jpg
/home/pi/Desktop/images/09042025/06/40/image_09042025_06_40_26_9451.jpg
/home/pi/Desktop/images/09042025/06/40/image_09042025_06_40_37_10453.jpg
/home/pi/Desktop/images/09042025/06/40/image_09042025_06_40_57_10415.jpg
/home/pi/Desktop/images/09042025/06/40/image_09042025_06_41_07_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":["1350686981","1350686992","1350686995","1350686989","1350686983","1350686986"],"photo_ids_order":["1350686981","1350686983","1350686986","1350686989","1350686992","1350686995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bda89908d79ece129773d1ab6e5b3457.jpg","text":"TemporaryFile(/tmp/multipartBody3749356575048550026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183593500,"filename":"image_09042025_06_40_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/4/9/9a5287e320c20eb916ee6ea44956a995.jpg","text":"TemporaryFile(/tmp/multipartBody8750138742847851438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183593500,"filename":"image_09042025_06_40_57_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a186ba412f6f9311771083e42ba98f8.jpg","text":"TemporaryFile(/tmp/multipartBody2273737791225392275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183593500,"filename":"image_09042025_06_41_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/4/9/40669b69e5f0903d8451452807230b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6313841435832254375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183593500,"filename":"image_09042025_06_40_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af64fb2932ad080db3b3ff0b2b27ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody1810492702297353440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183593500,"filename":"image_09042025_06_40_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/4/9/46a390c109b3767997e6cef51e7cd729.jpg","text":"TemporaryFile(/tmp/multipartBody20074441583238454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183593500,"filename":"image_09042025_06_40_26_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350686986","file1":"1350686983","file0":"1350686981","file4":"1350686992","file5":"1350686995","file3":"1350686989"},"map_files_photo_id_array":[{"photo_id":"1350686995","filename":"file5"},{"photo_id":"1350686986","filename":"file2"},{"photo_id":"1350686992","filename":"file4"},{"photo_id":"1350686983","filename":"file1"},{"photo_id":"1350686981","filename":"file0"},{"photo_id":"1350686989","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350686981":["hashtag1","hashtag2"]},{"1350686992":["hashtag1","hashtag2"]},{"1350686995":["hashtag1","hashtag2"]},{"1350686989":["hashtag1","hashtag2"]},{"1350686983":["hashtag1","hashtag2"]},{"1350686986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350686981, 1350686992, 1350686995, 1350686989, 1350686983, 1350686986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.046371459960938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:26:33.074130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/41/image_09042025_06_41_16_9410.jpg', '/home/pi/Desktop/images/09042025/06/42/image_09042025_06_42_17_10348.jpg', '/home/pi/Desktop/images/09042025/06/42/image_09042025_06_42_47_10354.jpg', '/home/pi/Desktop/images/09042025/06/42/image_09042025_06_42_56_9353.jpg', '/home/pi/Desktop/images/09042025/06/42/image_09042025_06_43_07_10366.jpg', '/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_17_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/41/image_09042025_06_41_16_9410.jpg
/home/pi/Desktop/images/09042025/06/42/image_09042025_06_42_17_10348.jpg
/home/pi/Desktop/images/09042025/06/42/image_09042025_06_42_47_10354.jpg
/home/pi/Desktop/images/09042025/06/42/image_09042025_06_42_56_9353.jpg
/home/pi/Desktop/images/09042025/06/42/image_09042025_06_43_07_10366.jpg
/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_17_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":["1350687031","1350687025","1350687034","1350687021","1350687039","1350687027"],"photo_ids_order":["1350687021","1350687025","1350687027","1350687031","1350687034","1350687039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e18123d343f74a5e3abadf8f34cbe06.jpg","text":"TemporaryFile(/tmp/multipartBody59826808867592681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183653546,"filename":"image_09042025_06_42_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/4/9/35aeed1a1b7dee901b1e5675bdad811c.jpg","text":"TemporaryFile(/tmp/multipartBody7940993764638223033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183653546,"filename":"image_09042025_06_42_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/4/9/2cacf1fd1b524495c76d415e2d7b4cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3975176967743313264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183653546,"filename":"image_09042025_06_43_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/4/9/ae632adec86658c0035c307d6222b411.jpg","text":"TemporaryFile(/tmp/multipartBody3326588043563570364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183653546,"filename":"image_09042025_06_41_16_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc2343e348d2c406dcba7c7b56d20a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8797004797113298919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183653546,"filename":"image_09042025_06_43_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/4/9/61579f2192346bc74b0618039c853747.jpg","text":"TemporaryFile(/tmp/multipartBody2863262144730160623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183653546,"filename":"image_09042025_06_42_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687027","file1":"1350687025","file0":"1350687021","file4":"1350687034","file5":"1350687039","file3":"1350687031"},"map_files_photo_id_array":[{"photo_id":"1350687039","filename":"file5"},{"photo_id":"1350687027","filename":"file2"},{"photo_id":"1350687034","filename":"file4"},{"photo_id":"1350687025","filename":"file1"},{"photo_id":"1350687021","filename":"file0"},{"photo_id":"1350687031","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687031":["hashtag1","hashtag2"]},{"1350687025":["hashtag1","hashtag2"]},{"1350687034":["hashtag1","hashtag2"]},{"1350687021":["hashtag1","hashtag2"]},{"1350687039":["hashtag1","hashtag2"]},{"1350687027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687031, 1350687025, 1350687034, 1350687021, 1350687039, 1350687027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.004894495010376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:27:32.461812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_26_9415.jpg', '/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_37_10386.jpg', '/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_46_9399.jpg', '/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_56_10356.jpg', '/home/pi/Desktop/images/09042025/06/43/image_09042025_06_44_07_10364.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_16_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_26_9415.jpg
/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_37_10386.jpg
/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_46_9399.jpg
/home/pi/Desktop/images/09042025/06/43/image_09042025_06_43_56_10356.jpg
/home/pi/Desktop/images/09042025/06/43/image_09042025_06_44_07_10364.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_16_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":["1350687080","1350687074","1350687072","1350687069","1350687083","1350687077"],"photo_ids_order":["1350687069","1350687072","1350687074","1350687077","1350687080","1350687083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73c01211158625c7cc17e9ffa4a01ef1.jpg","text":"TemporaryFile(/tmp/multipartBody575847934571677641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183712918,"filename":"image_09042025_06_44_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/4/9/deb9180abebb5aaba34854ab69ea0105.jpg","text":"TemporaryFile(/tmp/multipartBody3846701961960093493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183712918,"filename":"image_09042025_06_43_46_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2233ef090d287532abef36ac9f6100dd.jpg","text":"TemporaryFile(/tmp/multipartBody6106467157080544446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183712918,"filename":"image_09042025_06_43_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/4/9/2f843a4f5af459d0bc49e01f86ea4211.jpg","text":"TemporaryFile(/tmp/multipartBody2131184451096620161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183712918,"filename":"image_09042025_06_43_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/4/9/9a6a2ad395081317ad3b03baf5689871.jpg","text":"TemporaryFile(/tmp/multipartBody3744713588856071898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183712918,"filename":"image_09042025_06_44_16_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db6cee7942018f546c13ce540b57e939.jpg","text":"TemporaryFile(/tmp/multipartBody8482158314924886706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183712918,"filename":"image_09042025_06_43_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687074","file1":"1350687072","file0":"1350687069","file4":"1350687080","file5":"1350687083","file3":"1350687077"},"map_files_photo_id_array":[{"photo_id":"1350687083","filename":"file5"},{"photo_id":"1350687074","filename":"file2"},{"photo_id":"1350687080","filename":"file4"},{"photo_id":"1350687072","filename":"file1"},{"photo_id":"1350687069","filename":"file0"},{"photo_id":"1350687077","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687080":["hashtag1","hashtag2"]},{"1350687074":["hashtag1","hashtag2"]},{"1350687072":["hashtag1","hashtag2"]},{"1350687069":["hashtag1","hashtag2"]},{"1350687083":["hashtag1","hashtag2"]},{"1350687077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687080, 1350687074, 1350687072, 1350687069, 1350687083, 1350687077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.846404552459717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:28:32.731515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_27_10411.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_37_10397.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_46_9351.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_57_10451.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_45_06_9404.jpg', '/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_17_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_27_10411.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_37_10397.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_46_9351.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_57_10451.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_45_06_9404.jpg
/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_17_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3857533931732178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 09:28:42.740720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_27_10411.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_37_10397.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_46_9351.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_57_10451.jpg', '/home/pi/Desktop/images/09042025/06/44/image_09042025_06_45_06_9404.jpg', '/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_17_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_27_10411.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_37_10397.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_46_9351.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_44_57_10451.jpg
/home/pi/Desktop/images/09042025/06/44/image_09042025_06_45_06_9404.jpg
/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_17_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350687128","1350687124","1350687118","1350687127","1350687121","1350687129"],"photo_ids_order":["1350687118","1350687121","1350687124","1350687127","1350687128","1350687129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdd271faab39f5ed1e28a98797700c5f.jpg","text":"TemporaryFile(/tmp/multipartBody6042177861101754393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183783189,"filename":"image_09042025_06_45_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/4/9/04b2b1ee94548bed3b16a8548e4a41bd.jpg","text":"TemporaryFile(/tmp/multipartBody6600692583831138748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183783189,"filename":"image_09042025_06_44_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/4/9/169ae5725cef02934d40e4cd6ae90d05.jpg","text":"TemporaryFile(/tmp/multipartBody5071803959224915250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183783189,"filename":"image_09042025_06_44_27_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f16c2701a1c1facc6abad7eebb27b287.jpg","text":"TemporaryFile(/tmp/multipartBody5529747830743766189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183783189,"filename":"image_09042025_06_44_57_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b24b3628c056b399279eda1836b81107.jpg","text":"TemporaryFile(/tmp/multipartBody3592355577240350950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183783189,"filename":"image_09042025_06_44_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/4/9/8f1e75644320051e0c2cb3d1ac9a35ad.jpg","text":"TemporaryFile(/tmp/multipartBody3914014510101641866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183783189,"filename":"image_09042025_06_45_17_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687124","file1":"1350687121","file0":"1350687118","file4":"1350687128","file5":"1350687129","file3":"1350687127"},"map_files_photo_id_array":[{"photo_id":"1350687129","filename":"file5"},{"photo_id":"1350687124","filename":"file2"},{"photo_id":"1350687128","filename":"file4"},{"photo_id":"1350687121","filename":"file1"},{"photo_id":"1350687118","filename":"file0"},{"photo_id":"1350687127","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687128":["hashtag1","hashtag2"]},{"1350687124":["hashtag1","hashtag2"]},{"1350687118":["hashtag1","hashtag2"]},{"1350687127":["hashtag1","hashtag2"]},{"1350687121":["hashtag1","hashtag2"]},{"1350687129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687128, 1350687124, 1350687118, 1350687127, 1350687121, 1350687129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.669235229492188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:29:33.005009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_26_9470.jpg', '/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_36_10362.jpg', '/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_47_10429.jpg', '/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_56_9357.jpg', '/home/pi/Desktop/images/09042025/06/45/image_09042025_06_46_07_10394.jpg', '/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_17_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_26_9470.jpg
/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_36_10362.jpg
/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_47_10429.jpg
/home/pi/Desktop/images/09042025/06/45/image_09042025_06_45_56_9357.jpg
/home/pi/Desktop/images/09042025/06/45/image_09042025_06_46_07_10394.jpg
/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_17_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":["1350687170","1350687146","1350687172","1350687160","1350687148","1350687150"],"photo_ids_order":["1350687146","1350687148","1350687150","1350687160","1350687170","1350687172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ce2bdc60a40f9ced6ada22ea629efaf.jpg","text":"TemporaryFile(/tmp/multipartBody3534435837374400020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183833492,"filename":"image_09042025_06_46_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/4/9/76c001e37ca7828bce11fedc5b283bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7423223936419503602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183833492,"filename":"image_09042025_06_45_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/4/9/f4866f38e8ccb75440a2067bb514af59.jpg","text":"TemporaryFile(/tmp/multipartBody8555166281995320950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183833492,"filename":"image_09042025_06_46_17_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/acddda4773362dec823fa700815f598c.jpg","text":"TemporaryFile(/tmp/multipartBody4645413474249016194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183833492,"filename":"image_09042025_06_45_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c7c73a0b61e45feb2759b5a3fae04896.jpg","text":"TemporaryFile(/tmp/multipartBody6149881630872779604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183833492,"filename":"image_09042025_06_45_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/4/9/f5c7d08b35a654899af7f63fdd7469d6.jpg","text":"TemporaryFile(/tmp/multipartBody8800943940816168342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183833492,"filename":"image_09042025_06_45_47_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687150","file1":"1350687148","file0":"1350687146","file4":"1350687170","file5":"1350687172","file3":"1350687160"},"map_files_photo_id_array":[{"photo_id":"1350687172","filename":"file5"},{"photo_id":"1350687150","filename":"file2"},{"photo_id":"1350687170","filename":"file4"},{"photo_id":"1350687148","filename":"file1"},{"photo_id":"1350687146","filename":"file0"},{"photo_id":"1350687160","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687170":["hashtag1","hashtag2"]},{"1350687146":["hashtag1","hashtag2"]},{"1350687172":["hashtag1","hashtag2"]},{"1350687160":["hashtag1","hashtag2"]},{"1350687148":["hashtag1","hashtag2"]},{"1350687150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687170, 1350687146, 1350687172, 1350687160, 1350687148, 1350687150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.846586227416992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:30:33.047757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_26_9364.jpg', '/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_37_10392.jpg', '/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_46_9364.jpg', '/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_57_10413.jpg', '/home/pi/Desktop/images/09042025/06/46/image_09042025_06_47_06_9493.jpg', '/home/pi/Desktop/images/09042025/06/47/image_09042025_06_47_17_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_26_9364.jpg
/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_37_10392.jpg
/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_46_9364.jpg
/home/pi/Desktop/images/09042025/06/46/image_09042025_06_46_57_10413.jpg
/home/pi/Desktop/images/09042025/06/46/image_09042025_06_47_06_9493.jpg
/home/pi/Desktop/images/09042025/06/47/image_09042025_06_47_17_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350687230","1350687224","1350687187","1350687226","1350687228","1350687222"],"photo_ids_order":["1350687187","1350687222","1350687224","1350687226","1350687228","1350687230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85efc543f97b92445ac32ce86e7dc62c.jpg","text":"TemporaryFile(/tmp/multipartBody5081408341628582207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183893511,"filename":"image_09042025_06_47_17_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d08baa420b827a30d4a186592d27a21f.jpg","text":"TemporaryFile(/tmp/multipartBody5138245926802433831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183893511,"filename":"image_09042025_06_46_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff835c37e346650a7e783dd3dfd5cb74.jpg","text":"TemporaryFile(/tmp/multipartBody2472976771916840064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183893511,"filename":"image_09042025_06_46_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/4/9/6935d09767cf2e35fb2df549ba946893.jpg","text":"TemporaryFile(/tmp/multipartBody9219698384908843815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183893511,"filename":"image_09042025_06_46_57_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/16d1010631af784d7729590f9f22f26b.jpg","text":"TemporaryFile(/tmp/multipartBody2265702346588473056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183893511,"filename":"image_09042025_06_47_06_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96e729df02ffa78e8e9540ed8ab3b3ae.jpg","text":"TemporaryFile(/tmp/multipartBody7208472604605841150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183893511,"filename":"image_09042025_06_46_37_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687224","file1":"1350687222","file0":"1350687187","file4":"1350687228","file5":"1350687230","file3":"1350687226"},"map_files_photo_id_array":[{"photo_id":"1350687230","filename":"file5"},{"photo_id":"1350687224","filename":"file2"},{"photo_id":"1350687228","filename":"file4"},{"photo_id":"1350687222","filename":"file1"},{"photo_id":"1350687187","filename":"file0"},{"photo_id":"1350687226","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687230":["hashtag1","hashtag2"]},{"1350687224":["hashtag1","hashtag2"]},{"1350687187":["hashtag1","hashtag2"]},{"1350687226":["hashtag1","hashtag2"]},{"1350687228":["hashtag1","hashtag2"]},{"1350687222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687230, 1350687224, 1350687187, 1350687226, 1350687228, 1350687222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.59424591064453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:31:32.306711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/47/image_09042025_06_47_27_10356.jpg', '/home/pi/Desktop/images/09042025/06/47/image_09042025_06_47_36_9419.jpg', '/home/pi/Desktop/images/09042025/06/47/image_09042025_06_47_47_10374.jpg', '/home/pi/Desktop/images/09042025/06/47/image_09042025_06_48_06_10331.jpg', '/home/pi/Desktop/images/09042025/06/48/image_09042025_06_48_17_10359.jpg', '/home/pi/Desktop/images/09042025/06/48/image_09042025_06_48_26_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/47/image_09042025_06_47_27_10356.jpg
/home/pi/Desktop/images/09042025/06/47/image_09042025_06_47_36_9419.jpg
/home/pi/Desktop/images/09042025/06/47/image_09042025_06_47_47_10374.jpg
/home/pi/Desktop/images/09042025/06/47/image_09042025_06_48_06_10331.jpg
/home/pi/Desktop/images/09042025/06/48/image_09042025_06_48_17_10359.jpg
/home/pi/Desktop/images/09042025/06/48/image_09042025_06_48_26_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350687298","1350687286","1350687271","1350687273","1350687303","1350687296"],"photo_ids_order":["1350687271","1350687273","1350687286","1350687296","1350687298","1350687303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f1ed6c912c7e1b63231573f344444f5.jpg","text":"TemporaryFile(/tmp/multipartBody5799440178233744281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183952761,"filename":"image_09042025_06_48_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/4/9/4cf5f880655763b566a68e5439345c85.jpg","text":"TemporaryFile(/tmp/multipartBody1349971781562999154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183952761,"filename":"image_09042025_06_47_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/4/9/d8292d7a7ef58e9288f0dbb0969dcd6a.jpg","text":"TemporaryFile(/tmp/multipartBody7614247854263603711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183952761,"filename":"image_09042025_06_47_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/4/9/2aac699f4962652967927dd031afecd8.jpg","text":"TemporaryFile(/tmp/multipartBody3062681501922008862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183952761,"filename":"image_09042025_06_47_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/4/9/0a323390c6907abbb9a0a1a9c51c708a.jpg","text":"TemporaryFile(/tmp/multipartBody3825947265715156391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183952761,"filename":"image_09042025_06_48_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf9d8cf3c1af2b8e9240e9bb9d32090f.jpg","text":"TemporaryFile(/tmp/multipartBody3513912385848595095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744183952761,"filename":"image_09042025_06_48_06_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687286","file1":"1350687273","file0":"1350687271","file4":"1350687298","file5":"1350687303","file3":"1350687296"},"map_files_photo_id_array":[{"photo_id":"1350687303","filename":"file5"},{"photo_id":"1350687286","filename":"file2"},{"photo_id":"1350687298","filename":"file4"},{"photo_id":"1350687273","filename":"file1"},{"photo_id":"1350687271","filename":"file0"},{"photo_id":"1350687296","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687298":["hashtag1","hashtag2"]},{"1350687286":["hashtag1","hashtag2"]},{"1350687271":["hashtag1","hashtag2"]},{"1350687273":["hashtag1","hashtag2"]},{"1350687303":["hashtag1","hashtag2"]},{"1350687296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687298, 1350687286, 1350687271, 1350687273, 1350687303, 1350687296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.49760389328003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:32:32.517281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/48/image_09042025_06_48_47_10365.jpg', '/home/pi/Desktop/images/09042025/06/48/image_09042025_06_48_56_9347.jpg', '/home/pi/Desktop/images/09042025/06/48/image_09042025_06_49_07_10349.jpg', '/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_16_9518.jpg', '/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_26_10432.jpg', '/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_37_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/48/image_09042025_06_48_47_10365.jpg
/home/pi/Desktop/images/09042025/06/48/image_09042025_06_48_56_9347.jpg
/home/pi/Desktop/images/09042025/06/48/image_09042025_06_49_07_10349.jpg
/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_16_9518.jpg
/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_26_10432.jpg
/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_37_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":["1350687530","1350687446","1350687512","1350687520","1350687502","1350687444"],"photo_ids_order":["1350687444","1350687446","1350687502","1350687512","1350687520","1350687530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99893c04c63df15f387a3184b00778fc.jpg","text":"TemporaryFile(/tmp/multipartBody1615389724523732271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184012967,"filename":"image_09042025_06_49_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/4/9/24a02d12c90ce02269af4030f13067c4.jpg","text":"TemporaryFile(/tmp/multipartBody6661558709129058469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184012967,"filename":"image_09042025_06_48_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/4/9/e042352acfeaed469e0d9f34800dd8ff.jpg","text":"TemporaryFile(/tmp/multipartBody9187218317462588212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184012967,"filename":"image_09042025_06_49_16_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6a1c50a1874e9596a241981ec45675f.jpg","text":"TemporaryFile(/tmp/multipartBody2527533148193833845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184012967,"filename":"image_09042025_06_49_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b40255d92467c7832897296b2c3abb4f.jpg","text":"TemporaryFile(/tmp/multipartBody35388811259112215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184012967,"filename":"image_09042025_06_49_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/4/9/2f2e179d8ea1bb11e1b20b2c6c65072a.jpg","text":"TemporaryFile(/tmp/multipartBody4093641188512004635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184012967,"filename":"image_09042025_06_48_47_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687502","file1":"1350687446","file0":"1350687444","file4":"1350687520","file5":"1350687530","file3":"1350687512"},"map_files_photo_id_array":[{"photo_id":"1350687530","filename":"file5"},{"photo_id":"1350687502","filename":"file2"},{"photo_id":"1350687520","filename":"file4"},{"photo_id":"1350687446","filename":"file1"},{"photo_id":"1350687444","filename":"file0"},{"photo_id":"1350687512","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687530":["hashtag1","hashtag2"]},{"1350687446":["hashtag1","hashtag2"]},{"1350687512":["hashtag1","hashtag2"]},{"1350687520":["hashtag1","hashtag2"]},{"1350687502":["hashtag1","hashtag2"]},{"1350687444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687530, 1350687446, 1350687512, 1350687520, 1350687502, 1350687444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2958619594574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:33:32.740327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_46_9391.jpg', '/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_57_10363.jpg', '/home/pi/Desktop/images/09042025/06/49/image_09042025_06_50_06_9524.jpg', '/home/pi/Desktop/images/09042025/06/50/image_09042025_06_50_56_9444.jpg', '/home/pi/Desktop/images/09042025/06/50/image_09042025_06_51_07_10356.jpg', '/home/pi/Desktop/images/09042025/06/51/image_09042025_06_51_16_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_46_9391.jpg
/home/pi/Desktop/images/09042025/06/49/image_09042025_06_49_57_10363.jpg
/home/pi/Desktop/images/09042025/06/49/image_09042025_06_50_06_9524.jpg
/home/pi/Desktop/images/09042025/06/50/image_09042025_06_50_56_9444.jpg
/home/pi/Desktop/images/09042025/06/50/image_09042025_06_51_07_10356.jpg
/home/pi/Desktop/images/09042025/06/51/image_09042025_06_51_16_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":["1350687581","1350687575","1350687578","1350687597","1350687584","1350687572"],"photo_ids_order":["1350687572","1350687575","1350687578","1350687581","1350687584","1350687597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44715aded0a064d9679246ba3bf36dac.jpg","text":"TemporaryFile(/tmp/multipartBody5390204950851075677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184073213,"filename":"image_09042025_06_50_56_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97985b205f9d7bb79f9ee346099470a0.jpg","text":"TemporaryFile(/tmp/multipartBody8333147902971641132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184073213,"filename":"image_09042025_06_49_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/4/9/764e91b67363123532ea4c517db2132c.jpg","text":"TemporaryFile(/tmp/multipartBody5984862149246613026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184073213,"filename":"image_09042025_06_50_06_9524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73c57d20811f6cc35b343401b1ec733a.jpg","text":"TemporaryFile(/tmp/multipartBody2582016764900589278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184073213,"filename":"image_09042025_06_51_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b9805f049250e8ccca45178a828b45a.jpg","text":"TemporaryFile(/tmp/multipartBody3188755937040754941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184073213,"filename":"image_09042025_06_51_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/4/9/26dd10077c61d3af5e277bce896a3cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1766377117137493998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184073213,"filename":"image_09042025_06_49_46_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687578","file1":"1350687575","file0":"1350687572","file4":"1350687584","file5":"1350687597","file3":"1350687581"},"map_files_photo_id_array":[{"photo_id":"1350687597","filename":"file5"},{"photo_id":"1350687578","filename":"file2"},{"photo_id":"1350687584","filename":"file4"},{"photo_id":"1350687575","filename":"file1"},{"photo_id":"1350687572","filename":"file0"},{"photo_id":"1350687581","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687581":["hashtag1","hashtag2"]},{"1350687575":["hashtag1","hashtag2"]},{"1350687578":["hashtag1","hashtag2"]},{"1350687597":["hashtag1","hashtag2"]},{"1350687584":["hashtag1","hashtag2"]},{"1350687572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687581, 1350687575, 1350687578, 1350687597, 1350687584, 1350687572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.69263219833374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:34:32.921830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/51/image_09042025_06_51_37_10362.jpg', '/home/pi/Desktop/images/09042025/06/51/image_09042025_06_51_46_9410.jpg', '/home/pi/Desktop/images/09042025/06/51/image_09042025_06_51_57_10358.jpg', '/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_16_10347.jpg', '/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_27_10385.jpg', '/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_36_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/51/image_09042025_06_51_37_10362.jpg
/home/pi/Desktop/images/09042025/06/51/image_09042025_06_51_46_9410.jpg
/home/pi/Desktop/images/09042025/06/51/image_09042025_06_51_57_10358.jpg
/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_16_10347.jpg
/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_27_10385.jpg
/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_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":["1350687689","1350687679","1350687672","1350687681","1350687686","1350687665"],"photo_ids_order":["1350687665","1350687672","1350687679","1350687681","1350687686","1350687689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/206ff31bed30cc168b18160c2ce64f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7016305734477229224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184133419,"filename":"image_09042025_06_52_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/4/9/9e0acdf29f8140a3f7cbcc132dd9bb3a.jpg","text":"TemporaryFile(/tmp/multipartBody2385608062446626617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184133419,"filename":"image_09042025_06_51_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd24201e8e9cbc986f26a3bd5786f454.jpg","text":"TemporaryFile(/tmp/multipartBody4818805315468060431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184133419,"filename":"image_09042025_06_51_46_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0073d03c6763b98a515b8ed888f2e812.jpg","text":"TemporaryFile(/tmp/multipartBody7603901523636011274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184133419,"filename":"image_09042025_06_52_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/4/9/5dea121480be012964ffa563ec6ad762.jpg","text":"TemporaryFile(/tmp/multipartBody7877599908527156129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184133419,"filename":"image_09042025_06_52_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/4/9/76f1c1e9afb7429df3bd5661200a23a1.jpg","text":"TemporaryFile(/tmp/multipartBody1529952630795223932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184133419,"filename":"image_09042025_06_51_37_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687679","file1":"1350687672","file0":"1350687665","file4":"1350687686","file5":"1350687689","file3":"1350687681"},"map_files_photo_id_array":[{"photo_id":"1350687689","filename":"file5"},{"photo_id":"1350687679","filename":"file2"},{"photo_id":"1350687686","filename":"file4"},{"photo_id":"1350687672","filename":"file1"},{"photo_id":"1350687665","filename":"file0"},{"photo_id":"1350687681","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687689":["hashtag1","hashtag2"]},{"1350687679":["hashtag1","hashtag2"]},{"1350687672":["hashtag1","hashtag2"]},{"1350687681":["hashtag1","hashtag2"]},{"1350687686":["hashtag1","hashtag2"]},{"1350687665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687689, 1350687679, 1350687672, 1350687681, 1350687686, 1350687665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74582815170288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:35:33.162001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_47_10408.jpg', '/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_56_9487.jpg', '/home/pi/Desktop/images/09042025/06/52/image_09042025_06_53_07_10363.jpg', '/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_17_10360.jpg', '/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_26_9351.jpg', '/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_37_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_47_10408.jpg
/home/pi/Desktop/images/09042025/06/52/image_09042025_06_52_56_9487.jpg
/home/pi/Desktop/images/09042025/06/52/image_09042025_06_53_07_10363.jpg
/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_17_10360.jpg
/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_26_9351.jpg
/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_37_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350687752","1350687722","1350687719","1350687744","1350687738","1350687729"],"photo_ids_order":["1350687719","1350687722","1350687729","1350687738","1350687744","1350687752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e4c726c1cae4fd374c80d455fc950de.jpg","text":"TemporaryFile(/tmp/multipartBody2521263081220124110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184193671,"filename":"image_09042025_06_53_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad41e2ad0680cdbf6001c9697fd662d8.jpg","text":"TemporaryFile(/tmp/multipartBody4759642387556793850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184193671,"filename":"image_09042025_06_52_56_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e03f1a58e1145894388a9da4c1be49db.jpg","text":"TemporaryFile(/tmp/multipartBody2587352888355885928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184193671,"filename":"image_09042025_06_52_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/4/9/b46ed14bd08333f1771667c6f667cb25.jpg","text":"TemporaryFile(/tmp/multipartBody2620266243064874762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184193671,"filename":"image_09042025_06_53_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d667ead6d1a1c3aefdb7bf5fa12baf12.jpg","text":"TemporaryFile(/tmp/multipartBody5500775380495904975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184193671,"filename":"image_09042025_06_53_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4c7a5a454ace1c14c6a706c3cd4563d.jpg","text":"TemporaryFile(/tmp/multipartBody6287233153117595167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184193671,"filename":"image_09042025_06_53_07_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687729","file1":"1350687722","file0":"1350687719","file4":"1350687744","file5":"1350687752","file3":"1350687738"},"map_files_photo_id_array":[{"photo_id":"1350687752","filename":"file5"},{"photo_id":"1350687729","filename":"file2"},{"photo_id":"1350687744","filename":"file4"},{"photo_id":"1350687722","filename":"file1"},{"photo_id":"1350687719","filename":"file0"},{"photo_id":"1350687738","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687752":["hashtag1","hashtag2"]},{"1350687722":["hashtag1","hashtag2"]},{"1350687719":["hashtag1","hashtag2"]},{"1350687744":["hashtag1","hashtag2"]},{"1350687738":["hashtag1","hashtag2"]},{"1350687729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687752, 1350687722, 1350687719, 1350687744, 1350687738, 1350687729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.639028549194336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:36:32.387983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_47_10424.jpg', '/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_56_9348.jpg', '/home/pi/Desktop/images/09042025/06/53/image_09042025_06_54_07_10366.jpg', '/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_16_9331.jpg', '/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_26_10366.jpg', '/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_37_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_47_10424.jpg
/home/pi/Desktop/images/09042025/06/53/image_09042025_06_53_56_9348.jpg
/home/pi/Desktop/images/09042025/06/53/image_09042025_06_54_07_10366.jpg
/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_16_9331.jpg
/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_26_10366.jpg
/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_37_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":["1350687830","1350687824","1350687826","1350687814","1350687817","1350687837"],"photo_ids_order":["1350687814","1350687817","1350687824","1350687826","1350687830","1350687837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e452afbffee3f2215d564f5e2bdf8056.jpg","text":"TemporaryFile(/tmp/multipartBody5139535434598309632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184252854,"filename":"image_09042025_06_54_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bbdbda2fed4bd97519434d3efdd473b3.jpg","text":"TemporaryFile(/tmp/multipartBody6472874908794795474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184252854,"filename":"image_09042025_06_54_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/4/9/77c2879694beb82e1c13e59137e616fd.jpg","text":"TemporaryFile(/tmp/multipartBody3265851008977947311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184252854,"filename":"image_09042025_06_54_16_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28a6695523cdeed184a5ab6b62519a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8408358224230561902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184252854,"filename":"image_09042025_06_53_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/4/9/c3a15bea88581708216f7a91d70a4347.jpg","text":"TemporaryFile(/tmp/multipartBody8974198385542659639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184252854,"filename":"image_09042025_06_53_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/147f24f6acbeca9ced441a00afdcae22.jpg","text":"TemporaryFile(/tmp/multipartBody2617469662920519253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184252854,"filename":"image_09042025_06_54_37_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687824","file1":"1350687817","file0":"1350687814","file4":"1350687830","file5":"1350687837","file3":"1350687826"},"map_files_photo_id_array":[{"photo_id":"1350687837","filename":"file5"},{"photo_id":"1350687824","filename":"file2"},{"photo_id":"1350687830","filename":"file4"},{"photo_id":"1350687817","filename":"file1"},{"photo_id":"1350687814","filename":"file0"},{"photo_id":"1350687826","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687830":["hashtag1","hashtag2"]},{"1350687824":["hashtag1","hashtag2"]},{"1350687826":["hashtag1","hashtag2"]},{"1350687814":["hashtag1","hashtag2"]},{"1350687817":["hashtag1","hashtag2"]},{"1350687837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687830, 1350687824, 1350687826, 1350687814, 1350687817, 1350687837)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 30.41516613960266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:37:32.518741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_46_9441.jpg', '/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_56_10224.jpg', '/home/pi/Desktop/images/09042025/06/54/image_09042025_06_55_07_10430.jpg', '/home/pi/Desktop/images/09042025/06/55/image_09042025_06_55_27_10369.jpg', '/home/pi/Desktop/images/09042025/06/55/image_09042025_06_55_36_9446.jpg', '/home/pi/Desktop/images/09042025/06/55/image_09042025_06_55_57_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_46_9441.jpg
/home/pi/Desktop/images/09042025/06/54/image_09042025_06_54_56_10224.jpg
/home/pi/Desktop/images/09042025/06/54/image_09042025_06_55_07_10430.jpg
/home/pi/Desktop/images/09042025/06/55/image_09042025_06_55_27_10369.jpg
/home/pi/Desktop/images/09042025/06/55/image_09042025_06_55_36_9446.jpg
/home/pi/Desktop/images/09042025/06/55/image_09042025_06_55_57_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":["1350687908","1350687892","1350687895","1350687898","1350687903","1350687900"],"photo_ids_order":["1350687892","1350687895","1350687898","1350687900","1350687903","1350687908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c11f196f08bb261f3e78a40873cd4120.jpg","text":"TemporaryFile(/tmp/multipartBody8624481039801196520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184312976,"filename":"image_09042025_06_55_57_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0da9e8c1853bd7cb63a5fe4c33273d3.jpg","text":"TemporaryFile(/tmp/multipartBody7068650899807273576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184312976,"filename":"image_09042025_06_54_46_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0002d0f1161cf13aaf7bad67313e71c3.jpg","text":"TemporaryFile(/tmp/multipartBody5681976870444093982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184312976,"filename":"image_09042025_06_54_56_10224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/487b0bea8a503bf76c8eeb4e85919ea4.jpg","text":"TemporaryFile(/tmp/multipartBody2105784817103436701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184312976,"filename":"image_09042025_06_55_07_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/986b917d040b9df7ae18e8883389a9af.jpg","text":"TemporaryFile(/tmp/multipartBody6275586579415615108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184312976,"filename":"image_09042025_06_55_36_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/542666a1537aed19d2e297fc88e19195.jpg","text":"TemporaryFile(/tmp/multipartBody7024321683284328951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184312976,"filename":"image_09042025_06_55_27_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687898","file1":"1350687895","file0":"1350687892","file4":"1350687903","file5":"1350687908","file3":"1350687900"},"map_files_photo_id_array":[{"photo_id":"1350687908","filename":"file5"},{"photo_id":"1350687898","filename":"file2"},{"photo_id":"1350687903","filename":"file4"},{"photo_id":"1350687895","filename":"file1"},{"photo_id":"1350687892","filename":"file0"},{"photo_id":"1350687900","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687908":["hashtag1","hashtag2"]},{"1350687892":["hashtag1","hashtag2"]},{"1350687895":["hashtag1","hashtag2"]},{"1350687898":["hashtag1","hashtag2"]},{"1350687903":["hashtag1","hashtag2"]},{"1350687900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687908, 1350687892, 1350687895, 1350687898, 1350687903, 1350687900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14590334892273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:38:32.653043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/56/image_09042025_06_56_17_10362.jpg', '/home/pi/Desktop/images/09042025/06/56/image_09042025_06_56_37_10458.jpg', '/home/pi/Desktop/images/09042025/06/56/image_09042025_06_56_47_10422.jpg', '/home/pi/Desktop/images/09042025/06/56/image_09042025_06_56_56_9353.jpg', '/home/pi/Desktop/images/09042025/06/56/image_09042025_06_57_07_10355.jpg', '/home/pi/Desktop/images/09042025/06/57/image_09042025_06_57_46_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/56/image_09042025_06_56_17_10362.jpg
/home/pi/Desktop/images/09042025/06/56/image_09042025_06_56_37_10458.jpg
/home/pi/Desktop/images/09042025/06/56/image_09042025_06_56_47_10422.jpg
/home/pi/Desktop/images/09042025/06/56/image_09042025_06_56_56_9353.jpg
/home/pi/Desktop/images/09042025/06/56/image_09042025_06_57_07_10355.jpg
/home/pi/Desktop/images/09042025/06/57/image_09042025_06_57_46_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":["1350687938","1350687932","1350687935","1350687949","1350687943","1350687946"],"photo_ids_order":["1350687932","1350687935","1350687938","1350687943","1350687946","1350687949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42280cd62d243a42bbd2859adfa2d58f.jpg","text":"TemporaryFile(/tmp/multipartBody3031519441135171304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184373123,"filename":"image_09042025_06_56_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/4/9/fd1b7fff526263e4b029874d56d4de9e.jpg","text":"TemporaryFile(/tmp/multipartBody3638156446161146268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184373123,"filename":"image_09042025_06_56_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e0c8b8e5078b7b20b0710bc924a8a574.jpg","text":"TemporaryFile(/tmp/multipartBody6002946805983873476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184373123,"filename":"image_09042025_06_56_37_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/506772735feff4ca3fad3be167177c66.jpg","text":"TemporaryFile(/tmp/multipartBody1214917600425580142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184373123,"filename":"image_09042025_06_57_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/4/9/0833bf2c2b62c5dd3b78da4839f1f6b0.jpg","text":"TemporaryFile(/tmp/multipartBody2899333757292608583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184373123,"filename":"image_09042025_06_56_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/4/9/b28f366cb8f1e55ca84e5c3ac21c70f3.jpg","text":"TemporaryFile(/tmp/multipartBody7500640694252780430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184373123,"filename":"image_09042025_06_57_07_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687938","file1":"1350687935","file0":"1350687932","file4":"1350687946","file5":"1350687949","file3":"1350687943"},"map_files_photo_id_array":[{"photo_id":"1350687949","filename":"file5"},{"photo_id":"1350687938","filename":"file2"},{"photo_id":"1350687946","filename":"file4"},{"photo_id":"1350687935","filename":"file1"},{"photo_id":"1350687932","filename":"file0"},{"photo_id":"1350687943","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687938":["hashtag1","hashtag2"]},{"1350687932":["hashtag1","hashtag2"]},{"1350687935":["hashtag1","hashtag2"]},{"1350687949":["hashtag1","hashtag2"]},{"1350687943":["hashtag1","hashtag2"]},{"1350687946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687938, 1350687932, 1350687935, 1350687949, 1350687943, 1350687946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.296042442321777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:39:32.923890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/57/image_09042025_06_57_57_10360.jpg', '/home/pi/Desktop/images/09042025/06/57/image_09042025_06_58_07_10362.jpg', '/home/pi/Desktop/images/09042025/06/58/image_09042025_06_58_36_9437.jpg', '/home/pi/Desktop/images/09042025/06/58/image_09042025_06_58_46_10362.jpg', '/home/pi/Desktop/images/09042025/06/58/image_09042025_06_59_06_9420.jpg', '/home/pi/Desktop/images/09042025/06/59/image_09042025_06_59_17_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/57/image_09042025_06_57_57_10360.jpg
/home/pi/Desktop/images/09042025/06/57/image_09042025_06_58_07_10362.jpg
/home/pi/Desktop/images/09042025/06/58/image_09042025_06_58_36_9437.jpg
/home/pi/Desktop/images/09042025/06/58/image_09042025_06_58_46_10362.jpg
/home/pi/Desktop/images/09042025/06/58/image_09042025_06_59_06_9420.jpg
/home/pi/Desktop/images/09042025/06/59/image_09042025_06_59_17_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350687985","1350687988","1350688000","1350688002","1350687981","1350687998"],"photo_ids_order":["1350687981","1350687985","1350687988","1350687998","1350688000","1350688002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8cff6687a437f3ee69e9e8f10450da6.jpg","text":"TemporaryFile(/tmp/multipartBody2345488185264837471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184433379,"filename":"image_09042025_06_58_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/4/9/5076247c4f936a3779310ec26e5bdc80.jpg","text":"TemporaryFile(/tmp/multipartBody4737093556692392704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184433379,"filename":"image_09042025_06_58_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/4/9/b9815aef60da03164addfb1af2aca2f0.jpg","text":"TemporaryFile(/tmp/multipartBody3757470123369164471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184433379,"filename":"image_09042025_06_59_06_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/009deaf66eca2515fe328eb66f48065d.jpg","text":"TemporaryFile(/tmp/multipartBody6462272832903946193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184433379,"filename":"image_09042025_06_59_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a7e75d4f2bb635eb149c6d9bfb84f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6214254317919591240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184433379,"filename":"image_09042025_06_57_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f56a710fb87a27ad1bb44eac8f6bc987.jpg","text":"TemporaryFile(/tmp/multipartBody1621524133266194641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184433379,"filename":"image_09042025_06_58_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350687988","file1":"1350687985","file0":"1350687981","file4":"1350688000","file5":"1350688002","file3":"1350687998"},"map_files_photo_id_array":[{"photo_id":"1350688002","filename":"file5"},{"photo_id":"1350687988","filename":"file2"},{"photo_id":"1350688000","filename":"file4"},{"photo_id":"1350687985","filename":"file1"},{"photo_id":"1350687981","filename":"file0"},{"photo_id":"1350687998","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350687985":["hashtag1","hashtag2"]},{"1350687988":["hashtag1","hashtag2"]},{"1350688000":["hashtag1","hashtag2"]},{"1350688002":["hashtag1","hashtag2"]},{"1350687981":["hashtag1","hashtag2"]},{"1350687998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350687985, 1350687988, 1350688000, 1350688002, 1350687981, 1350687998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.843621969223022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:40:33.092183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/06/59/image_09042025_06_59_27_10371.jpg', '/home/pi/Desktop/images/09042025/06/59/image_09042025_06_59_36_9432.jpg', '/home/pi/Desktop/images/09042025/06/59/image_09042025_06_59_47_10355.jpg', '/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_16_10074.jpg', '/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_26_10420.jpg', '/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_37_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/06/59/image_09042025_06_59_27_10371.jpg
/home/pi/Desktop/images/09042025/06/59/image_09042025_06_59_36_9432.jpg
/home/pi/Desktop/images/09042025/06/59/image_09042025_06_59_47_10355.jpg
/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_16_10074.jpg
/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_26_10420.jpg
/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_37_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350688022","1350688063","1350688036","1350688077","1350688082","1350688046"],"photo_ids_order":["1350688022","1350688036","1350688046","1350688063","1350688077","1350688082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b5c48d955dd19b6e8dfb3e778f8eab6.jpg","text":"TemporaryFile(/tmp/multipartBody2962198193516813345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184493591,"filename":"image_09042025_06_59_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/798e73da16b2938ca6899a16759f08bb.jpg","text":"TemporaryFile(/tmp/multipartBody4589829338302290707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184493591,"filename":"image_09042025_07_00_16_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88b7ef7da0635b366a8aedd723c4ec26.jpg","text":"TemporaryFile(/tmp/multipartBody7331584871433959027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184493591,"filename":"image_09042025_06_59_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/4/9/3d7677f57214b9ce634a90a7a4a16a95.jpg","text":"TemporaryFile(/tmp/multipartBody5718098624083880552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184493591,"filename":"image_09042025_07_00_26_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e194832eb892f02b5931c4aba362821c.jpg","text":"TemporaryFile(/tmp/multipartBody1930627661339171289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184493591,"filename":"image_09042025_07_00_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/4/9/c3cc3f0e0a2811cf04eaaf0cc314ab39.jpg","text":"TemporaryFile(/tmp/multipartBody4900125356882910001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184493591,"filename":"image_09042025_06_59_47_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688046","file1":"1350688036","file0":"1350688022","file4":"1350688077","file5":"1350688082","file3":"1350688063"},"map_files_photo_id_array":[{"photo_id":"1350688082","filename":"file5"},{"photo_id":"1350688046","filename":"file2"},{"photo_id":"1350688077","filename":"file4"},{"photo_id":"1350688036","filename":"file1"},{"photo_id":"1350688022","filename":"file0"},{"photo_id":"1350688063","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688022":["hashtag1","hashtag2"]},{"1350688063":["hashtag1","hashtag2"]},{"1350688036":["hashtag1","hashtag2"]},{"1350688077":["hashtag1","hashtag2"]},{"1350688082":["hashtag1","hashtag2"]},{"1350688046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688022, 1350688063, 1350688036, 1350688077, 1350688082, 1350688046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.47817039489746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:41:32.388102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_46_9339.jpg', '/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_56_10429.jpg', '/home/pi/Desktop/images/09042025/07/00/image_09042025_07_01_06_9352.jpg', '/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_16_10437.jpg', '/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_27_10363.jpg', '/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_36_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_46_9339.jpg
/home/pi/Desktop/images/09042025/07/00/image_09042025_07_00_56_10429.jpg
/home/pi/Desktop/images/09042025/07/00/image_09042025_07_01_06_9352.jpg
/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_16_10437.jpg
/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_27_10363.jpg
/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_36_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":["1350688158","1350688146","1350688140","1350688143","1350688160","1350688154"],"photo_ids_order":["1350688140","1350688143","1350688146","1350688154","1350688158","1350688160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/177b56328d5154d2c8401f49d42ed930.jpg","text":"TemporaryFile(/tmp/multipartBody1186596252094598439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184552857,"filename":"image_09042025_07_01_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/4/9/b20a5f234cb4d8fd26d48fc78e40922c.jpg","text":"TemporaryFile(/tmp/multipartBody5655044822737373673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184552857,"filename":"image_09042025_07_01_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/4/9/810bc8b71402711963cfcffa8c93a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody5774771804167308886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184552857,"filename":"image_09042025_07_00_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/4/9/b708fe0e9bd5ee027e70de2d49a4349d.jpg","text":"TemporaryFile(/tmp/multipartBody4218617922339126017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184552857,"filename":"image_09042025_07_00_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd0503cd812f7d4c307eae2343b079bd.jpg","text":"TemporaryFile(/tmp/multipartBody452498167072077191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184552857,"filename":"image_09042025_07_01_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/4/9/9eb5c915cb219265c15dee8925688cf5.jpg","text":"TemporaryFile(/tmp/multipartBody1027715067965405624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184552857,"filename":"image_09042025_07_01_16_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688146","file1":"1350688143","file0":"1350688140","file4":"1350688158","file5":"1350688160","file3":"1350688154"},"map_files_photo_id_array":[{"photo_id":"1350688160","filename":"file5"},{"photo_id":"1350688146","filename":"file2"},{"photo_id":"1350688158","filename":"file4"},{"photo_id":"1350688143","filename":"file1"},{"photo_id":"1350688140","filename":"file0"},{"photo_id":"1350688154","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688158":["hashtag1","hashtag2"]},{"1350688146":["hashtag1","hashtag2"]},{"1350688140":["hashtag1","hashtag2"]},{"1350688143":["hashtag1","hashtag2"]},{"1350688160":["hashtag1","hashtag2"]},{"1350688154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688158, 1350688146, 1350688140, 1350688143, 1350688160, 1350688154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.03763747215271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:42:32.508930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_46_10376.jpg', '/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_56_9364.jpg', '/home/pi/Desktop/images/09042025/07/01/image_09042025_07_02_06_10416.jpg', '/home/pi/Desktop/images/09042025/07/02/image_09042025_07_02_16_10359.jpg', '/home/pi/Desktop/images/09042025/07/02/image_09042025_07_02_26_9340.jpg', '/home/pi/Desktop/images/09042025/07/02/image_09042025_07_02_36_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_46_10376.jpg
/home/pi/Desktop/images/09042025/07/01/image_09042025_07_01_56_9364.jpg
/home/pi/Desktop/images/09042025/07/01/image_09042025_07_02_06_10416.jpg
/home/pi/Desktop/images/09042025/07/02/image_09042025_07_02_16_10359.jpg
/home/pi/Desktop/images/09042025/07/02/image_09042025_07_02_26_9340.jpg
/home/pi/Desktop/images/09042025/07/02/image_09042025_07_02_36_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350688189","1350688197","1350688185","1350688200","1350688193","1350688181"],"photo_ids_order":["1350688181","1350688185","1350688189","1350688193","1350688197","1350688200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9936516433ef65a6ec1d1e539c5b1fee.jpg","text":"TemporaryFile(/tmp/multipartBody7818195622873286037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184612969,"filename":"image_09042025_07_02_06_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67670130fa14fbd08380b4f962150648.jpg","text":"TemporaryFile(/tmp/multipartBody6804848018326890622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184612969,"filename":"image_09042025_07_02_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c94b5017bd6d71ea3b30ec2d5273dc2f.jpg","text":"TemporaryFile(/tmp/multipartBody1986542595272058441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184612969,"filename":"image_09042025_07_01_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d9675dec41be16891e123d5fc42de5c.jpg","text":"TemporaryFile(/tmp/multipartBody3749081166765971270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184612969,"filename":"image_09042025_07_02_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33ece39daa1272a58bf12ef5e4f432cc.jpg","text":"TemporaryFile(/tmp/multipartBody3177471050063637030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184612969,"filename":"image_09042025_07_02_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/4/9/6e54c8802c61cf04650091f8e7568fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8801689399278099329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184612969,"filename":"image_09042025_07_01_46_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688189","file1":"1350688185","file0":"1350688181","file4":"1350688197","file5":"1350688200","file3":"1350688193"},"map_files_photo_id_array":[{"photo_id":"1350688200","filename":"file5"},{"photo_id":"1350688189","filename":"file2"},{"photo_id":"1350688197","filename":"file4"},{"photo_id":"1350688185","filename":"file1"},{"photo_id":"1350688181","filename":"file0"},{"photo_id":"1350688193","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688189":["hashtag1","hashtag2"]},{"1350688197":["hashtag1","hashtag2"]},{"1350688185":["hashtag1","hashtag2"]},{"1350688200":["hashtag1","hashtag2"]},{"1350688193":["hashtag1","hashtag2"]},{"1350688181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688189, 1350688197, 1350688185, 1350688200, 1350688193, 1350688181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.31850600242615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:43:32.836942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/02/image_09042025_07_02_56_9364.jpg', '/home/pi/Desktop/images/09042025/07/02/image_09042025_07_03_06_10345.jpg', '/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_17_10352.jpg', '/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_26_9432.jpg', '/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_37_10448.jpg', '/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_46_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/02/image_09042025_07_02_56_9364.jpg
/home/pi/Desktop/images/09042025/07/02/image_09042025_07_03_06_10345.jpg
/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_17_10352.jpg
/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_26_9432.jpg
/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_37_10448.jpg
/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_46_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350688249","1350688234","1350688243","1350688225","1350688239","1350688230"],"photo_ids_order":["1350688225","1350688230","1350688234","1350688239","1350688243","1350688249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/83647a43cdda25b625c387de7c289997.jpg","text":"TemporaryFile(/tmp/multipartBody1047704952477832668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184673299,"filename":"image_09042025_07_03_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/4/9/2d577e1f5cef45d4a77db7808211308b.jpg","text":"TemporaryFile(/tmp/multipartBody6404108339017048652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184673299,"filename":"image_09042025_07_03_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/4/9/fc4685c37da70493956d173daf23c44c.jpg","text":"TemporaryFile(/tmp/multipartBody4202680356647987636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184673299,"filename":"image_09042025_07_03_37_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b37efb33024401ebef0146dc8e70ce76.jpg","text":"TemporaryFile(/tmp/multipartBody9152452792526140621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184673299,"filename":"image_09042025_07_02_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/32c7cdc6c0fe89950613f90730467e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3999012235772582402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184673299,"filename":"image_09042025_07_03_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c806419431722bb335b927793651004.jpg","text":"TemporaryFile(/tmp/multipartBody3936789345049986098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184673299,"filename":"image_09042025_07_03_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688234","file1":"1350688230","file0":"1350688225","file4":"1350688243","file5":"1350688249","file3":"1350688239"},"map_files_photo_id_array":[{"photo_id":"1350688249","filename":"file5"},{"photo_id":"1350688234","filename":"file2"},{"photo_id":"1350688243","filename":"file4"},{"photo_id":"1350688230","filename":"file1"},{"photo_id":"1350688225","filename":"file0"},{"photo_id":"1350688239","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688249":["hashtag1","hashtag2"]},{"1350688234":["hashtag1","hashtag2"]},{"1350688243":["hashtag1","hashtag2"]},{"1350688225":["hashtag1","hashtag2"]},{"1350688239":["hashtag1","hashtag2"]},{"1350688230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688249, 1350688234, 1350688243, 1350688225, 1350688239, 1350688230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.562130451202393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:44:32.961631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_56_10367.jpg', '/home/pi/Desktop/images/09042025/07/04/image_09042025_07_04_26_10386.jpg', '/home/pi/Desktop/images/09042025/07/04/image_09042025_07_04_36_9365.jpg', '/home/pi/Desktop/images/09042025/07/04/image_09042025_07_04_46_10442.jpg', '/home/pi/Desktop/images/09042025/07/04/image_09042025_07_04_56_10350.jpg', '/home/pi/Desktop/images/09042025/07/04/image_09042025_07_05_06_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/03/image_09042025_07_03_56_10367.jpg
/home/pi/Desktop/images/09042025/07/04/image_09042025_07_04_26_10386.jpg
/home/pi/Desktop/images/09042025/07/04/image_09042025_07_04_36_9365.jpg
/home/pi/Desktop/images/09042025/07/04/image_09042025_07_04_46_10442.jpg
/home/pi/Desktop/images/09042025/07/04/image_09042025_07_04_56_10350.jpg
/home/pi/Desktop/images/09042025/07/04/image_09042025_07_05_06_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":["1350688304","1350688297","1350688285","1350688293","1350688281","1350688308"],"photo_ids_order":["1350688281","1350688285","1350688293","1350688297","1350688304","1350688308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e4b42557ff4590f15b909e632b66189.jpg","text":"TemporaryFile(/tmp/multipartBody5583896683833083099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184733427,"filename":"image_09042025_07_04_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/4/9/c140d9c84cda9923ac7e0d8db52b511b.jpg","text":"TemporaryFile(/tmp/multipartBody999970954492604878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184733427,"filename":"image_09042025_07_04_46_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8c13bc2238974a6d354c1f21a0b432e1.jpg","text":"TemporaryFile(/tmp/multipartBody2493813706202141600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184733427,"filename":"image_09042025_07_04_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/4/9/264415b2bc1a7f027d7ab42cb4ebaf07.jpg","text":"TemporaryFile(/tmp/multipartBody661762041478410015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184733427,"filename":"image_09042025_07_04_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1fce32ea7ce0947259d228437b63bab2.jpg","text":"TemporaryFile(/tmp/multipartBody6029565508437014387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184733427,"filename":"image_09042025_07_03_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/4/9/3ef00c9b583c24f19925b443ab183c97.jpg","text":"TemporaryFile(/tmp/multipartBody1492617247878647091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184733427,"filename":"image_09042025_07_05_06_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688293","file1":"1350688285","file0":"1350688281","file4":"1350688304","file5":"1350688308","file3":"1350688297"},"map_files_photo_id_array":[{"photo_id":"1350688308","filename":"file5"},{"photo_id":"1350688293","filename":"file2"},{"photo_id":"1350688304","filename":"file4"},{"photo_id":"1350688285","filename":"file1"},{"photo_id":"1350688281","filename":"file0"},{"photo_id":"1350688297","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688304":["hashtag1","hashtag2"]},{"1350688297":["hashtag1","hashtag2"]},{"1350688285":["hashtag1","hashtag2"]},{"1350688293":["hashtag1","hashtag2"]},{"1350688281":["hashtag1","hashtag2"]},{"1350688308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688304, 1350688297, 1350688285, 1350688293, 1350688281, 1350688308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19724249839783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:45:34.036450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/05/image_09042025_07_05_16_10389.jpg', '/home/pi/Desktop/images/09042025/07/05/image_09042025_07_05_27_10351.jpg', '/home/pi/Desktop/images/09042025/07/05/image_09042025_07_05_46_10352.jpg', '/home/pi/Desktop/images/09042025/07/05/image_09042025_07_05_56_9372.jpg', '/home/pi/Desktop/images/09042025/07/05/image_09042025_07_06_06_10337.jpg', '/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_16_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/05/image_09042025_07_05_16_10389.jpg
/home/pi/Desktop/images/09042025/07/05/image_09042025_07_05_27_10351.jpg
/home/pi/Desktop/images/09042025/07/05/image_09042025_07_05_46_10352.jpg
/home/pi/Desktop/images/09042025/07/05/image_09042025_07_05_56_9372.jpg
/home/pi/Desktop/images/09042025/07/05/image_09042025_07_06_06_10337.jpg
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_16_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":["1350688339","1350688354","1350688342","1350688336","1350688347","1350688352"],"photo_ids_order":["1350688336","1350688339","1350688342","1350688347","1350688352","1350688354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e30f510976ff39aa87d8f6f647a5ef8a.jpg","text":"TemporaryFile(/tmp/multipartBody6128137753055625285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184794495,"filename":"image_09042025_07_05_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/4/9/dc4bbca7bc38e26fa7fce81cc1b8ed9b.jpg","text":"TemporaryFile(/tmp/multipartBody6060214530882595906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184794495,"filename":"image_09042025_07_06_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5e5025a2762ab4bff49dcc726a65607c.jpg","text":"TemporaryFile(/tmp/multipartBody6330795675168742686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184794495,"filename":"image_09042025_07_05_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/4/9/3772d8f143c0c673879f058648cfaa62.jpg","text":"TemporaryFile(/tmp/multipartBody7592520394778273405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184794495,"filename":"image_09042025_07_05_16_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efdcd621fee51671567d8fb8619db964.jpg","text":"TemporaryFile(/tmp/multipartBody247526593392171602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184794495,"filename":"image_09042025_07_05_56_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d85f2c500498f20dd252dbb3b3ed6223.jpg","text":"TemporaryFile(/tmp/multipartBody7612897603819647138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184794495,"filename":"image_09042025_07_06_06_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688342","file1":"1350688339","file0":"1350688336","file4":"1350688352","file5":"1350688354","file3":"1350688347"},"map_files_photo_id_array":[{"photo_id":"1350688354","filename":"file5"},{"photo_id":"1350688342","filename":"file2"},{"photo_id":"1350688352","filename":"file4"},{"photo_id":"1350688339","filename":"file1"},{"photo_id":"1350688336","filename":"file0"},{"photo_id":"1350688347","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688339":["hashtag1","hashtag2"]},{"1350688354":["hashtag1","hashtag2"]},{"1350688342":["hashtag1","hashtag2"]},{"1350688336":["hashtag1","hashtag2"]},{"1350688347":["hashtag1","hashtag2"]},{"1350688352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688339, 1350688354, 1350688342, 1350688336, 1350688347, 1350688352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.25400161743164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:46:32.548749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_26_9358.jpg', '/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_36_10382.jpg', '/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_47_10363.jpg', '/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_56_9358.jpg', '/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_26_10427.jpg', '/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_46_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_26_9358.jpg
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_36_10382.jpg
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_47_10363.jpg
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_56_9358.jpg
/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_26_10427.jpg
/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_46_9334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3963296413421631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 09:46:42.604969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_26_9358.jpg', '/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_36_10382.jpg', '/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_47_10363.jpg', '/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_56_9358.jpg', '/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_26_10427.jpg', '/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_46_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_26_9358.jpg
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_36_10382.jpg
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_47_10363.jpg
/home/pi/Desktop/images/09042025/07/06/image_09042025_07_06_56_9358.jpg
/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_26_10427.jpg
/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_46_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350688424","1350688409","1350688400","1350688392","1350688405","1350688413"],"photo_ids_order":["1350688392","1350688400","1350688405","1350688409","1350688413","1350688424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/542fd5ce408872c98426f086317a7572.jpg","text":"TemporaryFile(/tmp/multipartBody4020885443810457454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184863063,"filename":"image_09042025_07_07_46_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7e4bed8b17c05dc3410d5f6151acd41.jpg","text":"TemporaryFile(/tmp/multipartBody7529891773765626906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184863063,"filename":"image_09042025_07_06_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/4/9/61a4bcc4367077698c3a298a56522c51.jpg","text":"TemporaryFile(/tmp/multipartBody8434873571453500955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184863063,"filename":"image_09042025_07_06_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/174eb58208c2a5474d01078ca5150b6c.jpg","text":"TemporaryFile(/tmp/multipartBody5905611220418163575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184863063,"filename":"image_09042025_07_06_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d0705a383b0ec4e8c63d1aa71836022.jpg","text":"TemporaryFile(/tmp/multipartBody6552941098794272381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184863063,"filename":"image_09042025_07_06_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/4/9/77259825ee6386d714c04cd7a14ab53f.jpg","text":"TemporaryFile(/tmp/multipartBody3163339500607980364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184863063,"filename":"image_09042025_07_07_26_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688405","file1":"1350688400","file0":"1350688392","file4":"1350688413","file5":"1350688424","file3":"1350688409"},"map_files_photo_id_array":[{"photo_id":"1350688424","filename":"file5"},{"photo_id":"1350688405","filename":"file2"},{"photo_id":"1350688413","filename":"file4"},{"photo_id":"1350688400","filename":"file1"},{"photo_id":"1350688392","filename":"file0"},{"photo_id":"1350688409","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688424":["hashtag1","hashtag2"]},{"1350688409":["hashtag1","hashtag2"]},{"1350688400":["hashtag1","hashtag2"]},{"1350688392":["hashtag1","hashtag2"]},{"1350688405":["hashtag1","hashtag2"]},{"1350688413":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688424, 1350688409, 1350688400, 1350688392, 1350688405, 1350688413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55878973007202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:47:32.872857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_56_10451.jpg', '/home/pi/Desktop/images/09042025/07/07/image_09042025_07_08_07_10343.jpg', '/home/pi/Desktop/images/09042025/07/08/image_09042025_07_08_16_9331.jpg', '/home/pi/Desktop/images/09042025/07/08/image_09042025_07_08_26_10422.jpg', '/home/pi/Desktop/images/09042025/07/08/image_09042025_07_09_06_9346.jpg', '/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_16_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_56_10451.jpg
/home/pi/Desktop/images/09042025/07/07/image_09042025_07_08_07_10343.jpg
/home/pi/Desktop/images/09042025/07/08/image_09042025_07_08_16_9331.jpg
/home/pi/Desktop/images/09042025/07/08/image_09042025_07_08_26_10422.jpg
/home/pi/Desktop/images/09042025/07/08/image_09042025_07_09_06_9346.jpg
/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_16_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.377147912979126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 09:47:42.874835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_56_10451.jpg', '/home/pi/Desktop/images/09042025/07/07/image_09042025_07_08_07_10343.jpg', '/home/pi/Desktop/images/09042025/07/08/image_09042025_07_08_16_9331.jpg', '/home/pi/Desktop/images/09042025/07/08/image_09042025_07_08_26_10422.jpg', '/home/pi/Desktop/images/09042025/07/08/image_09042025_07_09_06_9346.jpg', '/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_16_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/07/image_09042025_07_07_56_10451.jpg
/home/pi/Desktop/images/09042025/07/07/image_09042025_07_08_07_10343.jpg
/home/pi/Desktop/images/09042025/07/08/image_09042025_07_08_16_9331.jpg
/home/pi/Desktop/images/09042025/07/08/image_09042025_07_08_26_10422.jpg
/home/pi/Desktop/images/09042025/07/08/image_09042025_07_09_06_9346.jpg
/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_16_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":["1350688477","1350688473","1350688479","1350688481","1350688469","1350688463"],"photo_ids_order":["1350688463","1350688469","1350688473","1350688477","1350688479","1350688481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b029478a4ac96c804b360844ca06d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8377608208105112949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184923367,"filename":"image_09042025_07_08_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/4/9/4de1f2d6fc4587abd415eddefb572bd4.jpg","text":"TemporaryFile(/tmp/multipartBody1687796457316108182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184923367,"filename":"image_09042025_07_08_16_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec0e549ffbc5ce1005fdd48758250b3d.jpg","text":"TemporaryFile(/tmp/multipartBody7887897121883612056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184923367,"filename":"image_09042025_07_09_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/4/9/351ac26955779499b23038fbc35a2e1a.jpg","text":"TemporaryFile(/tmp/multipartBody6890923194144629099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184923367,"filename":"image_09042025_07_09_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/4/9/6cac10a9ecb42d87bd6513ce8582dd93.jpg","text":"TemporaryFile(/tmp/multipartBody1114929228434038479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184923367,"filename":"image_09042025_07_08_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b430aced884a6aa09a0f37d85561437b.jpg","text":"TemporaryFile(/tmp/multipartBody1942817890916396096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184923367,"filename":"image_09042025_07_07_56_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688473","file1":"1350688469","file0":"1350688463","file4":"1350688479","file5":"1350688481","file3":"1350688477"},"map_files_photo_id_array":[{"photo_id":"1350688481","filename":"file5"},{"photo_id":"1350688473","filename":"file2"},{"photo_id":"1350688479","filename":"file4"},{"photo_id":"1350688469","filename":"file1"},{"photo_id":"1350688463","filename":"file0"},{"photo_id":"1350688477","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688477":["hashtag1","hashtag2"]},{"1350688473":["hashtag1","hashtag2"]},{"1350688479":["hashtag1","hashtag2"]},{"1350688481":["hashtag1","hashtag2"]},{"1350688469":["hashtag1","hashtag2"]},{"1350688463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688477, 1350688473, 1350688479, 1350688481, 1350688469, 1350688463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.190640926361084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:48:33.057843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_26_9346.jpg', '/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_47_10394.jpg', '/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_56_9373.jpg', '/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_16_9385.jpg', '/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_26_10426.jpg', '/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_36_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_26_9346.jpg
/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_47_10394.jpg
/home/pi/Desktop/images/09042025/07/09/image_09042025_07_09_56_9373.jpg
/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_16_9385.jpg
/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_26_10426.jpg
/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_36_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350688573","1350688561","1350688585","1350688570","1350688567","1350688578"],"photo_ids_order":["1350688561","1350688567","1350688570","1350688573","1350688578","1350688585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b01b93f7a743f33e851f79c75d7eeba.jpg","text":"TemporaryFile(/tmp/multipartBody8773755761310274667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184973512,"filename":"image_09042025_07_10_16_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/893db20efc7581c473dac2c7a2dc73d4.jpg","text":"TemporaryFile(/tmp/multipartBody2970807028058630887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184973512,"filename":"image_09042025_07_09_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/4/9/fd99c021eb99054befbb28c9f63b4dfb.jpg","text":"TemporaryFile(/tmp/multipartBody9162825427942202396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184973512,"filename":"image_09042025_07_10_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/4/9/42918de43168169d4c5b5db46131fcc3.jpg","text":"TemporaryFile(/tmp/multipartBody3138096184581460196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184973512,"filename":"image_09042025_07_09_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/4/9/aa600040ee93ed403e89b2a1b921e686.jpg","text":"TemporaryFile(/tmp/multipartBody6923662685033145293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184973512,"filename":"image_09042025_07_09_47_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75ae25ba682fbe2fa16617c26c848f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8190722921444208519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744184973512,"filename":"image_09042025_07_10_26_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688570","file1":"1350688567","file0":"1350688561","file4":"1350688578","file5":"1350688585","file3":"1350688573"},"map_files_photo_id_array":[{"photo_id":"1350688585","filename":"file5"},{"photo_id":"1350688570","filename":"file2"},{"photo_id":"1350688578","filename":"file4"},{"photo_id":"1350688567","filename":"file1"},{"photo_id":"1350688561","filename":"file0"},{"photo_id":"1350688573","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688573":["hashtag1","hashtag2"]},{"1350688561":["hashtag1","hashtag2"]},{"1350688585":["hashtag1","hashtag2"]},{"1350688570":["hashtag1","hashtag2"]},{"1350688567":["hashtag1","hashtag2"]},{"1350688578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688573, 1350688561, 1350688585, 1350688570, 1350688567, 1350688578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32297205924988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:49:32.201245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_46_9416.jpg', '/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_56_10429.jpg', '/home/pi/Desktop/images/09042025/07/10/image_09042025_07_11_06_9343.jpg', '/home/pi/Desktop/images/09042025/07/11/image_09042025_07_11_36_9386.jpg', '/home/pi/Desktop/images/09042025/07/11/image_09042025_07_11_46_10389.jpg', '/home/pi/Desktop/images/09042025/07/11/image_09042025_07_12_06_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_46_9416.jpg
/home/pi/Desktop/images/09042025/07/10/image_09042025_07_10_56_10429.jpg
/home/pi/Desktop/images/09042025/07/10/image_09042025_07_11_06_9343.jpg
/home/pi/Desktop/images/09042025/07/11/image_09042025_07_11_36_9386.jpg
/home/pi/Desktop/images/09042025/07/11/image_09042025_07_11_46_10389.jpg
/home/pi/Desktop/images/09042025/07/11/image_09042025_07_12_06_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":["1350688690","1350688684","1350688636","1350688651","1350688644","1350688640"],"photo_ids_order":["1350688636","1350688640","1350688644","1350688651","1350688684","1350688690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efe50c4768c541e19341b00e9a9f688e.jpg","text":"TemporaryFile(/tmp/multipartBody8372417342496194318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185032660,"filename":"image_09042025_07_12_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/4/9/a3abdf4df7e2b6c853b4cc3b899fded9.jpg","text":"TemporaryFile(/tmp/multipartBody5607422420818816924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185032660,"filename":"image_09042025_07_11_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/deb2133b690da5eb058f9fc67026f5d7.jpg","text":"TemporaryFile(/tmp/multipartBody4126488756272255023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185032660,"filename":"image_09042025_07_10_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/4/9/59274f0327c2717e78ffa674c7401341.jpg","text":"TemporaryFile(/tmp/multipartBody4269995605018234630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185032660,"filename":"image_09042025_07_11_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ffa90d9b0d97fd791703a72032d9204.jpg","text":"TemporaryFile(/tmp/multipartBody7676498274791548545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185032660,"filename":"image_09042025_07_11_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/4/9/161990064e6ab2a8d8440f4b20257ca9.jpg","text":"TemporaryFile(/tmp/multipartBody190119364574106371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185032660,"filename":"image_09042025_07_10_56_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688644","file1":"1350688640","file0":"1350688636","file4":"1350688684","file5":"1350688690","file3":"1350688651"},"map_files_photo_id_array":[{"photo_id":"1350688690","filename":"file5"},{"photo_id":"1350688644","filename":"file2"},{"photo_id":"1350688684","filename":"file4"},{"photo_id":"1350688640","filename":"file1"},{"photo_id":"1350688636","filename":"file0"},{"photo_id":"1350688651","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688690":["hashtag1","hashtag2"]},{"1350688684":["hashtag1","hashtag2"]},{"1350688636":["hashtag1","hashtag2"]},{"1350688651":["hashtag1","hashtag2"]},{"1350688644":["hashtag1","hashtag2"]},{"1350688640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688690, 1350688684, 1350688636, 1350688651, 1350688644, 1350688640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.5926034450531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:50:32.444134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_16_10375.jpg', '/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_26_9357.jpg', '/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_36_10456.jpg', '/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_47_10355.jpg', '/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_56_9416.jpg', '/home/pi/Desktop/images/09042025/07/12/image_09042025_07_13_06_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_16_10375.jpg
/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_26_9357.jpg
/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_36_10456.jpg
/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_47_10355.jpg
/home/pi/Desktop/images/09042025/07/12/image_09042025_07_12_56_9416.jpg
/home/pi/Desktop/images/09042025/07/12/image_09042025_07_13_06_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350688735","1350688732","1350688720","1350688728","1350688737","1350688724"],"photo_ids_order":["1350688720","1350688724","1350688728","1350688732","1350688735","1350688737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85633e0abb937c589ab61572cef4e327.jpg","text":"TemporaryFile(/tmp/multipartBody8432320087860524841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185092901,"filename":"image_09042025_07_12_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/4/9/c1e937bee1cbc913d6c6bfabaa01bf14.jpg","text":"TemporaryFile(/tmp/multipartBody6594038563941674989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185092901,"filename":"image_09042025_07_12_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bb0d957b16361e6d4756bbbe1898ce43.jpg","text":"TemporaryFile(/tmp/multipartBody662806946919484672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185092901,"filename":"image_09042025_07_12_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/54d7cbf884bf49a1ea9fe38a2db89ed7.jpg","text":"TemporaryFile(/tmp/multipartBody7725088955586328367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185092901,"filename":"image_09042025_07_12_36_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d541e56bdd2cab8def6cf0ecf5231dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6637451275583961629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185092901,"filename":"image_09042025_07_13_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b74e99b4d8b8491ec13f94bb1765c5c5.jpg","text":"TemporaryFile(/tmp/multipartBody993654874606294437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185092901,"filename":"image_09042025_07_12_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688728","file1":"1350688724","file0":"1350688720","file4":"1350688735","file5":"1350688737","file3":"1350688732"},"map_files_photo_id_array":[{"photo_id":"1350688737","filename":"file5"},{"photo_id":"1350688728","filename":"file2"},{"photo_id":"1350688735","filename":"file4"},{"photo_id":"1350688724","filename":"file1"},{"photo_id":"1350688720","filename":"file0"},{"photo_id":"1350688732","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688735":["hashtag1","hashtag2"]},{"1350688732":["hashtag1","hashtag2"]},{"1350688720":["hashtag1","hashtag2"]},{"1350688728":["hashtag1","hashtag2"]},{"1350688737":["hashtag1","hashtag2"]},{"1350688724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688735, 1350688732, 1350688720, 1350688728, 1350688737, 1350688724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.505045413970947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:51:32.706176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_16_9337.jpg', '/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_26_10369.jpg', '/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_36_10362.jpg', '/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_46_9358.jpg', '/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_56_10437.jpg', '/home/pi/Desktop/images/09042025/07/13/image_09042025_07_14_07_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_16_9337.jpg
/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_26_10369.jpg
/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_36_10362.jpg
/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_46_9358.jpg
/home/pi/Desktop/images/09042025/07/13/image_09042025_07_13_56_10437.jpg
/home/pi/Desktop/images/09042025/07/13/image_09042025_07_14_07_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350688783","1350688777","1350688770","1350688781","1350688772","1350688766"],"photo_ids_order":["1350688766","1350688770","1350688772","1350688777","1350688781","1350688783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7643a5146694b26188fedf85823aff18.jpg","text":"TemporaryFile(/tmp/multipartBody5755969494113584027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185153178,"filename":"image_09042025_07_14_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/25b42050c9416d4a67a53bd0414127fe.jpg","text":"TemporaryFile(/tmp/multipartBody7516359351030668986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185153178,"filename":"image_09042025_07_13_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa3f1108511ffc228a13477e27880c0e.jpg","text":"TemporaryFile(/tmp/multipartBody954667105214022548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185153178,"filename":"image_09042025_07_13_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/4/9/6b42e7e2d127eb5dbb14c74f8a2974ac.jpg","text":"TemporaryFile(/tmp/multipartBody8499425688599601850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185153178,"filename":"image_09042025_07_13_56_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9c96f2e0f3104ec54af1093444ee2de.jpg","text":"TemporaryFile(/tmp/multipartBody5418018642685014386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185153178,"filename":"image_09042025_07_13_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/4/9/9251dea562df3233488145f4af577f68.jpg","text":"TemporaryFile(/tmp/multipartBody465155141043322664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185153178,"filename":"image_09042025_07_13_16_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350688772","file1":"1350688770","file0":"1350688766","file4":"1350688781","file5":"1350688783","file3":"1350688777"},"map_files_photo_id_array":[{"photo_id":"1350688783","filename":"file5"},{"photo_id":"1350688772","filename":"file2"},{"photo_id":"1350688781","filename":"file4"},{"photo_id":"1350688770","filename":"file1"},{"photo_id":"1350688766","filename":"file0"},{"photo_id":"1350688777","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350688783":["hashtag1","hashtag2"]},{"1350688777":["hashtag1","hashtag2"]},{"1350688770":["hashtag1","hashtag2"]},{"1350688781":["hashtag1","hashtag2"]},{"1350688772":["hashtag1","hashtag2"]},{"1350688766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350688783, 1350688777, 1350688770, 1350688781, 1350688772, 1350688766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.851932764053345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:52:32.858270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_16_9396.jpg', '/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_26_10362.jpg', '/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_36_9364.jpg', '/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_46_10488.jpg', '/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_57_10376.jpg', '/home/pi/Desktop/images/09042025/07/14/image_09042025_07_15_06_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_16_9396.jpg
/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_26_10362.jpg
/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_36_9364.jpg
/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_46_10488.jpg
/home/pi/Desktop/images/09042025/07/14/image_09042025_07_14_57_10376.jpg
/home/pi/Desktop/images/09042025/07/14/image_09042025_07_15_06_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":["1350689044","1350689056","1350689029","1350689002","1350688992","1350689052"],"photo_ids_order":["1350688992","1350689002","1350689029","1350689044","1350689052","1350689056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd2e626624ca5bd014e632e235c5be98.jpg","text":"TemporaryFile(/tmp/multipartBody3790058637643343937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185213317,"filename":"image_09042025_07_14_46_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc40a5c2b499c3730f277a1090647c65.jpg","text":"TemporaryFile(/tmp/multipartBody4977430940388530958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185213317,"filename":"image_09042025_07_15_06_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c303e3bbb017a8d3fe8d466ff99e4ccf.jpg","text":"TemporaryFile(/tmp/multipartBody8075203040536585363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185213317,"filename":"image_09042025_07_14_36_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/46df64a04916d98c9b5cd61d689b1007.jpg","text":"TemporaryFile(/tmp/multipartBody6866609324630095608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185213317,"filename":"image_09042025_07_14_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/4/9/493eb52c3fa391f9196f906c1ff17936.jpg","text":"TemporaryFile(/tmp/multipartBody590524161707641396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185213317,"filename":"image_09042025_07_14_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/4/9/0e3f8d6fcee9a8699982bcd1b3adf8b1.jpg","text":"TemporaryFile(/tmp/multipartBody3600882447317992304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185213317,"filename":"image_09042025_07_14_57_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350689029","file1":"1350689002","file0":"1350688992","file4":"1350689052","file5":"1350689056","file3":"1350689044"},"map_files_photo_id_array":[{"photo_id":"1350689056","filename":"file5"},{"photo_id":"1350689029","filename":"file2"},{"photo_id":"1350689052","filename":"file4"},{"photo_id":"1350689002","filename":"file1"},{"photo_id":"1350688992","filename":"file0"},{"photo_id":"1350689044","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350689044":["hashtag1","hashtag2"]},{"1350689056":["hashtag1","hashtag2"]},{"1350689029":["hashtag1","hashtag2"]},{"1350689002":["hashtag1","hashtag2"]},{"1350688992":["hashtag1","hashtag2"]},{"1350689052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350689044, 1350689056, 1350689029, 1350689002, 1350688992, 1350689052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13522267341614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:53:33.051701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/15/image_09042025_07_15_16_10354.jpg', '/home/pi/Desktop/images/09042025/07/15/image_09042025_07_15_26_9340.jpg', '/home/pi/Desktop/images/09042025/07/15/image_09042025_07_15_36_10405.jpg', '/home/pi/Desktop/images/09042025/07/15/image_09042025_07_15_56_9352.jpg', '/home/pi/Desktop/images/09042025/07/15/image_09042025_07_16_06_10358.jpg', '/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_16_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/15/image_09042025_07_15_16_10354.jpg
/home/pi/Desktop/images/09042025/07/15/image_09042025_07_15_26_9340.jpg
/home/pi/Desktop/images/09042025/07/15/image_09042025_07_15_36_10405.jpg
/home/pi/Desktop/images/09042025/07/15/image_09042025_07_15_56_9352.jpg
/home/pi/Desktop/images/09042025/07/15/image_09042025_07_16_06_10358.jpg
/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_16_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350689290","1350689371","1350689314","1350689343","1350689346","1350689303"],"photo_ids_order":["1350689290","1350689303","1350689314","1350689343","1350689346","1350689371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/313eab7d71ebc4587696cfa4298366c5.jpg","text":"TemporaryFile(/tmp/multipartBody1224935584064789093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185273517,"filename":"image_09042025_07_15_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/4/9/697d7c00fb8b5e7cfc440ac7a9accefc.jpg","text":"TemporaryFile(/tmp/multipartBody7865398212870537231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185273517,"filename":"image_09042025_07_16_16_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e54933d286bb4f1980a9f62c8e0b82c8.jpg","text":"TemporaryFile(/tmp/multipartBody957745566296195854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185273517,"filename":"image_09042025_07_15_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/4/9/176f92b15f847aad90cbc3ff21ea5f33.jpg","text":"TemporaryFile(/tmp/multipartBody116968696534378277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185273517,"filename":"image_09042025_07_15_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/4/9/85f3401459592f82edb8d9aa46ad146f.jpg","text":"TemporaryFile(/tmp/multipartBody8580965863402934197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185273517,"filename":"image_09042025_07_16_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/581a9cdcc2ec381a3a1e3ff98ffa45a7.jpg","text":"TemporaryFile(/tmp/multipartBody2719965640853510881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185273517,"filename":"image_09042025_07_15_26_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350689314","file1":"1350689303","file0":"1350689290","file4":"1350689346","file5":"1350689371","file3":"1350689343"},"map_files_photo_id_array":[{"photo_id":"1350689371","filename":"file5"},{"photo_id":"1350689314","filename":"file2"},{"photo_id":"1350689346","filename":"file4"},{"photo_id":"1350689303","filename":"file1"},{"photo_id":"1350689290","filename":"file0"},{"photo_id":"1350689343","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350689290":["hashtag1","hashtag2"]},{"1350689371":["hashtag1","hashtag2"]},{"1350689314":["hashtag1","hashtag2"]},{"1350689343":["hashtag1","hashtag2"]},{"1350689346":["hashtag1","hashtag2"]},{"1350689303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350689290, 1350689371, 1350689314, 1350689343, 1350689346, 1350689303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.750916481018066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:54:32.195699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_26_10458.jpg', '/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_37_10343.jpg', '/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_46_9532.jpg', '/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_56_10367.jpg', '/home/pi/Desktop/images/09042025/07/16/image_09042025_07_17_06_9339.jpg', '/home/pi/Desktop/images/09042025/07/17/image_09042025_07_17_16_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_26_10458.jpg
/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_37_10343.jpg
/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_46_9532.jpg
/home/pi/Desktop/images/09042025/07/16/image_09042025_07_16_56_10367.jpg
/home/pi/Desktop/images/09042025/07/16/image_09042025_07_17_06_9339.jpg
/home/pi/Desktop/images/09042025/07/17/image_09042025_07_17_16_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":["1350689731","1350689553","1350689613","1350689517","1350689695","1350689665"],"photo_ids_order":["1350689517","1350689553","1350689613","1350689665","1350689695","1350689731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8649beb171a3b25108c84042e56fe2e9.jpg","text":"TemporaryFile(/tmp/multipartBody3099999460715471254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185332649,"filename":"image_09042025_07_17_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c141b4ef2796977d34e0a058873b66f.jpg","text":"TemporaryFile(/tmp/multipartBody8488599259733464621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185332649,"filename":"image_09042025_07_16_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/4/9/0b434386004cf8d8e57a0b4bb54d4095.jpg","text":"TemporaryFile(/tmp/multipartBody4054917469633640701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185332649,"filename":"image_09042025_07_16_46_9532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/86c3e1801b6b9460bb0e8d9759606e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2688790712234015345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185332649,"filename":"image_09042025_07_16_26_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f31d639258a5b3bc0cc344b61d97b487.jpg","text":"TemporaryFile(/tmp/multipartBody6446551304341026213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185332649,"filename":"image_09042025_07_17_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/4/9/fbf9c11de8bf7a2a1af3b579726cd31e.jpg","text":"TemporaryFile(/tmp/multipartBody533878597467131010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185332649,"filename":"image_09042025_07_16_56_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350689613","file1":"1350689553","file0":"1350689517","file4":"1350689695","file5":"1350689731","file3":"1350689665"},"map_files_photo_id_array":[{"photo_id":"1350689731","filename":"file5"},{"photo_id":"1350689613","filename":"file2"},{"photo_id":"1350689695","filename":"file4"},{"photo_id":"1350689553","filename":"file1"},{"photo_id":"1350689517","filename":"file0"},{"photo_id":"1350689665","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350689731":["hashtag1","hashtag2"]},{"1350689553":["hashtag1","hashtag2"]},{"1350689613":["hashtag1","hashtag2"]},{"1350689517":["hashtag1","hashtag2"]},{"1350689695":["hashtag1","hashtag2"]},{"1350689665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350689731, 1350689553, 1350689613, 1350689517, 1350689695, 1350689665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.915009021759033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:55:32.435417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/17/image_09042025_07_17_26_10355.jpg', '/home/pi/Desktop/images/09042025/07/17/image_09042025_07_17_46_10445.jpg', '/home/pi/Desktop/images/09042025/07/17/image_09042025_07_17_56_9359.jpg', '/home/pi/Desktop/images/09042025/07/17/image_09042025_07_18_06_10472.jpg', '/home/pi/Desktop/images/09042025/07/18/image_09042025_07_18_17_10368.jpg', '/home/pi/Desktop/images/09042025/07/18/image_09042025_07_18_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/17/image_09042025_07_17_26_10355.jpg
/home/pi/Desktop/images/09042025/07/17/image_09042025_07_17_46_10445.jpg
/home/pi/Desktop/images/09042025/07/17/image_09042025_07_17_56_9359.jpg
/home/pi/Desktop/images/09042025/07/17/image_09042025_07_18_06_10472.jpg
/home/pi/Desktop/images/09042025/07/18/image_09042025_07_18_17_10368.jpg
/home/pi/Desktop/images/09042025/07/18/image_09042025_07_18_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350689991","1350689981","1350689987","1350689989","1350689983","1350689977"],"photo_ids_order":["1350689977","1350689981","1350689983","1350689987","1350689989","1350689991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/999e0cbde82c224c1b059dec5da4a23d.jpg","text":"TemporaryFile(/tmp/multipartBody3464083980646816622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185392927,"filename":"image_09042025_07_18_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/4/9/58be00485bc5b7154553650146be5857.jpg","text":"TemporaryFile(/tmp/multipartBody5857363177686960614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185392927,"filename":"image_09042025_07_17_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dbb955409ac86bf3ee2e7e15e39bfa30.jpg","text":"TemporaryFile(/tmp/multipartBody8387288287384409709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185392927,"filename":"image_09042025_07_18_06_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4ed808eaa868fa3a7313ced02def3d39.jpg","text":"TemporaryFile(/tmp/multipartBody5868893520688900356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185392927,"filename":"image_09042025_07_18_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/4/9/8adf6417b000726b83389a14cb3080ab.jpg","text":"TemporaryFile(/tmp/multipartBody2680709486108683432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185392927,"filename":"image_09042025_07_17_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/4/9/1466287ef0b821059e2980eb59e17b84.jpg","text":"TemporaryFile(/tmp/multipartBody5517967913492603735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185392927,"filename":"image_09042025_07_17_26_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350689983","file1":"1350689981","file0":"1350689977","file4":"1350689989","file5":"1350689991","file3":"1350689987"},"map_files_photo_id_array":[{"photo_id":"1350689991","filename":"file5"},{"photo_id":"1350689983","filename":"file2"},{"photo_id":"1350689989","filename":"file4"},{"photo_id":"1350689981","filename":"file1"},{"photo_id":"1350689977","filename":"file0"},{"photo_id":"1350689987","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350689991":["hashtag1","hashtag2"]},{"1350689981":["hashtag1","hashtag2"]},{"1350689987":["hashtag1","hashtag2"]},{"1350689989":["hashtag1","hashtag2"]},{"1350689983":["hashtag1","hashtag2"]},{"1350689977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350689991, 1350689981, 1350689987, 1350689989, 1350689983, 1350689977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.19522261619568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:56:32.749396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/18/image_09042025_07_18_47_10361.jpg', '/home/pi/Desktop/images/09042025/07/18/image_09042025_07_18_56_9350.jpg', '/home/pi/Desktop/images/09042025/07/18/image_09042025_07_19_06_10429.jpg', '/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_16_9332.jpg', '/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_26_10393.jpg', '/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_36_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/18/image_09042025_07_18_47_10361.jpg
/home/pi/Desktop/images/09042025/07/18/image_09042025_07_18_56_9350.jpg
/home/pi/Desktop/images/09042025/07/18/image_09042025_07_19_06_10429.jpg
/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_16_9332.jpg
/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_26_10393.jpg
/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_36_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350690052","1350690046","1350690055","1350690069","1350690060","1350690050"],"photo_ids_order":["1350690046","1350690050","1350690052","1350690055","1350690060","1350690069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dbb5ed83812b127690a6363f57731eb3.jpg","text":"TemporaryFile(/tmp/multipartBody1659273186320841836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185453199,"filename":"image_09042025_07_19_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/865bc77a35bdc45541ee442a958a5bde.jpg","text":"TemporaryFile(/tmp/multipartBody100450388726783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185453199,"filename":"image_09042025_07_18_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/4/9/0f5046e3e7650318d441cfae43a7cf64.jpg","text":"TemporaryFile(/tmp/multipartBody2633400153994009840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185453199,"filename":"image_09042025_07_19_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/941acade0a359e925233bad0d3c97b24.jpg","text":"TemporaryFile(/tmp/multipartBody5568931868834386752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185453199,"filename":"image_09042025_07_19_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/4/9/fc85c7be35ee68774e79673b764b43f9.jpg","text":"TemporaryFile(/tmp/multipartBody3011590012158023231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185453199,"filename":"image_09042025_07_19_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/228d6cded654ae24bee4115badcfbd2d.jpg","text":"TemporaryFile(/tmp/multipartBody1811294159891476084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185453199,"filename":"image_09042025_07_18_56_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350690052","file1":"1350690050","file0":"1350690046","file4":"1350690060","file5":"1350690069","file3":"1350690055"},"map_files_photo_id_array":[{"photo_id":"1350690069","filename":"file5"},{"photo_id":"1350690052","filename":"file2"},{"photo_id":"1350690060","filename":"file4"},{"photo_id":"1350690050","filename":"file1"},{"photo_id":"1350690046","filename":"file0"},{"photo_id":"1350690055","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350690052":["hashtag1","hashtag2"]},{"1350690046":["hashtag1","hashtag2"]},{"1350690055":["hashtag1","hashtag2"]},{"1350690069":["hashtag1","hashtag2"]},{"1350690060":["hashtag1","hashtag2"]},{"1350690050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350690052, 1350690046, 1350690055, 1350690069, 1350690060, 1350690050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.022449016571045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:57:32.854280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_46_9360.jpg', '/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_56_10366.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_16_9335.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_26_10436.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_36_9356.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_46_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_46_9360.jpg
/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_56_10366.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_16_9335.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_26_10436.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_36_9356.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_46_10405.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 09:59:03.722915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_46_9360.jpg', '/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_56_10366.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_16_9335.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_26_10436.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_36_9356.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_46_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_46_9360.jpg
/home/pi/Desktop/images/09042025/07/19/image_09042025_07_19_56_10366.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_16_9335.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_26_10436.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_36_9356.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_46_10405.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350690710","1350690862","1350690763","1350690910","1350690792","1350690825"],"photo_ids_order":["1350690710","1350690763","1350690792","1350690825","1350690862","1350690910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65802c70af479ee20b2fd510d69577e8.jpg","text":"TemporaryFile(/tmp/multipartBody5064646099865836294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185604315,"filename":"image_09042025_07_19_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/4/9/4bdcff20e0e42e798801bc7feea66380.jpg","text":"TemporaryFile(/tmp/multipartBody5668869105444428110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185604315,"filename":"image_09042025_07_20_36_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/388f08c887849dc38893428d3c72e447.jpg","text":"TemporaryFile(/tmp/multipartBody8639896400278449893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185604315,"filename":"image_09042025_07_19_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/4/9/10285369aa86b7bbabb2e6e33c2e7775.jpg","text":"TemporaryFile(/tmp/multipartBody6537382487198154632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185604315,"filename":"image_09042025_07_20_46_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba61c7d8ab3733246d4dabb4b20745d4.jpg","text":"TemporaryFile(/tmp/multipartBody6099564749717564605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185604315,"filename":"image_09042025_07_20_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/4/9/7d3e1028da725590aafea39f708b6951.jpg","text":"TemporaryFile(/tmp/multipartBody2479590626769983816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185604315,"filename":"image_09042025_07_20_26_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350690792","file1":"1350690763","file0":"1350690710","file4":"1350690862","file5":"1350690910","file3":"1350690825"},"map_files_photo_id_array":[{"photo_id":"1350690910","filename":"file5"},{"photo_id":"1350690792","filename":"file2"},{"photo_id":"1350690862","filename":"file4"},{"photo_id":"1350690763","filename":"file1"},{"photo_id":"1350690710","filename":"file0"},{"photo_id":"1350690825","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350690710":["hashtag1","hashtag2"]},{"1350690862":["hashtag1","hashtag2"]},{"1350690763":["hashtag1","hashtag2"]},{"1350690910":["hashtag1","hashtag2"]},{"1350690792":["hashtag1","hashtag2"]},{"1350690825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350690710, 1350690862, 1350690763, 1350690910, 1350690792, 1350690825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63961744308472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 09:59:42.777452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_56_10354.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_21_06_9419.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_16_10361.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_27_10362.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_36_9365.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_46_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_56_10354.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_21_06_9419.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_16_10361.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_27_10362.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_36_9365.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_46_10420.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3900914192199707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 09:59:52.606387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_56_10354.jpg', '/home/pi/Desktop/images/09042025/07/20/image_09042025_07_21_06_9419.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_16_10361.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_27_10362.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_36_9365.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_46_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_20_56_10354.jpg
/home/pi/Desktop/images/09042025/07/20/image_09042025_07_21_06_9419.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_16_10361.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_27_10362.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_36_9365.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_46_10420.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350691204","1350691306","1350691257","1350691164","1350691355","1350691109"],"photo_ids_order":["1350691109","1350691164","1350691204","1350691257","1350691306","1350691355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ef5da2d749873527d3eb60bbaf2a485.jpg","text":"TemporaryFile(/tmp/multipartBody4879428680522767645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185653076,"filename":"image_09042025_07_21_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/4/9/43ff65afff7b967d7d23702db5798829.jpg","text":"TemporaryFile(/tmp/multipartBody8731720284319225114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185653076,"filename":"image_09042025_07_21_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/098a5d0c8d6168a64894aee3cd8a0836.jpg","text":"TemporaryFile(/tmp/multipartBody8257179586631984349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185653076,"filename":"image_09042025_07_21_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/4/9/f0ccf280b094d1da07ebbb8b4be599af.jpg","text":"TemporaryFile(/tmp/multipartBody14228718091962637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185653076,"filename":"image_09042025_07_21_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/beff090ec0613f7195386b9ad72a5ca3.jpg","text":"TemporaryFile(/tmp/multipartBody645084882810533567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185653076,"filename":"image_09042025_07_21_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/4/9/90da2b1804f88e4284dbe9cf136dfdca.jpg","text":"TemporaryFile(/tmp/multipartBody1138711811439685488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185653076,"filename":"image_09042025_07_20_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350691204","file1":"1350691164","file0":"1350691109","file4":"1350691306","file5":"1350691355","file3":"1350691257"},"map_files_photo_id_array":[{"photo_id":"1350691355","filename":"file5"},{"photo_id":"1350691204","filename":"file2"},{"photo_id":"1350691306","filename":"file4"},{"photo_id":"1350691164","filename":"file1"},{"photo_id":"1350691109","filename":"file0"},{"photo_id":"1350691257","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350691204":["hashtag1","hashtag2"]},{"1350691306":["hashtag1","hashtag2"]},{"1350691257":["hashtag1","hashtag2"]},{"1350691164":["hashtag1","hashtag2"]},{"1350691355":["hashtag1","hashtag2"]},{"1350691109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350691204, 1350691306, 1350691257, 1350691164, 1350691355, 1350691109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.905967473983765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:00:32.836597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_56_9342.jpg', '/home/pi/Desktop/images/09042025/07/21/image_09042025_07_22_06_10472.jpg', '/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_17_10367.jpg', '/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_26_9360.jpg', '/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_36_10400.jpg', '/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_46_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_21_56_9342.jpg
/home/pi/Desktop/images/09042025/07/21/image_09042025_07_22_06_10472.jpg
/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_17_10367.jpg
/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_26_9360.jpg
/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_36_10400.jpg
/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_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":["1350691807","1350691548","1350691784","1350691870","1350691718","1350691654"],"photo_ids_order":["1350691548","1350691654","1350691718","1350691784","1350691807","1350691870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7c242fefd60b0a3698b0f3b92fb27e3.jpg","text":"TemporaryFile(/tmp/multipartBody3874370308144827064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185693286,"filename":"image_09042025_07_22_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b6da93d1b980599005e6ee1ad95065a4.jpg","text":"TemporaryFile(/tmp/multipartBody1812456042927724457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185693286,"filename":"image_09042025_07_21_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/4/9/a1d2b78bc6d1be5c49a468b38842b119.jpg","text":"TemporaryFile(/tmp/multipartBody8324298529435276456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185693286,"filename":"image_09042025_07_22_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/4/9/08ad3fb276f232cf0fbe93f92880da5c.jpg","text":"TemporaryFile(/tmp/multipartBody1811908557478917259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185693286,"filename":"image_09042025_07_22_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/4/9/1e4a12499f21036e4d215c0bf69cc016.jpg","text":"TemporaryFile(/tmp/multipartBody3756606048377582957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185693286,"filename":"image_09042025_07_22_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d55ad303dceb6504141c8eb1c771f7c.jpg","text":"TemporaryFile(/tmp/multipartBody2495926238287492213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185693286,"filename":"image_09042025_07_22_06_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350691718","file1":"1350691654","file0":"1350691548","file4":"1350691807","file5":"1350691870","file3":"1350691784"},"map_files_photo_id_array":[{"photo_id":"1350691870","filename":"file5"},{"photo_id":"1350691718","filename":"file2"},{"photo_id":"1350691807","filename":"file4"},{"photo_id":"1350691654","filename":"file1"},{"photo_id":"1350691548","filename":"file0"},{"photo_id":"1350691784","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350691807":["hashtag1","hashtag2"]},{"1350691548":["hashtag1","hashtag2"]},{"1350691784":["hashtag1","hashtag2"]},{"1350691870":["hashtag1","hashtag2"]},{"1350691718":["hashtag1","hashtag2"]},{"1350691654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350691807, 1350691548, 1350691784, 1350691870, 1350691718, 1350691654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58174967765808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:01:33.112456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_56_10414.jpg', '/home/pi/Desktop/images/09042025/07/23/image_09042025_07_23_16_9356.jpg', '/home/pi/Desktop/images/09042025/07/23/image_09042025_07_23_26_10458.jpg', '/home/pi/Desktop/images/09042025/07/23/image_09042025_07_23_46_9427.jpg', '/home/pi/Desktop/images/09042025/07/23/image_09042025_07_23_56_10425.jpg', '/home/pi/Desktop/images/09042025/07/23/image_09042025_07_24_06_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/22/image_09042025_07_22_56_10414.jpg
/home/pi/Desktop/images/09042025/07/23/image_09042025_07_23_16_9356.jpg
/home/pi/Desktop/images/09042025/07/23/image_09042025_07_23_26_10458.jpg
/home/pi/Desktop/images/09042025/07/23/image_09042025_07_23_46_9427.jpg
/home/pi/Desktop/images/09042025/07/23/image_09042025_07_23_56_10425.jpg
/home/pi/Desktop/images/09042025/07/23/image_09042025_07_24_06_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":["1350692329","1350692236","1350692439","1350692291","1350692386","1350692204"],"photo_ids_order":["1350692204","1350692236","1350692291","1350692329","1350692386","1350692439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8319f95dc75f356a103488c2dd5adaaf.jpg","text":"TemporaryFile(/tmp/multipartBody527177962300576672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185753575,"filename":"image_09042025_07_23_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/746ce3baad9446e2710c195304fdef65.jpg","text":"TemporaryFile(/tmp/multipartBody3441315277003345707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185753575,"filename":"image_09042025_07_23_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/593f34a0c97edb5b6792064f63e2b01a.jpg","text":"TemporaryFile(/tmp/multipartBody4303896789260493281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185753575,"filename":"image_09042025_07_24_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/4/9/04ef65f55a0d34e9e55c91585f7b73b5.jpg","text":"TemporaryFile(/tmp/multipartBody8471563399528650959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185753575,"filename":"image_09042025_07_23_26_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7cc68603084be1dfb1240db289ddead.jpg","text":"TemporaryFile(/tmp/multipartBody8944900285842448542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185753575,"filename":"image_09042025_07_23_56_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bce16c0ea0174bd50e4370019b76b2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5111535978665000572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185753575,"filename":"image_09042025_07_22_56_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350692291","file1":"1350692236","file0":"1350692204","file4":"1350692386","file5":"1350692439","file3":"1350692329"},"map_files_photo_id_array":[{"photo_id":"1350692439","filename":"file5"},{"photo_id":"1350692291","filename":"file2"},{"photo_id":"1350692386","filename":"file4"},{"photo_id":"1350692236","filename":"file1"},{"photo_id":"1350692204","filename":"file0"},{"photo_id":"1350692329","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350692329":["hashtag1","hashtag2"]},{"1350692236":["hashtag1","hashtag2"]},{"1350692439":["hashtag1","hashtag2"]},{"1350692291":["hashtag1","hashtag2"]},{"1350692386":["hashtag1","hashtag2"]},{"1350692204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350692329, 1350692236, 1350692439, 1350692291, 1350692386, 1350692204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52407884597778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:02:32.453880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_16_10372.jpg', '/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_27_10365.jpg', '/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_36_9462.jpg', '/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_46_10398.jpg', '/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_56_9364.jpg', '/home/pi/Desktop/images/09042025/07/24/image_09042025_07_25_06_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_16_10372.jpg
/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_27_10365.jpg
/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_36_9462.jpg
/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_46_10398.jpg
/home/pi/Desktop/images/09042025/07/24/image_09042025_07_24_56_9364.jpg
/home/pi/Desktop/images/09042025/07/24/image_09042025_07_25_06_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":["1350692818","1350692862","1350693020","1350692888","1350692942","1350692983"],"photo_ids_order":["1350692818","1350692862","1350692888","1350692942","1350692983","1350693020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/68867af8f312b59d32a30b3241e15fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5336786396147350126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185812911,"filename":"image_09042025_07_24_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/4/9/5902e39f6895a21ad1885deab66bf017.jpg","text":"TemporaryFile(/tmp/multipartBody1433218733933590324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185812911,"filename":"image_09042025_07_24_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/4/9/78825e11094f9f2760163e4d6d9ce08e.jpg","text":"TemporaryFile(/tmp/multipartBody1352473786833437549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185812911,"filename":"image_09042025_07_25_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/4/9/65166b1e989f1d2b5e7a43c341dc5e56.jpg","text":"TemporaryFile(/tmp/multipartBody4636359152316577108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185812911,"filename":"image_09042025_07_24_36_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24b68ebc2fca342cacea0243d411946b.jpg","text":"TemporaryFile(/tmp/multipartBody1775428533770056055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185812911,"filename":"image_09042025_07_24_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a23c2de3197672fb25d6f6336312e0ee.jpg","text":"TemporaryFile(/tmp/multipartBody501239579706137345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185812911,"filename":"image_09042025_07_24_56_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350692888","file1":"1350692862","file0":"1350692818","file4":"1350692983","file5":"1350693020","file3":"1350692942"},"map_files_photo_id_array":[{"photo_id":"1350693020","filename":"file5"},{"photo_id":"1350692888","filename":"file2"},{"photo_id":"1350692983","filename":"file4"},{"photo_id":"1350692862","filename":"file1"},{"photo_id":"1350692818","filename":"file0"},{"photo_id":"1350692942","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350692818":["hashtag1","hashtag2"]},{"1350692862":["hashtag1","hashtag2"]},{"1350693020":["hashtag1","hashtag2"]},{"1350692888":["hashtag1","hashtag2"]},{"1350692942":["hashtag1","hashtag2"]},{"1350692983":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350692818, 1350692862, 1350693020, 1350692888, 1350692942, 1350692983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.298951864242554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:03:32.643892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_17_10360.jpg', '/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_26_9464.jpg', '/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_36_10366.jpg', '/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_46_9408.jpg', '/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_56_10444.jpg', '/home/pi/Desktop/images/09042025/07/25/image_09042025_07_26_07_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_17_10360.jpg
/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_26_9464.jpg
/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_36_10366.jpg
/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_46_9408.jpg
/home/pi/Desktop/images/09042025/07/25/image_09042025_07_25_56_10444.jpg
/home/pi/Desktop/images/09042025/07/25/image_09042025_07_26_07_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":["1350693642","1350693695","1350693603","1350693752","1350693560","1350693524"],"photo_ids_order":["1350693524","1350693560","1350693603","1350693642","1350693695","1350693752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a89663392a6e66bfaf62f98df931dc7d.jpg","text":"TemporaryFile(/tmp/multipartBody4607798935923241725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185873102,"filename":"image_09042025_07_25_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7eac4ed1c95c2d5c3b764a134c13aafb.jpg","text":"TemporaryFile(/tmp/multipartBody9075951448918352691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185873102,"filename":"image_09042025_07_25_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/4/9/6ec81285fedcaa939914a3dfe175447b.jpg","text":"TemporaryFile(/tmp/multipartBody7358742214036107309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185873102,"filename":"image_09042025_07_25_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/4/9/091f3be9fac729dbedb833031db70f09.jpg","text":"TemporaryFile(/tmp/multipartBody3597936432274083435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185873102,"filename":"image_09042025_07_26_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/4/9/0965120aa4f7a92344789a7b7dae47a2.jpg","text":"TemporaryFile(/tmp/multipartBody2046377636642631079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185873102,"filename":"image_09042025_07_25_26_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9c7e1ec43d137114b22833ef954dd7a.jpg","text":"TemporaryFile(/tmp/multipartBody9219642654272332188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185873102,"filename":"image_09042025_07_25_17_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350693603","file1":"1350693560","file0":"1350693524","file4":"1350693695","file5":"1350693752","file3":"1350693642"},"map_files_photo_id_array":[{"photo_id":"1350693752","filename":"file5"},{"photo_id":"1350693603","filename":"file2"},{"photo_id":"1350693695","filename":"file4"},{"photo_id":"1350693560","filename":"file1"},{"photo_id":"1350693524","filename":"file0"},{"photo_id":"1350693642","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350693642":["hashtag1","hashtag2"]},{"1350693695":["hashtag1","hashtag2"]},{"1350693603":["hashtag1","hashtag2"]},{"1350693752":["hashtag1","hashtag2"]},{"1350693560":["hashtag1","hashtag2"]},{"1350693524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350693642, 1350693695, 1350693603, 1350693752, 1350693560, 1350693524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29304337501526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:04:33.073807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_16_9440.jpg', '/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_26_10364.jpg', '/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_36_9367.jpg', '/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_46_10450.jpg', '/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_57_10364.jpg', '/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_06_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_16_9440.jpg
/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_26_10364.jpg
/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_36_9367.jpg
/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_46_10450.jpg
/home/pi/Desktop/images/09042025/07/26/image_09042025_07_26_57_10364.jpg
/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_06_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350694294","1350694276","1350694384","1350694216","1350694341","1350694248"],"photo_ids_order":["1350694216","1350694248","1350694276","1350694294","1350694341","1350694384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b50cab72693bbcaa3ae8f181b07ff869.jpg","text":"TemporaryFile(/tmp/multipartBody181868670448912863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185933523,"filename":"image_09042025_07_26_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/4/9/a116c2b95f47e221fd8ebe57d8c29bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8183818048500088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185933523,"filename":"image_09042025_07_26_36_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39a10da73f38517d57caf16984410683.jpg","text":"TemporaryFile(/tmp/multipartBody570706885046328366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185933523,"filename":"image_09042025_07_27_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/4/9/094bf06b6d55419fc4bd8b8a090c68c5.jpg","text":"TemporaryFile(/tmp/multipartBody1779408184823473843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185933523,"filename":"image_09042025_07_26_16_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee3345483d6f6d2ffe0a18caffb3efe9.jpg","text":"TemporaryFile(/tmp/multipartBody8341433628297321665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185933523,"filename":"image_09042025_07_26_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/4/9/c55b8c52ffd2631746c607b4bd375768.jpg","text":"TemporaryFile(/tmp/multipartBody8669135857898002256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185933523,"filename":"image_09042025_07_26_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350694276","file1":"1350694248","file0":"1350694216","file4":"1350694341","file5":"1350694384","file3":"1350694294"},"map_files_photo_id_array":[{"photo_id":"1350694384","filename":"file5"},{"photo_id":"1350694276","filename":"file2"},{"photo_id":"1350694341","filename":"file4"},{"photo_id":"1350694248","filename":"file1"},{"photo_id":"1350694216","filename":"file0"},{"photo_id":"1350694294","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350694294":["hashtag1","hashtag2"]},{"1350694276":["hashtag1","hashtag2"]},{"1350694384":["hashtag1","hashtag2"]},{"1350694216":["hashtag1","hashtag2"]},{"1350694341":["hashtag1","hashtag2"]},{"1350694248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350694294, 1350694276, 1350694384, 1350694216, 1350694341, 1350694248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24562335014343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:05:33.137273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_16_10424.jpg', '/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_26_9354.jpg', '/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_36_10426.jpg', '/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_47_10370.jpg', '/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_56_9356.jpg', '/home/pi/Desktop/images/09042025/07/27/image_09042025_07_28_06_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_16_10424.jpg
/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_26_9354.jpg
/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_36_10426.jpg
/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_47_10370.jpg
/home/pi/Desktop/images/09042025/07/27/image_09042025_07_27_56_9356.jpg
/home/pi/Desktop/images/09042025/07/27/image_09042025_07_28_06_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":["1350694688","1350695161","1350695023","1350694890","1350694752","1350694623"],"photo_ids_order":["1350694623","1350694688","1350694752","1350694890","1350695023","1350695161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e93a0acebb4498cf7a707c7df3994c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5962750144635687073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185993594,"filename":"image_09042025_07_27_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/4/9/87519bb99a046580916cd90fc95707c4.jpg","text":"TemporaryFile(/tmp/multipartBody6792776488905078803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185993594,"filename":"image_09042025_07_28_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f301c4a7e8cd2e3bdb45e92ecbfb7166.jpg","text":"TemporaryFile(/tmp/multipartBody7680919453013758310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185993594,"filename":"image_09042025_07_27_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/4/9/bc26ba6531369d0e717d6563422c4ee0.jpg","text":"TemporaryFile(/tmp/multipartBody862756290593384648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185993594,"filename":"image_09042025_07_27_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/4/9/98a53ead459db8a57130ca7d08f5621b.jpg","text":"TemporaryFile(/tmp/multipartBody7735561403045009086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185993594,"filename":"image_09042025_07_27_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/4/9/18a09d558cc605c157731b8537fd6634.jpg","text":"TemporaryFile(/tmp/multipartBody757188038380567260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744185993594,"filename":"image_09042025_07_27_16_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350694752","file1":"1350694688","file0":"1350694623","file4":"1350695023","file5":"1350695161","file3":"1350694890"},"map_files_photo_id_array":[{"photo_id":"1350695161","filename":"file5"},{"photo_id":"1350694752","filename":"file2"},{"photo_id":"1350695023","filename":"file4"},{"photo_id":"1350694688","filename":"file1"},{"photo_id":"1350694623","filename":"file0"},{"photo_id":"1350694890","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350694688":["hashtag1","hashtag2"]},{"1350695161":["hashtag1","hashtag2"]},{"1350695023":["hashtag1","hashtag2"]},{"1350694890":["hashtag1","hashtag2"]},{"1350694752":["hashtag1","hashtag2"]},{"1350694623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350694688, 1350695161, 1350695023, 1350694890, 1350694752, 1350694623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.670363903045654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:06:32.481318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/28/image_09042025_07_28_26_10426.jpg', '/home/pi/Desktop/images/09042025/07/28/image_09042025_07_28_36_10364.jpg', '/home/pi/Desktop/images/09042025/07/28/image_09042025_07_28_46_9361.jpg', '/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_16_9436.jpg', '/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_26_10352.jpg', '/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_36_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/28/image_09042025_07_28_26_10426.jpg
/home/pi/Desktop/images/09042025/07/28/image_09042025_07_28_36_10364.jpg
/home/pi/Desktop/images/09042025/07/28/image_09042025_07_28_46_9361.jpg
/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_16_9436.jpg
/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_26_10352.jpg
/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_36_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":["1350695948","1350695822","1350696069","1350695754","1350695706","1350695901"],"photo_ids_order":["1350695706","1350695754","1350695822","1350695901","1350695948","1350696069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b5fa793d987dd513a0cca429ad1db6b.jpg","text":"TemporaryFile(/tmp/multipartBody9005835674677285434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186053007,"filename":"image_09042025_07_29_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/4/9/2c6f4e9fbedf0ed18c4b09a2d8e32008.jpg","text":"TemporaryFile(/tmp/multipartBody7719411994497128663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186053007,"filename":"image_09042025_07_28_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/4/9/f4001f42188bc301b7b64b2ff74ad839.jpg","text":"TemporaryFile(/tmp/multipartBody413968858899257491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186053007,"filename":"image_09042025_07_29_36_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d0b8571fd4e3043faa7156b10effb201.jpg","text":"TemporaryFile(/tmp/multipartBody2615926525660399102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186053007,"filename":"image_09042025_07_28_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/4/9/4268a9f81f7e1ebff23fe2c95241b74c.jpg","text":"TemporaryFile(/tmp/multipartBody1674372028431503604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186053007,"filename":"image_09042025_07_28_26_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9fd26022ad789c45ba082620778e568.jpg","text":"TemporaryFile(/tmp/multipartBody4179143361108689043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186053007,"filename":"image_09042025_07_29_16_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350695822","file1":"1350695754","file0":"1350695706","file4":"1350695948","file5":"1350696069","file3":"1350695901"},"map_files_photo_id_array":[{"photo_id":"1350696069","filename":"file5"},{"photo_id":"1350695822","filename":"file2"},{"photo_id":"1350695948","filename":"file4"},{"photo_id":"1350695754","filename":"file1"},{"photo_id":"1350695706","filename":"file0"},{"photo_id":"1350695901","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350695948":["hashtag1","hashtag2"]},{"1350695822":["hashtag1","hashtag2"]},{"1350696069":["hashtag1","hashtag2"]},{"1350695754":["hashtag1","hashtag2"]},{"1350695706":["hashtag1","hashtag2"]},{"1350695901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350695948, 1350695822, 1350696069, 1350695754, 1350695706, 1350695901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94636607170105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:07:32.713615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_46_10379.jpg', '/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_56_10354.jpg', '/home/pi/Desktop/images/09042025/07/29/image_09042025_07_30_06_9349.jpg', '/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_16_10409.jpg', '/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_26_9431.jpg', '/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_36_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_46_10379.jpg
/home/pi/Desktop/images/09042025/07/29/image_09042025_07_29_56_10354.jpg
/home/pi/Desktop/images/09042025/07/29/image_09042025_07_30_06_9349.jpg
/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_16_10409.jpg
/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_26_9431.jpg
/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_36_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":["1350696982","1350696783","1350696873","1350696720","1350696618","1350696959"],"photo_ids_order":["1350696618","1350696720","1350696783","1350696873","1350696959","1350696982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b930b5ea4d6c1ef3bea7091a9ee150a0.jpg","text":"TemporaryFile(/tmp/multipartBody7873545962357652241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186113173,"filename":"image_09042025_07_30_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/4/9/b864258b6f832762e7adead11a8434db.jpg","text":"TemporaryFile(/tmp/multipartBody2352080873178657551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186113173,"filename":"image_09042025_07_30_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/4/9/7b89fbd706f8fb8fc5f03196aa8e3b35.jpg","text":"TemporaryFile(/tmp/multipartBody3520933635822512900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186113173,"filename":"image_09042025_07_30_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/4/9/760d998fbc7c579a2fe59491197ca6fd.jpg","text":"TemporaryFile(/tmp/multipartBody2073696116721092409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186113173,"filename":"image_09042025_07_29_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/4/9/a234888037ec770d2b68aae4b0ad10e8.jpg","text":"TemporaryFile(/tmp/multipartBody1033112537758818041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186113173,"filename":"image_09042025_07_29_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/4/9/1f95766c2489e30548a4ae5f8fe7e0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3392029702266671937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186113173,"filename":"image_09042025_07_30_26_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350696783","file1":"1350696720","file0":"1350696618","file4":"1350696959","file5":"1350696982","file3":"1350696873"},"map_files_photo_id_array":[{"photo_id":"1350696982","filename":"file5"},{"photo_id":"1350696783","filename":"file2"},{"photo_id":"1350696959","filename":"file4"},{"photo_id":"1350696720","filename":"file1"},{"photo_id":"1350696618","filename":"file0"},{"photo_id":"1350696873","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350696982":["hashtag1","hashtag2"]},{"1350696783":["hashtag1","hashtag2"]},{"1350696873":["hashtag1","hashtag2"]},{"1350696720":["hashtag1","hashtag2"]},{"1350696618":["hashtag1","hashtag2"]},{"1350696959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350696982, 1350696783, 1350696873, 1350696720, 1350696618, 1350696959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19660258293152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:08:32.970448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_46_10410.jpg', '/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_56_9428.jpg', '/home/pi/Desktop/images/09042025/07/30/image_09042025_07_31_06_10359.jpg', '/home/pi/Desktop/images/09042025/07/31/image_09042025_07_31_26_9457.jpg', '/home/pi/Desktop/images/09042025/07/31/image_09042025_07_31_36_10371.jpg', '/home/pi/Desktop/images/09042025/07/31/image_09042025_07_31_46_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_46_10410.jpg
/home/pi/Desktop/images/09042025/07/30/image_09042025_07_30_56_9428.jpg
/home/pi/Desktop/images/09042025/07/30/image_09042025_07_31_06_10359.jpg
/home/pi/Desktop/images/09042025/07/31/image_09042025_07_31_26_9457.jpg
/home/pi/Desktop/images/09042025/07/31/image_09042025_07_31_36_10371.jpg
/home/pi/Desktop/images/09042025/07/31/image_09042025_07_31_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":["1350697729","1350698069","1350697952","1350697844","1350697436","1350697597"],"photo_ids_order":["1350697436","1350697597","1350697729","1350697844","1350697952","1350698069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/61a1b28e0f1eb19a4654db764a66f624.jpg","text":"TemporaryFile(/tmp/multipartBody6338463739878979624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186173515,"filename":"image_09042025_07_31_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/4/9/70f7b690085e453a98b8924a1a070ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4457456460233066511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186173515,"filename":"image_09042025_07_31_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/4/9/448acf1f1e17d1a2026d1d8e4e980f71.jpg","text":"TemporaryFile(/tmp/multipartBody3456488092855697304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186173515,"filename":"image_09042025_07_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/4/9/9a4390fa9f90675ee92f32b60f2475bd.jpg","text":"TemporaryFile(/tmp/multipartBody7120226337190425900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186173515,"filename":"image_09042025_07_31_26_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eafe562ea1dc4e6a6187dcc979cebe77.jpg","text":"TemporaryFile(/tmp/multipartBody2286530112683171226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186173515,"filename":"image_09042025_07_30_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1614f91d9027529d7199276cfe3d7d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2572740548442248094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186173515,"filename":"image_09042025_07_30_56_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350697729","file1":"1350697597","file0":"1350697436","file4":"1350697952","file5":"1350698069","file3":"1350697844"},"map_files_photo_id_array":[{"photo_id":"1350698069","filename":"file5"},{"photo_id":"1350697729","filename":"file2"},{"photo_id":"1350697952","filename":"file4"},{"photo_id":"1350697597","filename":"file1"},{"photo_id":"1350697436","filename":"file0"},{"photo_id":"1350697844","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350697729":["hashtag1","hashtag2"]},{"1350698069":["hashtag1","hashtag2"]},{"1350697952":["hashtag1","hashtag2"]},{"1350697844":["hashtag1","hashtag2"]},{"1350697436":["hashtag1","hashtag2"]},{"1350697597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350697729, 1350698069, 1350697952, 1350697844, 1350697436, 1350697597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.362125873565674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:09:33.093989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/31/image_09042025_07_31_56_10442.jpg', '/home/pi/Desktop/images/09042025/07/31/image_09042025_07_32_07_10353.jpg', '/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_16_9393.jpg', '/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_26_10379.jpg', '/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_36_9363.jpg', '/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_46_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/31/image_09042025_07_31_56_10442.jpg
/home/pi/Desktop/images/09042025/07/31/image_09042025_07_32_07_10353.jpg
/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_16_9393.jpg
/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_26_10379.jpg
/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_36_9363.jpg
/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_46_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350699980","1350700417","1350700281","1350699037","1350699690","1350699369"],"photo_ids_order":["1350699037","1350699369","1350699690","1350699980","1350700281","1350700417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/224be293674055dc4182da60ea30e789.jpg","text":"TemporaryFile(/tmp/multipartBody641430521138744876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186233580,"filename":"image_09042025_07_32_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/4/9/794c6cc66121028d8fbdedd1fd9070a9.jpg","text":"TemporaryFile(/tmp/multipartBody4139969025562775970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186233580,"filename":"image_09042025_07_32_46_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9d4b38e08d45c6b5b6a13b1971d5643.jpg","text":"TemporaryFile(/tmp/multipartBody417024616436481639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186233580,"filename":"image_09042025_07_32_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/4/9/ea25f82c5672d7f9d441437003d505fe.jpg","text":"TemporaryFile(/tmp/multipartBody2381871039409917039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186233580,"filename":"image_09042025_07_31_56_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/905fdf650ebbdf7ae5f3fdc403e543ae.jpg","text":"TemporaryFile(/tmp/multipartBody2070965699518096326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186233580,"filename":"image_09042025_07_32_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/4/9/6009bf97bef1b967a17f36ebe140d43e.jpg","text":"TemporaryFile(/tmp/multipartBody2404035165223875945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186233580,"filename":"image_09042025_07_32_07_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350699690","file1":"1350699369","file0":"1350699037","file4":"1350700281","file5":"1350700417","file3":"1350699980"},"map_files_photo_id_array":[{"photo_id":"1350700417","filename":"file5"},{"photo_id":"1350699690","filename":"file2"},{"photo_id":"1350700281","filename":"file4"},{"photo_id":"1350699369","filename":"file1"},{"photo_id":"1350699037","filename":"file0"},{"photo_id":"1350699980","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350699980":["hashtag1","hashtag2"]},{"1350700417":["hashtag1","hashtag2"]},{"1350700281":["hashtag1","hashtag2"]},{"1350699037":["hashtag1","hashtag2"]},{"1350699690":["hashtag1","hashtag2"]},{"1350699369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350699980, 1350700417, 1350700281, 1350699037, 1350699690, 1350699369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7581832408905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:10:32.330016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_57_10378.jpg', '/home/pi/Desktop/images/09042025/07/32/image_09042025_07_33_06_9437.jpg', '/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_16_10410.jpg', '/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_26_9411.jpg', '/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_36_10362.jpg', '/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_47_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/32/image_09042025_07_32_57_10378.jpg
/home/pi/Desktop/images/09042025/07/32/image_09042025_07_33_06_9437.jpg
/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_16_10410.jpg
/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_26_9411.jpg
/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_36_10362.jpg
/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_47_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350701903","1350701818","1350701725","1350701517","1350701381","1350701621"],"photo_ids_order":["1350701381","1350701517","1350701621","1350701725","1350701818","1350701903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e4ed4f33999e1f4a52948e4d330c7cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1442174600605799546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186292788,"filename":"image_09042025_07_33_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/4/9/fee075a84fd352bcbb41e5988854c10c.jpg","text":"TemporaryFile(/tmp/multipartBody6506414035612968260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186292788,"filename":"image_09042025_07_33_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/4/9/0040163df9dd5b628a415fdd17b187c2.jpg","text":"TemporaryFile(/tmp/multipartBody4945250418115130466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186292788,"filename":"image_09042025_07_33_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/4/9/17bf2bbf2fa16f89048373c1c18b89a9.jpg","text":"TemporaryFile(/tmp/multipartBody7986174545347376858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186292788,"filename":"image_09042025_07_33_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1120b7a24374c8bd9e993c4b1a49038e.jpg","text":"TemporaryFile(/tmp/multipartBody6933866962972987517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186292788,"filename":"image_09042025_07_32_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/4/9/9248ba29a762ccb7722aff6ab9c55a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2707216965581993459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186292788,"filename":"image_09042025_07_33_16_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350701621","file1":"1350701517","file0":"1350701381","file4":"1350701818","file5":"1350701903","file3":"1350701725"},"map_files_photo_id_array":[{"photo_id":"1350701903","filename":"file5"},{"photo_id":"1350701621","filename":"file2"},{"photo_id":"1350701818","filename":"file4"},{"photo_id":"1350701517","filename":"file1"},{"photo_id":"1350701381","filename":"file0"},{"photo_id":"1350701725","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350701903":["hashtag1","hashtag2"]},{"1350701818":["hashtag1","hashtag2"]},{"1350701725":["hashtag1","hashtag2"]},{"1350701517":["hashtag1","hashtag2"]},{"1350701381":["hashtag1","hashtag2"]},{"1350701621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350701903, 1350701818, 1350701725, 1350701517, 1350701381, 1350701621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.522722482681274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:11:32.576285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_56_9467.jpg', '/home/pi/Desktop/images/09042025/07/33/image_09042025_07_34_06_10417.jpg', '/home/pi/Desktop/images/09042025/07/34/image_09042025_07_34_16_9337.jpg', '/home/pi/Desktop/images/09042025/07/34/image_09042025_07_34_26_10483.jpg', '/home/pi/Desktop/images/09042025/07/34/image_09042025_07_34_36_9361.jpg', '/home/pi/Desktop/images/09042025/07/34/image_09042025_07_34_56_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/33/image_09042025_07_33_56_9467.jpg
/home/pi/Desktop/images/09042025/07/33/image_09042025_07_34_06_10417.jpg
/home/pi/Desktop/images/09042025/07/34/image_09042025_07_34_16_9337.jpg
/home/pi/Desktop/images/09042025/07/34/image_09042025_07_34_26_10483.jpg
/home/pi/Desktop/images/09042025/07/34/image_09042025_07_34_36_9361.jpg
/home/pi/Desktop/images/09042025/07/34/image_09042025_07_34_56_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350703197","1350703386","1350703302","1350702785","1350703043","1350702713"],"photo_ids_order":["1350702713","1350702785","1350703043","1350703197","1350703302","1350703386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/43ca78a8dfd9ed51b69c8c3ad0a3fe58.jpg","text":"TemporaryFile(/tmp/multipartBody7619052195039342533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186353049,"filename":"image_09042025_07_34_26_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27396bf09c6edb86c90b245ccab3680e.jpg","text":"TemporaryFile(/tmp/multipartBody6767163591359374177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186353049,"filename":"image_09042025_07_34_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/4/9/9eea084dd4902a02317d1ef15e8c5e17.jpg","text":"TemporaryFile(/tmp/multipartBody39782651396062486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186353049,"filename":"image_09042025_07_34_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/4/9/c26e2fbb3517a30d524e5b2d0d793eb2.jpg","text":"TemporaryFile(/tmp/multipartBody3998095449575520321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186353049,"filename":"image_09042025_07_34_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/4/9/98fbf2f7d27fa8528bffed8ac0ea14f5.jpg","text":"TemporaryFile(/tmp/multipartBody3275862673191801703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186353049,"filename":"image_09042025_07_34_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/4/9/4978b54430cbee92acf21b7a20cb316a.jpg","text":"TemporaryFile(/tmp/multipartBody1330642969208598120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186353049,"filename":"image_09042025_07_33_56_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350703043","file1":"1350702785","file0":"1350702713","file4":"1350703302","file5":"1350703386","file3":"1350703197"},"map_files_photo_id_array":[{"photo_id":"1350703386","filename":"file5"},{"photo_id":"1350703043","filename":"file2"},{"photo_id":"1350703302","filename":"file4"},{"photo_id":"1350702785","filename":"file1"},{"photo_id":"1350702713","filename":"file0"},{"photo_id":"1350703197","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350703197":["hashtag1","hashtag2"]},{"1350703386":["hashtag1","hashtag2"]},{"1350703302":["hashtag1","hashtag2"]},{"1350702785":["hashtag1","hashtag2"]},{"1350703043":["hashtag1","hashtag2"]},{"1350702713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350703197, 1350703386, 1350703302, 1350702785, 1350703043, 1350702713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75710678100586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:12:32.799796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/34/image_09042025_07_35_06_9370.jpg', '/home/pi/Desktop/images/09042025/07/35/image_09042025_07_35_26_9658.jpg', '/home/pi/Desktop/images/09042025/07/35/image_09042025_07_35_36_10473.jpg', '/home/pi/Desktop/images/09042025/07/35/image_09042025_07_35_46_9354.jpg', '/home/pi/Desktop/images/09042025/07/35/image_09042025_07_35_56_10447.jpg', '/home/pi/Desktop/images/09042025/07/35/image_09042025_07_36_07_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/34/image_09042025_07_35_06_9370.jpg
/home/pi/Desktop/images/09042025/07/35/image_09042025_07_35_26_9658.jpg
/home/pi/Desktop/images/09042025/07/35/image_09042025_07_35_36_10473.jpg
/home/pi/Desktop/images/09042025/07/35/image_09042025_07_35_46_9354.jpg
/home/pi/Desktop/images/09042025/07/35/image_09042025_07_35_56_10447.jpg
/home/pi/Desktop/images/09042025/07/35/image_09042025_07_36_07_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":["1350704435","1350704339","1350704132","1350704269","1350704212","1350704085"],"photo_ids_order":["1350704085","1350704132","1350704212","1350704269","1350704339","1350704435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/360c37472796ccdc25d581abed253945.jpg","text":"TemporaryFile(/tmp/multipartBody2547056046676438135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186413286,"filename":"image_09042025_07_36_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/4/9/f183f0bb82e1eaefa07191652901a595.jpg","text":"TemporaryFile(/tmp/multipartBody550246059297374125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186413286,"filename":"image_09042025_07_35_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/4/9/3447c90e060c9f491590c0ccc418eebf.jpg","text":"TemporaryFile(/tmp/multipartBody569775111086331728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186413286,"filename":"image_09042025_07_35_26_9658.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f22d4763085e41f86b0a2420b472e920.jpg","text":"TemporaryFile(/tmp/multipartBody4589021467436557333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186413286,"filename":"image_09042025_07_35_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/4/9/418fdedba9c213691cbcdf0f2855d3bb.jpg","text":"TemporaryFile(/tmp/multipartBody3881654377947240169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186413286,"filename":"image_09042025_07_35_36_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06bdd93db9b23ee67721a53121f7f30c.jpg","text":"TemporaryFile(/tmp/multipartBody2126120808287551153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186413286,"filename":"image_09042025_07_35_06_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350704212","file1":"1350704132","file0":"1350704085","file4":"1350704339","file5":"1350704435","file3":"1350704269"},"map_files_photo_id_array":[{"photo_id":"1350704435","filename":"file5"},{"photo_id":"1350704212","filename":"file2"},{"photo_id":"1350704339","filename":"file4"},{"photo_id":"1350704132","filename":"file1"},{"photo_id":"1350704085","filename":"file0"},{"photo_id":"1350704269","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350704435":["hashtag1","hashtag2"]},{"1350704339":["hashtag1","hashtag2"]},{"1350704132":["hashtag1","hashtag2"]},{"1350704269":["hashtag1","hashtag2"]},{"1350704212":["hashtag1","hashtag2"]},{"1350704085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350704435, 1350704339, 1350704132, 1350704269, 1350704212, 1350704085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26875853538513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:13:33.014355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_16_9342.jpg', '/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_26_10398.jpg', '/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_36_9362.jpg', '/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_46_10454.jpg', '/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_57_10409.jpg', '/home/pi/Desktop/images/09042025/07/36/image_09042025_07_37_06_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_16_9342.jpg
/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_26_10398.jpg
/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_36_9362.jpg
/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_46_10454.jpg
/home/pi/Desktop/images/09042025/07/36/image_09042025_07_36_57_10409.jpg
/home/pi/Desktop/images/09042025/07/36/image_09042025_07_37_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":["1350705306","1350705047","1350704885","1350704802","1350705169","1350704965"],"photo_ids_order":["1350704802","1350704885","1350704965","1350705047","1350705169","1350705306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2eb2509a22b474509d7a220def594370.jpg","text":"TemporaryFile(/tmp/multipartBody4236068893060846870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186473494,"filename":"image_09042025_07_37_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/4/9/cb4a870074de5cda6ea7821f787d0999.jpg","text":"TemporaryFile(/tmp/multipartBody8504644067359134074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186473494,"filename":"image_09042025_07_36_46_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9800a26e7c4296b243250a8530b58f5.jpg","text":"TemporaryFile(/tmp/multipartBody4842094292452167446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186473494,"filename":"image_09042025_07_36_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/4/9/19b46b4ad4a35b04b2c68a4e1f5f7c1d.jpg","text":"TemporaryFile(/tmp/multipartBody5249317152046170769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186473494,"filename":"image_09042025_07_36_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/4/9/f77843709cd4cb1d4e05fd80c16530b0.jpg","text":"TemporaryFile(/tmp/multipartBody295236451862631142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186473494,"filename":"image_09042025_07_36_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/4/9/e74df24cdf048285a5556c05d5e25103.jpg","text":"TemporaryFile(/tmp/multipartBody7129792353953360684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186473494,"filename":"image_09042025_07_36_36_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350704965","file1":"1350704885","file0":"1350704802","file4":"1350705169","file5":"1350705306","file3":"1350705047"},"map_files_photo_id_array":[{"photo_id":"1350705306","filename":"file5"},{"photo_id":"1350704965","filename":"file2"},{"photo_id":"1350705169","filename":"file4"},{"photo_id":"1350704885","filename":"file1"},{"photo_id":"1350704802","filename":"file0"},{"photo_id":"1350705047","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350705306":["hashtag1","hashtag2"]},{"1350705047":["hashtag1","hashtag2"]},{"1350704885":["hashtag1","hashtag2"]},{"1350704802":["hashtag1","hashtag2"]},{"1350705169":["hashtag1","hashtag2"]},{"1350704965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350705306, 1350705047, 1350704885, 1350704802, 1350705169, 1350704965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.444897174835205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:14:32.183191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/37/image_09042025_07_37_16_10436.jpg', '/home/pi/Desktop/images/09042025/07/37/image_09042025_07_37_36_10445.jpg', '/home/pi/Desktop/images/09042025/07/37/image_09042025_07_37_47_10429.jpg', '/home/pi/Desktop/images/09042025/07/37/image_09042025_07_37_56_9452.jpg', '/home/pi/Desktop/images/09042025/07/37/image_09042025_07_38_06_10356.jpg', '/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_16_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/37/image_09042025_07_37_16_10436.jpg
/home/pi/Desktop/images/09042025/07/37/image_09042025_07_37_36_10445.jpg
/home/pi/Desktop/images/09042025/07/37/image_09042025_07_37_47_10429.jpg
/home/pi/Desktop/images/09042025/07/37/image_09042025_07_37_56_9452.jpg
/home/pi/Desktop/images/09042025/07/37/image_09042025_07_38_06_10356.jpg
/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_16_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350706151","1350705932","1350706096","1350705889","1350705964","1350706035"],"photo_ids_order":["1350705889","1350705932","1350705964","1350706035","1350706096","1350706151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9fb5b24e285ab3eaa9361ecdbf8ce26.jpg","text":"TemporaryFile(/tmp/multipartBody1055655972512312714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186532664,"filename":"image_09042025_07_38_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/4/9/fcc3b62272c4a6aa6552d3c59d519860.jpg","text":"TemporaryFile(/tmp/multipartBody5196869271587329064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186532664,"filename":"image_09042025_07_37_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c18819a1ad312e965d25ca1e5e49e3cd.jpg","text":"TemporaryFile(/tmp/multipartBody6841369497159542625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186532664,"filename":"image_09042025_07_38_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/4/9/f1d51986ae5be1fda2c1f9c8845e0258.jpg","text":"TemporaryFile(/tmp/multipartBody3525108930417487758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186532664,"filename":"image_09042025_07_37_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62a9fadc9078b539a34b87d0fa9deac3.jpg","text":"TemporaryFile(/tmp/multipartBody170029095772690808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186532664,"filename":"image_09042025_07_37_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/4/9/7c7a038036af6b22e79285b02a3355eb.jpg","text":"TemporaryFile(/tmp/multipartBody26726739043210899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186532664,"filename":"image_09042025_07_37_56_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350705964","file1":"1350705932","file0":"1350705889","file4":"1350706096","file5":"1350706151","file3":"1350706035"},"map_files_photo_id_array":[{"photo_id":"1350706151","filename":"file5"},{"photo_id":"1350705964","filename":"file2"},{"photo_id":"1350706096","filename":"file4"},{"photo_id":"1350705932","filename":"file1"},{"photo_id":"1350705889","filename":"file0"},{"photo_id":"1350706035","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350706151":["hashtag1","hashtag2"]},{"1350705932":["hashtag1","hashtag2"]},{"1350706096":["hashtag1","hashtag2"]},{"1350705889":["hashtag1","hashtag2"]},{"1350705964":["hashtag1","hashtag2"]},{"1350706035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350706151, 1350705932, 1350706096, 1350705889, 1350705964, 1350706035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97993469238281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:15:32.455806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_26_10432.jpg', '/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_36_9379.jpg', '/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_46_10418.jpg', '/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_56_10371.jpg', '/home/pi/Desktop/images/09042025/07/38/image_09042025_07_39_06_9341.jpg', '/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_16_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_26_10432.jpg
/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_36_9379.jpg
/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_46_10418.jpg
/home/pi/Desktop/images/09042025/07/38/image_09042025_07_38_56_10371.jpg
/home/pi/Desktop/images/09042025/07/38/image_09042025_07_39_06_9341.jpg
/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_16_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":["1350706681","1350706486","1350706531","1350706701","1350706626","1350706440"],"photo_ids_order":["1350706440","1350706486","1350706531","1350706626","1350706681","1350706701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d7c1237c35c848e1f7cbc5093dcc744.jpg","text":"TemporaryFile(/tmp/multipartBody1354557597137188966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186592946,"filename":"image_09042025_07_39_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/4/9/d5c255e531e842066e7c8a772f243585.jpg","text":"TemporaryFile(/tmp/multipartBody8196873310004099532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186592946,"filename":"image_09042025_07_38_36_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef0570a636a1a44a7fc8900dc0f07309.jpg","text":"TemporaryFile(/tmp/multipartBody5114216901477540595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186592946,"filename":"image_09042025_07_38_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/4/9/05cba8071cb7c428d86c942f4c52838a.jpg","text":"TemporaryFile(/tmp/multipartBody5174982162031496586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186592946,"filename":"image_09042025_07_39_16_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f52271892c0742657c3272eb72c7f8a6.jpg","text":"TemporaryFile(/tmp/multipartBody1673036579795359327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186592946,"filename":"image_09042025_07_38_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/4/9/a60d0c27f391eed1e584ba97244ce17a.jpg","text":"TemporaryFile(/tmp/multipartBody5161968810418843643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186592946,"filename":"image_09042025_07_38_26_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350706531","file1":"1350706486","file0":"1350706440","file4":"1350706681","file5":"1350706701","file3":"1350706626"},"map_files_photo_id_array":[{"photo_id":"1350706701","filename":"file5"},{"photo_id":"1350706531","filename":"file2"},{"photo_id":"1350706681","filename":"file4"},{"photo_id":"1350706486","filename":"file1"},{"photo_id":"1350706440","filename":"file0"},{"photo_id":"1350706626","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350706681":["hashtag1","hashtag2"]},{"1350706486":["hashtag1","hashtag2"]},{"1350706531":["hashtag1","hashtag2"]},{"1350706701":["hashtag1","hashtag2"]},{"1350706626":["hashtag1","hashtag2"]},{"1350706440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350706681, 1350706486, 1350706531, 1350706701, 1350706626, 1350706440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.023436307907104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:16:32.775470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_27_10347.jpg', '/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_36_9465.jpg', '/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_46_10391.jpg', '/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_56_9367.jpg', '/home/pi/Desktop/images/09042025/07/39/image_09042025_07_40_06_10409.jpg', '/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_16_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_27_10347.jpg
/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_36_9465.jpg
/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_46_10391.jpg
/home/pi/Desktop/images/09042025/07/39/image_09042025_07_39_56_9367.jpg
/home/pi/Desktop/images/09042025/07/39/image_09042025_07_40_06_10409.jpg
/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_16_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350706861","1350706765","1350706759","1350706818","1350706775","1350706799"],"photo_ids_order":["1350706759","1350706765","1350706775","1350706799","1350706818","1350706861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e2739e99161b00c4f2f25cb464439bd7.jpg","text":"TemporaryFile(/tmp/multipartBody486204470850776062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186653243,"filename":"image_09042025_07_40_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/4/9/c81074cc19e672e39d126ce405125913.jpg","text":"TemporaryFile(/tmp/multipartBody6797093425549719948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186653243,"filename":"image_09042025_07_39_36_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fda8585414e7838bd7f00b22bc58ea5e.jpg","text":"TemporaryFile(/tmp/multipartBody4981279075591855331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186653243,"filename":"image_09042025_07_39_27_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38eb753d98e35450037226ed644963e0.jpg","text":"TemporaryFile(/tmp/multipartBody2696985984870761655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186653243,"filename":"image_09042025_07_40_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/4/9/40603b588afae23ffac1b806dc3bd064.jpg","text":"TemporaryFile(/tmp/multipartBody8200016906093715780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186653243,"filename":"image_09042025_07_39_46_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1f490868aaff5399a688ec5d863ae0c.jpg","text":"TemporaryFile(/tmp/multipartBody9190583496272939196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186653243,"filename":"image_09042025_07_39_56_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350706775","file1":"1350706765","file0":"1350706759","file4":"1350706818","file5":"1350706861","file3":"1350706799"},"map_files_photo_id_array":[{"photo_id":"1350706861","filename":"file5"},{"photo_id":"1350706775","filename":"file2"},{"photo_id":"1350706818","filename":"file4"},{"photo_id":"1350706765","filename":"file1"},{"photo_id":"1350706759","filename":"file0"},{"photo_id":"1350706799","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350706861":["hashtag1","hashtag2"]},{"1350706765":["hashtag1","hashtag2"]},{"1350706759":["hashtag1","hashtag2"]},{"1350706818":["hashtag1","hashtag2"]},{"1350706775":["hashtag1","hashtag2"]},{"1350706799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350706861, 1350706765, 1350706759, 1350706818, 1350706775, 1350706799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49493908882141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:17:32.940089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_46_9371.jpg', '/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_56_10447.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_16_10411.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_26_10356.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_36_9357.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_46_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_46_9371.jpg
/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_56_10447.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_16_10411.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_26_10356.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_36_9357.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_46_10424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4740293025970459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 10:17:43.138003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_46_9371.jpg', '/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_56_10447.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_16_10411.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_26_10356.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_36_9357.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_46_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_46_9371.jpg
/home/pi/Desktop/images/09042025/07/40/image_09042025_07_40_56_10447.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_16_10411.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_26_10356.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_36_9357.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_46_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350707239","1350707196","1350707307","1350707273","1350707375","1350707339"],"photo_ids_order":["1350707196","1350707239","1350707273","1350707307","1350707339","1350707375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2efa646b3b19cff402e1c559fa35f981.jpg","text":"TemporaryFile(/tmp/multipartBody8253376617823656177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186723593,"filename":"image_09042025_07_40_56_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7bff781db7841f0880136d16548200c2.jpg","text":"TemporaryFile(/tmp/multipartBody7412644621667473275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186723593,"filename":"image_09042025_07_40_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/4/9/ec3c84d51bda2114599c42352c8c068f.jpg","text":"TemporaryFile(/tmp/multipartBody5344358960455340913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186723593,"filename":"image_09042025_07_41_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/4/9/d57f6e1c3ba6ebbc4fc60b4fccaff943.jpg","text":"TemporaryFile(/tmp/multipartBody7687373074666904460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186723593,"filename":"image_09042025_07_41_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7b7beb74ee70c70838b64af22bdcd72.jpg","text":"TemporaryFile(/tmp/multipartBody6688916024329006759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186723593,"filename":"image_09042025_07_41_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/4/9/07befe451f8f66f6e1bb7d334718bab5.jpg","text":"TemporaryFile(/tmp/multipartBody1691244932688696563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186723593,"filename":"image_09042025_07_41_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350707273","file1":"1350707239","file0":"1350707196","file4":"1350707339","file5":"1350707375","file3":"1350707307"},"map_files_photo_id_array":[{"photo_id":"1350707375","filename":"file5"},{"photo_id":"1350707273","filename":"file2"},{"photo_id":"1350707339","filename":"file4"},{"photo_id":"1350707239","filename":"file1"},{"photo_id":"1350707196","filename":"file0"},{"photo_id":"1350707307","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350707239":["hashtag1","hashtag2"]},{"1350707196":["hashtag1","hashtag2"]},{"1350707307":["hashtag1","hashtag2"]},{"1350707273":["hashtag1","hashtag2"]},{"1350707375":["hashtag1","hashtag2"]},{"1350707339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350707239, 1350707196, 1350707307, 1350707273, 1350707375, 1350707339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68198299407959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:18:32.159387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_56_9397.jpg', '/home/pi/Desktop/images/09042025/07/41/image_09042025_07_42_06_10540.jpg', '/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_17_10414.jpg', '/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_26_9434.jpg', '/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_36_10373.jpg', '/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_41_56_9397.jpg
/home/pi/Desktop/images/09042025/07/41/image_09042025_07_42_06_10540.jpg
/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_17_10414.jpg
/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_26_9434.jpg
/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_36_10373.jpg
/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_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":["1350708337","1350708229","1350708486","1350708431","1350708289","1350708382"],"photo_ids_order":["1350708229","1350708289","1350708337","1350708382","1350708431","1350708486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9ad896379277ae7ec94502a29742e2c.jpg","text":"TemporaryFile(/tmp/multipartBody4213390365857205521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186772645,"filename":"image_09042025_07_42_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/4/9/b01044ee637a24dfebd25478ad071198.jpg","text":"TemporaryFile(/tmp/multipartBody8940974648510244369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186772645,"filename":"image_09042025_07_41_56_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ab2201ca6f5c6c2358c4a87e933014fa.jpg","text":"TemporaryFile(/tmp/multipartBody7018035737112888575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186772645,"filename":"image_09042025_07_42_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/4/9/2b66fa5df0af0bd9a5613a6b115763bc.jpg","text":"TemporaryFile(/tmp/multipartBody7964360073881215643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186772645,"filename":"image_09042025_07_42_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1f520d0d46c1af85b8ad74cad4b9062.jpg","text":"TemporaryFile(/tmp/multipartBody1070872616487120897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186772645,"filename":"image_09042025_07_42_06_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a8d89d528ae014fb1535b5772826b5a.jpg","text":"TemporaryFile(/tmp/multipartBody7019247744422127889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186772645,"filename":"image_09042025_07_42_26_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350708337","file1":"1350708289","file0":"1350708229","file4":"1350708431","file5":"1350708486","file3":"1350708382"},"map_files_photo_id_array":[{"photo_id":"1350708486","filename":"file5"},{"photo_id":"1350708337","filename":"file2"},{"photo_id":"1350708431","filename":"file4"},{"photo_id":"1350708289","filename":"file1"},{"photo_id":"1350708229","filename":"file0"},{"photo_id":"1350708382","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350708337":["hashtag1","hashtag2"]},{"1350708229":["hashtag1","hashtag2"]},{"1350708486":["hashtag1","hashtag2"]},{"1350708431":["hashtag1","hashtag2"]},{"1350708289":["hashtag1","hashtag2"]},{"1350708382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350708337, 1350708229, 1350708486, 1350708431, 1350708289, 1350708382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4242422580719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:19:32.321526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_56_10463.jpg', '/home/pi/Desktop/images/09042025/07/42/image_09042025_07_43_07_10368.jpg', '/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_16_9400.jpg', '/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_26_10415.jpg', '/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_36_9353.jpg', '/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_46_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/42/image_09042025_07_42_56_10463.jpg
/home/pi/Desktop/images/09042025/07/42/image_09042025_07_43_07_10368.jpg
/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_16_9400.jpg
/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_26_10415.jpg
/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_36_9353.jpg
/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_46_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350709488","1350709278","1350709410","1350709355","1350709201","1350709150"],"photo_ids_order":["1350709150","1350709201","1350709278","1350709355","1350709410","1350709488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04dedd51d6467a2be23e06f9b9b2aad4.jpg","text":"TemporaryFile(/tmp/multipartBody6615559949938376693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186832773,"filename":"image_09042025_07_43_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/4/9/d61ec76964d196158b953c9d2edbf1d6.jpg","text":"TemporaryFile(/tmp/multipartBody7198573301915654857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186832773,"filename":"image_09042025_07_43_16_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1fbb159a95162445f56988682fe63698.jpg","text":"TemporaryFile(/tmp/multipartBody1852585854098720881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186832773,"filename":"image_09042025_07_43_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/4/9/7a603ed3df40e80c0b6cdb9def8e4152.jpg","text":"TemporaryFile(/tmp/multipartBody1883071969933684535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186832773,"filename":"image_09042025_07_43_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/4/9/42ba2bd3d8b27f78a73e5d962e34f5fb.jpg","text":"TemporaryFile(/tmp/multipartBody1211537237649655018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186832773,"filename":"image_09042025_07_43_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/4/9/750ec7e2a99a97ab615c7124100e429f.jpg","text":"TemporaryFile(/tmp/multipartBody3099714405632849579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186832773,"filename":"image_09042025_07_42_56_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350709278","file1":"1350709201","file0":"1350709150","file4":"1350709410","file5":"1350709488","file3":"1350709355"},"map_files_photo_id_array":[{"photo_id":"1350709488","filename":"file5"},{"photo_id":"1350709278","filename":"file2"},{"photo_id":"1350709410","filename":"file4"},{"photo_id":"1350709201","filename":"file1"},{"photo_id":"1350709150","filename":"file0"},{"photo_id":"1350709355","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350709488":["hashtag1","hashtag2"]},{"1350709278":["hashtag1","hashtag2"]},{"1350709410":["hashtag1","hashtag2"]},{"1350709355":["hashtag1","hashtag2"]},{"1350709201":["hashtag1","hashtag2"]},{"1350709150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350709488, 1350709278, 1350709410, 1350709355, 1350709201, 1350709150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58854961395264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:20:32.550230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_57_10374.jpg', '/home/pi/Desktop/images/09042025/07/43/image_09042025_07_44_06_9464.jpg', '/home/pi/Desktop/images/09042025/07/44/image_09042025_07_44_16_10354.jpg', '/home/pi/Desktop/images/09042025/07/44/image_09042025_07_44_47_10360.jpg', '/home/pi/Desktop/images/09042025/07/44/image_09042025_07_44_56_9420.jpg', '/home/pi/Desktop/images/09042025/07/44/image_09042025_07_45_06_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/43/image_09042025_07_43_57_10374.jpg
/home/pi/Desktop/images/09042025/07/43/image_09042025_07_44_06_9464.jpg
/home/pi/Desktop/images/09042025/07/44/image_09042025_07_44_16_10354.jpg
/home/pi/Desktop/images/09042025/07/44/image_09042025_07_44_47_10360.jpg
/home/pi/Desktop/images/09042025/07/44/image_09042025_07_44_56_9420.jpg
/home/pi/Desktop/images/09042025/07/44/image_09042025_07_45_06_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350710469","1350710205","1350710381","1350709964","1350710301","1350710065"],"photo_ids_order":["1350709964","1350710065","1350710205","1350710301","1350710381","1350710469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd3e25c7c8b70b9a7303c000b26fc12b.jpg","text":"TemporaryFile(/tmp/multipartBody4661131283680522575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186893009,"filename":"image_09042025_07_45_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/4/9/ea39ac1bcd8e5fa89284da17840ac1ee.jpg","text":"TemporaryFile(/tmp/multipartBody2112544883870623428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186893009,"filename":"image_09042025_07_44_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/4/9/6159ee102dd120b073e833aeed32ebb6.jpg","text":"TemporaryFile(/tmp/multipartBody7687595364591501401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186893009,"filename":"image_09042025_07_44_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/4/9/33b4c40c4561923b42d56ebe69cc4081.jpg","text":"TemporaryFile(/tmp/multipartBody607140145255531250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186893009,"filename":"image_09042025_07_43_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49a04e9bc9bed10086099aba23dc39bb.jpg","text":"TemporaryFile(/tmp/multipartBody2117551816568481646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186893009,"filename":"image_09042025_07_44_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c874e8c45f1bf25ac9feee90bac5cf4.jpg","text":"TemporaryFile(/tmp/multipartBody4361870259238276955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186893009,"filename":"image_09042025_07_44_06_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350710205","file1":"1350710065","file0":"1350709964","file4":"1350710381","file5":"1350710469","file3":"1350710301"},"map_files_photo_id_array":[{"photo_id":"1350710469","filename":"file5"},{"photo_id":"1350710205","filename":"file2"},{"photo_id":"1350710381","filename":"file4"},{"photo_id":"1350710065","filename":"file1"},{"photo_id":"1350709964","filename":"file0"},{"photo_id":"1350710301","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350710469":["hashtag1","hashtag2"]},{"1350710205":["hashtag1","hashtag2"]},{"1350710381":["hashtag1","hashtag2"]},{"1350709964":["hashtag1","hashtag2"]},{"1350710301":["hashtag1","hashtag2"]},{"1350710065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350710469, 1350710205, 1350710381, 1350709964, 1350710301, 1350710065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43544578552246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:21:32.723965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_16_9462.jpg', '/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_26_10459.jpg', '/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_37_10361.jpg', '/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_46_9421.jpg', '/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_56_10379.jpg', '/home/pi/Desktop/images/09042025/07/45/image_09042025_07_46_06_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_16_9462.jpg
/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_26_10459.jpg
/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_37_10361.jpg
/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_46_9421.jpg
/home/pi/Desktop/images/09042025/07/45/image_09042025_07_45_56_10379.jpg
/home/pi/Desktop/images/09042025/07/45/image_09042025_07_46_06_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350710985","1350710757","1350711102","1350711032","1350710916","1350710848"],"photo_ids_order":["1350710757","1350710848","1350710916","1350710985","1350711032","1350711102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/247f5ca2df41620963c91c40a6567191.jpg","text":"TemporaryFile(/tmp/multipartBody4997700389969449093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186953209,"filename":"image_09042025_07_45_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/4/9/f146ef8e130e8bb61cd837e73d416ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7782192146772737898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186953209,"filename":"image_09042025_07_45_16_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/519769765eaf1e586f9f555aaba1e6d4.jpg","text":"TemporaryFile(/tmp/multipartBody8000383003222426887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186953209,"filename":"image_09042025_07_46_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b8748409b4b111c1b638ecf970751c61.jpg","text":"TemporaryFile(/tmp/multipartBody2612236183083702589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186953209,"filename":"image_09042025_07_45_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/4/9/a0d6599b7dc8560dd808f059cfcd4e9e.jpg","text":"TemporaryFile(/tmp/multipartBody4723966623488649803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186953209,"filename":"image_09042025_07_45_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1c5002359fe8bea341a790141ce1baf.jpg","text":"TemporaryFile(/tmp/multipartBody3823672438311500711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744186953209,"filename":"image_09042025_07_45_26_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350710916","file1":"1350710848","file0":"1350710757","file4":"1350711032","file5":"1350711102","file3":"1350710985"},"map_files_photo_id_array":[{"photo_id":"1350711102","filename":"file5"},{"photo_id":"1350710916","filename":"file2"},{"photo_id":"1350711032","filename":"file4"},{"photo_id":"1350710848","filename":"file1"},{"photo_id":"1350710757","filename":"file0"},{"photo_id":"1350710985","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350710985":["hashtag1","hashtag2"]},{"1350710757":["hashtag1","hashtag2"]},{"1350711102":["hashtag1","hashtag2"]},{"1350711032":["hashtag1","hashtag2"]},{"1350710916":["hashtag1","hashtag2"]},{"1350710848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350710985, 1350710757, 1350711102, 1350711032, 1350710916, 1350710848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09484839439392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:22:32.948922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/46/image_09042025_07_46_16_10353.jpg', '/home/pi/Desktop/images/09042025/07/46/image_09042025_07_46_27_10370.jpg', '/home/pi/Desktop/images/09042025/07/46/image_09042025_07_46_36_9365.jpg', '/home/pi/Desktop/images/09042025/07/46/image_09042025_07_46_46_10407.jpg', '/home/pi/Desktop/images/09042025/07/46/image_09042025_07_47_06_10458.jpg', '/home/pi/Desktop/images/09042025/07/47/image_09042025_07_47_16_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/46/image_09042025_07_46_16_10353.jpg
/home/pi/Desktop/images/09042025/07/46/image_09042025_07_46_27_10370.jpg
/home/pi/Desktop/images/09042025/07/46/image_09042025_07_46_36_9365.jpg
/home/pi/Desktop/images/09042025/07/46/image_09042025_07_46_46_10407.jpg
/home/pi/Desktop/images/09042025/07/46/image_09042025_07_47_06_10458.jpg
/home/pi/Desktop/images/09042025/07/47/image_09042025_07_47_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":["1350711765","1350711569","1350711806","1350711673","1350711721","1350711619"],"photo_ids_order":["1350711569","1350711619","1350711673","1350711721","1350711765","1350711806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c58f98849b62496e962db3d7e7f3898e.jpg","text":"TemporaryFile(/tmp/multipartBody3209833262894174128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187013409,"filename":"image_09042025_07_47_06_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c18e7a85bb41f6f915bcae398640a094.jpg","text":"TemporaryFile(/tmp/multipartBody8146099860696408744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187013409,"filename":"image_09042025_07_46_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/4/9/46fa3d8389ea57af6d377e1f33b4f7e5.jpg","text":"TemporaryFile(/tmp/multipartBody1021021729273653866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187013409,"filename":"image_09042025_07_47_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/4/9/c5d45f1b3a055374b2a83ef54b0ecace.jpg","text":"TemporaryFile(/tmp/multipartBody289721237761301400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187013409,"filename":"image_09042025_07_46_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6070b4129cc7d1416fd6d58805baaedb.jpg","text":"TemporaryFile(/tmp/multipartBody1428369593646609863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187013409,"filename":"image_09042025_07_46_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/4/9/cc234c83639c9d0f186c76cb312d9ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6450647560884832032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187013409,"filename":"image_09042025_07_46_27_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350711673","file1":"1350711619","file0":"1350711569","file4":"1350711765","file5":"1350711806","file3":"1350711721"},"map_files_photo_id_array":[{"photo_id":"1350711806","filename":"file5"},{"photo_id":"1350711673","filename":"file2"},{"photo_id":"1350711765","filename":"file4"},{"photo_id":"1350711619","filename":"file1"},{"photo_id":"1350711569","filename":"file0"},{"photo_id":"1350711721","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350711765":["hashtag1","hashtag2"]},{"1350711569":["hashtag1","hashtag2"]},{"1350711806":["hashtag1","hashtag2"]},{"1350711673":["hashtag1","hashtag2"]},{"1350711721":["hashtag1","hashtag2"]},{"1350711619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350711765, 1350711569, 1350711806, 1350711673, 1350711721, 1350711619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.61028504371643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:23:32.244353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/47/image_09042025_07_47_26_9353.jpg', '/home/pi/Desktop/images/09042025/07/47/image_09042025_07_47_47_10440.jpg', '/home/pi/Desktop/images/09042025/07/47/image_09042025_07_47_56_9421.jpg', '/home/pi/Desktop/images/09042025/07/47/image_09042025_07_48_06_10348.jpg', '/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_16_9422.jpg', '/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_26_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/47/image_09042025_07_47_26_9353.jpg
/home/pi/Desktop/images/09042025/07/47/image_09042025_07_47_47_10440.jpg
/home/pi/Desktop/images/09042025/07/47/image_09042025_07_47_56_9421.jpg
/home/pi/Desktop/images/09042025/07/47/image_09042025_07_48_06_10348.jpg
/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_16_9422.jpg
/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_26_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":["1350712218","1350712172","1350712406","1350712486","1350712554","1350712272"],"photo_ids_order":["1350712172","1350712218","1350712272","1350712406","1350712486","1350712554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fe04457235811984eb51bbe5cc2be68.jpg","text":"TemporaryFile(/tmp/multipartBody5059470933567814259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187072722,"filename":"image_09042025_07_47_47_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbe9af7093b815506b6c1d997bdf1257.jpg","text":"TemporaryFile(/tmp/multipartBody8267531058339484936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187072722,"filename":"image_09042025_07_47_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1d31c42e8afb858fabd31b45fb0dd52.jpg","text":"TemporaryFile(/tmp/multipartBody8093470603198691639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187072722,"filename":"image_09042025_07_48_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a3a3f6d331441e14356ce78f398978a1.jpg","text":"TemporaryFile(/tmp/multipartBody7253218448278443795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187072722,"filename":"image_09042025_07_48_16_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/004129fef357f0247f502911ce9711e5.jpg","text":"TemporaryFile(/tmp/multipartBody4826495122032565624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187072722,"filename":"image_09042025_07_48_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/47b33aa68811c5fd2c470f368c9b77a1.jpg","text":"TemporaryFile(/tmp/multipartBody585969546623467330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187072722,"filename":"image_09042025_07_47_56_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350712272","file1":"1350712218","file0":"1350712172","file4":"1350712486","file5":"1350712554","file3":"1350712406"},"map_files_photo_id_array":[{"photo_id":"1350712554","filename":"file5"},{"photo_id":"1350712272","filename":"file2"},{"photo_id":"1350712486","filename":"file4"},{"photo_id":"1350712218","filename":"file1"},{"photo_id":"1350712172","filename":"file0"},{"photo_id":"1350712406","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350712218":["hashtag1","hashtag2"]},{"1350712172":["hashtag1","hashtag2"]},{"1350712406":["hashtag1","hashtag2"]},{"1350712486":["hashtag1","hashtag2"]},{"1350712554":["hashtag1","hashtag2"]},{"1350712272":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350712218, 1350712172, 1350712406, 1350712486, 1350712554, 1350712272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.404661655426025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:24:32.424301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_36_9408.jpg', '/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_46_10503.jpg', '/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_57_10346.jpg', '/home/pi/Desktop/images/09042025/07/48/image_09042025_07_49_06_9348.jpg', '/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_16_10461.jpg', '/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_26_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_36_9408.jpg
/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_46_10503.jpg
/home/pi/Desktop/images/09042025/07/48/image_09042025_07_48_57_10346.jpg
/home/pi/Desktop/images/09042025/07/48/image_09042025_07_49_06_9348.jpg
/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_16_10461.jpg
/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_26_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350713354","1350713278","1350713170","1350713230","1350713415","1350713118"],"photo_ids_order":["1350713118","1350713170","1350713230","1350713278","1350713354","1350713415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca99388f497b82a797f5b58f04f042bd.jpg","text":"TemporaryFile(/tmp/multipartBody3783441361833006905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187132946,"filename":"image_09042025_07_49_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/4/9/8971361266b846effd6ee726df538fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1734702842947008012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187132946,"filename":"image_09042025_07_49_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/4/9/f23d68758b0b3657eec7f82d03e5b3ea.jpg","text":"TemporaryFile(/tmp/multipartBody2585543322459961571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187132946,"filename":"image_09042025_07_48_46_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2037783d73656428c3ef7312f6df1fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4601718456983727302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187132946,"filename":"image_09042025_07_48_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d197f6f9be0ce63899b6d7bd603b6ac9.jpg","text":"TemporaryFile(/tmp/multipartBody9057734967592122478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187132946,"filename":"image_09042025_07_49_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/4/9/26de980e0d7b3ee85c73d0d8fd2b3b44.jpg","text":"TemporaryFile(/tmp/multipartBody7372868732717972091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187132946,"filename":"image_09042025_07_48_36_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350713230","file1":"1350713170","file0":"1350713118","file4":"1350713354","file5":"1350713415","file3":"1350713278"},"map_files_photo_id_array":[{"photo_id":"1350713415","filename":"file5"},{"photo_id":"1350713230","filename":"file2"},{"photo_id":"1350713354","filename":"file4"},{"photo_id":"1350713170","filename":"file1"},{"photo_id":"1350713118","filename":"file0"},{"photo_id":"1350713278","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350713354":["hashtag1","hashtag2"]},{"1350713278":["hashtag1","hashtag2"]},{"1350713170":["hashtag1","hashtag2"]},{"1350713230":["hashtag1","hashtag2"]},{"1350713415":["hashtag1","hashtag2"]},{"1350713118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350713354, 1350713278, 1350713170, 1350713230, 1350713415, 1350713118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.840182304382324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:25:32.848087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_36_10406.jpg', '/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_47_10435.jpg', '/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_56_9387.jpg', '/home/pi/Desktop/images/09042025/07/49/image_09042025_07_50_06_10453.jpg', '/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_16_9342.jpg', '/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_26_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_36_10406.jpg
/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_47_10435.jpg
/home/pi/Desktop/images/09042025/07/49/image_09042025_07_49_56_9387.jpg
/home/pi/Desktop/images/09042025/07/49/image_09042025_07_50_06_10453.jpg
/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_16_9342.jpg
/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_26_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":["1350714149","1350714046","1350713962","1350713874","1350714243","1350714266"],"photo_ids_order":["1350713874","1350713962","1350714046","1350714149","1350714243","1350714266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6b38a1bb17a6e3eab12db6609f7cd60.jpg","text":"TemporaryFile(/tmp/multipartBody1758084879932500081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187193302,"filename":"image_09042025_07_50_06_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/697dc01eea93df246d7504dcb82effa2.jpg","text":"TemporaryFile(/tmp/multipartBody5341070204931508545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187193302,"filename":"image_09042025_07_49_56_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f1971f9ec70c4808019f2f9f74ee27e.jpg","text":"TemporaryFile(/tmp/multipartBody5640338873948216578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187193302,"filename":"image_09042025_07_49_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/4/9/84dc1a012dca31b0377235ba67298be0.jpg","text":"TemporaryFile(/tmp/multipartBody486265572260087606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187193302,"filename":"image_09042025_07_49_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/4/9/40f1af9a0244fe76640c0f618d0acedd.jpg","text":"TemporaryFile(/tmp/multipartBody3371324890481971245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187193302,"filename":"image_09042025_07_50_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/4/9/38f634c3a8c490ba91648d2e1ead6d41.jpg","text":"TemporaryFile(/tmp/multipartBody1757163616300458021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187193302,"filename":"image_09042025_07_50_26_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350714046","file1":"1350713962","file0":"1350713874","file4":"1350714243","file5":"1350714266","file3":"1350714149"},"map_files_photo_id_array":[{"photo_id":"1350714266","filename":"file5"},{"photo_id":"1350714046","filename":"file2"},{"photo_id":"1350714243","filename":"file4"},{"photo_id":"1350713962","filename":"file1"},{"photo_id":"1350713874","filename":"file0"},{"photo_id":"1350714149","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350714149":["hashtag1","hashtag2"]},{"1350714046":["hashtag1","hashtag2"]},{"1350713962":["hashtag1","hashtag2"]},{"1350713874":["hashtag1","hashtag2"]},{"1350714243":["hashtag1","hashtag2"]},{"1350714266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350714149, 1350714046, 1350713962, 1350713874, 1350714243, 1350714266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.214969635009766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:26:32.880624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_36_10355.jpg', '/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_46_9360.jpg', '/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_56_10450.jpg', '/home/pi/Desktop/images/09042025/07/50/image_09042025_07_51_07_10346.jpg', '/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_16_9439.jpg', '/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_36_10355.jpg
/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_46_9360.jpg
/home/pi/Desktop/images/09042025/07/50/image_09042025_07_50_56_10450.jpg
/home/pi/Desktop/images/09042025/07/50/image_09042025_07_51_07_10346.jpg
/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_16_9439.jpg
/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_26_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350714929","1350714809","1350714871","1350714693","1350714741","1350714989"],"photo_ids_order":["1350714693","1350714741","1350714809","1350714871","1350714929","1350714989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/398cbf4783e7f075bae0c1fbd07524a3.jpg","text":"TemporaryFile(/tmp/multipartBody5676638771749213470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187253347,"filename":"image_09042025_07_51_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/4/9/4095e831f01cc43ec3a55d4e0cca0013.jpg","text":"TemporaryFile(/tmp/multipartBody842829230451925924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187253347,"filename":"image_09042025_07_50_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/4/9/48be8e139f0e5799450c1521f2e63914.jpg","text":"TemporaryFile(/tmp/multipartBody6704207870644755542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187253347,"filename":"image_09042025_07_51_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/017c87c76c4d4ed16e6e18660733b47d.jpg","text":"TemporaryFile(/tmp/multipartBody1263585838220771896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187253347,"filename":"image_09042025_07_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/4/9/4f18e27fa64be90a41f0015297f77f41.jpg","text":"TemporaryFile(/tmp/multipartBody5473099990089331330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187253347,"filename":"image_09042025_07_50_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/4/9/d02be5af629314a30a389c400e88169a.jpg","text":"TemporaryFile(/tmp/multipartBody1899216224310121856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187253347,"filename":"image_09042025_07_51_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350714809","file1":"1350714741","file0":"1350714693","file4":"1350714929","file5":"1350714989","file3":"1350714871"},"map_files_photo_id_array":[{"photo_id":"1350714989","filename":"file5"},{"photo_id":"1350714809","filename":"file2"},{"photo_id":"1350714929","filename":"file4"},{"photo_id":"1350714741","filename":"file1"},{"photo_id":"1350714693","filename":"file0"},{"photo_id":"1350714871","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350714929":["hashtag1","hashtag2"]},{"1350714809":["hashtag1","hashtag2"]},{"1350714871":["hashtag1","hashtag2"]},{"1350714693":["hashtag1","hashtag2"]},{"1350714741":["hashtag1","hashtag2"]},{"1350714989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350714929, 1350714809, 1350714871, 1350714693, 1350714741, 1350714989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01276397705078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:27:33.134193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_36_9349.jpg', '/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_46_10445.jpg', '/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_56_9427.jpg', '/home/pi/Desktop/images/09042025/07/51/image_09042025_07_52_06_10399.jpg', '/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_16_10359.jpg', '/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_26_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_36_9349.jpg
/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_46_10445.jpg
/home/pi/Desktop/images/09042025/07/51/image_09042025_07_51_56_9427.jpg
/home/pi/Desktop/images/09042025/07/51/image_09042025_07_52_06_10399.jpg
/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_16_10359.jpg
/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_26_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":["1350715681","1350716025","1350715515","1350715889","1350715946","1350715802"],"photo_ids_order":["1350715515","1350715681","1350715802","1350715889","1350715946","1350716025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04e163773feb30968f3b1594447ebc00.jpg","text":"TemporaryFile(/tmp/multipartBody396109166581476846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187313591,"filename":"image_09042025_07_51_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea406c657fe6034f900cf79e1b98a6c4.jpg","text":"TemporaryFile(/tmp/multipartBody8839498339914322423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187313591,"filename":"image_09042025_07_52_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/4/9/85fdd8343e1fad499a06babe0b7a3907.jpg","text":"TemporaryFile(/tmp/multipartBody5757696000051922111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187313591,"filename":"image_09042025_07_51_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/4/9/8e13c7ea37f8e886ef215e015dd3cdd6.jpg","text":"TemporaryFile(/tmp/multipartBody787578464319607462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187313591,"filename":"image_09042025_07_52_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98fbff1200cb30fb34fde0da6d0c69aa.jpg","text":"TemporaryFile(/tmp/multipartBody4271532754687910158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187313591,"filename":"image_09042025_07_52_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/4/9/e3782399befd1ad6ee34120df10eb61a.jpg","text":"TemporaryFile(/tmp/multipartBody4362861573861145700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187313591,"filename":"image_09042025_07_51_56_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350715802","file1":"1350715681","file0":"1350715515","file4":"1350715946","file5":"1350716025","file3":"1350715889"},"map_files_photo_id_array":[{"photo_id":"1350716025","filename":"file5"},{"photo_id":"1350715802","filename":"file2"},{"photo_id":"1350715946","filename":"file4"},{"photo_id":"1350715681","filename":"file1"},{"photo_id":"1350715515","filename":"file0"},{"photo_id":"1350715889","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350715681":["hashtag1","hashtag2"]},{"1350716025":["hashtag1","hashtag2"]},{"1350715515":["hashtag1","hashtag2"]},{"1350715889":["hashtag1","hashtag2"]},{"1350715946":["hashtag1","hashtag2"]},{"1350715802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350715681, 1350716025, 1350715515, 1350715889, 1350715946, 1350715802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26206612586975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:28:32.331487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_36_10404.jpg', '/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_47_10349.jpg', '/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_56_9361.jpg', '/home/pi/Desktop/images/09042025/07/52/image_09042025_07_53_06_10355.jpg', '/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_17_10359.jpg', '/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_26_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_36_10404.jpg
/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_47_10349.jpg
/home/pi/Desktop/images/09042025/07/52/image_09042025_07_52_56_9361.jpg
/home/pi/Desktop/images/09042025/07/52/image_09042025_07_53_06_10355.jpg
/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_17_10359.jpg
/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_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":["1350716617","1350716527","1350716706","1350716573","1350716686","1350716728"],"photo_ids_order":["1350716527","1350716573","1350716617","1350716686","1350716706","1350716728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c39a6b48652da179ed8a61e57e2577d0.jpg","text":"TemporaryFile(/tmp/multipartBody8084707922109877968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187372787,"filename":"image_09042025_07_52_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/abbe15ab992bd335d289d7704cd30ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8695241401217702176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187372787,"filename":"image_09042025_07_52_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/4/9/d42674d2cc665aef2d25b4547c650d19.jpg","text":"TemporaryFile(/tmp/multipartBody4400466079636822519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187372787,"filename":"image_09042025_07_53_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/4/9/73bafef28307c816a38f46f8984dda84.jpg","text":"TemporaryFile(/tmp/multipartBody2186379787914000850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187372787,"filename":"image_09042025_07_52_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/4/9/54ebb2c2f60f49cd4b776b06f33fd2bb.jpg","text":"TemporaryFile(/tmp/multipartBody6540214693281711584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187372787,"filename":"image_09042025_07_53_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/206865b4470b02c4b71fe71802828380.jpg","text":"TemporaryFile(/tmp/multipartBody8795184504600168217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187372787,"filename":"image_09042025_07_53_26_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350716617","file1":"1350716573","file0":"1350716527","file4":"1350716706","file5":"1350716728","file3":"1350716686"},"map_files_photo_id_array":[{"photo_id":"1350716728","filename":"file5"},{"photo_id":"1350716617","filename":"file2"},{"photo_id":"1350716706","filename":"file4"},{"photo_id":"1350716573","filename":"file1"},{"photo_id":"1350716527","filename":"file0"},{"photo_id":"1350716686","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350716617":["hashtag1","hashtag2"]},{"1350716527":["hashtag1","hashtag2"]},{"1350716706":["hashtag1","hashtag2"]},{"1350716573":["hashtag1","hashtag2"]},{"1350716686":["hashtag1","hashtag2"]},{"1350716728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350716617, 1350716527, 1350716706, 1350716573, 1350716686, 1350716728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57038998603821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:29:32.535972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_36_10440.jpg', '/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_46_9372.jpg', '/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_56_10390.jpg', '/home/pi/Desktop/images/09042025/07/53/image_09042025_07_54_07_10365.jpg', '/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_16_9352.jpg', '/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_26_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_36_10440.jpg
/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_46_9372.jpg
/home/pi/Desktop/images/09042025/07/53/image_09042025_07_53_56_10390.jpg
/home/pi/Desktop/images/09042025/07/53/image_09042025_07_54_07_10365.jpg
/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_16_9352.jpg
/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_26_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350717171","1350717042","1350717281","1350717077","1350717229","1350717343"],"photo_ids_order":["1350717042","1350717077","1350717171","1350717229","1350717281","1350717343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73e3c1ba766389002282a6bb7b99b3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5780776921325905324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187433022,"filename":"image_09042025_07_53_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/4/9/f80112f19174c441118662cc5cceecac.jpg","text":"TemporaryFile(/tmp/multipartBody725064218558898210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187433022,"filename":"image_09042025_07_53_36_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b240fafcfc814a958a7c955b0c181e4.jpg","text":"TemporaryFile(/tmp/multipartBody2255294302389105680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187433022,"filename":"image_09042025_07_54_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7506a6bf45d94f8a760bbeed9ce5895.jpg","text":"TemporaryFile(/tmp/multipartBody7104176273405152056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187433022,"filename":"image_09042025_07_53_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2bcbaf7730442624506e0305a16ac86a.jpg","text":"TemporaryFile(/tmp/multipartBody3929277263453167424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187433022,"filename":"image_09042025_07_54_07_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9b34f31661fcab84a6a231fa3507e9c.jpg","text":"TemporaryFile(/tmp/multipartBody1315742832435002599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187433022,"filename":"image_09042025_07_54_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350717171","file1":"1350717077","file0":"1350717042","file4":"1350717281","file5":"1350717343","file3":"1350717229"},"map_files_photo_id_array":[{"photo_id":"1350717343","filename":"file5"},{"photo_id":"1350717171","filename":"file2"},{"photo_id":"1350717281","filename":"file4"},{"photo_id":"1350717077","filename":"file1"},{"photo_id":"1350717042","filename":"file0"},{"photo_id":"1350717229","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350717171":["hashtag1","hashtag2"]},{"1350717042":["hashtag1","hashtag2"]},{"1350717281":["hashtag1","hashtag2"]},{"1350717077":["hashtag1","hashtag2"]},{"1350717229":["hashtag1","hashtag2"]},{"1350717343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350717171, 1350717042, 1350717281, 1350717077, 1350717229, 1350717343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07604694366455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:30:32.776735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_36_9440.jpg', '/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_46_10432.jpg', '/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_57_10435.jpg', '/home/pi/Desktop/images/09042025/07/54/image_09042025_07_55_06_9436.jpg', '/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_16_10416.jpg', '/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_26_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_36_9440.jpg
/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_46_10432.jpg
/home/pi/Desktop/images/09042025/07/54/image_09042025_07_54_57_10435.jpg
/home/pi/Desktop/images/09042025/07/54/image_09042025_07_55_06_9436.jpg
/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_16_10416.jpg
/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_26_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350717930","1350718031","1350717839","1350718072","1350718117","1350717984"],"photo_ids_order":["1350717839","1350717930","1350717984","1350718031","1350718072","1350718117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c8864475f2ca31d0d920e25c9a52742.jpg","text":"TemporaryFile(/tmp/multipartBody266704392837661503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187493242,"filename":"image_09042025_07_54_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/4/9/3ea1f4a7a69cb6e76ae49e9861c063b6.jpg","text":"TemporaryFile(/tmp/multipartBody6730212751542751835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187493242,"filename":"image_09042025_07_55_06_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e239bf5ee5aed014c981272b5c159dd.jpg","text":"TemporaryFile(/tmp/multipartBody6502251523761618110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187493242,"filename":"image_09042025_07_54_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/152c733288b4940278e3d613ef6cb3b9.jpg","text":"TemporaryFile(/tmp/multipartBody1635522704280616161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187493242,"filename":"image_09042025_07_55_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/4/9/5db34e3b4c8e817f78da51ddba35eef1.jpg","text":"TemporaryFile(/tmp/multipartBody9155190667908030871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187493242,"filename":"image_09042025_07_55_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/4/9/786049c43a62ee853078f8c3cc460315.jpg","text":"TemporaryFile(/tmp/multipartBody1561004830949669495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187493242,"filename":"image_09042025_07_54_57_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350717984","file1":"1350717930","file0":"1350717839","file4":"1350718072","file5":"1350718117","file3":"1350718031"},"map_files_photo_id_array":[{"photo_id":"1350718117","filename":"file5"},{"photo_id":"1350717984","filename":"file2"},{"photo_id":"1350718072","filename":"file4"},{"photo_id":"1350717930","filename":"file1"},{"photo_id":"1350717839","filename":"file0"},{"photo_id":"1350718031","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350717930":["hashtag1","hashtag2"]},{"1350718031":["hashtag1","hashtag2"]},{"1350717839":["hashtag1","hashtag2"]},{"1350718072":["hashtag1","hashtag2"]},{"1350718117":["hashtag1","hashtag2"]},{"1350717984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350717930, 1350718031, 1350717839, 1350718072, 1350718117, 1350717984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38670992851257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:31:32.993142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_36_10448.jpg', '/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_46_9419.jpg', '/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_56_10379.jpg', '/home/pi/Desktop/images/09042025/07/55/image_09042025_07_56_06_10345.jpg', '/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_16_9330.jpg', '/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_26_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_36_10448.jpg
/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_46_9419.jpg
/home/pi/Desktop/images/09042025/07/55/image_09042025_07_55_56_10379.jpg
/home/pi/Desktop/images/09042025/07/55/image_09042025_07_56_06_10345.jpg
/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_16_9330.jpg
/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_26_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":["1350718787","1350718499","1350718751","1350718879","1350718653","1350718614"],"photo_ids_order":["1350718499","1350718614","1350718653","1350718751","1350718787","1350718879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9a67e4b354b9697be43221372f70359.jpg","text":"TemporaryFile(/tmp/multipartBody2239933402820698900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187553469,"filename":"image_09042025_07_56_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/4/9/1c27917c4264c9cfa5a6d959794c6ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7903428917536505870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187553469,"filename":"image_09042025_07_55_36_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7fabf1956a3326ad00d8a6066c95d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody7760413138866658455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187553469,"filename":"image_09042025_07_56_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/785208177808bfbfaa597c2908a1f9b7.jpg","text":"TemporaryFile(/tmp/multipartBody817888758079282078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187553469,"filename":"image_09042025_07_56_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/4/9/bd16433d4efb375f1c8b027ba80f15af.jpg","text":"TemporaryFile(/tmp/multipartBody3103160261915336791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187553469,"filename":"image_09042025_07_55_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/4/9/480641635957c9d4ec77d759caf029c3.jpg","text":"TemporaryFile(/tmp/multipartBody7014262779589451343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187553469,"filename":"image_09042025_07_55_46_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350718653","file1":"1350718614","file0":"1350718499","file4":"1350718787","file5":"1350718879","file3":"1350718751"},"map_files_photo_id_array":[{"photo_id":"1350718879","filename":"file5"},{"photo_id":"1350718653","filename":"file2"},{"photo_id":"1350718787","filename":"file4"},{"photo_id":"1350718614","filename":"file1"},{"photo_id":"1350718499","filename":"file0"},{"photo_id":"1350718751","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350718787":["hashtag1","hashtag2"]},{"1350718499":["hashtag1","hashtag2"]},{"1350718751":["hashtag1","hashtag2"]},{"1350718879":["hashtag1","hashtag2"]},{"1350718653":["hashtag1","hashtag2"]},{"1350718614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350718787, 1350718499, 1350718751, 1350718879, 1350718653, 1350718614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.777618646621704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:32:32.226511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_36_10360.jpg', '/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_46_9443.jpg', '/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_56_10357.jpg', '/home/pi/Desktop/images/09042025/07/56/image_09042025_07_57_07_10345.jpg', '/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_16_9403.jpg', '/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_26_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_36_10360.jpg
/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_46_9443.jpg
/home/pi/Desktop/images/09042025/07/56/image_09042025_07_56_56_10357.jpg
/home/pi/Desktop/images/09042025/07/56/image_09042025_07_57_07_10345.jpg
/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_16_9403.jpg
/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_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":["1350719537","1350719465","1350719423","1350719719","1350719678","1350719616"],"photo_ids_order":["1350719423","1350719465","1350719537","1350719616","1350719678","1350719719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8326cb475cf2cf5c1b9b435c3683b51f.jpg","text":"TemporaryFile(/tmp/multipartBody4557741017700826921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187612680,"filename":"image_09042025_07_56_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85b0a35312bcf1f053280a8055ee6d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7138402069222800531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187612680,"filename":"image_09042025_07_56_46_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1054361995783b2558a732dfb00f2ace.jpg","text":"TemporaryFile(/tmp/multipartBody5565879564457652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187612680,"filename":"image_09042025_07_56_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/4/9/ce6ebe12c92e688b3de77f7fba1f2979.jpg","text":"TemporaryFile(/tmp/multipartBody571792047029404802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187612680,"filename":"image_09042025_07_57_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a72842b0c0b9b77538daff42e0de07da.jpg","text":"TemporaryFile(/tmp/multipartBody3381891507737659922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187612680,"filename":"image_09042025_07_57_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b38da7662adee1f085e72b969fb1a504.jpg","text":"TemporaryFile(/tmp/multipartBody2179761981255536120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187612680,"filename":"image_09042025_07_57_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350719537","file1":"1350719465","file0":"1350719423","file4":"1350719678","file5":"1350719719","file3":"1350719616"},"map_files_photo_id_array":[{"photo_id":"1350719719","filename":"file5"},{"photo_id":"1350719537","filename":"file2"},{"photo_id":"1350719678","filename":"file4"},{"photo_id":"1350719465","filename":"file1"},{"photo_id":"1350719423","filename":"file0"},{"photo_id":"1350719616","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350719537":["hashtag1","hashtag2"]},{"1350719465":["hashtag1","hashtag2"]},{"1350719423":["hashtag1","hashtag2"]},{"1350719719":["hashtag1","hashtag2"]},{"1350719678":["hashtag1","hashtag2"]},{"1350719616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350719537, 1350719465, 1350719423, 1350719719, 1350719678, 1350719616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.986624240875244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:33:32.421525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_36_9415.jpg', '/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_46_10398.jpg', '/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_57_10430.jpg', '/home/pi/Desktop/images/09042025/07/57/image_09042025_07_58_06_9437.jpg', '/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_16_10362.jpg', '/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_26_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_36_9415.jpg
/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_46_10398.jpg
/home/pi/Desktop/images/09042025/07/57/image_09042025_07_57_57_10430.jpg
/home/pi/Desktop/images/09042025/07/57/image_09042025_07_58_06_9437.jpg
/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_16_10362.jpg
/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_26_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":["1350721004","1350720790","1350721174","1350721219","1350720621","1350721203"],"photo_ids_order":["1350720621","1350720790","1350721004","1350721174","1350721203","1350721219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22cc966bf54baa84f8e067d8ad41e322.jpg","text":"TemporaryFile(/tmp/multipartBody4337017270411186622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187672893,"filename":"image_09042025_07_57_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/4/9/747402c9e9eeba3a05c20c0f14c4f4e9.jpg","text":"TemporaryFile(/tmp/multipartBody8857307801935563278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187672893,"filename":"image_09042025_07_57_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a85dbaf803aab3a3f39952819b0c08fd.jpg","text":"TemporaryFile(/tmp/multipartBody2583016945815564942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187672893,"filename":"image_09042025_07_58_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c70fed4e8937963b78798b2a7671835a.jpg","text":"TemporaryFile(/tmp/multipartBody9087748192977892960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187672893,"filename":"image_09042025_07_58_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/4/9/f98fc7dd16c5e02d648370a4c77aade3.jpg","text":"TemporaryFile(/tmp/multipartBody1499439524857102518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187672893,"filename":"image_09042025_07_57_36_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e7fa4d616a382f7f9dbbfea269ab0f7.jpg","text":"TemporaryFile(/tmp/multipartBody2262011024816209620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187672893,"filename":"image_09042025_07_58_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350721004","file1":"1350720790","file0":"1350720621","file4":"1350721203","file5":"1350721219","file3":"1350721174"},"map_files_photo_id_array":[{"photo_id":"1350721219","filename":"file5"},{"photo_id":"1350721004","filename":"file2"},{"photo_id":"1350721203","filename":"file4"},{"photo_id":"1350720790","filename":"file1"},{"photo_id":"1350720621","filename":"file0"},{"photo_id":"1350721174","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350721004":["hashtag1","hashtag2"]},{"1350720790":["hashtag1","hashtag2"]},{"1350721174":["hashtag1","hashtag2"]},{"1350721219":["hashtag1","hashtag2"]},{"1350720621":["hashtag1","hashtag2"]},{"1350721203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350721004, 1350720790, 1350721174, 1350721219, 1350720621, 1350721203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84802842140198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:34:32.710444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_36_10366.jpg', '/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_47_10405.jpg', '/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_56_9349.jpg', '/home/pi/Desktop/images/09042025/07/58/image_09042025_07_59_06_10343.jpg', '/home/pi/Desktop/images/09042025/07/59/image_09042025_07_59_17_10354.jpg', '/home/pi/Desktop/images/09042025/07/59/image_09042025_07_59_26_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_36_10366.jpg
/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_47_10405.jpg
/home/pi/Desktop/images/09042025/07/58/image_09042025_07_58_56_9349.jpg
/home/pi/Desktop/images/09042025/07/58/image_09042025_07_59_06_10343.jpg
/home/pi/Desktop/images/09042025/07/59/image_09042025_07_59_17_10354.jpg
/home/pi/Desktop/images/09042025/07/59/image_09042025_07_59_26_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":["1350721637","1350721604","1350721747","1350721714","1350721790","1350721874"],"photo_ids_order":["1350721604","1350721637","1350721714","1350721747","1350721790","1350721874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/61f880b5cdab5578dfbb488e9d7cdcce.jpg","text":"TemporaryFile(/tmp/multipartBody8124097138993790822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187733183,"filename":"image_09042025_07_58_47_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/880addeb77fded375d3fdc657c567134.jpg","text":"TemporaryFile(/tmp/multipartBody4371479145252277276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187733183,"filename":"image_09042025_07_58_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/4/9/759c0c70afc4adeca240f01faf741af7.jpg","text":"TemporaryFile(/tmp/multipartBody8305317791181632021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187733183,"filename":"image_09042025_07_59_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/4/9/424a648d96d5dc364bb50645de62a536.jpg","text":"TemporaryFile(/tmp/multipartBody8740931918903128731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187733183,"filename":"image_09042025_07_58_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/4/9/15d42461c23100d9cf3d51e2963c1daf.jpg","text":"TemporaryFile(/tmp/multipartBody1219201961352176128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187733183,"filename":"image_09042025_07_59_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/4/9/a512bed1e6e5826f0059794ae7166f44.jpg","text":"TemporaryFile(/tmp/multipartBody6395341486837991220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187733183,"filename":"image_09042025_07_59_26_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350721714","file1":"1350721637","file0":"1350721604","file4":"1350721790","file5":"1350721874","file3":"1350721747"},"map_files_photo_id_array":[{"photo_id":"1350721874","filename":"file5"},{"photo_id":"1350721714","filename":"file2"},{"photo_id":"1350721790","filename":"file4"},{"photo_id":"1350721637","filename":"file1"},{"photo_id":"1350721604","filename":"file0"},{"photo_id":"1350721747","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350721637":["hashtag1","hashtag2"]},{"1350721604":["hashtag1","hashtag2"]},{"1350721747":["hashtag1","hashtag2"]},{"1350721714":["hashtag1","hashtag2"]},{"1350721790":["hashtag1","hashtag2"]},{"1350721874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350721637, 1350721604, 1350721747, 1350721714, 1350721790, 1350721874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72945952415466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:35:33.047160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/07/59/image_09042025_07_59_36_10453.jpg', '/home/pi/Desktop/images/09042025/07/59/image_09042025_07_59_56_10354.jpg', '/home/pi/Desktop/images/09042025/08/01/image_09042025_08_01_15_10077.jpg', '/home/pi/Desktop/images/09042025/08/01/image_09042025_08_01_25_10477.jpg', '/home/pi/Desktop/images/09042025/08/01/image_09042025_08_01_36_10435.jpg', '/home/pi/Desktop/images/09042025/08/01/image_09042025_08_01_56_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/07/59/image_09042025_07_59_36_10453.jpg
/home/pi/Desktop/images/09042025/07/59/image_09042025_07_59_56_10354.jpg
/home/pi/Desktop/images/09042025/08/01/image_09042025_08_01_15_10077.jpg
/home/pi/Desktop/images/09042025/08/01/image_09042025_08_01_25_10477.jpg
/home/pi/Desktop/images/09042025/08/01/image_09042025_08_01_36_10435.jpg
/home/pi/Desktop/images/09042025/08/01/image_09042025_08_01_56_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350722201","1350722123","1350722068","1350722225","1350722174","1350722255"],"photo_ids_order":["1350722068","1350722123","1350722174","1350722201","1350722225","1350722255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ce0c9171b187dcc02be134d4f96c8708.jpg","text":"TemporaryFile(/tmp/multipartBody3675972977826877900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187793514,"filename":"image_09042025_08_01_25_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c144e7117a934761e0e2f30769ad3be.jpg","text":"TemporaryFile(/tmp/multipartBody3750735309818379153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187793514,"filename":"image_09042025_07_59_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/4/9/cbc270a14fdb57f192ee1bceb8103e48.jpg","text":"TemporaryFile(/tmp/multipartBody7389975330448203665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187793514,"filename":"image_09042025_07_59_36_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7dc41845b0d7701c4eb8bb669f631bc.jpg","text":"TemporaryFile(/tmp/multipartBody7376243793659182590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187793514,"filename":"image_09042025_08_01_36_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c9e3a946207be1a03556f50eeb7bfc7d.jpg","text":"TemporaryFile(/tmp/multipartBody2544435471841475052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187793514,"filename":"image_09042025_08_01_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e57945f817e06d8fe88af3c3e530fc52.jpg","text":"TemporaryFile(/tmp/multipartBody8911543398157874306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187793514,"filename":"image_09042025_08_01_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350722174","file1":"1350722123","file0":"1350722068","file4":"1350722225","file5":"1350722255","file3":"1350722201"},"map_files_photo_id_array":[{"photo_id":"1350722255","filename":"file5"},{"photo_id":"1350722174","filename":"file2"},{"photo_id":"1350722225","filename":"file4"},{"photo_id":"1350722123","filename":"file1"},{"photo_id":"1350722068","filename":"file0"},{"photo_id":"1350722201","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350722201":["hashtag1","hashtag2"]},{"1350722123":["hashtag1","hashtag2"]},{"1350722068":["hashtag1","hashtag2"]},{"1350722225":["hashtag1","hashtag2"]},{"1350722174":["hashtag1","hashtag2"]},{"1350722255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350722201, 1350722123, 1350722068, 1350722225, 1350722174, 1350722255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94594669342041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:36:32.178858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/01/image_09042025_08_02_05_9369.jpg', '/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_15_10396.jpg', '/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_26_10398.jpg', '/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_35_9364.jpg', '/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_45_10367.jpg', '/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_55_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/01/image_09042025_08_02_05_9369.jpg
/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_15_10396.jpg
/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_26_10398.jpg
/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_35_9364.jpg
/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_45_10367.jpg
/home/pi/Desktop/images/09042025/08/02/image_09042025_08_02_55_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350722782","1350722856","1350722610","1350722897","1350722660","1350722756"],"photo_ids_order":["1350722610","1350722660","1350722756","1350722782","1350722856","1350722897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0818fcaf1c564caee1b7e524dfcfd9d5.jpg","text":"TemporaryFile(/tmp/multipartBody6915878501044489926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187852648,"filename":"image_09042025_08_02_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/4/9/36b4be8376547ff66ea6355cf97074f1.jpg","text":"TemporaryFile(/tmp/multipartBody8833399763294981585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187852648,"filename":"image_09042025_08_02_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/4/9/8e91be83e7e56dccc823b7f8f76e9385.jpg","text":"TemporaryFile(/tmp/multipartBody7514218753791361516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187852648,"filename":"image_09042025_08_02_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec68403c93d2f4482f7fdcb2a0be2776.jpg","text":"TemporaryFile(/tmp/multipartBody5714329131768996802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187852648,"filename":"image_09042025_08_02_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/4/9/8a3c996fccada00daad137ab263a9848.jpg","text":"TemporaryFile(/tmp/multipartBody1257780081445608557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187852648,"filename":"image_09042025_08_02_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/4/9/f4b2f212bd5e28447cd74faa805441cd.jpg","text":"TemporaryFile(/tmp/multipartBody446447704075864584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187852648,"filename":"image_09042025_08_02_26_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350722756","file1":"1350722660","file0":"1350722610","file4":"1350722856","file5":"1350722897","file3":"1350722782"},"map_files_photo_id_array":[{"photo_id":"1350722897","filename":"file5"},{"photo_id":"1350722756","filename":"file2"},{"photo_id":"1350722856","filename":"file4"},{"photo_id":"1350722660","filename":"file1"},{"photo_id":"1350722610","filename":"file0"},{"photo_id":"1350722782","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350722782":["hashtag1","hashtag2"]},{"1350722856":["hashtag1","hashtag2"]},{"1350722610":["hashtag1","hashtag2"]},{"1350722897":["hashtag1","hashtag2"]},{"1350722660":["hashtag1","hashtag2"]},{"1350722756":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350722782, 1350722856, 1350722610, 1350722897, 1350722660, 1350722756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.53805899620056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:37:32.399222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/02/image_09042025_08_03_05_10379.jpg', '/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_16_10454.jpg', '/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_25_9407.jpg', '/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_35_10348.jpg', '/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_45_9359.jpg', '/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/02/image_09042025_08_03_05_10379.jpg
/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_16_10454.jpg
/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_25_9407.jpg
/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_35_10348.jpg
/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_45_9359.jpg
/home/pi/Desktop/images/09042025/08/03/image_09042025_08_03_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350723208","1350723100","1350723078","1350723132","1350723027","1350723080"],"photo_ids_order":["1350723027","1350723078","1350723080","1350723100","1350723132","1350723208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4e73ca598b8bb2873ba5e3b464e95e9.jpg","text":"TemporaryFile(/tmp/multipartBody5889179822913225728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187912879,"filename":"image_09042025_08_03_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/4/9/121ee8ecc7971bf1f40feefa09110671.jpg","text":"TemporaryFile(/tmp/multipartBody8964405840171821489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187912879,"filename":"image_09042025_08_03_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/4/9/9bde7cf062de282e2572ce54efa689a1.jpg","text":"TemporaryFile(/tmp/multipartBody5696975040383766021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187912879,"filename":"image_09042025_08_03_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/4/9/bd61c6a3c420fd653a10b28c49a6c6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4651942072771677981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187912879,"filename":"image_09042025_08_03_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/4/9/c12b8fab483791004a1a4d7582b7f2c3.jpg","text":"TemporaryFile(/tmp/multipartBody3829700208330778470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187912879,"filename":"image_09042025_08_03_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6ff6fa8dc163075de9562d2e48091805.jpg","text":"TemporaryFile(/tmp/multipartBody3413860256097854972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187912879,"filename":"image_09042025_08_03_25_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350723080","file1":"1350723078","file0":"1350723027","file4":"1350723132","file5":"1350723208","file3":"1350723100"},"map_files_photo_id_array":[{"photo_id":"1350723208","filename":"file5"},{"photo_id":"1350723080","filename":"file2"},{"photo_id":"1350723132","filename":"file4"},{"photo_id":"1350723078","filename":"file1"},{"photo_id":"1350723027","filename":"file0"},{"photo_id":"1350723100","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350723208":["hashtag1","hashtag2"]},{"1350723100":["hashtag1","hashtag2"]},{"1350723078":["hashtag1","hashtag2"]},{"1350723132":["hashtag1","hashtag2"]},{"1350723027":["hashtag1","hashtag2"]},{"1350723080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350723208, 1350723100, 1350723078, 1350723132, 1350723027, 1350723080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61485767364502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:38:32.531985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/03/image_09042025_08_04_05_10362.jpg', '/home/pi/Desktop/images/09042025/08/04/image_09042025_08_04_15_9346.jpg', '/home/pi/Desktop/images/09042025/08/04/image_09042025_08_04_36_10359.jpg', '/home/pi/Desktop/images/09042025/08/04/image_09042025_08_04_45_9339.jpg', '/home/pi/Desktop/images/09042025/08/04/image_09042025_08_04_55_10509.jpg', '/home/pi/Desktop/images/09042025/08/04/image_09042025_08_05_05_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/03/image_09042025_08_04_05_10362.jpg
/home/pi/Desktop/images/09042025/08/04/image_09042025_08_04_15_9346.jpg
/home/pi/Desktop/images/09042025/08/04/image_09042025_08_04_36_10359.jpg
/home/pi/Desktop/images/09042025/08/04/image_09042025_08_04_45_9339.jpg
/home/pi/Desktop/images/09042025/08/04/image_09042025_08_04_55_10509.jpg
/home/pi/Desktop/images/09042025/08/04/image_09042025_08_05_05_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":["1350723945","1350723806","1350723892","1350723704","1350723853","1350723769"],"photo_ids_order":["1350723704","1350723769","1350723806","1350723853","1350723892","1350723945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69b3e92831039ae95c249c48d063cd20.jpg","text":"TemporaryFile(/tmp/multipartBody7129736181797254588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187973001,"filename":"image_09042025_08_05_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22437fa11435a701b58a65124fe13ba6.jpg","text":"TemporaryFile(/tmp/multipartBody7970701965451587073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187973001,"filename":"image_09042025_08_04_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1235b049d142bcb3d884760ea1dd01e1.jpg","text":"TemporaryFile(/tmp/multipartBody7114309061647619414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187973001,"filename":"image_09042025_08_04_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/4/9/fa804af682e69cd38dbfe5ec91480398.jpg","text":"TemporaryFile(/tmp/multipartBody5556047106705234918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187973001,"filename":"image_09042025_08_04_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/4/9/c4ea434612155bd5bb0727462b57c32c.jpg","text":"TemporaryFile(/tmp/multipartBody1885116458055973289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187973001,"filename":"image_09042025_08_04_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/4/9/921358144ca96d7243a780b32721b0f5.jpg","text":"TemporaryFile(/tmp/multipartBody6982828495859528633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744187973001,"filename":"image_09042025_08_04_15_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350723806","file1":"1350723769","file0":"1350723704","file4":"1350723892","file5":"1350723945","file3":"1350723853"},"map_files_photo_id_array":[{"photo_id":"1350723945","filename":"file5"},{"photo_id":"1350723806","filename":"file2"},{"photo_id":"1350723892","filename":"file4"},{"photo_id":"1350723769","filename":"file1"},{"photo_id":"1350723704","filename":"file0"},{"photo_id":"1350723853","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350723945":["hashtag1","hashtag2"]},{"1350723806":["hashtag1","hashtag2"]},{"1350723892":["hashtag1","hashtag2"]},{"1350723704":["hashtag1","hashtag2"]},{"1350723853":["hashtag1","hashtag2"]},{"1350723769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350723945, 1350723806, 1350723892, 1350723704, 1350723853, 1350723769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.950036764144897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:39:32.810299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_15_10359.jpg', '/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_26_10475.jpg', '/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_35_9425.jpg', '/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_45_10375.jpg', '/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_55_9356.jpg', '/home/pi/Desktop/images/09042025/08/05/image_09042025_08_06_05_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_15_10359.jpg
/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_26_10475.jpg
/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_35_9425.jpg
/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_45_10375.jpg
/home/pi/Desktop/images/09042025/08/05/image_09042025_08_05_55_9356.jpg
/home/pi/Desktop/images/09042025/08/05/image_09042025_08_06_05_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350724416","1350724352","1350724469","1350724604","1350724390","1350724531"],"photo_ids_order":["1350724352","1350724390","1350724416","1350724469","1350724531","1350724604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01bd2698fdc61754f6c046fca165bfb8.jpg","text":"TemporaryFile(/tmp/multipartBody5731512187541468441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188033273,"filename":"image_09042025_08_05_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/91250a11730d396ed214ea3142246272.jpg","text":"TemporaryFile(/tmp/multipartBody2538454924562019341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188033273,"filename":"image_09042025_08_05_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/4/9/430ddc1cbb8974662b2974999fbb56c3.jpg","text":"TemporaryFile(/tmp/multipartBody8418699232931905991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188033273,"filename":"image_09042025_08_05_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97afd8c8282117fff1a613618e45e1f0.jpg","text":"TemporaryFile(/tmp/multipartBody1422742537370157491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188033273,"filename":"image_09042025_08_06_05_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8a8b1aef841b8c592ca0a230af299c8.jpg","text":"TemporaryFile(/tmp/multipartBody668899230389548590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188033273,"filename":"image_09042025_08_05_26_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f702f0a77b929810ba6bbb59679261d.jpg","text":"TemporaryFile(/tmp/multipartBody3166823657365013358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188033273,"filename":"image_09042025_08_05_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350724416","file1":"1350724390","file0":"1350724352","file4":"1350724531","file5":"1350724604","file3":"1350724469"},"map_files_photo_id_array":[{"photo_id":"1350724604","filename":"file5"},{"photo_id":"1350724416","filename":"file2"},{"photo_id":"1350724531","filename":"file4"},{"photo_id":"1350724390","filename":"file1"},{"photo_id":"1350724352","filename":"file0"},{"photo_id":"1350724469","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350724416":["hashtag1","hashtag2"]},{"1350724352":["hashtag1","hashtag2"]},{"1350724469":["hashtag1","hashtag2"]},{"1350724604":["hashtag1","hashtag2"]},{"1350724390":["hashtag1","hashtag2"]},{"1350724531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350724416, 1350724352, 1350724469, 1350724604, 1350724390, 1350724531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.759140968322754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:40:33.100235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/06/image_09042025_08_06_16_10436.jpg', '/home/pi/Desktop/images/09042025/08/06/image_09042025_08_06_25_9428.jpg', '/home/pi/Desktop/images/09042025/08/06/image_09042025_08_06_35_10337.jpg', '/home/pi/Desktop/images/09042025/08/06/image_09042025_08_06_45_9373.jpg', '/home/pi/Desktop/images/09042025/08/06/image_09042025_08_07_06_10376.jpg', '/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_15_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/06/image_09042025_08_06_16_10436.jpg
/home/pi/Desktop/images/09042025/08/06/image_09042025_08_06_25_9428.jpg
/home/pi/Desktop/images/09042025/08/06/image_09042025_08_06_35_10337.jpg
/home/pi/Desktop/images/09042025/08/06/image_09042025_08_06_45_9373.jpg
/home/pi/Desktop/images/09042025/08/06/image_09042025_08_07_06_10376.jpg
/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_15_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":["1350725208","1350725087","1350725237","1350725303","1350725164","1350725271"],"photo_ids_order":["1350725087","1350725164","1350725208","1350725237","1350725271","1350725303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c3394802f91f9c48df8f4833642b47d.jpg","text":"TemporaryFile(/tmp/multipartBody6786950116822972945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188093570,"filename":"image_09042025_08_06_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/4/9/724f64cf1877df7e30c6122b280f2ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1854749211552041659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188093570,"filename":"image_09042025_08_06_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/015a34452fcb19fcbc42990e6af5f716.jpg","text":"TemporaryFile(/tmp/multipartBody2071298907480530412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188093570,"filename":"image_09042025_08_06_45_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/832819d7eed1544a3847c49ec1e29834.jpg","text":"TemporaryFile(/tmp/multipartBody8102742883930247025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188093570,"filename":"image_09042025_08_07_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1696d976ea631b157fa87bb4ecd84a3.jpg","text":"TemporaryFile(/tmp/multipartBody2731940918128292623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188093570,"filename":"image_09042025_08_06_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f3dd0f612840f68becfbfc01b2da5d3.jpg","text":"TemporaryFile(/tmp/multipartBody1852832124628166407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188093570,"filename":"image_09042025_08_07_06_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350725208","file1":"1350725164","file0":"1350725087","file4":"1350725271","file5":"1350725303","file3":"1350725237"},"map_files_photo_id_array":[{"photo_id":"1350725303","filename":"file5"},{"photo_id":"1350725208","filename":"file2"},{"photo_id":"1350725271","filename":"file4"},{"photo_id":"1350725164","filename":"file1"},{"photo_id":"1350725087","filename":"file0"},{"photo_id":"1350725237","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350725208":["hashtag1","hashtag2"]},{"1350725087":["hashtag1","hashtag2"]},{"1350725237":["hashtag1","hashtag2"]},{"1350725303":["hashtag1","hashtag2"]},{"1350725164":["hashtag1","hashtag2"]},{"1350725271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350725208, 1350725087, 1350725237, 1350725303, 1350725164, 1350725271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40467715263367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:41:32.292798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_25_10370.jpg', '/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_35_9348.jpg', '/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_45_10357.jpg', '/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_56_10379.jpg', '/home/pi/Desktop/images/09042025/08/07/image_09042025_08_08_05_9346.jpg', '/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_15_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_25_10370.jpg
/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_35_9348.jpg
/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_45_10357.jpg
/home/pi/Desktop/images/09042025/08/07/image_09042025_08_07_56_10379.jpg
/home/pi/Desktop/images/09042025/08/07/image_09042025_08_08_05_9346.jpg
/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_15_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":["1350725820","1350725672","1350725924","1350725747","1350725618","1350725860"],"photo_ids_order":["1350725618","1350725672","1350725747","1350725820","1350725860","1350725924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f2037241b7a63a7fcd96de70e2fab77.jpg","text":"TemporaryFile(/tmp/multipartBody936356032347324052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188152751,"filename":"image_09042025_08_07_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/4/9/0ecd6f21aa54eb20fd2506297fe8db99.jpg","text":"TemporaryFile(/tmp/multipartBody6744023559572592967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188152751,"filename":"image_09042025_08_07_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/4/9/1358dca6a7c8a8a95b76032c3cd7b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8591004973604676388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188152751,"filename":"image_09042025_08_08_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/4/9/7c3ed142871acd4468ad8d48ca1caa12.jpg","text":"TemporaryFile(/tmp/multipartBody8128935818554319774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188152751,"filename":"image_09042025_08_07_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e415b4a22fc08f2274dbce3917609097.jpg","text":"TemporaryFile(/tmp/multipartBody1749431050832275663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188152751,"filename":"image_09042025_08_07_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/4/9/c10c23759382950b775a9f0c5b9cc711.jpg","text":"TemporaryFile(/tmp/multipartBody1638353027416308398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188152751,"filename":"image_09042025_08_08_05_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350725747","file1":"1350725672","file0":"1350725618","file4":"1350725860","file5":"1350725924","file3":"1350725820"},"map_files_photo_id_array":[{"photo_id":"1350725924","filename":"file5"},{"photo_id":"1350725747","filename":"file2"},{"photo_id":"1350725860","filename":"file4"},{"photo_id":"1350725672","filename":"file1"},{"photo_id":"1350725618","filename":"file0"},{"photo_id":"1350725820","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350725820":["hashtag1","hashtag2"]},{"1350725672":["hashtag1","hashtag2"]},{"1350725924":["hashtag1","hashtag2"]},{"1350725747":["hashtag1","hashtag2"]},{"1350725618":["hashtag1","hashtag2"]},{"1350725860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350725820, 1350725672, 1350725924, 1350725747, 1350725618, 1350725860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56913876533508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:42:32.459679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_26_10390.jpg', '/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_35_9451.jpg', '/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_46_10361.jpg', '/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_55_9359.jpg', '/home/pi/Desktop/images/09042025/08/09/image_09042025_08_09_16_10425.jpg', '/home/pi/Desktop/images/09042025/08/09/image_09042025_08_09_25_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_26_10390.jpg
/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_35_9451.jpg
/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_46_10361.jpg
/home/pi/Desktop/images/09042025/08/08/image_09042025_08_08_55_9359.jpg
/home/pi/Desktop/images/09042025/08/09/image_09042025_08_09_16_10425.jpg
/home/pi/Desktop/images/09042025/08/09/image_09042025_08_09_25_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":["1350726527","1350726422","1350726503","1350726471","1350726366","1350726593"],"photo_ids_order":["1350726366","1350726422","1350726471","1350726503","1350726527","1350726593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/adc48fd2ba4dea9d17f1d33f9a684003.jpg","text":"TemporaryFile(/tmp/multipartBody353159438245952761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188212926,"filename":"image_09042025_08_09_16_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f8bf8a79f80dc125d461a972a343acd.jpg","text":"TemporaryFile(/tmp/multipartBody4933506076464238758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188212926,"filename":"image_09042025_08_08_35_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a3dd84a39243a6dc2b1f22cf72090527.jpg","text":"TemporaryFile(/tmp/multipartBody6692059848830215903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188212926,"filename":"image_09042025_08_08_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b3240bf23287f1455815cb9be08f96f.jpg","text":"TemporaryFile(/tmp/multipartBody8049270097152742272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188212926,"filename":"image_09042025_08_08_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/4/9/b75f91022651aa3a1320db3b07e2db9b.jpg","text":"TemporaryFile(/tmp/multipartBody673509565070280100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188212926,"filename":"image_09042025_08_08_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9649a431e3746da8fe53df73856a482f.jpg","text":"TemporaryFile(/tmp/multipartBody162443767149960193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188212926,"filename":"image_09042025_08_09_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350726471","file1":"1350726422","file0":"1350726366","file4":"1350726527","file5":"1350726593","file3":"1350726503"},"map_files_photo_id_array":[{"photo_id":"1350726593","filename":"file5"},{"photo_id":"1350726471","filename":"file2"},{"photo_id":"1350726527","filename":"file4"},{"photo_id":"1350726422","filename":"file1"},{"photo_id":"1350726366","filename":"file0"},{"photo_id":"1350726503","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350726527":["hashtag1","hashtag2"]},{"1350726422":["hashtag1","hashtag2"]},{"1350726503":["hashtag1","hashtag2"]},{"1350726471":["hashtag1","hashtag2"]},{"1350726366":["hashtag1","hashtag2"]},{"1350726593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350726527, 1350726422, 1350726503, 1350726471, 1350726366, 1350726593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.669620513916016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:43:32.745340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/09/image_09042025_08_09_35_10345.jpg', '/home/pi/Desktop/images/09042025/08/09/image_09042025_08_09_55_10367.jpg', '/home/pi/Desktop/images/09042025/08/10/image_09042025_08_10_15_9380.jpg', '/home/pi/Desktop/images/09042025/08/10/image_09042025_08_10_26_10490.jpg', '/home/pi/Desktop/images/09042025/08/10/image_09042025_08_10_35_9329.jpg', '/home/pi/Desktop/images/09042025/08/10/image_09042025_08_10_45_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/09/image_09042025_08_09_35_10345.jpg
/home/pi/Desktop/images/09042025/08/09/image_09042025_08_09_55_10367.jpg
/home/pi/Desktop/images/09042025/08/10/image_09042025_08_10_15_9380.jpg
/home/pi/Desktop/images/09042025/08/10/image_09042025_08_10_26_10490.jpg
/home/pi/Desktop/images/09042025/08/10/image_09042025_08_10_35_9329.jpg
/home/pi/Desktop/images/09042025/08/10/image_09042025_08_10_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":["1350727124","1350727100","1350727249","1350727170","1350727326","1350727073"],"photo_ids_order":["1350727073","1350727100","1350727124","1350727170","1350727249","1350727326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c29f84b656bebb885203b216d2ca5c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6416227450625725963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188273198,"filename":"image_09042025_08_10_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/4/9/3101810b2cf8b77897218f1f0950ec10.jpg","text":"TemporaryFile(/tmp/multipartBody2336548521892959114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188273198,"filename":"image_09042025_08_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/4/9/f04d9ca0078f9d5b5f3701962e0e9513.jpg","text":"TemporaryFile(/tmp/multipartBody8735692336175054874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188273198,"filename":"image_09042025_08_10_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/4/9/08dbec7f8e6df74dc008ccc8a2b60d71.jpg","text":"TemporaryFile(/tmp/multipartBody2620140621283884604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188273198,"filename":"image_09042025_08_10_26_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e2202a68c3adf419c413311eac342053.jpg","text":"TemporaryFile(/tmp/multipartBody3489017533009300844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188273198,"filename":"image_09042025_08_10_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/4/9/310c26f1c463d485eaf14cc94a356c06.jpg","text":"TemporaryFile(/tmp/multipartBody1013170461140465529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188273198,"filename":"image_09042025_08_09_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350727124","file1":"1350727100","file0":"1350727073","file4":"1350727249","file5":"1350727326","file3":"1350727170"},"map_files_photo_id_array":[{"photo_id":"1350727326","filename":"file5"},{"photo_id":"1350727124","filename":"file2"},{"photo_id":"1350727249","filename":"file4"},{"photo_id":"1350727100","filename":"file1"},{"photo_id":"1350727073","filename":"file0"},{"photo_id":"1350727170","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350727124":["hashtag1","hashtag2"]},{"1350727100":["hashtag1","hashtag2"]},{"1350727249":["hashtag1","hashtag2"]},{"1350727170":["hashtag1","hashtag2"]},{"1350727326":["hashtag1","hashtag2"]},{"1350727073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350727124, 1350727100, 1350727249, 1350727170, 1350727326, 1350727073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.377055168151855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:44:32.922951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_16_10353.jpg', '/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_25_9362.jpg', '/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_35_10354.jpg', '/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_46_10443.jpg', '/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_55_9499.jpg', '/home/pi/Desktop/images/09042025/08/11/image_09042025_08_12_06_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_16_10353.jpg
/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_25_9362.jpg
/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_35_10354.jpg
/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_46_10443.jpg
/home/pi/Desktop/images/09042025/08/11/image_09042025_08_11_55_9499.jpg
/home/pi/Desktop/images/09042025/08/11/image_09042025_08_12_06_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":["1350727820","1350727876","1350727792","1350727924","1350727747","1350727719"],"photo_ids_order":["1350727719","1350727747","1350727792","1350727820","1350727876","1350727924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed29ac54f4e2f1f141c4cbee7baaa7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1182504604653338596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188333391,"filename":"image_09042025_08_11_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/4/9/39f53f4a2ec22b54c6c65cf6534ef94f.jpg","text":"TemporaryFile(/tmp/multipartBody1817920588853512784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188333391,"filename":"image_09042025_08_11_55_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30eb6d18d07f3a2a5aed9bfe7d256820.jpg","text":"TemporaryFile(/tmp/multipartBody2095581156204208551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188333391,"filename":"image_09042025_08_11_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/4/9/861ee46ea06b14ce0fb71d06f2b56882.jpg","text":"TemporaryFile(/tmp/multipartBody365386133445455734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188333391,"filename":"image_09042025_08_12_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3eea28596c4e1097b7ce989ae8298b5a.jpg","text":"TemporaryFile(/tmp/multipartBody10416286975532851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188333391,"filename":"image_09042025_08_11_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/4/9/2cc83efd082c28e0b5d33300b9f5e324.jpg","text":"TemporaryFile(/tmp/multipartBody7436172797817801641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188333391,"filename":"image_09042025_08_11_16_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350727792","file1":"1350727747","file0":"1350727719","file4":"1350727876","file5":"1350727924","file3":"1350727820"},"map_files_photo_id_array":[{"photo_id":"1350727924","filename":"file5"},{"photo_id":"1350727792","filename":"file2"},{"photo_id":"1350727876","filename":"file4"},{"photo_id":"1350727747","filename":"file1"},{"photo_id":"1350727719","filename":"file0"},{"photo_id":"1350727820","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350727820":["hashtag1","hashtag2"]},{"1350727876":["hashtag1","hashtag2"]},{"1350727792":["hashtag1","hashtag2"]},{"1350727924":["hashtag1","hashtag2"]},{"1350727747":["hashtag1","hashtag2"]},{"1350727719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350727820, 1350727876, 1350727792, 1350727924, 1350727747, 1350727719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2370924949646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:45:32.255533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_15_9364.jpg', '/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_25_10417.jpg', '/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_36_10344.jpg', '/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_45_9482.jpg', '/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_56_10412.jpg', '/home/pi/Desktop/images/09042025/08/12/image_09042025_08_13_05_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_15_9364.jpg
/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_25_10417.jpg
/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_36_10344.jpg
/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_45_9482.jpg
/home/pi/Desktop/images/09042025/08/12/image_09042025_08_12_56_10412.jpg
/home/pi/Desktop/images/09042025/08/12/image_09042025_08_13_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":["1350728386","1350728484","1350728412","1350728337","1350728291","1350728462"],"photo_ids_order":["1350728291","1350728337","1350728386","1350728412","1350728462","1350728484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae46ed009997a4694996c2d3c44c124c.jpg","text":"TemporaryFile(/tmp/multipartBody3440104436435350230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188392713,"filename":"image_09042025_08_12_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/4/9/238c93de8bf107a9f5a06a375005635b.jpg","text":"TemporaryFile(/tmp/multipartBody3221047492343503823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188392713,"filename":"image_09042025_08_13_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/4/9/02ca2be022d7d1585e0e5f33025b4f84.jpg","text":"TemporaryFile(/tmp/multipartBody6663735480072778037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188392713,"filename":"image_09042025_08_12_45_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/afd82ee5161576504596be6bf8212814.jpg","text":"TemporaryFile(/tmp/multipartBody6963329779676591461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188392713,"filename":"image_09042025_08_12_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/4/9/342e8e8313fe68bc77c771681c77c3a4.jpg","text":"TemporaryFile(/tmp/multipartBody72183046863746781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188392713,"filename":"image_09042025_08_12_15_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ddabcd3571a05bd2986d4795e14da57d.jpg","text":"TemporaryFile(/tmp/multipartBody1868764681245788298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188392713,"filename":"image_09042025_08_12_56_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350728386","file1":"1350728337","file0":"1350728291","file4":"1350728462","file5":"1350728484","file3":"1350728412"},"map_files_photo_id_array":[{"photo_id":"1350728484","filename":"file5"},{"photo_id":"1350728386","filename":"file2"},{"photo_id":"1350728462","filename":"file4"},{"photo_id":"1350728337","filename":"file1"},{"photo_id":"1350728291","filename":"file0"},{"photo_id":"1350728412","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350728386":["hashtag1","hashtag2"]},{"1350728484":["hashtag1","hashtag2"]},{"1350728412":["hashtag1","hashtag2"]},{"1350728337":["hashtag1","hashtag2"]},{"1350728291":["hashtag1","hashtag2"]},{"1350728462":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350728386, 1350728484, 1350728412, 1350728337, 1350728291, 1350728462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.44259214401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:46:32.345255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/13/image_09042025_08_13_25_9366.jpg', '/home/pi/Desktop/images/09042025/08/13/image_09042025_08_13_35_10026.jpg', '/home/pi/Desktop/images/09042025/08/13/image_09042025_08_13_45_10454.jpg', '/home/pi/Desktop/images/09042025/08/13/image_09042025_08_14_05_9457.jpg', '/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_16_10373.jpg', '/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_25_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/13/image_09042025_08_13_25_9366.jpg
/home/pi/Desktop/images/09042025/08/13/image_09042025_08_13_35_10026.jpg
/home/pi/Desktop/images/09042025/08/13/image_09042025_08_13_45_10454.jpg
/home/pi/Desktop/images/09042025/08/13/image_09042025_08_14_05_9457.jpg
/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_16_10373.jpg
/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_25_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":["1350728866","1350728804","1350728761","1350728833","1350728730","1350728785"],"photo_ids_order":["1350728730","1350728761","1350728785","1350728804","1350728833","1350728866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b5fd6c4f91564ae3b9826f562e4d96ae.jpg","text":"TemporaryFile(/tmp/multipartBody4530372960026930973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188452802,"filename":"image_09042025_08_14_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/4/9/00e39eef71166f68dab2c47af1d861fe.jpg","text":"TemporaryFile(/tmp/multipartBody2999229472558896763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188452802,"filename":"image_09042025_08_14_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/4/9/14b354b5f6816afdfc071f9df4e88681.jpg","text":"TemporaryFile(/tmp/multipartBody6263384298888657333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188452802,"filename":"image_09042025_08_13_35_10026.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09831264e8046dc4934051f169436338.jpg","text":"TemporaryFile(/tmp/multipartBody726939506481026014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188452802,"filename":"image_09042025_08_14_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a9a6061d0d9935c68c6e129071ac569.jpg","text":"TemporaryFile(/tmp/multipartBody1690658766502172200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188452802,"filename":"image_09042025_08_13_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/87fc74de78d7dcd5faceb2f3ea83248e.jpg","text":"TemporaryFile(/tmp/multipartBody8330877652252383482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188452802,"filename":"image_09042025_08_13_45_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350728785","file1":"1350728761","file0":"1350728730","file4":"1350728833","file5":"1350728866","file3":"1350728804"},"map_files_photo_id_array":[{"photo_id":"1350728866","filename":"file5"},{"photo_id":"1350728785","filename":"file2"},{"photo_id":"1350728833","filename":"file4"},{"photo_id":"1350728761","filename":"file1"},{"photo_id":"1350728730","filename":"file0"},{"photo_id":"1350728804","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350728866":["hashtag1","hashtag2"]},{"1350728804":["hashtag1","hashtag2"]},{"1350728761":["hashtag1","hashtag2"]},{"1350728833":["hashtag1","hashtag2"]},{"1350728730":["hashtag1","hashtag2"]},{"1350728785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350728866, 1350728804, 1350728761, 1350728833, 1350728730, 1350728785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.822779178619385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:47:32.648725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_35_10435.jpg', '/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_46_10362.jpg', '/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_55_9434.jpg', '/home/pi/Desktop/images/09042025/08/14/image_09042025_08_15_05_10360.jpg', '/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_15_9346.jpg', '/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_25_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_35_10435.jpg
/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_46_10362.jpg
/home/pi/Desktop/images/09042025/08/14/image_09042025_08_14_55_9434.jpg
/home/pi/Desktop/images/09042025/08/14/image_09042025_08_15_05_10360.jpg
/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_15_9346.jpg
/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_25_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350729406","1350729294","1350729348","1350729224","1350729280","1350729259"],"photo_ids_order":["1350729224","1350729259","1350729280","1350729294","1350729348","1350729406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2483c761c85838ea6300fc3f71de9cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3682984300416120263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188513112,"filename":"image_09042025_08_15_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/4/9/d5591d9fe3011f9d83a035f45905b5d1.jpg","text":"TemporaryFile(/tmp/multipartBody6462302162740164523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188513112,"filename":"image_09042025_08_15_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/4/9/af4bcfdd68c65f4fa28fb2944208f459.jpg","text":"TemporaryFile(/tmp/multipartBody210594819333024622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188513112,"filename":"image_09042025_08_15_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/4/9/33015b7f68ac8b468a8cb08bc3984358.jpg","text":"TemporaryFile(/tmp/multipartBody242855148696581300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188513112,"filename":"image_09042025_08_14_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/4/9/13b9961690e85a60f10edaf7e36c9545.jpg","text":"TemporaryFile(/tmp/multipartBody4613792941218261399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188513112,"filename":"image_09042025_08_14_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/134c7bb7558ac8ffa021aac08570e80b.jpg","text":"TemporaryFile(/tmp/multipartBody2255808503515965706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188513112,"filename":"image_09042025_08_14_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350729280","file1":"1350729259","file0":"1350729224","file4":"1350729348","file5":"1350729406","file3":"1350729294"},"map_files_photo_id_array":[{"photo_id":"1350729406","filename":"file5"},{"photo_id":"1350729280","filename":"file2"},{"photo_id":"1350729348","filename":"file4"},{"photo_id":"1350729259","filename":"file1"},{"photo_id":"1350729224","filename":"file0"},{"photo_id":"1350729294","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350729406":["hashtag1","hashtag2"]},{"1350729294":["hashtag1","hashtag2"]},{"1350729348":["hashtag1","hashtag2"]},{"1350729224":["hashtag1","hashtag2"]},{"1350729280":["hashtag1","hashtag2"]},{"1350729259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350729406, 1350729294, 1350729348, 1350729224, 1350729280, 1350729259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.299163579940796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:48:32.794436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_36_10352.jpg', '/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_45_9367.jpg', '/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_55_10472.jpg', '/home/pi/Desktop/images/09042025/08/15/image_09042025_08_16_06_10352.jpg', '/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_15_9393.jpg', '/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_25_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_36_10352.jpg
/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_45_9367.jpg
/home/pi/Desktop/images/09042025/08/15/image_09042025_08_15_55_10472.jpg
/home/pi/Desktop/images/09042025/08/15/image_09042025_08_16_06_10352.jpg
/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_15_9393.jpg
/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_25_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350729480","1350729510","1350729482","1350729479","1350729500","1350729493"],"photo_ids_order":["1350729479","1350729480","1350729482","1350729493","1350729500","1350729510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f65a26ddd487e962c0660840364444e5.jpg","text":"TemporaryFile(/tmp/multipartBody2280983713642579865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188573252,"filename":"image_09042025_08_15_45_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2024bd4ea73f920812f73aadadc696a5.jpg","text":"TemporaryFile(/tmp/multipartBody5852844634180787597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188573252,"filename":"image_09042025_08_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/4/9/93d44cf2d41d728bf19dc54ba94127e3.jpg","text":"TemporaryFile(/tmp/multipartBody8387066798302093920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188573252,"filename":"image_09042025_08_15_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/4/9/3a7bc05e5a1e589f221d68dfcd8c71a8.jpg","text":"TemporaryFile(/tmp/multipartBody2348959463227234797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188573252,"filename":"image_09042025_08_15_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/4/9/f3ea39357e04b60eabfbddc555581cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8222993202022094995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188573252,"filename":"image_09042025_08_16_15_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d947287b1014907b7d984dcc0ff0250.jpg","text":"TemporaryFile(/tmp/multipartBody4281628148939069687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188573252,"filename":"image_09042025_08_16_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350729482","file1":"1350729480","file0":"1350729479","file4":"1350729500","file5":"1350729510","file3":"1350729493"},"map_files_photo_id_array":[{"photo_id":"1350729510","filename":"file5"},{"photo_id":"1350729482","filename":"file2"},{"photo_id":"1350729500","filename":"file4"},{"photo_id":"1350729480","filename":"file1"},{"photo_id":"1350729479","filename":"file0"},{"photo_id":"1350729493","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350729480":["hashtag1","hashtag2"]},{"1350729510":["hashtag1","hashtag2"]},{"1350729482":["hashtag1","hashtag2"]},{"1350729479":["hashtag1","hashtag2"]},{"1350729500":["hashtag1","hashtag2"]},{"1350729493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350729480, 1350729510, 1350729482, 1350729479, 1350729500, 1350729493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.4667706489563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:49:33.108834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_35_9329.jpg', '/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_45_10457.jpg', '/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_56_10369.jpg', '/home/pi/Desktop/images/09042025/08/16/image_09042025_08_17_05_9466.jpg', '/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_15_10361.jpg', '/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_25_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_35_9329.jpg
/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_45_10457.jpg
/home/pi/Desktop/images/09042025/08/16/image_09042025_08_16_56_10369.jpg
/home/pi/Desktop/images/09042025/08/16/image_09042025_08_17_05_9466.jpg
/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_15_10361.jpg
/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_25_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350729829","1350730252","1350730408","1350729654","1350730032","1350729572"],"photo_ids_order":["1350729572","1350729654","1350729829","1350730032","1350730252","1350730408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f79c646b2f082dc7e3433b242a26c538.jpg","text":"TemporaryFile(/tmp/multipartBody2829577130266861642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188633569,"filename":"image_09042025_08_16_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22e48c63f71f6d51eb75bcf96a2ea70c.jpg","text":"TemporaryFile(/tmp/multipartBody2327875514556167330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188633569,"filename":"image_09042025_08_17_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f47ffb02b0c2505a9c98bbc1215beea.jpg","text":"TemporaryFile(/tmp/multipartBody156961900327868578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188633569,"filename":"image_09042025_08_17_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/4/9/7a1bf751f64c8b3008d4f78bb0128f51.jpg","text":"TemporaryFile(/tmp/multipartBody2541929134885248059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188633569,"filename":"image_09042025_08_16_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bd2a1072424c4113d5512f447aff2280.jpg","text":"TemporaryFile(/tmp/multipartBody5280557924401843391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188633569,"filename":"image_09042025_08_17_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/4/9/9ece69e43e61e92316935143bb423c40.jpg","text":"TemporaryFile(/tmp/multipartBody8319836816763396668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188633569,"filename":"image_09042025_08_16_35_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350729829","file1":"1350729654","file0":"1350729572","file4":"1350730252","file5":"1350730408","file3":"1350730032"},"map_files_photo_id_array":[{"photo_id":"1350730408","filename":"file5"},{"photo_id":"1350729829","filename":"file2"},{"photo_id":"1350730252","filename":"file4"},{"photo_id":"1350729654","filename":"file1"},{"photo_id":"1350729572","filename":"file0"},{"photo_id":"1350730032","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350729829":["hashtag1","hashtag2"]},{"1350730252":["hashtag1","hashtag2"]},{"1350730408":["hashtag1","hashtag2"]},{"1350729654":["hashtag1","hashtag2"]},{"1350730032":["hashtag1","hashtag2"]},{"1350729572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350729829, 1350730252, 1350730408, 1350729654, 1350730032, 1350729572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.129743576049805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:50:32.641460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_35_10358.jpg', '/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_46_10374.jpg', '/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_55_9483.jpg', '/home/pi/Desktop/images/09042025/08/17/image_09042025_08_18_05_10356.jpg', '/home/pi/Desktop/images/09042025/08/18/image_09042025_08_18_25_10464.jpg', '/home/pi/Desktop/images/09042025/08/18/image_09042025_08_18_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_35_10358.jpg
/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_46_10374.jpg
/home/pi/Desktop/images/09042025/08/17/image_09042025_08_17_55_9483.jpg
/home/pi/Desktop/images/09042025/08/17/image_09042025_08_18_05_10356.jpg
/home/pi/Desktop/images/09042025/08/18/image_09042025_08_18_25_10464.jpg
/home/pi/Desktop/images/09042025/08/18/image_09042025_08_18_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350730726","1350730657","1350730638","1350730898","1350730667","1350730637"],"photo_ids_order":["1350730637","1350730638","1350730657","1350730667","1350730726","1350730898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/557e663d24270cfcb307c19ea15b92a8.jpg","text":"TemporaryFile(/tmp/multipartBody6834649757942874684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188693148,"filename":"image_09042025_08_18_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/4/9/ea8b3c287d48ddce8cc6f59bcf20ee81.jpg","text":"TemporaryFile(/tmp/multipartBody5921839134964020757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188693148,"filename":"image_09042025_08_17_55_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33ca932a76644c238ff4143c18d5b755.jpg","text":"TemporaryFile(/tmp/multipartBody8528766792861507721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188693148,"filename":"image_09042025_08_17_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/4/9/3778b881cf4280806fd7aace12690218.jpg","text":"TemporaryFile(/tmp/multipartBody9181907942330278548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188693148,"filename":"image_09042025_08_18_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/4/9/9a74e401705f51e34675b50d8475a042.jpg","text":"TemporaryFile(/tmp/multipartBody7951754174693663533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188693148,"filename":"image_09042025_08_18_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/4/9/34f8ca5f6041e7b4d36cce2b73996d57.jpg","text":"TemporaryFile(/tmp/multipartBody1530553463647921415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188693148,"filename":"image_09042025_08_17_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350730657","file1":"1350730638","file0":"1350730637","file4":"1350730726","file5":"1350730898","file3":"1350730667"},"map_files_photo_id_array":[{"photo_id":"1350730898","filename":"file5"},{"photo_id":"1350730657","filename":"file2"},{"photo_id":"1350730726","filename":"file4"},{"photo_id":"1350730638","filename":"file1"},{"photo_id":"1350730637","filename":"file0"},{"photo_id":"1350730667","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350730726":["hashtag1","hashtag2"]},{"1350730657":["hashtag1","hashtag2"]},{"1350730638":["hashtag1","hashtag2"]},{"1350730898":["hashtag1","hashtag2"]},{"1350730667":["hashtag1","hashtag2"]},{"1350730637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350730726, 1350730657, 1350730638, 1350730898, 1350730667, 1350730637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.7080659866333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:51:32.609952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/19/image_09042025_08_19_15_10463.jpg', '/home/pi/Desktop/images/09042025/08/19/image_09042025_08_19_35_9416.jpg', '/home/pi/Desktop/images/09042025/08/19/image_09042025_08_19_45_10360.jpg', '/home/pi/Desktop/images/09042025/08/19/image_09042025_08_19_55_9353.jpg', '/home/pi/Desktop/images/09042025/08/19/image_09042025_08_20_05_10449.jpg', '/home/pi/Desktop/images/09042025/08/20/image_09042025_08_20_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/19/image_09042025_08_19_15_10463.jpg
/home/pi/Desktop/images/09042025/08/19/image_09042025_08_19_35_9416.jpg
/home/pi/Desktop/images/09042025/08/19/image_09042025_08_19_45_10360.jpg
/home/pi/Desktop/images/09042025/08/19/image_09042025_08_19_55_9353.jpg
/home/pi/Desktop/images/09042025/08/19/image_09042025_08_20_05_10449.jpg
/home/pi/Desktop/images/09042025/08/20/image_09042025_08_20_16_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":["1350731020","1350731019","1350731027","1350731021","1350731024","1350731018"],"photo_ids_order":["1350731018","1350731019","1350731020","1350731021","1350731024","1350731027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b10816faa6576390de4a2dcf8935ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody2008512355638526592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188753070,"filename":"image_09042025_08_19_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/4/9/4489040341eb7127e655cbffdb08f2bc.jpg","text":"TemporaryFile(/tmp/multipartBody2120651709398080975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188753070,"filename":"image_09042025_08_19_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/4/9/3c6443c2c31e844c8d47729b313bf084.jpg","text":"TemporaryFile(/tmp/multipartBody3909741147867624331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188753070,"filename":"image_09042025_08_20_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d019c8a9d6adc3a1b9b04b5a78bd1e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7887639854726905006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188753070,"filename":"image_09042025_08_19_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/4/9/5797627201370c79bd8ea416a800b762.jpg","text":"TemporaryFile(/tmp/multipartBody8368123724725664057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188753070,"filename":"image_09042025_08_20_05_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/07ff5411cefa9c1a2aeb7abf34dabe44.jpg","text":"TemporaryFile(/tmp/multipartBody953235577018780450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188753070,"filename":"image_09042025_08_19_15_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350731020","file1":"1350731019","file0":"1350731018","file4":"1350731024","file5":"1350731027","file3":"1350731021"},"map_files_photo_id_array":[{"photo_id":"1350731027","filename":"file5"},{"photo_id":"1350731020","filename":"file2"},{"photo_id":"1350731024","filename":"file4"},{"photo_id":"1350731019","filename":"file1"},{"photo_id":"1350731018","filename":"file0"},{"photo_id":"1350731021","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350731020":["hashtag1","hashtag2"]},{"1350731019":["hashtag1","hashtag2"]},{"1350731027":["hashtag1","hashtag2"]},{"1350731021":["hashtag1","hashtag2"]},{"1350731024":["hashtag1","hashtag2"]},{"1350731018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350731020, 1350731019, 1350731027, 1350731021, 1350731024, 1350731018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.089773178100586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:52:32.783372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/20/image_09042025_08_20_35_10441.jpg', '/home/pi/Desktop/images/09042025/08/20/image_09042025_08_20_45_9429.jpg', '/home/pi/Desktop/images/09042025/08/21/image_09042025_08_21_15_9466.jpg', '/home/pi/Desktop/images/09042025/08/21/image_09042025_08_21_25_10337.jpg', '/home/pi/Desktop/images/09042025/08/21/image_09042025_08_21_35_9345.jpg', '/home/pi/Desktop/images/09042025/08/21/image_09042025_08_21_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/20/image_09042025_08_20_35_10441.jpg
/home/pi/Desktop/images/09042025/08/20/image_09042025_08_20_45_9429.jpg
/home/pi/Desktop/images/09042025/08/21/image_09042025_08_21_15_9466.jpg
/home/pi/Desktop/images/09042025/08/21/image_09042025_08_21_25_10337.jpg
/home/pi/Desktop/images/09042025/08/21/image_09042025_08_21_35_9345.jpg
/home/pi/Desktop/images/09042025/08/21/image_09042025_08_21_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350731320","1350731422","1350731277","1350731484","1350731345","1350731395"],"photo_ids_order":["1350731277","1350731320","1350731345","1350731395","1350731422","1350731484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd5c8d6ec5d3a22a7ed4d19b406a6fde.jpg","text":"TemporaryFile(/tmp/multipartBody6723031637703393334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188813247,"filename":"image_09042025_08_20_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/4/9/e57195aabcf94abae142c53a231a1c26.jpg","text":"TemporaryFile(/tmp/multipartBody448655016308196758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188813247,"filename":"image_09042025_08_21_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/4/9/321013611eda4cf92b20782c18472259.jpg","text":"TemporaryFile(/tmp/multipartBody7874332114799843314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188813247,"filename":"image_09042025_08_20_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/4/9/81e333c9feee2e5799aad1b0702d0002.jpg","text":"TemporaryFile(/tmp/multipartBody6485817957378362976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188813247,"filename":"image_09042025_08_21_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/4/9/256e52674f4ea5c4e5b74505a0717dcd.jpg","text":"TemporaryFile(/tmp/multipartBody5071491384108521882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188813247,"filename":"image_09042025_08_21_15_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ebe5873a2122f132f9ef28e14943acc.jpg","text":"TemporaryFile(/tmp/multipartBody5032420900825047150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188813247,"filename":"image_09042025_08_21_25_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350731345","file1":"1350731320","file0":"1350731277","file4":"1350731422","file5":"1350731484","file3":"1350731395"},"map_files_photo_id_array":[{"photo_id":"1350731484","filename":"file5"},{"photo_id":"1350731345","filename":"file2"},{"photo_id":"1350731422","filename":"file4"},{"photo_id":"1350731320","filename":"file1"},{"photo_id":"1350731277","filename":"file0"},{"photo_id":"1350731395","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350731320":["hashtag1","hashtag2"]},{"1350731422":["hashtag1","hashtag2"]},{"1350731277":["hashtag1","hashtag2"]},{"1350731484":["hashtag1","hashtag2"]},{"1350731345":["hashtag1","hashtag2"]},{"1350731395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350731320, 1350731422, 1350731277, 1350731484, 1350731345, 1350731395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.80310368537903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:53:33.119836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_15_10345.jpg', '/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_26_10369.jpg', '/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_35_9458.jpg', '/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_46_10432.jpg', '/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_55_9355.jpg', '/home/pi/Desktop/images/09042025/08/22/image_09042025_08_23_05_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_15_10345.jpg
/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_26_10369.jpg
/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_35_9458.jpg
/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_46_10432.jpg
/home/pi/Desktop/images/09042025/08/22/image_09042025_08_22_55_9355.jpg
/home/pi/Desktop/images/09042025/08/22/image_09042025_08_23_05_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350731982","1350732006","1350731901","1350731744","1350731831","1350731956"],"photo_ids_order":["1350731744","1350731831","1350731901","1350731956","1350731982","1350732006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/afd2db9c5bd1a5ba1eaffefe376abb77.jpg","text":"TemporaryFile(/tmp/multipartBody283042016915373924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188873651,"filename":"image_09042025_08_22_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/4/9/4a6cf0894f8d37465874159599dd1c2a.jpg","text":"TemporaryFile(/tmp/multipartBody2929440407010505936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188873651,"filename":"image_09042025_08_23_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6583142e5e52b9d1a27138ab4eca3ed.jpg","text":"TemporaryFile(/tmp/multipartBody343162199777019883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188873651,"filename":"image_09042025_08_22_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/4/9/f174a7ad9211a4bb10605806c69f29b8.jpg","text":"TemporaryFile(/tmp/multipartBody1037340409015680107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188873651,"filename":"image_09042025_08_22_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/4/9/055bf7cb650af007d1dc42a1feb189ef.jpg","text":"TemporaryFile(/tmp/multipartBody1697336145194316300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188873651,"filename":"image_09042025_08_22_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/4/9/3b8a946e8dc641abf22be1a502e915a5.jpg","text":"TemporaryFile(/tmp/multipartBody1516123637864818985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188873651,"filename":"image_09042025_08_22_46_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350731901","file1":"1350731831","file0":"1350731744","file4":"1350731982","file5":"1350732006","file3":"1350731956"},"map_files_photo_id_array":[{"photo_id":"1350732006","filename":"file5"},{"photo_id":"1350731901","filename":"file2"},{"photo_id":"1350731982","filename":"file4"},{"photo_id":"1350731831","filename":"file1"},{"photo_id":"1350731744","filename":"file0"},{"photo_id":"1350731956","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350731982":["hashtag1","hashtag2"]},{"1350732006":["hashtag1","hashtag2"]},{"1350731901":["hashtag1","hashtag2"]},{"1350731744":["hashtag1","hashtag2"]},{"1350731831":["hashtag1","hashtag2"]},{"1350731956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350731982, 1350732006, 1350731901, 1350731744, 1350731831, 1350731956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39104628562927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:54:32.255404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/23/image_09042025_08_23_25_9423.jpg', '/home/pi/Desktop/images/09042025/08/23/image_09042025_08_23_35_10359.jpg', '/home/pi/Desktop/images/09042025/08/23/image_09042025_08_23_45_9447.jpg', '/home/pi/Desktop/images/09042025/08/23/image_09042025_08_23_55_10425.jpg', '/home/pi/Desktop/images/09042025/08/23/image_09042025_08_24_06_10348.jpg', '/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_15_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/23/image_09042025_08_23_25_9423.jpg
/home/pi/Desktop/images/09042025/08/23/image_09042025_08_23_35_10359.jpg
/home/pi/Desktop/images/09042025/08/23/image_09042025_08_23_45_9447.jpg
/home/pi/Desktop/images/09042025/08/23/image_09042025_08_23_55_10425.jpg
/home/pi/Desktop/images/09042025/08/23/image_09042025_08_24_06_10348.jpg
/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_15_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":["1350732168","1350732191","1350732083","1350732151","1350732148","1350732214"],"photo_ids_order":["1350732083","1350732148","1350732151","1350732168","1350732191","1350732214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62ec43efa45b3f6c89be58e8e02c1ea9.jpg","text":"TemporaryFile(/tmp/multipartBody4243166177049404087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188932827,"filename":"image_09042025_08_23_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/4/9/aaa80a12741167aaf95f1b51bfd026bf.jpg","text":"TemporaryFile(/tmp/multipartBody8040811399164568485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188932827,"filename":"image_09042025_08_24_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/4/9/f37f7ccd923ee4a3a3d24be8edb7a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody6896703810572147792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188932827,"filename":"image_09042025_08_23_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/4/9/8d34ddb6a29b1d88ff4a70dad97158e7.jpg","text":"TemporaryFile(/tmp/multipartBody7765019771039064714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188932827,"filename":"image_09042025_08_23_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e593926d557cc9b37066354797313a7.jpg","text":"TemporaryFile(/tmp/multipartBody6912508657233956480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188932827,"filename":"image_09042025_08_23_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/4/9/da7bd993cfac062b2e2264f78e6d236e.jpg","text":"TemporaryFile(/tmp/multipartBody4928638992814541608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188932827,"filename":"image_09042025_08_24_15_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350732151","file1":"1350732148","file0":"1350732083","file4":"1350732191","file5":"1350732214","file3":"1350732168"},"map_files_photo_id_array":[{"photo_id":"1350732214","filename":"file5"},{"photo_id":"1350732151","filename":"file2"},{"photo_id":"1350732191","filename":"file4"},{"photo_id":"1350732148","filename":"file1"},{"photo_id":"1350732083","filename":"file0"},{"photo_id":"1350732168","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350732168":["hashtag1","hashtag2"]},{"1350732191":["hashtag1","hashtag2"]},{"1350732083":["hashtag1","hashtag2"]},{"1350732151":["hashtag1","hashtag2"]},{"1350732148":["hashtag1","hashtag2"]},{"1350732214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350732168, 1350732191, 1350732083, 1350732151, 1350732148, 1350732214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.781654119491577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:55:32.530778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_25_10460.jpg', '/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_35_9436.jpg', '/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_45_10446.jpg', '/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_55_9426.jpg', '/home/pi/Desktop/images/09042025/08/24/image_09042025_08_25_05_10353.jpg', '/home/pi/Desktop/images/09042025/08/25/image_09042025_08_25_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_25_10460.jpg
/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_35_9436.jpg
/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_45_10446.jpg
/home/pi/Desktop/images/09042025/08/24/image_09042025_08_24_55_9426.jpg
/home/pi/Desktop/images/09042025/08/24/image_09042025_08_25_05_10353.jpg
/home/pi/Desktop/images/09042025/08/25/image_09042025_08_25_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350732453","1350732581","1350732560","1350732536","1350732509","1350732481"],"photo_ids_order":["1350732453","1350732481","1350732509","1350732536","1350732560","1350732581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48d13de56992a90b0a8f8426c5e4ade9.jpg","text":"TemporaryFile(/tmp/multipartBody7046482658694808553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188992991,"filename":"image_09042025_08_24_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/4/9/cbbc3a33c89718d61cb0e49c87c3c760.jpg","text":"TemporaryFile(/tmp/multipartBody3424880842642705203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188992991,"filename":"image_09042025_08_25_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/4/9/842d93727642124c7ebdd5f1ffcf6483.jpg","text":"TemporaryFile(/tmp/multipartBody7483897000353684608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188992991,"filename":"image_09042025_08_25_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a10b97f030d5a3bb2f77542e1716c74.jpg","text":"TemporaryFile(/tmp/multipartBody92954625880728774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188992991,"filename":"image_09042025_08_24_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/4/9/3916c0d82020c120b94908b0ecc490a1.jpg","text":"TemporaryFile(/tmp/multipartBody4185476550052152936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188992991,"filename":"image_09042025_08_24_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/4/9/812f7a066f68a5a30c5b35422a40d91c.jpg","text":"TemporaryFile(/tmp/multipartBody5075258641749177347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744188992991,"filename":"image_09042025_08_24_35_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350732509","file1":"1350732481","file0":"1350732453","file4":"1350732560","file5":"1350732581","file3":"1350732536"},"map_files_photo_id_array":[{"photo_id":"1350732581","filename":"file5"},{"photo_id":"1350732509","filename":"file2"},{"photo_id":"1350732560","filename":"file4"},{"photo_id":"1350732481","filename":"file1"},{"photo_id":"1350732453","filename":"file0"},{"photo_id":"1350732536","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350732453":["hashtag1","hashtag2"]},{"1350732581":["hashtag1","hashtag2"]},{"1350732560":["hashtag1","hashtag2"]},{"1350732536":["hashtag1","hashtag2"]},{"1350732509":["hashtag1","hashtag2"]},{"1350732481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350732453, 1350732581, 1350732560, 1350732536, 1350732509, 1350732481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82784080505371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:56:32.715161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/25/image_09042025_08_25_25_9357.jpg', '/home/pi/Desktop/images/09042025/08/25/image_09042025_08_25_35_10355.jpg', '/home/pi/Desktop/images/09042025/08/25/image_09042025_08_25_46_10358.jpg', '/home/pi/Desktop/images/09042025/08/25/image_09042025_08_26_05_10405.jpg', '/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_16_10352.jpg', '/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_25_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/25/image_09042025_08_25_25_9357.jpg
/home/pi/Desktop/images/09042025/08/25/image_09042025_08_25_35_10355.jpg
/home/pi/Desktop/images/09042025/08/25/image_09042025_08_25_46_10358.jpg
/home/pi/Desktop/images/09042025/08/25/image_09042025_08_26_05_10405.jpg
/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_16_10352.jpg
/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_25_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350732758","1350732833","1350732859","1350732894","1350732811","1350732789"],"photo_ids_order":["1350732758","1350732789","1350732811","1350732833","1350732859","1350732894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e600f27719c95023352cbd0c6c7ec9aa.jpg","text":"TemporaryFile(/tmp/multipartBody5602378295260211050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189053175,"filename":"image_09042025_08_25_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/4/9/88eb7003e645e130f597f66fa2030173.jpg","text":"TemporaryFile(/tmp/multipartBody3206162858137961926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189053175,"filename":"image_09042025_08_26_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/4/9/c7fb84cd713e9235f912d227a66a7a0c.jpg","text":"TemporaryFile(/tmp/multipartBody3937389103812896580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189053175,"filename":"image_09042025_08_26_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/4/9/42af181948b678893fd5b6c983d1bf47.jpg","text":"TemporaryFile(/tmp/multipartBody7594786023782025899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189053175,"filename":"image_09042025_08_26_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a328af8cacee7119598f43ec65c38114.jpg","text":"TemporaryFile(/tmp/multipartBody1716800031036590182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189053175,"filename":"image_09042025_08_25_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/363bba9441345b4f15fecd1eee3f9d92.jpg","text":"TemporaryFile(/tmp/multipartBody3593078399576568312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189053175,"filename":"image_09042025_08_25_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350732811","file1":"1350732789","file0":"1350732758","file4":"1350732859","file5":"1350732894","file3":"1350732833"},"map_files_photo_id_array":[{"photo_id":"1350732894","filename":"file5"},{"photo_id":"1350732811","filename":"file2"},{"photo_id":"1350732859","filename":"file4"},{"photo_id":"1350732789","filename":"file1"},{"photo_id":"1350732758","filename":"file0"},{"photo_id":"1350732833","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350732758":["hashtag1","hashtag2"]},{"1350732833":["hashtag1","hashtag2"]},{"1350732859":["hashtag1","hashtag2"]},{"1350732894":["hashtag1","hashtag2"]},{"1350732811":["hashtag1","hashtag2"]},{"1350732789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350732758, 1350732833, 1350732859, 1350732894, 1350732811, 1350732789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0390202999115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:57:32.981579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_35_10355.jpg', '/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_45_9360.jpg', '/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_55_10347.jpg', '/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_25_10370.jpg', '/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_36_10351.jpg', '/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_45_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_35_10355.jpg
/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_45_9360.jpg
/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_55_10347.jpg
/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_25_10370.jpg
/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_36_10351.jpg
/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_45_9347.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 10:59:03.812799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_35_10355.jpg', '/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_45_9360.jpg', '/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_55_10347.jpg', '/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_25_10370.jpg', '/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_36_10351.jpg', '/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_45_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_35_10355.jpg
/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_45_9360.jpg
/home/pi/Desktop/images/09042025/08/26/image_09042025_08_26_55_10347.jpg
/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_25_10370.jpg
/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_36_10351.jpg
/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_45_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350734112","1350734018","1350734140","1350734079","1350734187","1350734169"],"photo_ids_order":["1350734018","1350734079","1350734112","1350734140","1350734169","1350734187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a0ee480dfff4f8646ffba8e788a99a00.jpg","text":"TemporaryFile(/tmp/multipartBody8658973328780320804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189208847,"filename":"image_09042025_08_26_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/4/9/0b2ae5e05ec6efc4fffa189127fd65b8.jpg","text":"TemporaryFile(/tmp/multipartBody5533956754205851964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189208847,"filename":"image_09042025_08_26_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/4/9/b4ac014dbd99dc787fd7b28c24203045.jpg","text":"TemporaryFile(/tmp/multipartBody4052568786775131031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189208847,"filename":"image_09042025_08_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/4/9/6e3f1b741f7ef083f05db22bc2bed830.jpg","text":"TemporaryFile(/tmp/multipartBody6337143535284050394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189208847,"filename":"image_09042025_08_26_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/4/9/9d6643b4a90673c0f00a4271343bf279.jpg","text":"TemporaryFile(/tmp/multipartBody7604172503679812049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189208847,"filename":"image_09042025_08_27_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/4/9/2ea31afaf010faed67303d481f380d98.jpg","text":"TemporaryFile(/tmp/multipartBody350174400012971531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189208847,"filename":"image_09042025_08_27_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350734112","file1":"1350734079","file0":"1350734018","file4":"1350734169","file5":"1350734187","file3":"1350734140"},"map_files_photo_id_array":[{"photo_id":"1350734187","filename":"file5"},{"photo_id":"1350734112","filename":"file2"},{"photo_id":"1350734169","filename":"file4"},{"photo_id":"1350734079","filename":"file1"},{"photo_id":"1350734018","filename":"file0"},{"photo_id":"1350734140","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350734112":["hashtag1","hashtag2"]},{"1350734018":["hashtag1","hashtag2"]},{"1350734140":["hashtag1","hashtag2"]},{"1350734079":["hashtag1","hashtag2"]},{"1350734187":["hashtag1","hashtag2"]},{"1350734169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350734112, 1350734018, 1350734140, 1350734079, 1350734187, 1350734169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37288498878479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 10:59:52.721519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_55_10459.jpg', '/home/pi/Desktop/images/09042025/08/27/image_09042025_08_28_06_10364.jpg', '/home/pi/Desktop/images/09042025/08/28/image_09042025_08_28_25_10368.jpg', '/home/pi/Desktop/images/09042025/08/28/image_09042025_08_28_35_9419.jpg', '/home/pi/Desktop/images/09042025/08/28/image_09042025_08_28_45_10353.jpg', '/home/pi/Desktop/images/09042025/08/28/image_09042025_08_28_56_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/27/image_09042025_08_27_55_10459.jpg
/home/pi/Desktop/images/09042025/08/27/image_09042025_08_28_06_10364.jpg
/home/pi/Desktop/images/09042025/08/28/image_09042025_08_28_25_10368.jpg
/home/pi/Desktop/images/09042025/08/28/image_09042025_08_28_35_9419.jpg
/home/pi/Desktop/images/09042025/08/28/image_09042025_08_28_45_10353.jpg
/home/pi/Desktop/images/09042025/08/28/image_09042025_08_28_56_10374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350734375","1350734305","1350734460","1350734352","1350734406","1350734328"],"photo_ids_order":["1350734305","1350734328","1350734352","1350734375","1350734406","1350734460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ebd9fc58901787a73cedf600e2c96ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2664888968709194309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189253181,"filename":"image_09042025_08_28_35_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba3fc596a1e5e5dfb3224f697c217880.jpg","text":"TemporaryFile(/tmp/multipartBody8045632111802388740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189253181,"filename":"image_09042025_08_27_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e43ec344b0e9863293401e39487bc6f9.jpg","text":"TemporaryFile(/tmp/multipartBody5486804985568504324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189253181,"filename":"image_09042025_08_28_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/4/9/8698c0467e7d23628929c75d85ca9718.jpg","text":"TemporaryFile(/tmp/multipartBody5288176927638116634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189253181,"filename":"image_09042025_08_28_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/153ad4575926a87facdf7ac873464b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4978753838387002306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189253181,"filename":"image_09042025_08_28_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fadfa2e292739bf3db62e62f06dc7c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1560656115154078191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189253181,"filename":"image_09042025_08_28_06_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350734352","file1":"1350734328","file0":"1350734305","file4":"1350734406","file5":"1350734460","file3":"1350734375"},"map_files_photo_id_array":[{"photo_id":"1350734460","filename":"file5"},{"photo_id":"1350734352","filename":"file2"},{"photo_id":"1350734406","filename":"file4"},{"photo_id":"1350734328","filename":"file1"},{"photo_id":"1350734305","filename":"file0"},{"photo_id":"1350734375","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350734375":["hashtag1","hashtag2"]},{"1350734305":["hashtag1","hashtag2"]},{"1350734460":["hashtag1","hashtag2"]},{"1350734352":["hashtag1","hashtag2"]},{"1350734406":["hashtag1","hashtag2"]},{"1350734328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350734375, 1350734305, 1350734460, 1350734352, 1350734406, 1350734328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33450722694397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:00:32.940177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/28/image_09042025_08_29_05_9378.jpg', '/home/pi/Desktop/images/09042025/08/29/image_09042025_08_29_15_10443.jpg', '/home/pi/Desktop/images/09042025/08/29/image_09042025_08_29_35_10348.jpg', '/home/pi/Desktop/images/09042025/08/29/image_09042025_08_29_46_10371.jpg', '/home/pi/Desktop/images/09042025/08/29/image_09042025_08_29_55_9430.jpg', '/home/pi/Desktop/images/09042025/08/29/image_09042025_08_30_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/28/image_09042025_08_29_05_9378.jpg
/home/pi/Desktop/images/09042025/08/29/image_09042025_08_29_15_10443.jpg
/home/pi/Desktop/images/09042025/08/29/image_09042025_08_29_35_10348.jpg
/home/pi/Desktop/images/09042025/08/29/image_09042025_08_29_46_10371.jpg
/home/pi/Desktop/images/09042025/08/29/image_09042025_08_29_55_9430.jpg
/home/pi/Desktop/images/09042025/08/29/image_09042025_08_30_05_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350735017","1350734897","1350734587","1350734674","1350734902","1350734781"],"photo_ids_order":["1350734587","1350734674","1350734781","1350734897","1350734902","1350735017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da014c480323fea6904bf0e97c38a20b.jpg","text":"TemporaryFile(/tmp/multipartBody5161759545841482506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189293419,"filename":"image_09042025_08_30_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/4/9/7552e0bb371617b661ee5f1c10253adc.jpg","text":"TemporaryFile(/tmp/multipartBody598731333272348435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189293419,"filename":"image_09042025_08_29_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/4/9/4900379a2386412ae261b1eb140c3ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2728496262727551029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189293419,"filename":"image_09042025_08_29_05_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/205a50230f9733b0e6378f9104c7e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody474685787907617501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189293419,"filename":"image_09042025_08_29_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/4/9/07953a4b4234b6487cc6702ffd9acb21.jpg","text":"TemporaryFile(/tmp/multipartBody7879269892000613791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189293419,"filename":"image_09042025_08_29_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/4/9/e7bc515ffe8389c7d2c1e0b186e39641.jpg","text":"TemporaryFile(/tmp/multipartBody6998498102467740114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189293419,"filename":"image_09042025_08_29_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350734781","file1":"1350734674","file0":"1350734587","file4":"1350734902","file5":"1350735017","file3":"1350734897"},"map_files_photo_id_array":[{"photo_id":"1350735017","filename":"file5"},{"photo_id":"1350734781","filename":"file2"},{"photo_id":"1350734902","filename":"file4"},{"photo_id":"1350734674","filename":"file1"},{"photo_id":"1350734587","filename":"file0"},{"photo_id":"1350734897","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350735017":["hashtag1","hashtag2"]},{"1350734897":["hashtag1","hashtag2"]},{"1350734587":["hashtag1","hashtag2"]},{"1350734674":["hashtag1","hashtag2"]},{"1350734902":["hashtag1","hashtag2"]},{"1350734781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350735017, 1350734897, 1350734587, 1350734674, 1350734902, 1350734781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71107840538025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:01:33.157582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/30/image_09042025_08_30_16_10330.jpg', '/home/pi/Desktop/images/09042025/08/30/image_09042025_08_30_25_9434.jpg', '/home/pi/Desktop/images/09042025/08/30/image_09042025_08_30_45_9355.jpg', '/home/pi/Desktop/images/09042025/08/31/image_09042025_08_31_15_9342.jpg', '/home/pi/Desktop/images/09042025/08/31/image_09042025_08_31_25_10414.jpg', '/home/pi/Desktop/images/09042025/08/31/image_09042025_08_31_35_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/30/image_09042025_08_30_16_10330.jpg
/home/pi/Desktop/images/09042025/08/30/image_09042025_08_30_25_9434.jpg
/home/pi/Desktop/images/09042025/08/30/image_09042025_08_30_45_9355.jpg
/home/pi/Desktop/images/09042025/08/31/image_09042025_08_31_15_9342.jpg
/home/pi/Desktop/images/09042025/08/31/image_09042025_08_31_25_10414.jpg
/home/pi/Desktop/images/09042025/08/31/image_09042025_08_31_35_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350735548","1350735614","1350735995","1350735872","1350735804","1350735572"],"photo_ids_order":["1350735548","1350735572","1350735614","1350735804","1350735872","1350735995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed35c875f11b4d78092d8095524650bd.jpg","text":"TemporaryFile(/tmp/multipartBody4575612537388054597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189353627,"filename":"image_09042025_08_30_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/4/9/0d6260271cdd29aeb316521a69d84899.jpg","text":"TemporaryFile(/tmp/multipartBody4494365682726857758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189353627,"filename":"image_09042025_08_30_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/4/9/a06654a3f931d5bae36d3152f9a858ff.jpg","text":"TemporaryFile(/tmp/multipartBody3399960452088242823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189353627,"filename":"image_09042025_08_31_35_9675.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22523defef49e459e97b3416d1a44d06.jpg","text":"TemporaryFile(/tmp/multipartBody4536408419966805016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189353627,"filename":"image_09042025_08_31_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/4/9/c9384a6b1f2eaad42211a5c26c742ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1035307266358824970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189353627,"filename":"image_09042025_08_31_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/4/9/46d2d4f6d15dc9f421242a931a75d484.jpg","text":"TemporaryFile(/tmp/multipartBody6268487395136317899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189353627,"filename":"image_09042025_08_30_25_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350735614","file1":"1350735572","file0":"1350735548","file4":"1350735872","file5":"1350735995","file3":"1350735804"},"map_files_photo_id_array":[{"photo_id":"1350735995","filename":"file5"},{"photo_id":"1350735614","filename":"file2"},{"photo_id":"1350735872","filename":"file4"},{"photo_id":"1350735572","filename":"file1"},{"photo_id":"1350735548","filename":"file0"},{"photo_id":"1350735804","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350735548":["hashtag1","hashtag2"]},{"1350735614":["hashtag1","hashtag2"]},{"1350735995":["hashtag1","hashtag2"]},{"1350735872":["hashtag1","hashtag2"]},{"1350735804":["hashtag1","hashtag2"]},{"1350735572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350735548, 1350735614, 1350735995, 1350735872, 1350735804, 1350735572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09677028656006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:02:32.493548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/32/image_09042025_08_33_06_10350.jpg', '/home/pi/Desktop/images/09042025/08/33/image_09042025_08_33_15_9416.jpg', '/home/pi/Desktop/images/09042025/08/33/image_09042025_08_33_25_10360.jpg', '/home/pi/Desktop/images/09042025/08/33/image_09042025_08_34_05_9376.jpg', '/home/pi/Desktop/images/09042025/08/34/image_09042025_08_34_26_10412.jpg', '/home/pi/Desktop/images/09042025/08/34/image_09042025_08_34_45_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/32/image_09042025_08_33_06_10350.jpg
/home/pi/Desktop/images/09042025/08/33/image_09042025_08_33_15_9416.jpg
/home/pi/Desktop/images/09042025/08/33/image_09042025_08_33_25_10360.jpg
/home/pi/Desktop/images/09042025/08/33/image_09042025_08_34_05_9376.jpg
/home/pi/Desktop/images/09042025/08/34/image_09042025_08_34_26_10412.jpg
/home/pi/Desktop/images/09042025/08/34/image_09042025_08_34_45_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350736936","1350736939","1350736918","1350736933","1350736929","1350736922"],"photo_ids_order":["1350736918","1350736922","1350736929","1350736933","1350736936","1350736939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3de27744464530188aaaf752de494ae4.jpg","text":"TemporaryFile(/tmp/multipartBody9132523989734127013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189412967,"filename":"image_09042025_08_34_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/4/9/59ff1454d9e93a900ec1d0f6718028ce.jpg","text":"TemporaryFile(/tmp/multipartBody2161361872079391791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189412967,"filename":"image_09042025_08_34_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4c9db6205d4adeb00e8a21818a89d62.jpg","text":"TemporaryFile(/tmp/multipartBody3787646753290655945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189412967,"filename":"image_09042025_08_33_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d2b1af198d726c1595dba11533829ac.jpg","text":"TemporaryFile(/tmp/multipartBody3098599585232686752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189412967,"filename":"image_09042025_08_34_05_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2489de30a4048a84465446400550655e.jpg","text":"TemporaryFile(/tmp/multipartBody2047764470805761612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189412967,"filename":"image_09042025_08_33_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a2f71d199e25f07b77bb68e7a46fe05.jpg","text":"TemporaryFile(/tmp/multipartBody5718796429726117609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189412967,"filename":"image_09042025_08_33_15_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350736929","file1":"1350736922","file0":"1350736918","file4":"1350736936","file5":"1350736939","file3":"1350736933"},"map_files_photo_id_array":[{"photo_id":"1350736939","filename":"file5"},{"photo_id":"1350736929","filename":"file2"},{"photo_id":"1350736936","filename":"file4"},{"photo_id":"1350736922","filename":"file1"},{"photo_id":"1350736918","filename":"file0"},{"photo_id":"1350736933","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350736936":["hashtag1","hashtag2"]},{"1350736939":["hashtag1","hashtag2"]},{"1350736918":["hashtag1","hashtag2"]},{"1350736933":["hashtag1","hashtag2"]},{"1350736929":["hashtag1","hashtag2"]},{"1350736922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350736936, 1350736939, 1350736918, 1350736933, 1350736929, 1350736922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.785677194595337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:03:32.708791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/34/image_09042025_08_34_55_9359.jpg', '/home/pi/Desktop/images/09042025/08/34/image_09042025_08_35_05_10466.jpg', '/home/pi/Desktop/images/09042025/08/35/image_09042025_08_35_35_10325.jpg', '/home/pi/Desktop/images/09042025/08/35/image_09042025_08_35_45_9361.jpg', '/home/pi/Desktop/images/09042025/08/35/image_09042025_08_35_55_10365.jpg', '/home/pi/Desktop/images/09042025/08/35/image_09042025_08_36_06_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/34/image_09042025_08_34_55_9359.jpg
/home/pi/Desktop/images/09042025/08/34/image_09042025_08_35_05_10466.jpg
/home/pi/Desktop/images/09042025/08/35/image_09042025_08_35_35_10325.jpg
/home/pi/Desktop/images/09042025/08/35/image_09042025_08_35_45_9361.jpg
/home/pi/Desktop/images/09042025/08/35/image_09042025_08_35_55_10365.jpg
/home/pi/Desktop/images/09042025/08/35/image_09042025_08_36_06_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350737416","1350737423","1350737525","1350737494","1350737398","1350737194"],"photo_ids_order":["1350737194","1350737398","1350737416","1350737423","1350737494","1350737525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9837395e928fbe4b37a3eee1fec6b482.jpg","text":"TemporaryFile(/tmp/multipartBody3019671440556014115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189473172,"filename":"image_09042025_08_35_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/4/9/9cd52c7fbd81bb810fa1a6b63c11da81.jpg","text":"TemporaryFile(/tmp/multipartBody5347470074814383198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189473172,"filename":"image_09042025_08_35_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/4/9/99ad450b7853822bff3c956fe74ad95a.jpg","text":"TemporaryFile(/tmp/multipartBody5711112407675457405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189473172,"filename":"image_09042025_08_36_06_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9945473395874979948f0d83741e655c.jpg","text":"TemporaryFile(/tmp/multipartBody8724102784123192246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189473172,"filename":"image_09042025_08_35_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/4/9/534fc3c8a924b7f3a0934cf591154229.jpg","text":"TemporaryFile(/tmp/multipartBody6107729048388488688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189473172,"filename":"image_09042025_08_35_05_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ae082c072c67bbee2bc9ff590d3d4b4.jpg","text":"TemporaryFile(/tmp/multipartBody2719955642831449793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189473172,"filename":"image_09042025_08_34_55_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350737416","file1":"1350737398","file0":"1350737194","file4":"1350737494","file5":"1350737525","file3":"1350737423"},"map_files_photo_id_array":[{"photo_id":"1350737525","filename":"file5"},{"photo_id":"1350737416","filename":"file2"},{"photo_id":"1350737494","filename":"file4"},{"photo_id":"1350737398","filename":"file1"},{"photo_id":"1350737194","filename":"file0"},{"photo_id":"1350737423","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350737416":["hashtag1","hashtag2"]},{"1350737423":["hashtag1","hashtag2"]},{"1350737525":["hashtag1","hashtag2"]},{"1350737494":["hashtag1","hashtag2"]},{"1350737398":["hashtag1","hashtag2"]},{"1350737194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350737416, 1350737423, 1350737525, 1350737494, 1350737398, 1350737194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66018271446228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:04:32.928104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/36/image_09042025_08_36_25_10375.jpg', '/home/pi/Desktop/images/09042025/08/36/image_09042025_08_36_36_10341.jpg', '/home/pi/Desktop/images/09042025/08/36/image_09042025_08_36_45_9368.jpg', '/home/pi/Desktop/images/09042025/08/36/image_09042025_08_36_55_10374.jpg', '/home/pi/Desktop/images/09042025/08/36/image_09042025_08_37_05_9354.jpg', '/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/36/image_09042025_08_36_25_10375.jpg
/home/pi/Desktop/images/09042025/08/36/image_09042025_08_36_36_10341.jpg
/home/pi/Desktop/images/09042025/08/36/image_09042025_08_36_45_9368.jpg
/home/pi/Desktop/images/09042025/08/36/image_09042025_08_36_55_10374.jpg
/home/pi/Desktop/images/09042025/08/36/image_09042025_08_37_05_9354.jpg
/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_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":["1350738159","1350738105","1350737990","1350738131","1350738032","1350737933"],"photo_ids_order":["1350737933","1350737990","1350738032","1350738105","1350738131","1350738159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6827b17c5d7be48d3f1484367dbaa56.jpg","text":"TemporaryFile(/tmp/multipartBody4481592129735965541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189533407,"filename":"image_09042025_08_37_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/4/9/22635984688c747321c4f1e156279a51.jpg","text":"TemporaryFile(/tmp/multipartBody5757402211442237147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189533407,"filename":"image_09042025_08_36_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/4/9/24b0b4fccf7951098994130202e08352.jpg","text":"TemporaryFile(/tmp/multipartBody3999502400197540779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189533407,"filename":"image_09042025_08_36_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/4/9/ac0b2b3bf8dec7dfbac0e0a32c985a86.jpg","text":"TemporaryFile(/tmp/multipartBody4038836182726054902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189533407,"filename":"image_09042025_08_37_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec12b790fef8c9229998d77bc2d36f0b.jpg","text":"TemporaryFile(/tmp/multipartBody3559180930239229890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189533407,"filename":"image_09042025_08_36_45_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51ad1de6a800501f47d14362e6db7771.jpg","text":"TemporaryFile(/tmp/multipartBody1614048480884230139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189533407,"filename":"image_09042025_08_36_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350738032","file1":"1350737990","file0":"1350737933","file4":"1350738131","file5":"1350738159","file3":"1350738105"},"map_files_photo_id_array":[{"photo_id":"1350738159","filename":"file5"},{"photo_id":"1350738032","filename":"file2"},{"photo_id":"1350738131","filename":"file4"},{"photo_id":"1350737990","filename":"file1"},{"photo_id":"1350737933","filename":"file0"},{"photo_id":"1350738105","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350738159":["hashtag1","hashtag2"]},{"1350738105":["hashtag1","hashtag2"]},{"1350737990":["hashtag1","hashtag2"]},{"1350738131":["hashtag1","hashtag2"]},{"1350738032":["hashtag1","hashtag2"]},{"1350737933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350738159, 1350738105, 1350737990, 1350738131, 1350738032, 1350737933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32600545883179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:05:33.129658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_26_10341.jpg', '/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_35_9341.jpg', '/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_45_10462.jpg', '/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_56_10353.jpg', '/home/pi/Desktop/images/09042025/08/37/image_09042025_08_38_05_9447.jpg', '/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_16_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_26_10341.jpg
/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_35_9341.jpg
/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_45_10462.jpg
/home/pi/Desktop/images/09042025/08/37/image_09042025_08_37_56_10353.jpg
/home/pi/Desktop/images/09042025/08/37/image_09042025_08_38_05_9447.jpg
/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_16_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350738471","1350738478","1350738463","1350738517","1350738430","1350738495"],"photo_ids_order":["1350738430","1350738463","1350738471","1350738478","1350738495","1350738517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6d9f265aa34b6288c87593946d099a9.jpg","text":"TemporaryFile(/tmp/multipartBody1459427567394069986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189593639,"filename":"image_09042025_08_37_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/4/9/98aa3f0455092cfb3c6e5d752a36c2df.jpg","text":"TemporaryFile(/tmp/multipartBody7660911465055632283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189593639,"filename":"image_09042025_08_37_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/4/9/00176516a8d7d41465c3cee583b25a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4263795904475204762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189593639,"filename":"image_09042025_08_37_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d6737abc2aee4985723fabc26f09752.jpg","text":"TemporaryFile(/tmp/multipartBody3148479767563856431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189593639,"filename":"image_09042025_08_38_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/76a43b73963e3c97eef4455639fe51e1.jpg","text":"TemporaryFile(/tmp/multipartBody9041516144937791237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189593639,"filename":"image_09042025_08_37_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/4/9/d03389b064e9f4ef5e31b32f4d26c170.jpg","text":"TemporaryFile(/tmp/multipartBody7433885825592881132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189593639,"filename":"image_09042025_08_38_05_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350738471","file1":"1350738463","file0":"1350738430","file4":"1350738495","file5":"1350738517","file3":"1350738478"},"map_files_photo_id_array":[{"photo_id":"1350738517","filename":"file5"},{"photo_id":"1350738471","filename":"file2"},{"photo_id":"1350738495","filename":"file4"},{"photo_id":"1350738463","filename":"file1"},{"photo_id":"1350738430","filename":"file0"},{"photo_id":"1350738478","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350738471":["hashtag1","hashtag2"]},{"1350738478":["hashtag1","hashtag2"]},{"1350738463":["hashtag1","hashtag2"]},{"1350738517":["hashtag1","hashtag2"]},{"1350738430":["hashtag1","hashtag2"]},{"1350738495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350738471, 1350738478, 1350738463, 1350738517, 1350738430, 1350738495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61152672767639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:06:32.289311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_25_9447.jpg', '/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_35_10414.jpg', '/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_46_10363.jpg', '/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_55_9422.jpg', '/home/pi/Desktop/images/09042025/08/38/image_09042025_08_39_05_10325.jpg', '/home/pi/Desktop/images/09042025/08/39/image_09042025_08_39_15_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_25_9447.jpg
/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_35_10414.jpg
/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_46_10363.jpg
/home/pi/Desktop/images/09042025/08/38/image_09042025_08_38_55_9422.jpg
/home/pi/Desktop/images/09042025/08/38/image_09042025_08_39_05_10325.jpg
/home/pi/Desktop/images/09042025/08/39/image_09042025_08_39_15_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":["1350738555","1350738543","1350738557","1350738545","1350738553","1350738544"],"photo_ids_order":["1350738543","1350738544","1350738545","1350738553","1350738555","1350738557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5f55d833d7b83ec526d6208fda5de2de.jpg","text":"TemporaryFile(/tmp/multipartBody404911038381052451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189652739,"filename":"image_09042025_08_39_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9bed5e421f23d6dec99463530403f30.jpg","text":"TemporaryFile(/tmp/multipartBody9180979563147484946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189652739,"filename":"image_09042025_08_38_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/4/9/591789876586cc37b3a74e48a7b8d6a2.jpg","text":"TemporaryFile(/tmp/multipartBody5510299427508518996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189652739,"filename":"image_09042025_08_39_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/4/9/469ced987a5d2def7dee395570b74040.jpg","text":"TemporaryFile(/tmp/multipartBody4254929793971403707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189652739,"filename":"image_09042025_08_38_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/4/9/bef2cc42a2c7a719736003a8dea8aaff.jpg","text":"TemporaryFile(/tmp/multipartBody9218934743130184937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189652739,"filename":"image_09042025_08_38_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9c2736a33fcb08507d8c01fb43c013d.jpg","text":"TemporaryFile(/tmp/multipartBody5149333423666825316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189652739,"filename":"image_09042025_08_38_35_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350738545","file1":"1350738544","file0":"1350738543","file4":"1350738555","file5":"1350738557","file3":"1350738553"},"map_files_photo_id_array":[{"photo_id":"1350738557","filename":"file5"},{"photo_id":"1350738545","filename":"file2"},{"photo_id":"1350738555","filename":"file4"},{"photo_id":"1350738544","filename":"file1"},{"photo_id":"1350738543","filename":"file0"},{"photo_id":"1350738553","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350738555":["hashtag1","hashtag2"]},{"1350738543":["hashtag1","hashtag2"]},{"1350738557":["hashtag1","hashtag2"]},{"1350738545":["hashtag1","hashtag2"]},{"1350738553":["hashtag1","hashtag2"]},{"1350738544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350738555, 1350738543, 1350738557, 1350738545, 1350738553, 1350738544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.928102254867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:07:32.597421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/39/image_09042025_08_39_25_10359.jpg', '/home/pi/Desktop/images/09042025/08/39/image_09042025_08_39_45_9430.jpg', '/home/pi/Desktop/images/09042025/08/40/image_09042025_08_40_26_10409.jpg', '/home/pi/Desktop/images/09042025/08/40/image_09042025_08_41_05_10357.jpg', '/home/pi/Desktop/images/09042025/08/41/image_09042025_08_41_25_9407.jpg', '/home/pi/Desktop/images/09042025/08/42/image_09042025_08_42_55_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/39/image_09042025_08_39_25_10359.jpg
/home/pi/Desktop/images/09042025/08/39/image_09042025_08_39_45_9430.jpg
/home/pi/Desktop/images/09042025/08/40/image_09042025_08_40_26_10409.jpg
/home/pi/Desktop/images/09042025/08/40/image_09042025_08_41_05_10357.jpg
/home/pi/Desktop/images/09042025/08/41/image_09042025_08_41_25_9407.jpg
/home/pi/Desktop/images/09042025/08/42/image_09042025_08_42_55_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350738599","1350738590","1350738603","1350738593","1350738596","1350738602"],"photo_ids_order":["1350738590","1350738593","1350738596","1350738599","1350738602","1350738603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33696f2ed4c0ae6eed44200dba53fabf.jpg","text":"TemporaryFile(/tmp/multipartBody2329591897247267399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189713060,"filename":"image_09042025_08_41_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/4/9/86b18084b651626fb2fe1e49b76f7398.jpg","text":"TemporaryFile(/tmp/multipartBody713042209687687551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189713060,"filename":"image_09042025_08_39_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/4/9/07f0aa8bee136c133564a340d2863df4.jpg","text":"TemporaryFile(/tmp/multipartBody4445163127784507384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189713060,"filename":"image_09042025_08_42_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/4/9/c34e2517f3632ed89563cea1698c8e66.jpg","text":"TemporaryFile(/tmp/multipartBody44120902637062839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189713060,"filename":"image_09042025_08_39_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/4/9/e629bbf6b367519610c1f9e9b8ada1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1532344071274256849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189713060,"filename":"image_09042025_08_40_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/4/9/d7ce81e1fb7ad0807e580bba5be37eb1.jpg","text":"TemporaryFile(/tmp/multipartBody3373194182307287268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189713060,"filename":"image_09042025_08_41_25_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350738596","file1":"1350738593","file0":"1350738590","file4":"1350738602","file5":"1350738603","file3":"1350738599"},"map_files_photo_id_array":[{"photo_id":"1350738603","filename":"file5"},{"photo_id":"1350738596","filename":"file2"},{"photo_id":"1350738602","filename":"file4"},{"photo_id":"1350738593","filename":"file1"},{"photo_id":"1350738590","filename":"file0"},{"photo_id":"1350738599","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350738599":["hashtag1","hashtag2"]},{"1350738590":["hashtag1","hashtag2"]},{"1350738603":["hashtag1","hashtag2"]},{"1350738593":["hashtag1","hashtag2"]},{"1350738596":["hashtag1","hashtag2"]},{"1350738602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350738599, 1350738590, 1350738603, 1350738593, 1350738596, 1350738602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.640756845474243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:08:32.793395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/43/image_09042025_08_43_15_10443.jpg', '/home/pi/Desktop/images/09042025/08/43/image_09042025_08_43_26_10358.jpg', '/home/pi/Desktop/images/09042025/08/43/image_09042025_08_43_45_10352.jpg', '/home/pi/Desktop/images/09042025/08/43/image_09042025_08_43_55_9409.jpg', '/home/pi/Desktop/images/09042025/08/43/image_09042025_08_44_05_10355.jpg', '/home/pi/Desktop/images/09042025/08/44/image_09042025_08_44_16_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/43/image_09042025_08_43_15_10443.jpg
/home/pi/Desktop/images/09042025/08/43/image_09042025_08_43_26_10358.jpg
/home/pi/Desktop/images/09042025/08/43/image_09042025_08_43_45_10352.jpg
/home/pi/Desktop/images/09042025/08/43/image_09042025_08_43_55_9409.jpg
/home/pi/Desktop/images/09042025/08/43/image_09042025_08_44_05_10355.jpg
/home/pi/Desktop/images/09042025/08/44/image_09042025_08_44_16_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350738678","1350738653","1350738626","1350738631","1350738681","1350738669"],"photo_ids_order":["1350738626","1350738631","1350738653","1350738669","1350738678","1350738681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3045b7a12d910ff06f0e159b120c2bac.jpg","text":"TemporaryFile(/tmp/multipartBody5655800673854120426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189773260,"filename":"image_09042025_08_44_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/4/9/c4e485a127c53edeeb53d6ab741d8ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4743954303039403893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189773260,"filename":"image_09042025_08_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/4/9/c32019f7d13c4f96598ff65f3a409b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6797537270036751459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189773260,"filename":"image_09042025_08_43_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/4/9/0d831093d6d215452004cfe4318f493c.jpg","text":"TemporaryFile(/tmp/multipartBody5862533386768890042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189773260,"filename":"image_09042025_08_43_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b8fba1dbcf6c85d4bf0083393841f78.jpg","text":"TemporaryFile(/tmp/multipartBody1699288832783290480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189773260,"filename":"image_09042025_08_44_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/4/9/b441ae492e464a2cf2ff97fbb6dbff38.jpg","text":"TemporaryFile(/tmp/multipartBody3532851034049597757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189773260,"filename":"image_09042025_08_43_55_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350738653","file1":"1350738631","file0":"1350738626","file4":"1350738678","file5":"1350738681","file3":"1350738669"},"map_files_photo_id_array":[{"photo_id":"1350738681","filename":"file5"},{"photo_id":"1350738653","filename":"file2"},{"photo_id":"1350738678","filename":"file4"},{"photo_id":"1350738631","filename":"file1"},{"photo_id":"1350738626","filename":"file0"},{"photo_id":"1350738669","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350738678":["hashtag1","hashtag2"]},{"1350738653":["hashtag1","hashtag2"]},{"1350738626":["hashtag1","hashtag2"]},{"1350738631":["hashtag1","hashtag2"]},{"1350738681":["hashtag1","hashtag2"]},{"1350738669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350738678, 1350738653, 1350738626, 1350738631, 1350738681, 1350738669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.449187994003296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:09:32.993333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/44/image_09042025_08_44_25_9501.jpg', '/home/pi/Desktop/images/09042025/08/44/image_09042025_08_44_35_10359.jpg', '/home/pi/Desktop/images/09042025/08/44/image_09042025_08_44_55_10361.jpg', '/home/pi/Desktop/images/09042025/08/44/image_09042025_08_45_06_10345.jpg', '/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_15_9329.jpg', '/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_25_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/44/image_09042025_08_44_25_9501.jpg
/home/pi/Desktop/images/09042025/08/44/image_09042025_08_44_35_10359.jpg
/home/pi/Desktop/images/09042025/08/44/image_09042025_08_44_55_10361.jpg
/home/pi/Desktop/images/09042025/08/44/image_09042025_08_45_06_10345.jpg
/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_15_9329.jpg
/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_25_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":["1350739553","1350739433","1350739378","1350739222","1350739522","1350739296"],"photo_ids_order":["1350739222","1350739296","1350739378","1350739433","1350739522","1350739553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b6faad6c201ab2a679f2209d9b37eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2802428298501434606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189833457,"filename":"image_09042025_08_45_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ccb909b44200b5eef152d487ea35774b.jpg","text":"TemporaryFile(/tmp/multipartBody6255059643048768118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189833457,"filename":"image_09042025_08_45_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/4/9/30496552f88745eb45c90227420e3b41.jpg","text":"TemporaryFile(/tmp/multipartBody7141046539696148973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189833457,"filename":"image_09042025_08_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/4/9/94eb58635eb81468177db10b2ed8948d.jpg","text":"TemporaryFile(/tmp/multipartBody1647973626296700676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189833457,"filename":"image_09042025_08_44_25_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b0156c72c96dfa4a15a560c7c82266f3.jpg","text":"TemporaryFile(/tmp/multipartBody982188917253028768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189833457,"filename":"image_09042025_08_45_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e8b2800545b94bc26e9be72ed99c2ea.jpg","text":"TemporaryFile(/tmp/multipartBody2915606881636372215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189833457,"filename":"image_09042025_08_44_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350739378","file1":"1350739296","file0":"1350739222","file4":"1350739522","file5":"1350739553","file3":"1350739433"},"map_files_photo_id_array":[{"photo_id":"1350739553","filename":"file5"},{"photo_id":"1350739378","filename":"file2"},{"photo_id":"1350739522","filename":"file4"},{"photo_id":"1350739296","filename":"file1"},{"photo_id":"1350739222","filename":"file0"},{"photo_id":"1350739433","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350739553":["hashtag1","hashtag2"]},{"1350739433":["hashtag1","hashtag2"]},{"1350739378":["hashtag1","hashtag2"]},{"1350739222":["hashtag1","hashtag2"]},{"1350739522":["hashtag1","hashtag2"]},{"1350739296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350739553, 1350739433, 1350739378, 1350739222, 1350739522, 1350739296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85991930961609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:10:32.332393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_36_10351.jpg', '/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_45_9495.jpg', '/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_56_10367.jpg', '/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_15_10418.jpg', '/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_26_10422.jpg', '/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_36_10351.jpg
/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_45_9495.jpg
/home/pi/Desktop/images/09042025/08/45/image_09042025_08_45_56_10367.jpg
/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_15_10418.jpg
/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_26_10422.jpg
/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350739824","1350739780","1350739777","1350739834","1350739714","1350739764"],"photo_ids_order":["1350739714","1350739764","1350739777","1350739780","1350739824","1350739834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69175809b5639ab6540e1da6f1ab6d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8805419525446250458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189892785,"filename":"image_09042025_08_46_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/4/9/b2e93219f4a8b30afaf4f2fc08395846.jpg","text":"TemporaryFile(/tmp/multipartBody9202392396817004897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189892785,"filename":"image_09042025_08_46_15_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df5ea8eb2adb1ff87c6cd89426a8917b.jpg","text":"TemporaryFile(/tmp/multipartBody535559615473209478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189892785,"filename":"image_09042025_08_45_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/4/9/fd3239ad7dc5ad3c5f492e1fcbadac66.jpg","text":"TemporaryFile(/tmp/multipartBody2007761401182010527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189892785,"filename":"image_09042025_08_46_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6aa24f8a8d245bf2c1ebc70cce2b2a8.jpg","text":"TemporaryFile(/tmp/multipartBody8258343226203724970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189892785,"filename":"image_09042025_08_45_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/4/9/74b174218e80a74e64a9a73dc6aeab1d.jpg","text":"TemporaryFile(/tmp/multipartBody5769505737905542249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189892785,"filename":"image_09042025_08_45_45_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350739777","file1":"1350739764","file0":"1350739714","file4":"1350739824","file5":"1350739834","file3":"1350739780"},"map_files_photo_id_array":[{"photo_id":"1350739834","filename":"file5"},{"photo_id":"1350739777","filename":"file2"},{"photo_id":"1350739824","filename":"file4"},{"photo_id":"1350739764","filename":"file1"},{"photo_id":"1350739714","filename":"file0"},{"photo_id":"1350739780","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350739824":["hashtag1","hashtag2"]},{"1350739780":["hashtag1","hashtag2"]},{"1350739777":["hashtag1","hashtag2"]},{"1350739834":["hashtag1","hashtag2"]},{"1350739714":["hashtag1","hashtag2"]},{"1350739764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350739824, 1350739780, 1350739777, 1350739834, 1350739714, 1350739764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62578535079956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:11:32.590095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_45_10374.jpg', '/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_55_9495.jpg', '/home/pi/Desktop/images/09042025/08/46/image_09042025_08_47_05_10434.jpg', '/home/pi/Desktop/images/09042025/08/47/image_09042025_08_47_16_10337.jpg', '/home/pi/Desktop/images/09042025/08/47/image_09042025_08_47_25_9445.jpg', '/home/pi/Desktop/images/09042025/08/48/image_09042025_08_48_25_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_45_10374.jpg
/home/pi/Desktop/images/09042025/08/46/image_09042025_08_46_55_9495.jpg
/home/pi/Desktop/images/09042025/08/46/image_09042025_08_47_05_10434.jpg
/home/pi/Desktop/images/09042025/08/47/image_09042025_08_47_16_10337.jpg
/home/pi/Desktop/images/09042025/08/47/image_09042025_08_47_25_9445.jpg
/home/pi/Desktop/images/09042025/08/48/image_09042025_08_48_25_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350740070","1350740088","1350740067","1350740039","1350740012","1350740095"],"photo_ids_order":["1350740012","1350740039","1350740067","1350740070","1350740088","1350740095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d937bbb20d9de1f61d45ef8a893e20b9.jpg","text":"TemporaryFile(/tmp/multipartBody1666495631896731253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189953055,"filename":"image_09042025_08_47_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/4/9/a1fddc46b320bff4ff65e934db193cad.jpg","text":"TemporaryFile(/tmp/multipartBody7664777550643307011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189953055,"filename":"image_09042025_08_47_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/4/9/e5443ddeec586cb33250a26cf3d476b4.jpg","text":"TemporaryFile(/tmp/multipartBody3904413056246940219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189953055,"filename":"image_09042025_08_47_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/4/9/f03a0b19fcc0d34bbbbebcd74d71c35c.jpg","text":"TemporaryFile(/tmp/multipartBody9205364820717236187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189953055,"filename":"image_09042025_08_46_55_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/71d1451170fec7c164cd46c58dcbbd0d.jpg","text":"TemporaryFile(/tmp/multipartBody4682308116169769341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189953055,"filename":"image_09042025_08_46_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/4/9/c9ce295008d2d78f1aded29bbdf957bb.jpg","text":"TemporaryFile(/tmp/multipartBody276242328686703073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744189953055,"filename":"image_09042025_08_48_25_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350740067","file1":"1350740039","file0":"1350740012","file4":"1350740088","file5":"1350740095","file3":"1350740070"},"map_files_photo_id_array":[{"photo_id":"1350740095","filename":"file5"},{"photo_id":"1350740067","filename":"file2"},{"photo_id":"1350740088","filename":"file4"},{"photo_id":"1350740039","filename":"file1"},{"photo_id":"1350740012","filename":"file0"},{"photo_id":"1350740070","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350740070":["hashtag1","hashtag2"]},{"1350740088":["hashtag1","hashtag2"]},{"1350740067":["hashtag1","hashtag2"]},{"1350740039":["hashtag1","hashtag2"]},{"1350740012":["hashtag1","hashtag2"]},{"1350740095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350740070, 1350740088, 1350740067, 1350740039, 1350740012, 1350740095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60601186752319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:12:32.884466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/49/image_09042025_08_49_15_10396.jpg', '/home/pi/Desktop/images/09042025/08/49/image_09042025_08_49_35_9394.jpg', '/home/pi/Desktop/images/09042025/08/50/image_09042025_08_50_46_10364.jpg', '/home/pi/Desktop/images/09042025/08/51/image_09042025_08_51_25_10352.jpg', '/home/pi/Desktop/images/09042025/08/51/image_09042025_08_51_45_9474.jpg', '/home/pi/Desktop/images/09042025/08/51/image_09042025_08_51_56_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/49/image_09042025_08_49_15_10396.jpg
/home/pi/Desktop/images/09042025/08/49/image_09042025_08_49_35_9394.jpg
/home/pi/Desktop/images/09042025/08/50/image_09042025_08_50_46_10364.jpg
/home/pi/Desktop/images/09042025/08/51/image_09042025_08_51_25_10352.jpg
/home/pi/Desktop/images/09042025/08/51/image_09042025_08_51_45_9474.jpg
/home/pi/Desktop/images/09042025/08/51/image_09042025_08_51_56_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350740190","1350740267","1350740162","1350740336","1350740138","1350740216"],"photo_ids_order":["1350740138","1350740162","1350740190","1350740216","1350740267","1350740336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/638c8eb7fbaac2b620a3049dfafffd1f.jpg","text":"TemporaryFile(/tmp/multipartBody852826931056928294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190013346,"filename":"image_09042025_08_50_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/4/9/3e050b2c53b129001aea22ef49ee7219.jpg","text":"TemporaryFile(/tmp/multipartBody443145621729756884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190013346,"filename":"image_09042025_08_51_45_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f059cd91841bf61fc752041ac89d16d2.jpg","text":"TemporaryFile(/tmp/multipartBody5851004286706921867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190013346,"filename":"image_09042025_08_49_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/4/9/d1e022b85ee816f541f2f6e983089052.jpg","text":"TemporaryFile(/tmp/multipartBody4301749125555434985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190013346,"filename":"image_09042025_08_51_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04e106cffb250cd819cf7cb44d2852b3.jpg","text":"TemporaryFile(/tmp/multipartBody8135594173606366954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190013346,"filename":"image_09042025_08_49_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/4/9/502ab7956d5f6c6c3133a30caa44ad2f.jpg","text":"TemporaryFile(/tmp/multipartBody7125450563454839229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190013346,"filename":"image_09042025_08_51_25_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350740190","file1":"1350740162","file0":"1350740138","file4":"1350740267","file5":"1350740336","file3":"1350740216"},"map_files_photo_id_array":[{"photo_id":"1350740336","filename":"file5"},{"photo_id":"1350740190","filename":"file2"},{"photo_id":"1350740267","filename":"file4"},{"photo_id":"1350740162","filename":"file1"},{"photo_id":"1350740138","filename":"file0"},{"photo_id":"1350740216","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350740190":["hashtag1","hashtag2"]},{"1350740267":["hashtag1","hashtag2"]},{"1350740162":["hashtag1","hashtag2"]},{"1350740336":["hashtag1","hashtag2"]},{"1350740138":["hashtag1","hashtag2"]},{"1350740216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350740190, 1350740267, 1350740162, 1350740336, 1350740138, 1350740216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91913414001465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:13:32.956843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/52/image_09042025_08_52_35_9331.jpg', '/home/pi/Desktop/images/09042025/08/52/image_09042025_08_52_45_10439.jpg', '/home/pi/Desktop/images/09042025/08/52/image_09042025_08_53_05_9347.jpg', '/home/pi/Desktop/images/09042025/08/53/image_09042025_08_53_15_10360.jpg', '/home/pi/Desktop/images/09042025/08/53/image_09042025_08_53_25_9362.jpg', '/home/pi/Desktop/images/09042025/08/53/image_09042025_08_53_35_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/52/image_09042025_08_52_35_9331.jpg
/home/pi/Desktop/images/09042025/08/52/image_09042025_08_52_45_10439.jpg
/home/pi/Desktop/images/09042025/08/52/image_09042025_08_53_05_9347.jpg
/home/pi/Desktop/images/09042025/08/53/image_09042025_08_53_15_10360.jpg
/home/pi/Desktop/images/09042025/08/53/image_09042025_08_53_25_9362.jpg
/home/pi/Desktop/images/09042025/08/53/image_09042025_08_53_35_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350740397","1350740400","1350740403","1350740369","1350740394","1350740388"],"photo_ids_order":["1350740369","1350740388","1350740394","1350740397","1350740400","1350740403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0126367e88926ea3651324bde96caad.jpg","text":"TemporaryFile(/tmp/multipartBody1678393308153736726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190073430,"filename":"image_09042025_08_53_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/4/9/04993730290cce8045ba85dbcbd05306.jpg","text":"TemporaryFile(/tmp/multipartBody8197610173368874773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190073430,"filename":"image_09042025_08_53_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/4/9/e87a65813f77ee885625cfe25b3c610a.jpg","text":"TemporaryFile(/tmp/multipartBody1558994008188810651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190073430,"filename":"image_09042025_08_53_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4928e804517e7055b1bd1710968983fa.jpg","text":"TemporaryFile(/tmp/multipartBody7164864989835261890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190073430,"filename":"image_09042025_08_52_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/4/9/91aa20540dc396d41d66a3c8bb3421e5.jpg","text":"TemporaryFile(/tmp/multipartBody1441596760146668858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190073430,"filename":"image_09042025_08_53_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d589b014d0fa1349b5800a4abfd5e1e.jpg","text":"TemporaryFile(/tmp/multipartBody692546432588189299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190073430,"filename":"image_09042025_08_52_45_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350740394","file1":"1350740388","file0":"1350740369","file4":"1350740400","file5":"1350740403","file3":"1350740397"},"map_files_photo_id_array":[{"photo_id":"1350740403","filename":"file5"},{"photo_id":"1350740394","filename":"file2"},{"photo_id":"1350740400","filename":"file4"},{"photo_id":"1350740388","filename":"file1"},{"photo_id":"1350740369","filename":"file0"},{"photo_id":"1350740397","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350740397":["hashtag1","hashtag2"]},{"1350740400":["hashtag1","hashtag2"]},{"1350740403":["hashtag1","hashtag2"]},{"1350740369":["hashtag1","hashtag2"]},{"1350740394":["hashtag1","hashtag2"]},{"1350740388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350740397, 1350740400, 1350740403, 1350740369, 1350740394, 1350740388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.964812517166138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:14:32.195511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/54/image_09042025_08_54_35_10361.jpg', '/home/pi/Desktop/images/09042025/08/54/image_09042025_08_54_45_9412.jpg', '/home/pi/Desktop/images/09042025/08/55/image_09042025_08_55_45_9450.jpg', '/home/pi/Desktop/images/09042025/08/56/image_09042025_08_56_15_10392.jpg', '/home/pi/Desktop/images/09042025/08/56/image_09042025_08_57_05_10468.jpg', '/home/pi/Desktop/images/09042025/08/57/image_09042025_08_57_16_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/54/image_09042025_08_54_35_10361.jpg
/home/pi/Desktop/images/09042025/08/54/image_09042025_08_54_45_9412.jpg
/home/pi/Desktop/images/09042025/08/55/image_09042025_08_55_45_9450.jpg
/home/pi/Desktop/images/09042025/08/56/image_09042025_08_56_15_10392.jpg
/home/pi/Desktop/images/09042025/08/56/image_09042025_08_57_05_10468.jpg
/home/pi/Desktop/images/09042025/08/57/image_09042025_08_57_16_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350740442","1350740424","1350740427","1350740440","1350740434","1350740428"],"photo_ids_order":["1350740424","1350740427","1350740428","1350740434","1350740440","1350740442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e987f4c25294351550017236d33703a.jpg","text":"TemporaryFile(/tmp/multipartBody8481760935505891546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190132641,"filename":"image_09042025_08_57_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55df3c2999162cf19511fd628723b212.jpg","text":"TemporaryFile(/tmp/multipartBody1523315534096940281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190132641,"filename":"image_09042025_08_54_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/4/9/3c516fdfb1220a8323159c47c07acfdc.jpg","text":"TemporaryFile(/tmp/multipartBody7080563185571498872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190132641,"filename":"image_09042025_08_54_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/4/9/2f90c101b1200d679c221ef71789d4ed.jpg","text":"TemporaryFile(/tmp/multipartBody2200259685375435963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190132641,"filename":"image_09042025_08_57_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b089cd018eea6db5ea23a1b18020de8a.jpg","text":"TemporaryFile(/tmp/multipartBody378055057893101314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190132641,"filename":"image_09042025_08_56_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/4/9/58c99427c1f7afa1b66225bf4bb628f0.jpg","text":"TemporaryFile(/tmp/multipartBody526601035076059144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190132641,"filename":"image_09042025_08_55_45_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350740428","file1":"1350740427","file0":"1350740424","file4":"1350740440","file5":"1350740442","file3":"1350740434"},"map_files_photo_id_array":[{"photo_id":"1350740442","filename":"file5"},{"photo_id":"1350740428","filename":"file2"},{"photo_id":"1350740440","filename":"file4"},{"photo_id":"1350740427","filename":"file1"},{"photo_id":"1350740424","filename":"file0"},{"photo_id":"1350740434","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350740442":["hashtag1","hashtag2"]},{"1350740424":["hashtag1","hashtag2"]},{"1350740427":["hashtag1","hashtag2"]},{"1350740440":["hashtag1","hashtag2"]},{"1350740434":["hashtag1","hashtag2"]},{"1350740428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350740442, 1350740424, 1350740427, 1350740440, 1350740434, 1350740428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.561429262161255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:15:32.910040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/57/image_09042025_08_57_25_9461.jpg', '/home/pi/Desktop/images/09042025/08/57/image_09042025_08_57_45_9359.jpg', '/home/pi/Desktop/images/09042025/08/57/image_09042025_08_57_55_10415.jpg', '/home/pi/Desktop/images/09042025/08/57/image_09042025_08_58_06_10382.jpg', '/home/pi/Desktop/images/09042025/08/58/image_09042025_08_58_25_10354.jpg', '/home/pi/Desktop/images/09042025/08/58/image_09042025_08_58_35_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/57/image_09042025_08_57_25_9461.jpg
/home/pi/Desktop/images/09042025/08/57/image_09042025_08_57_45_9359.jpg
/home/pi/Desktop/images/09042025/08/57/image_09042025_08_57_55_10415.jpg
/home/pi/Desktop/images/09042025/08/57/image_09042025_08_58_06_10382.jpg
/home/pi/Desktop/images/09042025/08/58/image_09042025_08_58_25_10354.jpg
/home/pi/Desktop/images/09042025/08/58/image_09042025_08_58_35_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350740922","1350740838","1350740805","1350740849","1350740903","1350740836"],"photo_ids_order":["1350740805","1350740836","1350740838","1350740849","1350740903","1350740922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1be79929f85310cb52ed704eee6cda5b.jpg","text":"TemporaryFile(/tmp/multipartBody534061248570827929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190193358,"filename":"image_09042025_08_58_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/682954ff35b61de599de19495ef4d19d.jpg","text":"TemporaryFile(/tmp/multipartBody36820629979799521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190193358,"filename":"image_09042025_08_57_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/4/9/d0815a5b6aad392613815e0f33e09ec9.jpg","text":"TemporaryFile(/tmp/multipartBody796320100922941272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190193358,"filename":"image_09042025_08_57_25_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/145d82cf9fbef4c690b4afacac12af29.jpg","text":"TemporaryFile(/tmp/multipartBody2437185213736874373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190193358,"filename":"image_09042025_08_58_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2369a96f54efca3864ec1e27170b3ca2.jpg","text":"TemporaryFile(/tmp/multipartBody6523833326836342093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190193358,"filename":"image_09042025_08_58_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a0458c6ccca9dc5cd6309d34cbed8b7.jpg","text":"TemporaryFile(/tmp/multipartBody1519357745541882549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190193358,"filename":"image_09042025_08_57_45_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350740838","file1":"1350740836","file0":"1350740805","file4":"1350740903","file5":"1350740922","file3":"1350740849"},"map_files_photo_id_array":[{"photo_id":"1350740922","filename":"file5"},{"photo_id":"1350740838","filename":"file2"},{"photo_id":"1350740903","filename":"file4"},{"photo_id":"1350740836","filename":"file1"},{"photo_id":"1350740805","filename":"file0"},{"photo_id":"1350740849","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350740922":["hashtag1","hashtag2"]},{"1350740838":["hashtag1","hashtag2"]},{"1350740805":["hashtag1","hashtag2"]},{"1350740849":["hashtag1","hashtag2"]},{"1350740903":["hashtag1","hashtag2"]},{"1350740836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350740922, 1350740838, 1350740805, 1350740849, 1350740903, 1350740836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.161163806915283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:16:32.609895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/08/58/image_09042025_08_58_45_10355.jpg', '/home/pi/Desktop/images/09042025/08/58/image_09042025_08_58_56_10422.jpg', '/home/pi/Desktop/images/09042025/08/59/image_09042025_08_59_15_10401.jpg', '/home/pi/Desktop/images/09042025/08/59/image_09042025_08_59_55_9359.jpg', '/home/pi/Desktop/images/09042025/09/01/image_09042025_09_01_14_10077.jpg', '/home/pi/Desktop/images/09042025/09/01/image_09042025_09_01_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/08/58/image_09042025_08_58_45_10355.jpg
/home/pi/Desktop/images/09042025/08/58/image_09042025_08_58_56_10422.jpg
/home/pi/Desktop/images/09042025/08/59/image_09042025_08_59_15_10401.jpg
/home/pi/Desktop/images/09042025/08/59/image_09042025_08_59_55_9359.jpg
/home/pi/Desktop/images/09042025/09/01/image_09042025_09_01_14_10077.jpg
/home/pi/Desktop/images/09042025/09/01/image_09042025_09_01_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350741105","1350741098","1350741062","1350741050","1350741110","1350741076"],"photo_ids_order":["1350741050","1350741062","1350741076","1350741098","1350741105","1350741110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/165236d79c1cb3936d3bbfa6b03e7823.jpg","text":"TemporaryFile(/tmp/multipartBody9023518779547204027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190253059,"filename":"image_09042025_09_01_14_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9918da30ce986f9fa5fbfac0b9a66fcd.jpg","text":"TemporaryFile(/tmp/multipartBody4281492977833083851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190253059,"filename":"image_09042025_08_59_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/4/9/50fc01bd2bc5ab4a8230761aab7b430b.jpg","text":"TemporaryFile(/tmp/multipartBody4671280209356850178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190253059,"filename":"image_09042025_08_58_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/4/9/4fb7b2b2a6c5e900f83ebe5170e67f93.jpg","text":"TemporaryFile(/tmp/multipartBody6444481817804313675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190253059,"filename":"image_09042025_08_58_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/4/9/c985ce0fc812a6e91cf42f9a5c99e57d.jpg","text":"TemporaryFile(/tmp/multipartBody8137110921145680813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190253059,"filename":"image_09042025_09_01_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/4/9/8e910b8a7b2290dd264448b98abb79e7.jpg","text":"TemporaryFile(/tmp/multipartBody4267548355113857755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190253059,"filename":"image_09042025_08_59_15_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350741076","file1":"1350741062","file0":"1350741050","file4":"1350741105","file5":"1350741110","file3":"1350741098"},"map_files_photo_id_array":[{"photo_id":"1350741110","filename":"file5"},{"photo_id":"1350741076","filename":"file2"},{"photo_id":"1350741105","filename":"file4"},{"photo_id":"1350741062","filename":"file1"},{"photo_id":"1350741050","filename":"file0"},{"photo_id":"1350741098","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350741105":["hashtag1","hashtag2"]},{"1350741098":["hashtag1","hashtag2"]},{"1350741062":["hashtag1","hashtag2"]},{"1350741050":["hashtag1","hashtag2"]},{"1350741110":["hashtag1","hashtag2"]},{"1350741076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350741105, 1350741098, 1350741062, 1350741050, 1350741110, 1350741076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.804462909698486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:17:32.918517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/01/image_09042025_09_01_35_10459.jpg', '/home/pi/Desktop/images/09042025/09/01/image_09042025_09_01_55_10410.jpg', '/home/pi/Desktop/images/09042025/09/02/image_09042025_09_02_15_10366.jpg', '/home/pi/Desktop/images/09042025/09/02/image_09042025_09_02_25_10458.jpg', '/home/pi/Desktop/images/09042025/09/03/image_09042025_09_03_25_9470.jpg', '/home/pi/Desktop/images/09042025/09/03/image_09042025_09_03_35_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/01/image_09042025_09_01_35_10459.jpg
/home/pi/Desktop/images/09042025/09/01/image_09042025_09_01_55_10410.jpg
/home/pi/Desktop/images/09042025/09/02/image_09042025_09_02_15_10366.jpg
/home/pi/Desktop/images/09042025/09/02/image_09042025_09_02_25_10458.jpg
/home/pi/Desktop/images/09042025/09/03/image_09042025_09_03_25_9470.jpg
/home/pi/Desktop/images/09042025/09/03/image_09042025_09_03_35_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":["1350741210","1350741204","1350741213","1350741207","1350741196","1350741181"],"photo_ids_order":["1350741181","1350741196","1350741204","1350741207","1350741210","1350741213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4808ab6dd8385128c75cd1c77babb3d3.jpg","text":"TemporaryFile(/tmp/multipartBody5898475341020241435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190313380,"filename":"image_09042025_09_03_25_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/837a3a67418f58cba52f220926a8f90f.jpg","text":"TemporaryFile(/tmp/multipartBody8757529976341272218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190313380,"filename":"image_09042025_09_02_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/4/9/644fc487de9a280f5f7952bf40b0df0c.jpg","text":"TemporaryFile(/tmp/multipartBody3799114476089866904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190313380,"filename":"image_09042025_09_03_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/4/9/d3d95e079de9cef25b6597cbc6aa7975.jpg","text":"TemporaryFile(/tmp/multipartBody846769774788814429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190313380,"filename":"image_09042025_09_02_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/4/9/36b2fc29e0596c2b528664a290b0877c.jpg","text":"TemporaryFile(/tmp/multipartBody5452121855035091472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190313380,"filename":"image_09042025_09_01_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/4/9/2c3000e304fe584a33192572c008a15f.jpg","text":"TemporaryFile(/tmp/multipartBody5261511684632624074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190313380,"filename":"image_09042025_09_01_35_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350741204","file1":"1350741196","file0":"1350741181","file4":"1350741210","file5":"1350741213","file3":"1350741207"},"map_files_photo_id_array":[{"photo_id":"1350741213","filename":"file5"},{"photo_id":"1350741204","filename":"file2"},{"photo_id":"1350741210","filename":"file4"},{"photo_id":"1350741196","filename":"file1"},{"photo_id":"1350741181","filename":"file0"},{"photo_id":"1350741207","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350741210":["hashtag1","hashtag2"]},{"1350741204":["hashtag1","hashtag2"]},{"1350741213":["hashtag1","hashtag2"]},{"1350741207":["hashtag1","hashtag2"]},{"1350741196":["hashtag1","hashtag2"]},{"1350741181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350741210, 1350741204, 1350741213, 1350741207, 1350741196, 1350741181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0275137424469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:18:33.109336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/03/image_09042025_09_03_55_10363.jpg', '/home/pi/Desktop/images/09042025/09/03/image_09042025_09_04_05_10352.jpg', '/home/pi/Desktop/images/09042025/09/04/image_09042025_09_04_35_10358.jpg', '/home/pi/Desktop/images/09042025/09/04/image_09042025_09_04_55_10473.jpg', '/home/pi/Desktop/images/09042025/09/04/image_09042025_09_05_04_9347.jpg', '/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/03/image_09042025_09_03_55_10363.jpg
/home/pi/Desktop/images/09042025/09/03/image_09042025_09_04_05_10352.jpg
/home/pi/Desktop/images/09042025/09/04/image_09042025_09_04_35_10358.jpg
/home/pi/Desktop/images/09042025/09/04/image_09042025_09_04_55_10473.jpg
/home/pi/Desktop/images/09042025/09/04/image_09042025_09_05_04_9347.jpg
/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_15_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350741599","1350741624","1350741575","1350741548","1350741521","1350741660"],"photo_ids_order":["1350741521","1350741548","1350741575","1350741599","1350741624","1350741660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44172fefcdd6e836a22c02c3dccf2ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6208748640847499702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190373572,"filename":"image_09042025_09_04_55_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5eb8be7908b5016e99000fbc4c256f58.jpg","text":"TemporaryFile(/tmp/multipartBody5131675740194571639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190373572,"filename":"image_09042025_09_05_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/4/9/a8f93f141787a005c9096b6455f3c423.jpg","text":"TemporaryFile(/tmp/multipartBody4699658124941641056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190373572,"filename":"image_09042025_09_04_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a85ff7af4085b1b0b2b04ea7ad396cfe.jpg","text":"TemporaryFile(/tmp/multipartBody8806914490087955612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190373572,"filename":"image_09042025_09_04_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9a2b56792f2620f8b98b205efab343e.jpg","text":"TemporaryFile(/tmp/multipartBody3547758414256290185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190373572,"filename":"image_09042025_09_03_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/4/9/ee9dc40cfab6fc04ce5086d83d070fbd.jpg","text":"TemporaryFile(/tmp/multipartBody6909936878372946522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190373572,"filename":"image_09042025_09_05_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350741575","file1":"1350741548","file0":"1350741521","file4":"1350741624","file5":"1350741660","file3":"1350741599"},"map_files_photo_id_array":[{"photo_id":"1350741660","filename":"file5"},{"photo_id":"1350741575","filename":"file2"},{"photo_id":"1350741624","filename":"file4"},{"photo_id":"1350741548","filename":"file1"},{"photo_id":"1350741521","filename":"file0"},{"photo_id":"1350741599","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350741599":["hashtag1","hashtag2"]},{"1350741624":["hashtag1","hashtag2"]},{"1350741575":["hashtag1","hashtag2"]},{"1350741548":["hashtag1","hashtag2"]},{"1350741521":["hashtag1","hashtag2"]},{"1350741660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350741599, 1350741624, 1350741575, 1350741548, 1350741521, 1350741660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32248878479004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:19:32.202666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_25_10437.jpg', '/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_35_9349.jpg', '/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_45_10410.jpg', '/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_54_9473.jpg', '/home/pi/Desktop/images/09042025/09/05/image_09042025_09_06_05_10354.jpg', '/home/pi/Desktop/images/09042025/09/06/image_09042025_09_06_15_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_25_10437.jpg
/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_35_9349.jpg
/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_45_10410.jpg
/home/pi/Desktop/images/09042025/09/05/image_09042025_09_05_54_9473.jpg
/home/pi/Desktop/images/09042025/09/05/image_09042025_09_06_05_10354.jpg
/home/pi/Desktop/images/09042025/09/06/image_09042025_09_06_15_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":["1350741705","1350741677","1350741697","1350741693","1350741681","1350741675"],"photo_ids_order":["1350741675","1350741677","1350741681","1350741693","1350741697","1350741705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/952c8c80435a92f24a41db66dc7bd475.jpg","text":"TemporaryFile(/tmp/multipartBody1477594551693070651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190432652,"filename":"image_09042025_09_06_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/4/9/f03df9b601c93dc8875645575eee7c72.jpg","text":"TemporaryFile(/tmp/multipartBody6646309631685502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190432652,"filename":"image_09042025_09_05_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c7e27244bce182f887acc3aa98470d7b.jpg","text":"TemporaryFile(/tmp/multipartBody3774487535606862971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190432652,"filename":"image_09042025_09_06_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/4/9/fc0ff4fbdb35ee74a77b919a0eefcf70.jpg","text":"TemporaryFile(/tmp/multipartBody3144185122240722942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190432652,"filename":"image_09042025_09_05_54_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b43adfdd432cab5bef64f57abbba66ca.jpg","text":"TemporaryFile(/tmp/multipartBody5883304060526739469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190432652,"filename":"image_09042025_09_05_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/4/9/a1d5f28b30fba6bc31b6251049a666cf.jpg","text":"TemporaryFile(/tmp/multipartBody8416919117449304069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190432652,"filename":"image_09042025_09_05_25_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350741681","file1":"1350741677","file0":"1350741675","file4":"1350741697","file5":"1350741705","file3":"1350741693"},"map_files_photo_id_array":[{"photo_id":"1350741705","filename":"file5"},{"photo_id":"1350741681","filename":"file2"},{"photo_id":"1350741697","filename":"file4"},{"photo_id":"1350741677","filename":"file1"},{"photo_id":"1350741675","filename":"file0"},{"photo_id":"1350741693","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350741705":["hashtag1","hashtag2"]},{"1350741677":["hashtag1","hashtag2"]},{"1350741697":["hashtag1","hashtag2"]},{"1350741693":["hashtag1","hashtag2"]},{"1350741681":["hashtag1","hashtag2"]},{"1350741675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350741705, 1350741677, 1350741697, 1350741693, 1350741681, 1350741675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.417932748794556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:20:32.427620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/06/image_09042025_09_06_45_10392.jpg', '/home/pi/Desktop/images/09042025/09/06/image_09042025_09_06_55_9337.jpg', '/home/pi/Desktop/images/09042025/09/06/image_09042025_09_07_05_10414.jpg', '/home/pi/Desktop/images/09042025/09/08/image_09042025_09_08_35_9337.jpg', '/home/pi/Desktop/images/09042025/09/08/image_09042025_09_08_45_10376.jpg', '/home/pi/Desktop/images/09042025/09/08/image_09042025_09_08_55_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/06/image_09042025_09_06_45_10392.jpg
/home/pi/Desktop/images/09042025/09/06/image_09042025_09_06_55_9337.jpg
/home/pi/Desktop/images/09042025/09/06/image_09042025_09_07_05_10414.jpg
/home/pi/Desktop/images/09042025/09/08/image_09042025_09_08_35_9337.jpg
/home/pi/Desktop/images/09042025/09/08/image_09042025_09_08_45_10376.jpg
/home/pi/Desktop/images/09042025/09/08/image_09042025_09_08_55_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":["1350741735","1350741752","1350741728","1350741724","1350741768","1350741759"],"photo_ids_order":["1350741724","1350741728","1350741735","1350741752","1350741759","1350741768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4be1f2b5ccb662a3828238069684e54d.jpg","text":"TemporaryFile(/tmp/multipartBody2505440146037052393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190492962,"filename":"image_09042025_09_07_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/4/9/60ec43ee126206d34f06cd1637d2c45f.jpg","text":"TemporaryFile(/tmp/multipartBody8931924342986833021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190492962,"filename":"image_09042025_09_08_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ac0689cfb99a409939ccaf7c25c569b2.jpg","text":"TemporaryFile(/tmp/multipartBody8437530790756405676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190492962,"filename":"image_09042025_09_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/4/9/dd2a626809e0f0f058ecd66592992ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1049199806095075643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190492962,"filename":"image_09042025_09_06_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/4/9/381a80081f2d5a4f83b9be0c69df08cd.jpg","text":"TemporaryFile(/tmp/multipartBody6927508599569622853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190492962,"filename":"image_09042025_09_08_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/4/9/8c3cc4e20f8f0c5e831ce16a83be3de1.jpg","text":"TemporaryFile(/tmp/multipartBody3832657475469804690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190492962,"filename":"image_09042025_09_08_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350741735","file1":"1350741728","file0":"1350741724","file4":"1350741759","file5":"1350741768","file3":"1350741752"},"map_files_photo_id_array":[{"photo_id":"1350741768","filename":"file5"},{"photo_id":"1350741735","filename":"file2"},{"photo_id":"1350741759","filename":"file4"},{"photo_id":"1350741728","filename":"file1"},{"photo_id":"1350741724","filename":"file0"},{"photo_id":"1350741752","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350741735":["hashtag1","hashtag2"]},{"1350741752":["hashtag1","hashtag2"]},{"1350741728":["hashtag1","hashtag2"]},{"1350741724":["hashtag1","hashtag2"]},{"1350741768":["hashtag1","hashtag2"]},{"1350741759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350741735, 1350741752, 1350741728, 1350741724, 1350741768, 1350741759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9982693195343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:21:32.696381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/09/image_09042025_09_09_15_10421.jpg', '/home/pi/Desktop/images/09042025/09/09/image_09042025_09_09_35_10454.jpg', '/home/pi/Desktop/images/09042025/09/09/image_09042025_09_09_44_9347.jpg', '/home/pi/Desktop/images/09042025/09/09/image_09042025_09_09_55_10367.jpg', '/home/pi/Desktop/images/09042025/09/10/image_09042025_09_10_15_9336.jpg', '/home/pi/Desktop/images/09042025/09/10/image_09042025_09_10_25_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/09/image_09042025_09_09_15_10421.jpg
/home/pi/Desktop/images/09042025/09/09/image_09042025_09_09_35_10454.jpg
/home/pi/Desktop/images/09042025/09/09/image_09042025_09_09_44_9347.jpg
/home/pi/Desktop/images/09042025/09/09/image_09042025_09_09_55_10367.jpg
/home/pi/Desktop/images/09042025/09/10/image_09042025_09_10_15_9336.jpg
/home/pi/Desktop/images/09042025/09/10/image_09042025_09_10_25_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":["1350741929","1350741905","1350741827","1350741806","1350741877","1350741855"],"photo_ids_order":["1350741806","1350741827","1350741855","1350741877","1350741905","1350741929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9a18e4c85855140c43cc6647041453c.jpg","text":"TemporaryFile(/tmp/multipartBody522619326358224456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190553147,"filename":"image_09042025_09_10_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/4/9/a3c72a268e2db1181c88b3d2a4c08141.jpg","text":"TemporaryFile(/tmp/multipartBody7028365374754292058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190553147,"filename":"image_09042025_09_10_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/4/9/ddd5f55fbefebdcadad40733265e5c40.jpg","text":"TemporaryFile(/tmp/multipartBody2404278551123581490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190553147,"filename":"image_09042025_09_09_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/4/9/894a6bc837f414ba0ce5a217a8383642.jpg","text":"TemporaryFile(/tmp/multipartBody672156293377699929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190553147,"filename":"image_09042025_09_09_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e495735379ea23b08315632f030d42d.jpg","text":"TemporaryFile(/tmp/multipartBody2386838329369548316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190553147,"filename":"image_09042025_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/4/9/81987f175abdef775c822c17845dec30.jpg","text":"TemporaryFile(/tmp/multipartBody7744909923481873867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190553147,"filename":"image_09042025_09_09_44_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350741855","file1":"1350741827","file0":"1350741806","file4":"1350741905","file5":"1350741929","file3":"1350741877"},"map_files_photo_id_array":[{"photo_id":"1350741929","filename":"file5"},{"photo_id":"1350741855","filename":"file2"},{"photo_id":"1350741905","filename":"file4"},{"photo_id":"1350741827","filename":"file1"},{"photo_id":"1350741806","filename":"file0"},{"photo_id":"1350741877","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350741929":["hashtag1","hashtag2"]},{"1350741905":["hashtag1","hashtag2"]},{"1350741827":["hashtag1","hashtag2"]},{"1350741806":["hashtag1","hashtag2"]},{"1350741877":["hashtag1","hashtag2"]},{"1350741855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350741929, 1350741905, 1350741827, 1350741806, 1350741877, 1350741855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12570071220398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:22:32.798025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/11/image_09042025_09_11_15_10344.jpg', '/home/pi/Desktop/images/09042025/09/11/image_09042025_09_11_34_9349.jpg', '/home/pi/Desktop/images/09042025/09/11/image_09042025_09_11_45_10338.jpg', '/home/pi/Desktop/images/09042025/09/11/image_09042025_09_11_55_10461.jpg', '/home/pi/Desktop/images/09042025/09/12/image_09042025_09_12_15_10335.jpg', '/home/pi/Desktop/images/09042025/09/12/image_09042025_09_12_25_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/11/image_09042025_09_11_15_10344.jpg
/home/pi/Desktop/images/09042025/09/11/image_09042025_09_11_34_9349.jpg
/home/pi/Desktop/images/09042025/09/11/image_09042025_09_11_45_10338.jpg
/home/pi/Desktop/images/09042025/09/11/image_09042025_09_11_55_10461.jpg
/home/pi/Desktop/images/09042025/09/12/image_09042025_09_12_15_10335.jpg
/home/pi/Desktop/images/09042025/09/12/image_09042025_09_12_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":["1350741947","1350741962","1350741973","1350741976","1350741955","1350741951"],"photo_ids_order":["1350741947","1350741951","1350741955","1350741962","1350741973","1350741976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e4eb635c9326f949931c9187be87d069.jpg","text":"TemporaryFile(/tmp/multipartBody1292894517955391411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190613254,"filename":"image_09042025_09_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/4/9/949659e32a175d2c1a59efcdd24d2212.jpg","text":"TemporaryFile(/tmp/multipartBody6782608772487232063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190613254,"filename":"image_09042025_09_11_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/4/9/0e67af815bfdddf5f494957fa9cd9ea5.jpg","text":"TemporaryFile(/tmp/multipartBody3361007932152677753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190613254,"filename":"image_09042025_09_12_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/4/9/280075bc390212c521ef7c605e8eec4f.jpg","text":"TemporaryFile(/tmp/multipartBody4731951892619975729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190613254,"filename":"image_09042025_09_12_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/4/9/d47a787356ffc68e23588d3c172fa771.jpg","text":"TemporaryFile(/tmp/multipartBody1067914928912060605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190613254,"filename":"image_09042025_09_11_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b6b3b37d034fb1c086a2ec3ffef3f9d.jpg","text":"TemporaryFile(/tmp/multipartBody7724232927623703090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190613254,"filename":"image_09042025_09_11_34_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350741955","file1":"1350741951","file0":"1350741947","file4":"1350741973","file5":"1350741976","file3":"1350741962"},"map_files_photo_id_array":[{"photo_id":"1350741976","filename":"file5"},{"photo_id":"1350741955","filename":"file2"},{"photo_id":"1350741973","filename":"file4"},{"photo_id":"1350741951","filename":"file1"},{"photo_id":"1350741947","filename":"file0"},{"photo_id":"1350741962","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350741947":["hashtag1","hashtag2"]},{"1350741962":["hashtag1","hashtag2"]},{"1350741973":["hashtag1","hashtag2"]},{"1350741976":["hashtag1","hashtag2"]},{"1350741955":["hashtag1","hashtag2"]},{"1350741951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350741947, 1350741962, 1350741973, 1350741976, 1350741955, 1350741951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95952916145325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:23:32.998066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/12/image_09042025_09_12_45_10484.jpg', '/home/pi/Desktop/images/09042025/09/12/image_09042025_09_13_05_10343.jpg', '/home/pi/Desktop/images/09042025/09/13/image_09042025_09_13_15_10442.jpg', '/home/pi/Desktop/images/09042025/09/13/image_09042025_09_13_25_9414.jpg', '/home/pi/Desktop/images/09042025/09/13/image_09042025_09_13_44_9349.jpg', '/home/pi/Desktop/images/09042025/09/13/image_09042025_09_13_55_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/12/image_09042025_09_12_45_10484.jpg
/home/pi/Desktop/images/09042025/09/12/image_09042025_09_13_05_10343.jpg
/home/pi/Desktop/images/09042025/09/13/image_09042025_09_13_15_10442.jpg
/home/pi/Desktop/images/09042025/09/13/image_09042025_09_13_25_9414.jpg
/home/pi/Desktop/images/09042025/09/13/image_09042025_09_13_44_9349.jpg
/home/pi/Desktop/images/09042025/09/13/image_09042025_09_13_55_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":["1350742013","1350742027","1350742015","1350742020","1350742023","1350742017"],"photo_ids_order":["1350742013","1350742015","1350742017","1350742020","1350742023","1350742027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a096ff8e8b5426a5b7a7d3b7311dfe25.jpg","text":"TemporaryFile(/tmp/multipartBody6781853759624695018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190673457,"filename":"image_09042025_09_12_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/4/9/5e1f4960db36fb0572924d7652a0fd48.jpg","text":"TemporaryFile(/tmp/multipartBody3885665108373015548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190673457,"filename":"image_09042025_09_13_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/4/9/82a2800f4ab551502d8056d328d6662c.jpg","text":"TemporaryFile(/tmp/multipartBody2119725020861481584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190673457,"filename":"image_09042025_09_13_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49862414b041a04b07bfe92159b046c6.jpg","text":"TemporaryFile(/tmp/multipartBody9168230622180266745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190673457,"filename":"image_09042025_09_13_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/4/9/0dc5371549ae95e8f5a1c2255dccf26e.jpg","text":"TemporaryFile(/tmp/multipartBody1070526682371940393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190673457,"filename":"image_09042025_09_13_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/4/9/bf74ace9455ac14c8c011735364b2602.jpg","text":"TemporaryFile(/tmp/multipartBody2740513088474072451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190673457,"filename":"image_09042025_09_13_15_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350742017","file1":"1350742015","file0":"1350742013","file4":"1350742023","file5":"1350742027","file3":"1350742020"},"map_files_photo_id_array":[{"photo_id":"1350742027","filename":"file5"},{"photo_id":"1350742017","filename":"file2"},{"photo_id":"1350742023","filename":"file4"},{"photo_id":"1350742015","filename":"file1"},{"photo_id":"1350742013","filename":"file0"},{"photo_id":"1350742020","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350742013":["hashtag1","hashtag2"]},{"1350742027":["hashtag1","hashtag2"]},{"1350742015":["hashtag1","hashtag2"]},{"1350742020":["hashtag1","hashtag2"]},{"1350742023":["hashtag1","hashtag2"]},{"1350742017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350742013, 1350742027, 1350742015, 1350742020, 1350742023, 1350742017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.074190139770508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:24:32.158906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/13/image_09042025_09_14_05_10363.jpg', '/home/pi/Desktop/images/09042025/09/14/image_09042025_09_14_15_9396.jpg', '/home/pi/Desktop/images/09042025/09/14/image_09042025_09_14_25_10418.jpg', '/home/pi/Desktop/images/09042025/09/14/image_09042025_09_14_34_9332.jpg', '/home/pi/Desktop/images/09042025/09/14/image_09042025_09_14_55_10341.jpg', '/home/pi/Desktop/images/09042025/09/14/image_09042025_09_15_04_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/13/image_09042025_09_14_05_10363.jpg
/home/pi/Desktop/images/09042025/09/14/image_09042025_09_14_15_9396.jpg
/home/pi/Desktop/images/09042025/09/14/image_09042025_09_14_25_10418.jpg
/home/pi/Desktop/images/09042025/09/14/image_09042025_09_14_34_9332.jpg
/home/pi/Desktop/images/09042025/09/14/image_09042025_09_14_55_10341.jpg
/home/pi/Desktop/images/09042025/09/14/image_09042025_09_15_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":["1350742088","1350742073","1350742103","1350742084","1350742095","1350742080"],"photo_ids_order":["1350742073","1350742080","1350742084","1350742088","1350742095","1350742103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/47166ccd02b891528f90c8ca604ca427.jpg","text":"TemporaryFile(/tmp/multipartBody534276775469002072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190732611,"filename":"image_09042025_09_14_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/4/9/85902b1ff5f23caaace4a6bb82294572.jpg","text":"TemporaryFile(/tmp/multipartBody8438199010079459024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190732611,"filename":"image_09042025_09_14_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/4/9/e20df58e36192498dd0cdaa42f6fadc5.jpg","text":"TemporaryFile(/tmp/multipartBody7836303668676027519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190732611,"filename":"image_09042025_09_15_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/4/9/cfb25a8c86b5e1dd46062a9b6df99223.jpg","text":"TemporaryFile(/tmp/multipartBody8250793246518114417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190732611,"filename":"image_09042025_09_14_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/4/9/4d6d858689cf1a3f2c59441073214b67.jpg","text":"TemporaryFile(/tmp/multipartBody7527582349449450825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190732611,"filename":"image_09042025_09_14_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/4/9/414466013298fa18956f1c273602d35a.jpg","text":"TemporaryFile(/tmp/multipartBody9055494378364934973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190732611,"filename":"image_09042025_09_14_15_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350742084","file1":"1350742080","file0":"1350742073","file4":"1350742095","file5":"1350742103","file3":"1350742088"},"map_files_photo_id_array":[{"photo_id":"1350742103","filename":"file5"},{"photo_id":"1350742084","filename":"file2"},{"photo_id":"1350742095","filename":"file4"},{"photo_id":"1350742080","filename":"file1"},{"photo_id":"1350742073","filename":"file0"},{"photo_id":"1350742088","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350742088":["hashtag1","hashtag2"]},{"1350742073":["hashtag1","hashtag2"]},{"1350742103":["hashtag1","hashtag2"]},{"1350742084":["hashtag1","hashtag2"]},{"1350742095":["hashtag1","hashtag2"]},{"1350742080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350742088, 1350742073, 1350742103, 1350742084, 1350742095, 1350742080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.857760190963745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:25:32.419860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/15/image_09042025_09_15_15_10352.jpg', '/home/pi/Desktop/images/09042025/09/15/image_09042025_09_15_25_10368.jpg', '/home/pi/Desktop/images/09042025/09/15/image_09042025_09_15_35_9324.jpg', '/home/pi/Desktop/images/09042025/09/15/image_09042025_09_15_55_10425.jpg', '/home/pi/Desktop/images/09042025/09/16/image_09042025_09_16_35_10366.jpg', '/home/pi/Desktop/images/09042025/09/16/image_09042025_09_16_45_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/15/image_09042025_09_15_15_10352.jpg
/home/pi/Desktop/images/09042025/09/15/image_09042025_09_15_25_10368.jpg
/home/pi/Desktop/images/09042025/09/15/image_09042025_09_15_35_9324.jpg
/home/pi/Desktop/images/09042025/09/15/image_09042025_09_15_55_10425.jpg
/home/pi/Desktop/images/09042025/09/16/image_09042025_09_16_35_10366.jpg
/home/pi/Desktop/images/09042025/09/16/image_09042025_09_16_45_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350742148","1350742153","1350742165","1350742146","1350742158","1350742143"],"photo_ids_order":["1350742143","1350742146","1350742148","1350742153","1350742158","1350742165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a112390318ff6bbd21e08ff0fd988ba3.jpg","text":"TemporaryFile(/tmp/multipartBody8774168850072055553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190792867,"filename":"image_09042025_09_15_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/4/9/84659660eee363bff8e31c3ae96eabb8.jpg","text":"TemporaryFile(/tmp/multipartBody9150330092341289830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190792867,"filename":"image_09042025_09_15_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/4/9/eb2fbd6a7bcf9a79928d49a2093c2f05.jpg","text":"TemporaryFile(/tmp/multipartBody8009281685361205449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190792867,"filename":"image_09042025_09_16_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/4/9/eef6aff93e7681fe230e73c789cc8400.jpg","text":"TemporaryFile(/tmp/multipartBody581877342118520017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190792867,"filename":"image_09042025_09_15_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/4/9/d1b9cda24d1c4dde5cd7f748e393790a.jpg","text":"TemporaryFile(/tmp/multipartBody6624515917148427063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190792867,"filename":"image_09042025_09_16_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/4/9/d28f8a8a157841a5fd43a8b5405bfeb5.jpg","text":"TemporaryFile(/tmp/multipartBody8962541589030808237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190792867,"filename":"image_09042025_09_15_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350742148","file1":"1350742146","file0":"1350742143","file4":"1350742158","file5":"1350742165","file3":"1350742153"},"map_files_photo_id_array":[{"photo_id":"1350742165","filename":"file5"},{"photo_id":"1350742148","filename":"file2"},{"photo_id":"1350742158","filename":"file4"},{"photo_id":"1350742146","filename":"file1"},{"photo_id":"1350742143","filename":"file0"},{"photo_id":"1350742153","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350742148":["hashtag1","hashtag2"]},{"1350742153":["hashtag1","hashtag2"]},{"1350742165":["hashtag1","hashtag2"]},{"1350742146":["hashtag1","hashtag2"]},{"1350742158":["hashtag1","hashtag2"]},{"1350742143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350742148, 1350742153, 1350742165, 1350742146, 1350742158, 1350742143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.382765293121338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:26:32.604174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/16/image_09042025_09_16_55_9367.jpg', '/home/pi/Desktop/images/09042025/09/17/image_09042025_09_17_25_10369.jpg', '/home/pi/Desktop/images/09042025/09/17/image_09042025_09_17_55_10342.jpg', '/home/pi/Desktop/images/09042025/09/17/image_09042025_09_18_05_10379.jpg', '/home/pi/Desktop/images/09042025/09/19/image_09042025_09_19_15_10331.jpg', '/home/pi/Desktop/images/09042025/09/19/image_09042025_09_19_25_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/16/image_09042025_09_16_55_9367.jpg
/home/pi/Desktop/images/09042025/09/17/image_09042025_09_17_25_10369.jpg
/home/pi/Desktop/images/09042025/09/17/image_09042025_09_17_55_10342.jpg
/home/pi/Desktop/images/09042025/09/17/image_09042025_09_18_05_10379.jpg
/home/pi/Desktop/images/09042025/09/19/image_09042025_09_19_15_10331.jpg
/home/pi/Desktop/images/09042025/09/19/image_09042025_09_19_25_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":["1350742247","1350742240","1350742243","1350742216","1350742221","1350742224"],"photo_ids_order":["1350742216","1350742221","1350742224","1350742240","1350742243","1350742247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/800251ac405a6b7ee0a43544e7cdec03.jpg","text":"TemporaryFile(/tmp/multipartBody9052219375885009840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190853070,"filename":"image_09042025_09_19_25_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/61c2bb138a7e3355b7377fb9281d729e.jpg","text":"TemporaryFile(/tmp/multipartBody2078626282609564378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190853070,"filename":"image_09042025_09_18_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ecb91f6e279121e4e7486bcdbeda52bc.jpg","text":"TemporaryFile(/tmp/multipartBody1042079535395077265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190853070,"filename":"image_09042025_09_19_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/4/9/f2eb7b291f148699ead8638dbe51bc8f.jpg","text":"TemporaryFile(/tmp/multipartBody1702734843484796875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190853070,"filename":"image_09042025_09_16_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44bccce7cc749f3b352c4cc08162f725.jpg","text":"TemporaryFile(/tmp/multipartBody3605560501145437116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190853070,"filename":"image_09042025_09_17_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/4/9/80c49aa036c3cecac9a35985a4f8935a.jpg","text":"TemporaryFile(/tmp/multipartBody7086150130747430008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190853070,"filename":"image_09042025_09_17_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350742224","file1":"1350742221","file0":"1350742216","file4":"1350742243","file5":"1350742247","file3":"1350742240"},"map_files_photo_id_array":[{"photo_id":"1350742247","filename":"file5"},{"photo_id":"1350742224","filename":"file2"},{"photo_id":"1350742243","filename":"file4"},{"photo_id":"1350742221","filename":"file1"},{"photo_id":"1350742216","filename":"file0"},{"photo_id":"1350742240","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350742247":["hashtag1","hashtag2"]},{"1350742240":["hashtag1","hashtag2"]},{"1350742243":["hashtag1","hashtag2"]},{"1350742216":["hashtag1","hashtag2"]},{"1350742221":["hashtag1","hashtag2"]},{"1350742224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350742247, 1350742240, 1350742243, 1350742216, 1350742221, 1350742224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29655051231384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:27:32.989478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/19/image_09042025_09_19_35_9323.jpg', '/home/pi/Desktop/images/09042025/09/19/image_09042025_09_19_45_10346.jpg', '/home/pi/Desktop/images/09042025/09/20/image_09042025_09_20_15_10425.jpg', '/home/pi/Desktop/images/09042025/09/20/image_09042025_09_20_35_10393.jpg', '/home/pi/Desktop/images/09042025/09/20/image_09042025_09_20_45_10368.jpg', '/home/pi/Desktop/images/09042025/09/20/image_09042025_09_20_55_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/19/image_09042025_09_19_35_9323.jpg
/home/pi/Desktop/images/09042025/09/19/image_09042025_09_19_45_10346.jpg
/home/pi/Desktop/images/09042025/09/20/image_09042025_09_20_15_10425.jpg
/home/pi/Desktop/images/09042025/09/20/image_09042025_09_20_35_10393.jpg
/home/pi/Desktop/images/09042025/09/20/image_09042025_09_20_45_10368.jpg
/home/pi/Desktop/images/09042025/09/20/image_09042025_09_20_55_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":["1350742337","1350742429","1350742444","1350742440","1350742335","1350742422"],"photo_ids_order":["1350742335","1350742337","1350742422","1350742429","1350742440","1350742444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aa4dfa67305812a411b15a222be3f80a.jpg","text":"TemporaryFile(/tmp/multipartBody5842497687003892154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190913448,"filename":"image_09042025_09_19_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/4/9/309d258c05c282558f62e71bb749fa11.jpg","text":"TemporaryFile(/tmp/multipartBody5097139488652454546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190913448,"filename":"image_09042025_09_20_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/4/9/23e739d8009b1367e0885c6f4086df7c.jpg","text":"TemporaryFile(/tmp/multipartBody6413062465623037214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190913448,"filename":"image_09042025_09_20_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/4/9/03f89c8844e0679eb1d8966af29da016.jpg","text":"TemporaryFile(/tmp/multipartBody2032853476412316460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190913448,"filename":"image_09042025_09_20_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/4/9/0cda4cce6ceae00e9550fcb4392b7fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5433988277096152582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190913448,"filename":"image_09042025_09_19_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/4/9/611f88b85d3645dba2ef88167cd5e798.jpg","text":"TemporaryFile(/tmp/multipartBody7101384091711452635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190913448,"filename":"image_09042025_09_20_15_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350742422","file1":"1350742337","file0":"1350742335","file4":"1350742440","file5":"1350742444","file3":"1350742429"},"map_files_photo_id_array":[{"photo_id":"1350742444","filename":"file5"},{"photo_id":"1350742422","filename":"file2"},{"photo_id":"1350742440","filename":"file4"},{"photo_id":"1350742337","filename":"file1"},{"photo_id":"1350742335","filename":"file0"},{"photo_id":"1350742429","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350742337":["hashtag1","hashtag2"]},{"1350742429":["hashtag1","hashtag2"]},{"1350742444":["hashtag1","hashtag2"]},{"1350742440":["hashtag1","hashtag2"]},{"1350742335":["hashtag1","hashtag2"]},{"1350742422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350742337, 1350742429, 1350742444, 1350742440, 1350742335, 1350742422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.403685569763184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:28:33.079028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/21/image_09042025_09_21_45_9339.jpg', '/home/pi/Desktop/images/09042025/09/22/image_09042025_09_22_35_9342.jpg', '/home/pi/Desktop/images/09042025/09/22/image_09042025_09_22_45_10452.jpg', '/home/pi/Desktop/images/09042025/09/22/image_09042025_09_22_55_9443.jpg', '/home/pi/Desktop/images/09042025/09/22/image_09042025_09_23_05_10356.jpg', '/home/pi/Desktop/images/09042025/09/23/image_09042025_09_23_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/21/image_09042025_09_21_45_9339.jpg
/home/pi/Desktop/images/09042025/09/22/image_09042025_09_22_35_9342.jpg
/home/pi/Desktop/images/09042025/09/22/image_09042025_09_22_45_10452.jpg
/home/pi/Desktop/images/09042025/09/22/image_09042025_09_22_55_9443.jpg
/home/pi/Desktop/images/09042025/09/22/image_09042025_09_23_05_10356.jpg
/home/pi/Desktop/images/09042025/09/23/image_09042025_09_23_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":["1350742616","1350742607","1350742633","1350742641","1350742638","1350742647"],"photo_ids_order":["1350742607","1350742616","1350742633","1350742638","1350742641","1350742647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a33083837299eeaf469d2115b3f552b.jpg","text":"TemporaryFile(/tmp/multipartBody5693414140376226925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190973528,"filename":"image_09042025_09_22_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/4/9/7bcfca68182df3115907b8fc8b10efa9.jpg","text":"TemporaryFile(/tmp/multipartBody1238936810833847792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190973528,"filename":"image_09042025_09_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/4/9/c676208ff0e677f9f63236c8deae7859.jpg","text":"TemporaryFile(/tmp/multipartBody6998458407694412962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190973528,"filename":"image_09042025_09_22_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/4/9/e19d3dcf33a792c2e3d23b799662fe33.jpg","text":"TemporaryFile(/tmp/multipartBody7215819382976908205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190973528,"filename":"image_09042025_09_23_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/4/9/2d4e1b7df21b81b47c314f65cec16bda.jpg","text":"TemporaryFile(/tmp/multipartBody3467797953671886616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190973528,"filename":"image_09042025_09_22_55_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/358b60f1c7b640eff74c0d441b6dedd1.jpg","text":"TemporaryFile(/tmp/multipartBody6680026810755183648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744190973528,"filename":"image_09042025_09_23_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350742633","file1":"1350742616","file0":"1350742607","file4":"1350742641","file5":"1350742647","file3":"1350742638"},"map_files_photo_id_array":[{"photo_id":"1350742647","filename":"file5"},{"photo_id":"1350742633","filename":"file2"},{"photo_id":"1350742641","filename":"file4"},{"photo_id":"1350742616","filename":"file1"},{"photo_id":"1350742607","filename":"file0"},{"photo_id":"1350742638","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350742616":["hashtag1","hashtag2"]},{"1350742607":["hashtag1","hashtag2"]},{"1350742633":["hashtag1","hashtag2"]},{"1350742641":["hashtag1","hashtag2"]},{"1350742638":["hashtag1","hashtag2"]},{"1350742647":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350742616, 1350742607, 1350742633, 1350742641, 1350742638, 1350742647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.502105951309204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:29:32.258463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/23/image_09042025_09_23_45_10460.jpg', '/home/pi/Desktop/images/09042025/09/23/image_09042025_09_24_05_10447.jpg', '/home/pi/Desktop/images/09042025/09/25/image_09042025_09_25_25_10404.jpg', '/home/pi/Desktop/images/09042025/09/25/image_09042025_09_25_45_10353.jpg', '/home/pi/Desktop/images/09042025/09/25/image_09042025_09_26_05_9334.jpg', '/home/pi/Desktop/images/09042025/09/26/image_09042025_09_26_15_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/23/image_09042025_09_23_45_10460.jpg
/home/pi/Desktop/images/09042025/09/23/image_09042025_09_24_05_10447.jpg
/home/pi/Desktop/images/09042025/09/25/image_09042025_09_25_25_10404.jpg
/home/pi/Desktop/images/09042025/09/25/image_09042025_09_25_45_10353.jpg
/home/pi/Desktop/images/09042025/09/25/image_09042025_09_26_05_9334.jpg
/home/pi/Desktop/images/09042025/09/26/image_09042025_09_26_15_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350742823","1350742852","1350742717","1350742782","1350742749","1350742880"],"photo_ids_order":["1350742717","1350742749","1350742782","1350742823","1350742852","1350742880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22fc071075cfc9c21733d083b77320a0.jpg","text":"TemporaryFile(/tmp/multipartBody7458302314698391626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191032709,"filename":"image_09042025_09_25_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/4/9/434f87355173c615b802d7996edbf2a1.jpg","text":"TemporaryFile(/tmp/multipartBody8403952258220871884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191032709,"filename":"image_09042025_09_26_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/4/9/3635c22441bf29ec29bff402bb154d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5033021466276385370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191032709,"filename":"image_09042025_09_23_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/4/9/58145c6fab6fe530c263cd606ea47aea.jpg","text":"TemporaryFile(/tmp/multipartBody7028835728380174494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191032709,"filename":"image_09042025_09_25_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/533954a8fd2fe466d212037d2315b8ff.jpg","text":"TemporaryFile(/tmp/multipartBody3120519327053115175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191032709,"filename":"image_09042025_09_24_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/4/9/1c02128912b23f1d4a885b966fe1de0c.jpg","text":"TemporaryFile(/tmp/multipartBody8630807687986691270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191032709,"filename":"image_09042025_09_26_15_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350742782","file1":"1350742749","file0":"1350742717","file4":"1350742852","file5":"1350742880","file3":"1350742823"},"map_files_photo_id_array":[{"photo_id":"1350742880","filename":"file5"},{"photo_id":"1350742782","filename":"file2"},{"photo_id":"1350742852","filename":"file4"},{"photo_id":"1350742749","filename":"file1"},{"photo_id":"1350742717","filename":"file0"},{"photo_id":"1350742823","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350742823":["hashtag1","hashtag2"]},{"1350742852":["hashtag1","hashtag2"]},{"1350742717":["hashtag1","hashtag2"]},{"1350742782":["hashtag1","hashtag2"]},{"1350742749":["hashtag1","hashtag2"]},{"1350742880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350742823, 1350742852, 1350742717, 1350742782, 1350742749, 1350742880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.765095710754395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:30:32.485213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/26/image_09042025_09_26_24_9343.jpg', '/home/pi/Desktop/images/09042025/09/26/image_09042025_09_26_35_10364.jpg', '/home/pi/Desktop/images/09042025/09/26/image_09042025_09_26_45_10370.jpg', '/home/pi/Desktop/images/09042025/09/26/image_09042025_09_27_05_10335.jpg', '/home/pi/Desktop/images/09042025/09/27/image_09042025_09_27_15_10342.jpg', '/home/pi/Desktop/images/09042025/09/27/image_09042025_09_27_55_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/26/image_09042025_09_26_24_9343.jpg
/home/pi/Desktop/images/09042025/09/26/image_09042025_09_26_35_10364.jpg
/home/pi/Desktop/images/09042025/09/26/image_09042025_09_26_45_10370.jpg
/home/pi/Desktop/images/09042025/09/26/image_09042025_09_27_05_10335.jpg
/home/pi/Desktop/images/09042025/09/27/image_09042025_09_27_15_10342.jpg
/home/pi/Desktop/images/09042025/09/27/image_09042025_09_27_55_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350743048","1350743021","1350743014","1350743034","1350743010","1350743018"],"photo_ids_order":["1350743010","1350743014","1350743018","1350743021","1350743034","1350743048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33c8a0a4065a80324a3a02cfdc04fb76.jpg","text":"TemporaryFile(/tmp/multipartBody2267275894246930855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191092940,"filename":"image_09042025_09_27_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/4/9/cc50925d74ffb48e12a62f5a0ffcd862.jpg","text":"TemporaryFile(/tmp/multipartBody3117701467575226518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191092940,"filename":"image_09042025_09_27_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/4/9/b18b7a64801c0dee5b8c4a2be3777e26.jpg","text":"TemporaryFile(/tmp/multipartBody5964652274234078607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191092940,"filename":"image_09042025_09_26_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5032f2e0d421987b9132ce18ea8d0cf8.jpg","text":"TemporaryFile(/tmp/multipartBody5978880307397187482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191092940,"filename":"image_09042025_09_27_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/4/9/e01eef2e3a60cb2d68da8920bcec11a4.jpg","text":"TemporaryFile(/tmp/multipartBody2009707815801196933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191092940,"filename":"image_09042025_09_26_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/4/9/95124e41fa6d42278245d7a0af8daa97.jpg","text":"TemporaryFile(/tmp/multipartBody7849311980569069532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191092940,"filename":"image_09042025_09_26_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350743018","file1":"1350743014","file0":"1350743010","file4":"1350743034","file5":"1350743048","file3":"1350743021"},"map_files_photo_id_array":[{"photo_id":"1350743048","filename":"file5"},{"photo_id":"1350743018","filename":"file2"},{"photo_id":"1350743034","filename":"file4"},{"photo_id":"1350743014","filename":"file1"},{"photo_id":"1350743010","filename":"file0"},{"photo_id":"1350743021","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350743048":["hashtag1","hashtag2"]},{"1350743021":["hashtag1","hashtag2"]},{"1350743014":["hashtag1","hashtag2"]},{"1350743034":["hashtag1","hashtag2"]},{"1350743010":["hashtag1","hashtag2"]},{"1350743018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350743048, 1350743021, 1350743014, 1350743034, 1350743010, 1350743018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.146003007888794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:31:32.793061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/27/image_09042025_09_28_05_10433.jpg', '/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_35_10360.jpg', '/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_45_9364.jpg', '/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_55_10477.jpg', '/home/pi/Desktop/images/09042025/09/28/image_09042025_09_29_04_9394.jpg', '/home/pi/Desktop/images/09042025/09/29/image_09042025_09_29_15_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/27/image_09042025_09_28_05_10433.jpg
/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_35_10360.jpg
/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_45_9364.jpg
/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_55_10477.jpg
/home/pi/Desktop/images/09042025/09/28/image_09042025_09_29_04_9394.jpg
/home/pi/Desktop/images/09042025/09/29/image_09042025_09_29_15_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.36974501609802246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 11:31:42.649341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/27/image_09042025_09_28_05_10433.jpg', '/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_35_10360.jpg', '/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_45_9364.jpg', '/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_55_10477.jpg', '/home/pi/Desktop/images/09042025/09/28/image_09042025_09_29_04_9394.jpg', '/home/pi/Desktop/images/09042025/09/29/image_09042025_09_29_15_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/27/image_09042025_09_28_05_10433.jpg
/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_35_10360.jpg
/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_45_9364.jpg
/home/pi/Desktop/images/09042025/09/28/image_09042025_09_28_55_10477.jpg
/home/pi/Desktop/images/09042025/09/28/image_09042025_09_29_04_9394.jpg
/home/pi/Desktop/images/09042025/09/29/image_09042025_09_29_15_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350743191","1350743218","1350743175","1350743180","1350743222","1350743159"],"photo_ids_order":["1350743159","1350743175","1350743180","1350743191","1350743218","1350743222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/458b2effc01e428a894f09640a9b7749.jpg","text":"TemporaryFile(/tmp/multipartBody6730608428865692763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191163106,"filename":"image_09042025_09_28_55_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f6e664255e063c2b113f29ce7c49884.jpg","text":"TemporaryFile(/tmp/multipartBody1188988461873047432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191163106,"filename":"image_09042025_09_29_04_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f046f5cd0fd1d2ecf342e3156bb92f08.jpg","text":"TemporaryFile(/tmp/multipartBody3710668976205957889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191163106,"filename":"image_09042025_09_28_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/4/9/48786a05b5d16bba1c39f8b4089c2b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8219136403028325521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191163106,"filename":"image_09042025_09_28_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/4/9/d4c453f66bfb0db9855336c334e32141.jpg","text":"TemporaryFile(/tmp/multipartBody6701282879787099742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191163106,"filename":"image_09042025_09_29_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/4/9/085981e2b33fb43a8305a5deba2cbed2.jpg","text":"TemporaryFile(/tmp/multipartBody8179394429923667847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191163106,"filename":"image_09042025_09_28_05_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350743180","file1":"1350743175","file0":"1350743159","file4":"1350743218","file5":"1350743222","file3":"1350743191"},"map_files_photo_id_array":[{"photo_id":"1350743222","filename":"file5"},{"photo_id":"1350743180","filename":"file2"},{"photo_id":"1350743218","filename":"file4"},{"photo_id":"1350743175","filename":"file1"},{"photo_id":"1350743159","filename":"file0"},{"photo_id":"1350743191","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350743191":["hashtag1","hashtag2"]},{"1350743218":["hashtag1","hashtag2"]},{"1350743175":["hashtag1","hashtag2"]},{"1350743180":["hashtag1","hashtag2"]},{"1350743222":["hashtag1","hashtag2"]},{"1350743159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350743191, 1350743218, 1350743175, 1350743180, 1350743222, 1350743159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.334670543670654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:32:32.906253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/29/image_09042025_09_29_25_10515.jpg', '/home/pi/Desktop/images/09042025/09/29/image_09042025_09_29_45_10456.jpg', '/home/pi/Desktop/images/09042025/09/30/image_09042025_09_30_15_10410.jpg', '/home/pi/Desktop/images/09042025/09/30/image_09042025_09_30_35_10340.jpg', '/home/pi/Desktop/images/09042025/09/30/image_09042025_09_30_44_9355.jpg', '/home/pi/Desktop/images/09042025/09/30/image_09042025_09_31_05_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/29/image_09042025_09_29_25_10515.jpg
/home/pi/Desktop/images/09042025/09/29/image_09042025_09_29_45_10456.jpg
/home/pi/Desktop/images/09042025/09/30/image_09042025_09_30_15_10410.jpg
/home/pi/Desktop/images/09042025/09/30/image_09042025_09_30_35_10340.jpg
/home/pi/Desktop/images/09042025/09/30/image_09042025_09_30_44_9355.jpg
/home/pi/Desktop/images/09042025/09/30/image_09042025_09_31_05_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":["1350743324","1350743318","1350743383","1350743338","1350743302","1350743410"],"photo_ids_order":["1350743302","1350743318","1350743324","1350743338","1350743383","1350743410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ebbab586e8cfff3c90a8d60b9e24748.jpg","text":"TemporaryFile(/tmp/multipartBody5015377260487272420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191213359,"filename":"image_09042025_09_30_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/4/9/de6378d0106e386039d24be6d154aafe.jpg","text":"TemporaryFile(/tmp/multipartBody3353569917628798355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191213359,"filename":"image_09042025_09_29_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/4/9/ae89895c51ad1c5f6015b80979608f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4464293144740259534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191213359,"filename":"image_09042025_09_30_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/4/9/67eba70862b8df51604a6c3580b58c60.jpg","text":"TemporaryFile(/tmp/multipartBody1798340484465825040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191213359,"filename":"image_09042025_09_30_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/214b79023a9a5547b30cc7b9b67329b0.jpg","text":"TemporaryFile(/tmp/multipartBody5586402697865536755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191213359,"filename":"image_09042025_09_29_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/4/9/d044a8cba6af0c377ac683af1d172085.jpg","text":"TemporaryFile(/tmp/multipartBody269603630875283351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191213359,"filename":"image_09042025_09_31_05_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350743324","file1":"1350743318","file0":"1350743302","file4":"1350743383","file5":"1350743410","file3":"1350743338"},"map_files_photo_id_array":[{"photo_id":"1350743410","filename":"file5"},{"photo_id":"1350743324","filename":"file2"},{"photo_id":"1350743383","filename":"file4"},{"photo_id":"1350743318","filename":"file1"},{"photo_id":"1350743302","filename":"file0"},{"photo_id":"1350743338","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350743324":["hashtag1","hashtag2"]},{"1350743318":["hashtag1","hashtag2"]},{"1350743383":["hashtag1","hashtag2"]},{"1350743338":["hashtag1","hashtag2"]},{"1350743302":["hashtag1","hashtag2"]},{"1350743410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350743324, 1350743318, 1350743383, 1350743338, 1350743302, 1350743410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91930651664734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:33:33.027946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_15_10434.jpg', '/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_25_10417.jpg', '/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_35_9338.jpg', '/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_45_10458.jpg', '/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_54_9360.jpg', '/home/pi/Desktop/images/09042025/09/32/image_09042025_09_33_05_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_15_10434.jpg
/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_25_10417.jpg
/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_35_9338.jpg
/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_45_10458.jpg
/home/pi/Desktop/images/09042025/09/32/image_09042025_09_32_54_9360.jpg
/home/pi/Desktop/images/09042025/09/32/image_09042025_09_33_05_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350743621","1350743635","1350743623","1350743631","1350743591","1350743627"],"photo_ids_order":["1350743591","1350743621","1350743623","1350743627","1350743631","1350743635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5299d08a102e21d120077fe556cd1f6d.jpg","text":"TemporaryFile(/tmp/multipartBody8090614164976947683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191273479,"filename":"image_09042025_09_32_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/4/9/b605238f1ddaca869de1e9fe367ccbd6.jpg","text":"TemporaryFile(/tmp/multipartBody750158795272114760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191273479,"filename":"image_09042025_09_33_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c850cb47451c0dcbf41d2de3ef35df59.jpg","text":"TemporaryFile(/tmp/multipartBody3888142366884099790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191273479,"filename":"image_09042025_09_32_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/4/9/5c5cf69082cae75933eeef4c1c60baeb.jpg","text":"TemporaryFile(/tmp/multipartBody3080473697927469403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191273479,"filename":"image_09042025_09_32_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/4/9/943f81259b0b0bcd5a2bbc86554ba222.jpg","text":"TemporaryFile(/tmp/multipartBody5805890299218520434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191273479,"filename":"image_09042025_09_32_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9fabcb0aa07919f4ef73dce275078b48.jpg","text":"TemporaryFile(/tmp/multipartBody5764527696349318512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191273479,"filename":"image_09042025_09_32_45_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350743623","file1":"1350743621","file0":"1350743591","file4":"1350743631","file5":"1350743635","file3":"1350743627"},"map_files_photo_id_array":[{"photo_id":"1350743635","filename":"file5"},{"photo_id":"1350743623","filename":"file2"},{"photo_id":"1350743631","filename":"file4"},{"photo_id":"1350743621","filename":"file1"},{"photo_id":"1350743591","filename":"file0"},{"photo_id":"1350743627","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350743621":["hashtag1","hashtag2"]},{"1350743635":["hashtag1","hashtag2"]},{"1350743623":["hashtag1","hashtag2"]},{"1350743631":["hashtag1","hashtag2"]},{"1350743591":["hashtag1","hashtag2"]},{"1350743627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350743621, 1350743635, 1350743623, 1350743631, 1350743591, 1350743627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.657912015914917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:34:32.417677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/33/image_09042025_09_33_15_10360.jpg', '/home/pi/Desktop/images/09042025/09/33/image_09042025_09_33_35_10347.jpg', '/home/pi/Desktop/images/09042025/09/33/image_09042025_09_33_45_10143.jpg', '/home/pi/Desktop/images/09042025/09/33/image_09042025_09_33_54_9362.jpg', '/home/pi/Desktop/images/09042025/09/33/image_09042025_09_34_05_10353.jpg', '/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_15_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/33/image_09042025_09_33_15_10360.jpg
/home/pi/Desktop/images/09042025/09/33/image_09042025_09_33_35_10347.jpg
/home/pi/Desktop/images/09042025/09/33/image_09042025_09_33_45_10143.jpg
/home/pi/Desktop/images/09042025/09/33/image_09042025_09_33_54_9362.jpg
/home/pi/Desktop/images/09042025/09/33/image_09042025_09_34_05_10353.jpg
/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_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":["1350743770","1350743686","1350743697","1350743768","1350743762","1350743732"],"photo_ids_order":["1350743686","1350743697","1350743732","1350743762","1350743768","1350743770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0673cf483c81a41a841cf41bd5b639e2.jpg","text":"TemporaryFile(/tmp/multipartBody5297961692390487153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191332891,"filename":"image_09042025_09_34_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/4/9/97e98e154ae35003735955172f7aa0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7085921919156742671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191332891,"filename":"image_09042025_09_33_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/4/9/72e8c709bfe8498dd6cace5f8bc7b2bf.jpg","text":"TemporaryFile(/tmp/multipartBody4250355513003108943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191332891,"filename":"image_09042025_09_33_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/4/9/ec11fb0cefe965932403f0fb4f8d657b.jpg","text":"TemporaryFile(/tmp/multipartBody3807852196861829745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191332891,"filename":"image_09042025_09_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/4/9/2ac435c49b016ee077d3ebc55f4d3088.jpg","text":"TemporaryFile(/tmp/multipartBody3181892484932584398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191332891,"filename":"image_09042025_09_33_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/4/9/8c658711d7d555fc0dc1fb536049e7c4.jpg","text":"TemporaryFile(/tmp/multipartBody5866935930331747875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191332891,"filename":"image_09042025_09_33_45_10143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350743732","file1":"1350743697","file0":"1350743686","file4":"1350743768","file5":"1350743770","file3":"1350743762"},"map_files_photo_id_array":[{"photo_id":"1350743770","filename":"file5"},{"photo_id":"1350743732","filename":"file2"},{"photo_id":"1350743768","filename":"file4"},{"photo_id":"1350743697","filename":"file1"},{"photo_id":"1350743686","filename":"file0"},{"photo_id":"1350743762","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350743770":["hashtag1","hashtag2"]},{"1350743686":["hashtag1","hashtag2"]},{"1350743697":["hashtag1","hashtag2"]},{"1350743768":["hashtag1","hashtag2"]},{"1350743762":["hashtag1","hashtag2"]},{"1350743732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350743770, 1350743686, 1350743697, 1350743768, 1350743762, 1350743732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.769957304000854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:35:32.706683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_24_9369.jpg', '/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_35_10348.jpg', '/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_45_10372.jpg', '/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_55_9350.jpg', '/home/pi/Desktop/images/09042025/09/34/image_09042025_09_35_05_10366.jpg', '/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_15_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_24_9369.jpg
/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_35_10348.jpg
/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_45_10372.jpg
/home/pi/Desktop/images/09042025/09/34/image_09042025_09_34_55_9350.jpg
/home/pi/Desktop/images/09042025/09/34/image_09042025_09_35_05_10366.jpg
/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_15_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":["1350743807","1350743824","1350743827","1350743838","1350743835","1350743831"],"photo_ids_order":["1350743807","1350743824","1350743827","1350743831","1350743835","1350743838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/743de0465cabaf963dbcd76a7fdfc73b.jpg","text":"TemporaryFile(/tmp/multipartBody1610451580764757062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191393154,"filename":"image_09042025_09_34_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/4/9/98063db7b82b5766e64bcfe956046d48.jpg","text":"TemporaryFile(/tmp/multipartBody3403923082560342539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191393154,"filename":"image_09042025_09_34_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/4/9/d14d5fc58114c0ec4a044c07d57cebf0.jpg","text":"TemporaryFile(/tmp/multipartBody1583729972921819190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191393154,"filename":"image_09042025_09_34_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/4/9/0ba00a940d3d8288096ad92f36ba96b7.jpg","text":"TemporaryFile(/tmp/multipartBody7859809490098276489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191393154,"filename":"image_09042025_09_35_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/4/9/434a123e5aa3b3ca63f9230481b018e1.jpg","text":"TemporaryFile(/tmp/multipartBody8764559055527492020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191393154,"filename":"image_09042025_09_35_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/4/9/7a640ebda44e3a57bb1164b70ef8d497.jpg","text":"TemporaryFile(/tmp/multipartBody5306920006552436957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191393154,"filename":"image_09042025_09_34_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350743827","file1":"1350743824","file0":"1350743807","file4":"1350743835","file5":"1350743838","file3":"1350743831"},"map_files_photo_id_array":[{"photo_id":"1350743838","filename":"file5"},{"photo_id":"1350743827","filename":"file2"},{"photo_id":"1350743835","filename":"file4"},{"photo_id":"1350743824","filename":"file1"},{"photo_id":"1350743807","filename":"file0"},{"photo_id":"1350743831","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350743807":["hashtag1","hashtag2"]},{"1350743824":["hashtag1","hashtag2"]},{"1350743827":["hashtag1","hashtag2"]},{"1350743838":["hashtag1","hashtag2"]},{"1350743835":["hashtag1","hashtag2"]},{"1350743831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350743807, 1350743824, 1350743827, 1350743838, 1350743835, 1350743831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.665972471237183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:36:32.842020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_25_9363.jpg', '/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_35_10476.jpg', '/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_45_9435.jpg', '/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_55_10343.jpg', '/home/pi/Desktop/images/09042025/09/35/image_09042025_09_36_05_10347.jpg', '/home/pi/Desktop/images/09042025/09/36/image_09042025_09_36_15_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_25_9363.jpg
/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_35_10476.jpg
/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_45_9435.jpg
/home/pi/Desktop/images/09042025/09/35/image_09042025_09_35_55_10343.jpg
/home/pi/Desktop/images/09042025/09/35/image_09042025_09_36_05_10347.jpg
/home/pi/Desktop/images/09042025/09/36/image_09042025_09_36_15_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":["1350743995","1350744040","1350744028","1350744013","1350744022","1350744018"],"photo_ids_order":["1350743995","1350744013","1350744018","1350744022","1350744028","1350744040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4892b4e23c3a8e570d460953cf4ac8b4.jpg","text":"TemporaryFile(/tmp/multipartBody493791807743328640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191453288,"filename":"image_09042025_09_35_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/4/9/e7ec953bddb56027a200e5c838d0d37d.jpg","text":"TemporaryFile(/tmp/multipartBody4663099754994921575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191453288,"filename":"image_09042025_09_36_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/4/9/53b78af380b698e43f573a4c3e79d1ce.jpg","text":"TemporaryFile(/tmp/multipartBody9145776086599124114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191453288,"filename":"image_09042025_09_36_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/4/9/7e44f27816adc84dcefd75aa82882b37.jpg","text":"TemporaryFile(/tmp/multipartBody5861517923130656388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191453288,"filename":"image_09042025_09_35_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/4/9/5de5293cf2f82b4e12d6aae9aca5dfcc.jpg","text":"TemporaryFile(/tmp/multipartBody8111238496403095917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191453288,"filename":"image_09042025_09_35_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae0d5b9c7500e0e73757d1a8305c72cd.jpg","text":"TemporaryFile(/tmp/multipartBody4881666320025762949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191453288,"filename":"image_09042025_09_35_45_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744018","file1":"1350744013","file0":"1350743995","file4":"1350744028","file5":"1350744040","file3":"1350744022"},"map_files_photo_id_array":[{"photo_id":"1350744040","filename":"file5"},{"photo_id":"1350744018","filename":"file2"},{"photo_id":"1350744028","filename":"file4"},{"photo_id":"1350744013","filename":"file1"},{"photo_id":"1350743995","filename":"file0"},{"photo_id":"1350744022","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350743995":["hashtag1","hashtag2"]},{"1350744040":["hashtag1","hashtag2"]},{"1350744028":["hashtag1","hashtag2"]},{"1350744013":["hashtag1","hashtag2"]},{"1350744022":["hashtag1","hashtag2"]},{"1350744018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350743995, 1350744040, 1350744028, 1350744013, 1350744022, 1350744018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.758406162261963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:37:33.050368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/36/image_09042025_09_36_25_10355.jpg', '/home/pi/Desktop/images/09042025/09/36/image_09042025_09_36_34_9451.jpg', '/home/pi/Desktop/images/09042025/09/36/image_09042025_09_36_45_10365.jpg', '/home/pi/Desktop/images/09042025/09/37/image_09042025_09_37_15_10338.jpg', '/home/pi/Desktop/images/09042025/09/37/image_09042025_09_37_35_9340.jpg', '/home/pi/Desktop/images/09042025/09/37/image_09042025_09_37_54_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/36/image_09042025_09_36_25_10355.jpg
/home/pi/Desktop/images/09042025/09/36/image_09042025_09_36_34_9451.jpg
/home/pi/Desktop/images/09042025/09/36/image_09042025_09_36_45_10365.jpg
/home/pi/Desktop/images/09042025/09/37/image_09042025_09_37_15_10338.jpg
/home/pi/Desktop/images/09042025/09/37/image_09042025_09_37_35_9340.jpg
/home/pi/Desktop/images/09042025/09/37/image_09042025_09_37_54_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":["1350744085","1350744100","1350744081","1350744083","1350744095","1350744089"],"photo_ids_order":["1350744081","1350744083","1350744085","1350744089","1350744095","1350744100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4e2bbfd993e582a2181254dd928c385.jpg","text":"TemporaryFile(/tmp/multipartBody645808003156501934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191513504,"filename":"image_09042025_09_36_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/4/9/bee857cdf3325af72d46f1ce350aa71a.jpg","text":"TemporaryFile(/tmp/multipartBody5412249700958328093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191513504,"filename":"image_09042025_09_37_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/4/9/4173cf9720e7af3f2ba631438fd9bacf.jpg","text":"TemporaryFile(/tmp/multipartBody4736107270586449231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191513504,"filename":"image_09042025_09_36_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/4/9/75fd827474c69f9d0e5d1785a2f226b5.jpg","text":"TemporaryFile(/tmp/multipartBody5845269388672692202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191513504,"filename":"image_09042025_09_36_34_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8f06e95de65c6cfe3a62aa7661293c00.jpg","text":"TemporaryFile(/tmp/multipartBody560898727721276122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191513504,"filename":"image_09042025_09_37_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/4/9/f33bc15310e2f5ce232b6446207e606a.jpg","text":"TemporaryFile(/tmp/multipartBody341659115632948634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191513504,"filename":"image_09042025_09_37_15_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744085","file1":"1350744083","file0":"1350744081","file4":"1350744095","file5":"1350744100","file3":"1350744089"},"map_files_photo_id_array":[{"photo_id":"1350744100","filename":"file5"},{"photo_id":"1350744085","filename":"file2"},{"photo_id":"1350744095","filename":"file4"},{"photo_id":"1350744083","filename":"file1"},{"photo_id":"1350744081","filename":"file0"},{"photo_id":"1350744089","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350744085":["hashtag1","hashtag2"]},{"1350744100":["hashtag1","hashtag2"]},{"1350744081":["hashtag1","hashtag2"]},{"1350744083":["hashtag1","hashtag2"]},{"1350744095":["hashtag1","hashtag2"]},{"1350744089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350744085, 1350744100, 1350744081, 1350744083, 1350744095, 1350744089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.970948934555054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:38:32.259394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/37/image_09042025_09_38_05_10346.jpg', '/home/pi/Desktop/images/09042025/09/38/image_09042025_09_38_15_10441.jpg', '/home/pi/Desktop/images/09042025/09/38/image_09042025_09_38_25_9333.jpg', '/home/pi/Desktop/images/09042025/09/38/image_09042025_09_38_35_10347.jpg', '/home/pi/Desktop/images/09042025/09/38/image_09042025_09_38_55_9346.jpg', '/home/pi/Desktop/images/09042025/09/38/image_09042025_09_39_05_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/37/image_09042025_09_38_05_10346.jpg
/home/pi/Desktop/images/09042025/09/38/image_09042025_09_38_15_10441.jpg
/home/pi/Desktop/images/09042025/09/38/image_09042025_09_38_25_9333.jpg
/home/pi/Desktop/images/09042025/09/38/image_09042025_09_38_35_10347.jpg
/home/pi/Desktop/images/09042025/09/38/image_09042025_09_38_55_9346.jpg
/home/pi/Desktop/images/09042025/09/38/image_09042025_09_39_05_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":["1350744156","1350744159","1350744150","1350744138","1350744146","1350744143"],"photo_ids_order":["1350744138","1350744143","1350744146","1350744150","1350744156","1350744159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1e2ee0df9a6753a348b7360f97745ab.jpg","text":"TemporaryFile(/tmp/multipartBody2676096983225941644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191572785,"filename":"image_09042025_09_38_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/4/9/df2a2b8dd45b6c97734a276d79bca21b.jpg","text":"TemporaryFile(/tmp/multipartBody6806155223850900002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191572785,"filename":"image_09042025_09_39_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/4/9/aa55d082a7b5f12da5d95f2cabca4ad7.jpg","text":"TemporaryFile(/tmp/multipartBody335621958136430023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191572785,"filename":"image_09042025_09_38_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/4/9/727efafe232f4613d3856272352f3c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6825046294675044470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191572785,"filename":"image_09042025_09_38_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/4/9/685b2e6738411538a5057dabae47ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody2717051434348888890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191572785,"filename":"image_09042025_09_38_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/4/9/7cff7d8fe428f7a03ce7743665479f7e.jpg","text":"TemporaryFile(/tmp/multipartBody5872513584053298068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191572785,"filename":"image_09042025_09_38_15_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744146","file1":"1350744143","file0":"1350744138","file4":"1350744156","file5":"1350744159","file3":"1350744150"},"map_files_photo_id_array":[{"photo_id":"1350744159","filename":"file5"},{"photo_id":"1350744146","filename":"file2"},{"photo_id":"1350744156","filename":"file4"},{"photo_id":"1350744143","filename":"file1"},{"photo_id":"1350744138","filename":"file0"},{"photo_id":"1350744150","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350744156":["hashtag1","hashtag2"]},{"1350744159":["hashtag1","hashtag2"]},{"1350744150":["hashtag1","hashtag2"]},{"1350744138":["hashtag1","hashtag2"]},{"1350744146":["hashtag1","hashtag2"]},{"1350744143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350744156, 1350744159, 1350744150, 1350744138, 1350744146, 1350744143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.366939306259155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:39:32.473328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_14_9330.jpg', '/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_25_10355.jpg', '/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_35_10460.jpg', '/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_45_9359.jpg', '/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_55_10401.jpg', '/home/pi/Desktop/images/09042025/09/40/image_09042025_09_40_15_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_14_9330.jpg
/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_25_10355.jpg
/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_35_10460.jpg
/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_45_9359.jpg
/home/pi/Desktop/images/09042025/09/39/image_09042025_09_39_55_10401.jpg
/home/pi/Desktop/images/09042025/09/40/image_09042025_09_40_15_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350744355","1350744358","1350744316","1350744327","1350744312","1350744309"],"photo_ids_order":["1350744309","1350744312","1350744316","1350744327","1350744355","1350744358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2bff51d91052bece5a0a2c30018f8a26.jpg","text":"TemporaryFile(/tmp/multipartBody2282013407668231346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191632937,"filename":"image_09042025_09_39_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/4/9/c1c2ae4eb38e53308ab189065e294900.jpg","text":"TemporaryFile(/tmp/multipartBody7803438111862399912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191632937,"filename":"image_09042025_09_40_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/4/9/c99340466856e0aecbeb29881d8af163.jpg","text":"TemporaryFile(/tmp/multipartBody7547175437337310910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191632937,"filename":"image_09042025_09_39_35_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3cda3e820f6bd9154e65ecbd5850a62.jpg","text":"TemporaryFile(/tmp/multipartBody4168845918107184925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191632937,"filename":"image_09042025_09_39_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/4/9/1ea6c7fe4683944e9c28f8d9b9ecca6a.jpg","text":"TemporaryFile(/tmp/multipartBody2752333218481869813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191632937,"filename":"image_09042025_09_39_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/4/9/3f1e83bbe8423a1ade0685af825e9e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3639298627281175129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191632937,"filename":"image_09042025_09_39_14_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744316","file1":"1350744312","file0":"1350744309","file4":"1350744355","file5":"1350744358","file3":"1350744327"},"map_files_photo_id_array":[{"photo_id":"1350744358","filename":"file5"},{"photo_id":"1350744316","filename":"file2"},{"photo_id":"1350744355","filename":"file4"},{"photo_id":"1350744312","filename":"file1"},{"photo_id":"1350744309","filename":"file0"},{"photo_id":"1350744327","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350744355":["hashtag1","hashtag2"]},{"1350744358":["hashtag1","hashtag2"]},{"1350744316":["hashtag1","hashtag2"]},{"1350744327":["hashtag1","hashtag2"]},{"1350744312":["hashtag1","hashtag2"]},{"1350744309":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350744355, 1350744358, 1350744316, 1350744327, 1350744312, 1350744309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.436071395874023 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:40:32.835319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/40/image_09042025_09_40_25_10451.jpg', '/home/pi/Desktop/images/09042025/09/41/image_09042025_09_41_15_10420.jpg', '/home/pi/Desktop/images/09042025/09/41/image_09042025_09_41_24_9361.jpg', '/home/pi/Desktop/images/09042025/09/41/image_09042025_09_41_35_10343.jpg', '/home/pi/Desktop/images/09042025/09/41/image_09042025_09_41_55_9348.jpg', '/home/pi/Desktop/images/09042025/09/41/image_09042025_09_42_05_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/40/image_09042025_09_40_25_10451.jpg
/home/pi/Desktop/images/09042025/09/41/image_09042025_09_41_15_10420.jpg
/home/pi/Desktop/images/09042025/09/41/image_09042025_09_41_24_9361.jpg
/home/pi/Desktop/images/09042025/09/41/image_09042025_09_41_35_10343.jpg
/home/pi/Desktop/images/09042025/09/41/image_09042025_09_41_55_9348.jpg
/home/pi/Desktop/images/09042025/09/41/image_09042025_09_42_05_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350744418","1350744400","1350744398","1350744449","1350744407","1350744391"],"photo_ids_order":["1350744391","1350744398","1350744400","1350744407","1350744418","1350744449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a1af52757d6860cd5e5bba50614a626.jpg","text":"TemporaryFile(/tmp/multipartBody6082851036247487348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191693297,"filename":"image_09042025_09_41_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/4/9/380da46c55eaf12144441641c3bc6941.jpg","text":"TemporaryFile(/tmp/multipartBody196222066817925911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191693297,"filename":"image_09042025_09_41_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/4/9/ef3a1014d674c116fc20eac03c264673.jpg","text":"TemporaryFile(/tmp/multipartBody3882806947313477415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191693297,"filename":"image_09042025_09_41_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/4/9/133deee296d625de3c3ca1d276388257.jpg","text":"TemporaryFile(/tmp/multipartBody7447771151511900207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191693297,"filename":"image_09042025_09_42_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/53cb41c88860d78be8dc33ccf983ad94.jpg","text":"TemporaryFile(/tmp/multipartBody3501502859306976677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191693297,"filename":"image_09042025_09_41_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/4/9/58b7b7727b3fc0e6dfc4e85abf535826.jpg","text":"TemporaryFile(/tmp/multipartBody680286264992413642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191693297,"filename":"image_09042025_09_40_25_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744400","file1":"1350744398","file0":"1350744391","file4":"1350744418","file5":"1350744449","file3":"1350744407"},"map_files_photo_id_array":[{"photo_id":"1350744449","filename":"file5"},{"photo_id":"1350744400","filename":"file2"},{"photo_id":"1350744418","filename":"file4"},{"photo_id":"1350744398","filename":"file1"},{"photo_id":"1350744391","filename":"file0"},{"photo_id":"1350744407","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350744418":["hashtag1","hashtag2"]},{"1350744400":["hashtag1","hashtag2"]},{"1350744398":["hashtag1","hashtag2"]},{"1350744449":["hashtag1","hashtag2"]},{"1350744407":["hashtag1","hashtag2"]},{"1350744391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350744418, 1350744400, 1350744398, 1350744449, 1350744407, 1350744391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.659077882766724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:41:33.064566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/42/image_09042025_09_42_15_10378.jpg', '/home/pi/Desktop/images/09042025/09/42/image_09042025_09_42_44_9350.jpg', '/home/pi/Desktop/images/09042025/09/43/image_09042025_09_43_25_10362.jpg', '/home/pi/Desktop/images/09042025/09/43/image_09042025_09_43_35_10384.jpg', '/home/pi/Desktop/images/09042025/09/43/image_09042025_09_43_45_9359.jpg', '/home/pi/Desktop/images/09042025/09/43/image_09042025_09_43_55_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/42/image_09042025_09_42_15_10378.jpg
/home/pi/Desktop/images/09042025/09/42/image_09042025_09_42_44_9350.jpg
/home/pi/Desktop/images/09042025/09/43/image_09042025_09_43_25_10362.jpg
/home/pi/Desktop/images/09042025/09/43/image_09042025_09_43_35_10384.jpg
/home/pi/Desktop/images/09042025/09/43/image_09042025_09_43_45_9359.jpg
/home/pi/Desktop/images/09042025/09/43/image_09042025_09_43_55_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350744495","1350744498","1350744494","1350744518","1350744496","1350744500"],"photo_ids_order":["1350744494","1350744495","1350744496","1350744498","1350744500","1350744518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff691b4bf27a1706dc03895348ead3ad.jpg","text":"TemporaryFile(/tmp/multipartBody697347443824365665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191753515,"filename":"image_09042025_09_42_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/4/9/9698c1592839edcdadde879b2c79f6ac.jpg","text":"TemporaryFile(/tmp/multipartBody5856490456646110826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191753515,"filename":"image_09042025_09_43_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea9f3b7564a8cacec69f73c8ce0bbe36.jpg","text":"TemporaryFile(/tmp/multipartBody665627463191046836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191753515,"filename":"image_09042025_09_42_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9dbc0d8d2320eb50e21d2b18e47e58d.jpg","text":"TemporaryFile(/tmp/multipartBody3819588882643245273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191753515,"filename":"image_09042025_09_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/4/9/9bb946d9e539c234a4f06fcb9bad6bfe.jpg","text":"TemporaryFile(/tmp/multipartBody7174780400166133939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191753515,"filename":"image_09042025_09_43_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/4/9/83c82bdb2daa532b6e993715ff10d73f.jpg","text":"TemporaryFile(/tmp/multipartBody320710346077999950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191753515,"filename":"image_09042025_09_43_45_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744496","file1":"1350744495","file0":"1350744494","file4":"1350744500","file5":"1350744518","file3":"1350744498"},"map_files_photo_id_array":[{"photo_id":"1350744518","filename":"file5"},{"photo_id":"1350744496","filename":"file2"},{"photo_id":"1350744500","filename":"file4"},{"photo_id":"1350744495","filename":"file1"},{"photo_id":"1350744494","filename":"file0"},{"photo_id":"1350744498","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350744495":["hashtag1","hashtag2"]},{"1350744498":["hashtag1","hashtag2"]},{"1350744494":["hashtag1","hashtag2"]},{"1350744518":["hashtag1","hashtag2"]},{"1350744496":["hashtag1","hashtag2"]},{"1350744500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350744495, 1350744498, 1350744494, 1350744518, 1350744496, 1350744500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.079459190368652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:42:32.281544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/43/image_09042025_09_44_04_9348.jpg', '/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_15_10349.jpg', '/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_25_10369.jpg', '/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_34_9333.jpg', '/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_45_10344.jpg', '/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/43/image_09042025_09_44_04_9348.jpg
/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_15_10349.jpg
/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_25_10369.jpg
/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_34_9333.jpg
/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_45_10344.jpg
/home/pi/Desktop/images/09042025/09/44/image_09042025_09_44_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350744661","1350744706","1350744576","1350744690","1350744633","1350744605"],"photo_ids_order":["1350744576","1350744605","1350744633","1350744661","1350744690","1350744706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/418e149a6b5533212e7c6e9f84ab8934.jpg","text":"TemporaryFile(/tmp/multipartBody6689632381682511427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191812727,"filename":"image_09042025_09_44_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/4/9/00ec1f15fa3aa5d4a21344c2b0b88ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5264574589750028591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191812727,"filename":"image_09042025_09_44_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/4/9/5bfca0cb8619f3ae2a840933ba85a3f7.jpg","text":"TemporaryFile(/tmp/multipartBody1953711946164437295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191812727,"filename":"image_09042025_09_44_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/4/9/d3f49699329109dc0097436a50aa2877.jpg","text":"TemporaryFile(/tmp/multipartBody7482566460072327978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191812727,"filename":"image_09042025_09_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/4/9/d632a9f3f61f637fe5173f802e11b6be.jpg","text":"TemporaryFile(/tmp/multipartBody7774255400541918455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191812727,"filename":"image_09042025_09_44_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/4/9/e6a6c8c435f54a3f8d67a6849857e45e.jpg","text":"TemporaryFile(/tmp/multipartBody2217132658532697872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191812727,"filename":"image_09042025_09_44_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744633","file1":"1350744605","file0":"1350744576","file4":"1350744690","file5":"1350744706","file3":"1350744661"},"map_files_photo_id_array":[{"photo_id":"1350744706","filename":"file5"},{"photo_id":"1350744633","filename":"file2"},{"photo_id":"1350744690","filename":"file4"},{"photo_id":"1350744605","filename":"file1"},{"photo_id":"1350744576","filename":"file0"},{"photo_id":"1350744661","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350744661":["hashtag1","hashtag2"]},{"1350744706":["hashtag1","hashtag2"]},{"1350744576":["hashtag1","hashtag2"]},{"1350744690":["hashtag1","hashtag2"]},{"1350744633":["hashtag1","hashtag2"]},{"1350744605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350744661, 1350744706, 1350744576, 1350744690, 1350744633, 1350744605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.519878149032593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:43:32.603231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/44/image_09042025_09_45_04_9356.jpg', '/home/pi/Desktop/images/09042025/09/45/image_09042025_09_45_15_10346.jpg', '/home/pi/Desktop/images/09042025/09/45/image_09042025_09_45_25_10368.jpg', '/home/pi/Desktop/images/09042025/09/45/image_09042025_09_45_34_9167.jpg', '/home/pi/Desktop/images/09042025/09/45/image_09042025_09_45_45_10348.jpg', '/home/pi/Desktop/images/09042025/09/45/image_09042025_09_46_05_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/44/image_09042025_09_45_04_9356.jpg
/home/pi/Desktop/images/09042025/09/45/image_09042025_09_45_15_10346.jpg
/home/pi/Desktop/images/09042025/09/45/image_09042025_09_45_25_10368.jpg
/home/pi/Desktop/images/09042025/09/45/image_09042025_09_45_34_9167.jpg
/home/pi/Desktop/images/09042025/09/45/image_09042025_09_45_45_10348.jpg
/home/pi/Desktop/images/09042025/09/45/image_09042025_09_46_05_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350744771","1350744759","1350744744","1350744767","1350744763","1350744757"],"photo_ids_order":["1350744744","1350744757","1350744759","1350744763","1350744767","1350744771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/17ad14995ff9c7e5794fa235ce472bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1715489208546007700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191873053,"filename":"image_09042025_09_46_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/4/9/782741cce3413bc4492ad5884c944963.jpg","text":"TemporaryFile(/tmp/multipartBody824253984142861153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191873053,"filename":"image_09042025_09_45_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/4/9/70a2f3da56bebe37fb28149d9c0a06bd.jpg","text":"TemporaryFile(/tmp/multipartBody6665730726744895773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191873053,"filename":"image_09042025_09_45_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/45ffab3a6dee9529b478bbfcf55633d8.jpg","text":"TemporaryFile(/tmp/multipartBody5903345587135183845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191873053,"filename":"image_09042025_09_45_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a4d26411864ffe76743490fc82a5f34.jpg","text":"TemporaryFile(/tmp/multipartBody8401874621859078146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191873053,"filename":"image_09042025_09_45_34_9167.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f3c0e2de6f9914052a9bc3ac7ef15089.jpg","text":"TemporaryFile(/tmp/multipartBody4760711392638618759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191873053,"filename":"image_09042025_09_45_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744759","file1":"1350744757","file0":"1350744744","file4":"1350744767","file5":"1350744771","file3":"1350744763"},"map_files_photo_id_array":[{"photo_id":"1350744771","filename":"file5"},{"photo_id":"1350744759","filename":"file2"},{"photo_id":"1350744767","filename":"file4"},{"photo_id":"1350744757","filename":"file1"},{"photo_id":"1350744744","filename":"file0"},{"photo_id":"1350744763","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350744771":["hashtag1","hashtag2"]},{"1350744759":["hashtag1","hashtag2"]},{"1350744744":["hashtag1","hashtag2"]},{"1350744767":["hashtag1","hashtag2"]},{"1350744763":["hashtag1","hashtag2"]},{"1350744757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350744771, 1350744759, 1350744744, 1350744767, 1350744763, 1350744757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.315112352371216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:44:32.826484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_15_10336.jpg', '/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_25_10463.jpg', '/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_35_9356.jpg', '/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_45_10433.jpg', '/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_55_9511.jpg', '/home/pi/Desktop/images/09042025/09/46/image_09042025_09_47_05_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_15_10336.jpg
/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_25_10463.jpg
/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_35_9356.jpg
/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_45_10433.jpg
/home/pi/Desktop/images/09042025/09/46/image_09042025_09_46_55_9511.jpg
/home/pi/Desktop/images/09042025/09/46/image_09042025_09_47_05_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":["1350744850","1350744853","1350744847","1350744835","1350744813","1350744854"],"photo_ids_order":["1350744813","1350744835","1350744847","1350744850","1350744853","1350744854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1727f947ebb67199aa87c4c6e86671b1.jpg","text":"TemporaryFile(/tmp/multipartBody161928965500057482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191933344,"filename":"image_09042025_09_46_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/4/9/8423052f67fa9d370016c17cf3404ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2551862984498323928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191933344,"filename":"image_09042025_09_46_55_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4942540db212f72ae019bb08e002b5c4.jpg","text":"TemporaryFile(/tmp/multipartBody2856006837910341474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191933344,"filename":"image_09042025_09_46_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/4/9/f8c59325fa50ff680bdc3c32b4e3ede5.jpg","text":"TemporaryFile(/tmp/multipartBody4245405515420385530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191933344,"filename":"image_09042025_09_46_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/4/9/83fa836ff3fb56602d84ce02fbbea7f8.jpg","text":"TemporaryFile(/tmp/multipartBody7975935202074721010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191933344,"filename":"image_09042025_09_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/4/9/59a3be4b64f6acfe972c1143c6c94865.jpg","text":"TemporaryFile(/tmp/multipartBody1301113745517522037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191933344,"filename":"image_09042025_09_47_05_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350744847","file1":"1350744835","file0":"1350744813","file4":"1350744853","file5":"1350744854","file3":"1350744850"},"map_files_photo_id_array":[{"photo_id":"1350744854","filename":"file5"},{"photo_id":"1350744847","filename":"file2"},{"photo_id":"1350744853","filename":"file4"},{"photo_id":"1350744835","filename":"file1"},{"photo_id":"1350744813","filename":"file0"},{"photo_id":"1350744850","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350744850":["hashtag1","hashtag2"]},{"1350744853":["hashtag1","hashtag2"]},{"1350744847":["hashtag1","hashtag2"]},{"1350744835":["hashtag1","hashtag2"]},{"1350744813":["hashtag1","hashtag2"]},{"1350744854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350744850, 1350744853, 1350744847, 1350744835, 1350744813, 1350744854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17649245262146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:45:33.070757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_14_9345.jpg', '/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_25_10145.jpg', '/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_35_10505.jpg', '/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_44_9360.jpg', '/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_55_10441.jpg', '/home/pi/Desktop/images/09042025/09/47/image_09042025_09_48_05_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_14_9345.jpg
/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_25_10145.jpg
/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_35_10505.jpg
/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_44_9360.jpg
/home/pi/Desktop/images/09042025/09/47/image_09042025_09_47_55_10441.jpg
/home/pi/Desktop/images/09042025/09/47/image_09042025_09_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":["1350745209","1350745200","1350745187","1350745157","1350745177","1350745063"],"photo_ids_order":["1350745063","1350745157","1350745177","1350745187","1350745200","1350745209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de7008d0325a9aac987127fa91edfbf2.jpg","text":"TemporaryFile(/tmp/multipartBody258497157822649529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191993520,"filename":"image_09042025_09_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/4/9/800fe05bd07eecc8392b2faeea521175.jpg","text":"TemporaryFile(/tmp/multipartBody3691700668561723524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191993520,"filename":"image_09042025_09_47_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/4/9/b90c3aec9c94478b1a314f2b5209ee27.jpg","text":"TemporaryFile(/tmp/multipartBody6416592278380265345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191993520,"filename":"image_09042025_09_47_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/4/9/bcf4572116b2105aa6edca05c4c7c294.jpg","text":"TemporaryFile(/tmp/multipartBody1939070777788578439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191993520,"filename":"image_09042025_09_47_25_10145.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1da21a0810ce8eeebe8461308c1ddcb1.jpg","text":"TemporaryFile(/tmp/multipartBody101202308839309700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191993520,"filename":"image_09042025_09_47_35_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5c3ce523e3ac308367c78a12c8904ec.jpg","text":"TemporaryFile(/tmp/multipartBody8644804969998176150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744191993520,"filename":"image_09042025_09_47_14_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350745177","file1":"1350745157","file0":"1350745063","file4":"1350745200","file5":"1350745209","file3":"1350745187"},"map_files_photo_id_array":[{"photo_id":"1350745209","filename":"file5"},{"photo_id":"1350745177","filename":"file2"},{"photo_id":"1350745200","filename":"file4"},{"photo_id":"1350745157","filename":"file1"},{"photo_id":"1350745063","filename":"file0"},{"photo_id":"1350745187","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350745209":["hashtag1","hashtag2"]},{"1350745200":["hashtag1","hashtag2"]},{"1350745187":["hashtag1","hashtag2"]},{"1350745157":["hashtag1","hashtag2"]},{"1350745177":["hashtag1","hashtag2"]},{"1350745063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350745209, 1350745200, 1350745187, 1350745157, 1350745177, 1350745063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13366150856018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:46:32.248734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/48/image_09042025_09_48_25_10352.jpg', '/home/pi/Desktop/images/09042025/09/48/image_09042025_09_48_35_10428.jpg', '/home/pi/Desktop/images/09042025/09/48/image_09042025_09_48_45_9442.jpg', '/home/pi/Desktop/images/09042025/09/48/image_09042025_09_48_55_10395.jpg', '/home/pi/Desktop/images/09042025/09/48/image_09042025_09_49_05_9362.jpg', '/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/48/image_09042025_09_48_25_10352.jpg
/home/pi/Desktop/images/09042025/09/48/image_09042025_09_48_35_10428.jpg
/home/pi/Desktop/images/09042025/09/48/image_09042025_09_48_45_9442.jpg
/home/pi/Desktop/images/09042025/09/48/image_09042025_09_48_55_10395.jpg
/home/pi/Desktop/images/09042025/09/48/image_09042025_09_49_05_9362.jpg
/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_15_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350745386","1350745371","1350745367","1350745361","1350745439","1350745375"],"photo_ids_order":["1350745361","1350745367","1350745371","1350745375","1350745386","1350745439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba790dfa6a1e74fae49064174a1caf21.jpg","text":"TemporaryFile(/tmp/multipartBody8802558868753326182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192052704,"filename":"image_09042025_09_49_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/4/9/48e3ef26de76d7a46de687746e0cf806.jpg","text":"TemporaryFile(/tmp/multipartBody5133111370416780083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192052704,"filename":"image_09042025_09_48_45_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36623f4e5be6704b4de1b6360d339d59.jpg","text":"TemporaryFile(/tmp/multipartBody6909384762985068103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192052704,"filename":"image_09042025_09_48_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/4/9/16b3888a230a1b12d6cdf7c2a3276aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4319326522571735076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192052704,"filename":"image_09042025_09_48_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/4/9/270060326d3f03cc6203db19e1bf5d73.jpg","text":"TemporaryFile(/tmp/multipartBody709816259526271943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192052704,"filename":"image_09042025_09_49_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/4/9/46a7b9c37a1d6b03134d9c1af9e0dea3.jpg","text":"TemporaryFile(/tmp/multipartBody6043031109491363720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192052704,"filename":"image_09042025_09_48_55_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350745371","file1":"1350745367","file0":"1350745361","file4":"1350745386","file5":"1350745439","file3":"1350745375"},"map_files_photo_id_array":[{"photo_id":"1350745439","filename":"file5"},{"photo_id":"1350745371","filename":"file2"},{"photo_id":"1350745386","filename":"file4"},{"photo_id":"1350745367","filename":"file1"},{"photo_id":"1350745361","filename":"file0"},{"photo_id":"1350745375","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350745386":["hashtag1","hashtag2"]},{"1350745371":["hashtag1","hashtag2"]},{"1350745367":["hashtag1","hashtag2"]},{"1350745361":["hashtag1","hashtag2"]},{"1350745439":["hashtag1","hashtag2"]},{"1350745375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350745386, 1350745371, 1350745367, 1350745361, 1350745439, 1350745375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.769094467163086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:47:32.379434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_25_10365.jpg', '/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_35_9353.jpg', '/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_45_10402.jpg', '/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_54_9343.jpg', '/home/pi/Desktop/images/09042025/09/49/image_09042025_09_50_05_10347.jpg', '/home/pi/Desktop/images/09042025/09/50/image_09042025_09_50_15_10500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_25_10365.jpg
/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_35_9353.jpg
/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_45_10402.jpg
/home/pi/Desktop/images/09042025/09/49/image_09042025_09_49_54_9343.jpg
/home/pi/Desktop/images/09042025/09/49/image_09042025_09_50_05_10347.jpg
/home/pi/Desktop/images/09042025/09/50/image_09042025_09_50_15_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":["1350745522","1350745593","1350745670","1350745571","1350745642","1350745525"],"photo_ids_order":["1350745522","1350745525","1350745571","1350745593","1350745642","1350745670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2cb83db5d0b5dc02a33ed0f0701cd5a9.jpg","text":"TemporaryFile(/tmp/multipartBody5524826976255718427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192112830,"filename":"image_09042025_09_49_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2fbecc18039fde1552a062d973e34564.jpg","text":"TemporaryFile(/tmp/multipartBody4803081641528883180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192112830,"filename":"image_09042025_09_49_54_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/098cafa93179c0e3c8477739811563bf.jpg","text":"TemporaryFile(/tmp/multipartBody3634053097280129941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192112830,"filename":"image_09042025_09_50_15_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b9aee07505a3059edf0e8d28c4499bd.jpg","text":"TemporaryFile(/tmp/multipartBody7378976377732128606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192112830,"filename":"image_09042025_09_49_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a72d8a035d4c7aef5f44fcb21af9bd8c.jpg","text":"TemporaryFile(/tmp/multipartBody8013109984950238114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192112830,"filename":"image_09042025_09_50_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/4/9/8947dfbdd44f0f5d784e4af1015a999e.jpg","text":"TemporaryFile(/tmp/multipartBody5709279270494129057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192112830,"filename":"image_09042025_09_49_35_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350745571","file1":"1350745525","file0":"1350745522","file4":"1350745642","file5":"1350745670","file3":"1350745593"},"map_files_photo_id_array":[{"photo_id":"1350745670","filename":"file5"},{"photo_id":"1350745571","filename":"file2"},{"photo_id":"1350745642","filename":"file4"},{"photo_id":"1350745525","filename":"file1"},{"photo_id":"1350745522","filename":"file0"},{"photo_id":"1350745593","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350745522":["hashtag1","hashtag2"]},{"1350745593":["hashtag1","hashtag2"]},{"1350745670":["hashtag1","hashtag2"]},{"1350745571":["hashtag1","hashtag2"]},{"1350745642":["hashtag1","hashtag2"]},{"1350745525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350745522, 1350745593, 1350745670, 1350745571, 1350745642, 1350745525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.56701683998108 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:48:32.594343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/50/image_09042025_09_50_25_9349.jpg', '/home/pi/Desktop/images/09042025/09/50/image_09042025_09_50_35_10366.jpg', '/home/pi/Desktop/images/09042025/09/51/image_09042025_09_51_25_10364.jpg', '/home/pi/Desktop/images/09042025/09/51/image_09042025_09_51_35_10398.jpg', '/home/pi/Desktop/images/09042025/09/51/image_09042025_09_51_45_9353.jpg', '/home/pi/Desktop/images/09042025/09/51/image_09042025_09_51_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/50/image_09042025_09_50_25_9349.jpg
/home/pi/Desktop/images/09042025/09/50/image_09042025_09_50_35_10366.jpg
/home/pi/Desktop/images/09042025/09/51/image_09042025_09_51_25_10364.jpg
/home/pi/Desktop/images/09042025/09/51/image_09042025_09_51_35_10398.jpg
/home/pi/Desktop/images/09042025/09/51/image_09042025_09_51_45_9353.jpg
/home/pi/Desktop/images/09042025/09/51/image_09042025_09_51_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350745828","1350745818","1350745802","1350745786","1350745795","1350745825"],"photo_ids_order":["1350745786","1350745795","1350745802","1350745818","1350745825","1350745828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7bfffee3fa78c6b8e2643dc0862fb081.jpg","text":"TemporaryFile(/tmp/multipartBody6673966859058783043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192173113,"filename":"image_09042025_09_51_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/4/9/3c43959871b277044df097efd98fca8f.jpg","text":"TemporaryFile(/tmp/multipartBody5976109788912037455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192173113,"filename":"image_09042025_09_51_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/4/9/d1085ac79b3e06d0d079c6d3235e3818.jpg","text":"TemporaryFile(/tmp/multipartBody4035549670074606548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192173113,"filename":"image_09042025_09_51_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/4/9/5fd04c5cd3fb9cd38826ab463341dfd3.jpg","text":"TemporaryFile(/tmp/multipartBody4542593074389893785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192173113,"filename":"image_09042025_09_50_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/4/9/50a5909ca2d75a909dec07b198959b61.jpg","text":"TemporaryFile(/tmp/multipartBody544987070685338293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192173113,"filename":"image_09042025_09_50_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed61938a87510eb6575aa1324f14961b.jpg","text":"TemporaryFile(/tmp/multipartBody8763600341055707401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192173113,"filename":"image_09042025_09_51_45_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350745802","file1":"1350745795","file0":"1350745786","file4":"1350745825","file5":"1350745828","file3":"1350745818"},"map_files_photo_id_array":[{"photo_id":"1350745828","filename":"file5"},{"photo_id":"1350745802","filename":"file2"},{"photo_id":"1350745825","filename":"file4"},{"photo_id":"1350745795","filename":"file1"},{"photo_id":"1350745786","filename":"file0"},{"photo_id":"1350745818","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350745828":["hashtag1","hashtag2"]},{"1350745818":["hashtag1","hashtag2"]},{"1350745802":["hashtag1","hashtag2"]},{"1350745786":["hashtag1","hashtag2"]},{"1350745795":["hashtag1","hashtag2"]},{"1350745825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350745828, 1350745818, 1350745802, 1350745786, 1350745795, 1350745825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32963752746582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:49:32.710331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/51/image_09042025_09_52_04_9432.jpg', '/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_15_10361.jpg', '/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_25_10366.jpg', '/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_34_9349.jpg', '/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_45_10342.jpg', '/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_55_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/51/image_09042025_09_52_04_9432.jpg
/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_15_10361.jpg
/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_25_10366.jpg
/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_34_9349.jpg
/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_45_10342.jpg
/home/pi/Desktop/images/09042025/09/52/image_09042025_09_52_55_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350745863","1350745887","1350745854","1350745874","1350745859","1350745891"],"photo_ids_order":["1350745854","1350745859","1350745863","1350745874","1350745887","1350745891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03e16ac3c22db51a7d5064d364805552.jpg","text":"TemporaryFile(/tmp/multipartBody5152377702267323385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192233169,"filename":"image_09042025_09_52_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef4153657b965ff7280acdbcac8d3341.jpg","text":"TemporaryFile(/tmp/multipartBody3902667360542564160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192233169,"filename":"image_09042025_09_52_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/4/9/2f672a8e6476e018ef6bd7d0cf115bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4276964439695478592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192233169,"filename":"image_09042025_09_52_04_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ccb87e64e849ce44fe48290a12f8a66e.jpg","text":"TemporaryFile(/tmp/multipartBody5527149741431259747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192233169,"filename":"image_09042025_09_52_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/4/9/a6422daf07fa33dd6bd948ee48a52b23.jpg","text":"TemporaryFile(/tmp/multipartBody2781556622058375606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192233169,"filename":"image_09042025_09_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/4/9/5ca9b10de4b7755489b666eb3ed6ea53.jpg","text":"TemporaryFile(/tmp/multipartBody8618855998159736163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192233169,"filename":"image_09042025_09_52_55_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350745863","file1":"1350745859","file0":"1350745854","file4":"1350745887","file5":"1350745891","file3":"1350745874"},"map_files_photo_id_array":[{"photo_id":"1350745891","filename":"file5"},{"photo_id":"1350745863","filename":"file2"},{"photo_id":"1350745887","filename":"file4"},{"photo_id":"1350745859","filename":"file1"},{"photo_id":"1350745854","filename":"file0"},{"photo_id":"1350745874","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350745863":["hashtag1","hashtag2"]},{"1350745887":["hashtag1","hashtag2"]},{"1350745854":["hashtag1","hashtag2"]},{"1350745874":["hashtag1","hashtag2"]},{"1350745859":["hashtag1","hashtag2"]},{"1350745891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350745863, 1350745887, 1350745854, 1350745874, 1350745859, 1350745891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1815881729126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:50:32.912960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/52/image_09042025_09_53_05_9345.jpg', '/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_15_10342.jpg', '/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_25_10441.jpg', '/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_35_9342.jpg', '/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_45_10412.jpg', '/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_54_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/52/image_09042025_09_53_05_9345.jpg
/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_15_10342.jpg
/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_25_10441.jpg
/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_35_9342.jpg
/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_45_10412.jpg
/home/pi/Desktop/images/09042025/09/53/image_09042025_09_53_54_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":["1350745932","1350745935","1350745915","1350745930","1350745924","1350745918"],"photo_ids_order":["1350745915","1350745918","1350745924","1350745930","1350745932","1350745935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a07bd05af20c934db46d0e9d9c78258e.jpg","text":"TemporaryFile(/tmp/multipartBody8409430111413636045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192293367,"filename":"image_09042025_09_53_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/4/9/1f0edd04fcbad18e4aeeb2cb8b219408.jpg","text":"TemporaryFile(/tmp/multipartBody6667856434730637033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192293367,"filename":"image_09042025_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/4/9/b30e8745575a0002cce8cd337a822d46.jpg","text":"TemporaryFile(/tmp/multipartBody188749645464732475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192293367,"filename":"image_09042025_09_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/4/9/4e6abc1800c9b6e95be6bfe12187e8a1.jpg","text":"TemporaryFile(/tmp/multipartBody5146471787091333142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192293367,"filename":"image_09042025_09_53_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/4/9/32e33b6d10223a673a9ded11f1804854.jpg","text":"TemporaryFile(/tmp/multipartBody901718282580625299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192293367,"filename":"image_09042025_09_53_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/4/9/de307e4259b3afa76caf9990f2f3adca.jpg","text":"TemporaryFile(/tmp/multipartBody7644507634827558707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192293367,"filename":"image_09042025_09_53_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350745924","file1":"1350745918","file0":"1350745915","file4":"1350745932","file5":"1350745935","file3":"1350745930"},"map_files_photo_id_array":[{"photo_id":"1350745935","filename":"file5"},{"photo_id":"1350745924","filename":"file2"},{"photo_id":"1350745932","filename":"file4"},{"photo_id":"1350745918","filename":"file1"},{"photo_id":"1350745915","filename":"file0"},{"photo_id":"1350745930","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350745932":["hashtag1","hashtag2"]},{"1350745935":["hashtag1","hashtag2"]},{"1350745915":["hashtag1","hashtag2"]},{"1350745930":["hashtag1","hashtag2"]},{"1350745924":["hashtag1","hashtag2"]},{"1350745918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350745932, 1350745935, 1350745915, 1350745930, 1350745924, 1350745918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.972965717315674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:51:33.180876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/53/image_09042025_09_54_05_10361.jpg', '/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_15_10482.jpg', '/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_25_9447.jpg', '/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_35_10435.jpg', '/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_45_9365.jpg', '/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/53/image_09042025_09_54_05_10361.jpg
/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_15_10482.jpg
/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_25_9447.jpg
/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_35_10435.jpg
/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_45_9365.jpg
/home/pi/Desktop/images/09042025/09/54/image_09042025_09_54_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350745992","1350745968","1350745990","1350745984","1350745978","1350745987"],"photo_ids_order":["1350745968","1350745978","1350745984","1350745987","1350745990","1350745992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9fb71f4ef833ccdab5a7c88ef8e3194d.jpg","text":"TemporaryFile(/tmp/multipartBody7142047938505572833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192353629,"filename":"image_09042025_09_54_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/4/9/315d878685ab7dd11c84fe4445f37b82.jpg","text":"TemporaryFile(/tmp/multipartBody3201850233581763472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192353629,"filename":"image_09042025_09_54_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/4/9/e998e500bbb0365700c1fca880e7f6b2.jpg","text":"TemporaryFile(/tmp/multipartBody4679958058631052920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192353629,"filename":"image_09042025_09_54_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/4/9/31649c6dd010cf45d9fb11a6202ceccd.jpg","text":"TemporaryFile(/tmp/multipartBody4433696184579024540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192353629,"filename":"image_09042025_09_54_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/4/9/e9e00196ded0bea213fbabbfce204f65.jpg","text":"TemporaryFile(/tmp/multipartBody5473500015942571332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192353629,"filename":"image_09042025_09_54_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/4/9/6c024d4dc1e54606a41b80556cd100e4.jpg","text":"TemporaryFile(/tmp/multipartBody1239715568576616160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192353629,"filename":"image_09042025_09_54_35_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350745984","file1":"1350745978","file0":"1350745968","file4":"1350745990","file5":"1350745992","file3":"1350745987"},"map_files_photo_id_array":[{"photo_id":"1350745992","filename":"file5"},{"photo_id":"1350745984","filename":"file2"},{"photo_id":"1350745990","filename":"file4"},{"photo_id":"1350745978","filename":"file1"},{"photo_id":"1350745968","filename":"file0"},{"photo_id":"1350745987","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350745992":["hashtag1","hashtag2"]},{"1350745968":["hashtag1","hashtag2"]},{"1350745990":["hashtag1","hashtag2"]},{"1350745984":["hashtag1","hashtag2"]},{"1350745978":["hashtag1","hashtag2"]},{"1350745987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350745992, 1350745968, 1350745990, 1350745984, 1350745978, 1350745987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.98564314842224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:52:32.524630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/54/image_09042025_09_55_05_10429.jpg', '/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_15_9348.jpg', '/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_25_10467.jpg', '/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_34_9350.jpg', '/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_45_10355.jpg', '/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_55_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/54/image_09042025_09_55_05_10429.jpg
/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_15_9348.jpg
/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_25_10467.jpg
/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_34_9350.jpg
/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_45_10355.jpg
/home/pi/Desktop/images/09042025/09/55/image_09042025_09_55_55_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":["1350746376","1350746085","1350746427","1350746291","1350746443","1350746188"],"photo_ids_order":["1350746085","1350746188","1350746291","1350746376","1350746427","1350746443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd1644e5ed7fb4fa19c0d447f1258fad.jpg","text":"TemporaryFile(/tmp/multipartBody2430797735503705713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192412992,"filename":"image_09042025_09_55_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/4/9/04543d3cea02e281406c1eb0c4d7eabe.jpg","text":"TemporaryFile(/tmp/multipartBody8042947639697909284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192412992,"filename":"image_09042025_09_55_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/4/9/86a66fd06242864b1c39e8465dc6c951.jpg","text":"TemporaryFile(/tmp/multipartBody8643034296227166188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192412992,"filename":"image_09042025_09_55_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/4/9/456f6135fb72f1c4a5bfd3a19a15a3e6.jpg","text":"TemporaryFile(/tmp/multipartBody3479934380192705691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192412992,"filename":"image_09042025_09_55_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/4/9/48fcdee57c2bb69d05734ffa1255ae91.jpg","text":"TemporaryFile(/tmp/multipartBody3234060608423196218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192412992,"filename":"image_09042025_09_55_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/4/9/0589200cb3f20014252e5ee14023e30c.jpg","text":"TemporaryFile(/tmp/multipartBody6376797922600202776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192412992,"filename":"image_09042025_09_55_15_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350746291","file1":"1350746188","file0":"1350746085","file4":"1350746427","file5":"1350746443","file3":"1350746376"},"map_files_photo_id_array":[{"photo_id":"1350746443","filename":"file5"},{"photo_id":"1350746291","filename":"file2"},{"photo_id":"1350746427","filename":"file4"},{"photo_id":"1350746188","filename":"file1"},{"photo_id":"1350746085","filename":"file0"},{"photo_id":"1350746376","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350746376":["hashtag1","hashtag2"]},{"1350746085":["hashtag1","hashtag2"]},{"1350746427":["hashtag1","hashtag2"]},{"1350746291":["hashtag1","hashtag2"]},{"1350746443":["hashtag1","hashtag2"]},{"1350746188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350746376, 1350746085, 1350746427, 1350746291, 1350746443, 1350746188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.812584400177002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:53:32.673926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/55/image_09042025_09_56_05_9356.jpg', '/home/pi/Desktop/images/09042025/09/56/image_09042025_09_56_15_10443.jpg', '/home/pi/Desktop/images/09042025/09/56/image_09042025_09_56_35_10415.jpg', '/home/pi/Desktop/images/09042025/09/56/image_09042025_09_56_45_10457.jpg', '/home/pi/Desktop/images/09042025/09/56/image_09042025_09_56_55_9453.jpg', '/home/pi/Desktop/images/09042025/09/56/image_09042025_09_57_05_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/55/image_09042025_09_56_05_9356.jpg
/home/pi/Desktop/images/09042025/09/56/image_09042025_09_56_15_10443.jpg
/home/pi/Desktop/images/09042025/09/56/image_09042025_09_56_35_10415.jpg
/home/pi/Desktop/images/09042025/09/56/image_09042025_09_56_45_10457.jpg
/home/pi/Desktop/images/09042025/09/56/image_09042025_09_56_55_9453.jpg
/home/pi/Desktop/images/09042025/09/56/image_09042025_09_57_05_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":["1350746772","1350746766","1350746705","1350746593","1350746769","1350746571"],"photo_ids_order":["1350746571","1350746593","1350746705","1350746766","1350746769","1350746772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/771a6d37912523687469e0c86c6e62c9.jpg","text":"TemporaryFile(/tmp/multipartBody7803359969975785027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192473140,"filename":"image_09042025_09_57_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/4/9/b976638e84af1627fe62589062d6af37.jpg","text":"TemporaryFile(/tmp/multipartBody7419285279992892582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192473140,"filename":"image_09042025_09_56_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/722af40132baf9eb24f27c7a5bb03e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5892113715443905528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192473140,"filename":"image_09042025_09_56_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/4/9/d48de1f7b8a072f09ca7096868394283.jpg","text":"TemporaryFile(/tmp/multipartBody8543783616416272656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192473140,"filename":"image_09042025_09_56_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/4/9/2dcb78995957867c00d8ef150d05776f.jpg","text":"TemporaryFile(/tmp/multipartBody3159651896972700270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192473140,"filename":"image_09042025_09_56_55_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1800ca0c274c925fd9fe8d066187d8ef.jpg","text":"TemporaryFile(/tmp/multipartBody695814447176442686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192473140,"filename":"image_09042025_09_56_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350746705","file1":"1350746593","file0":"1350746571","file4":"1350746769","file5":"1350746772","file3":"1350746766"},"map_files_photo_id_array":[{"photo_id":"1350746772","filename":"file5"},{"photo_id":"1350746705","filename":"file2"},{"photo_id":"1350746769","filename":"file4"},{"photo_id":"1350746593","filename":"file1"},{"photo_id":"1350746571","filename":"file0"},{"photo_id":"1350746766","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350746772":["hashtag1","hashtag2"]},{"1350746766":["hashtag1","hashtag2"]},{"1350746705":["hashtag1","hashtag2"]},{"1350746593":["hashtag1","hashtag2"]},{"1350746769":["hashtag1","hashtag2"]},{"1350746571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350746772, 1350746766, 1350746705, 1350746593, 1350746769, 1350746571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.660710096359253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:54:33.094013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_15_9320.jpg', '/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_25_10366.jpg', '/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_35_10346.jpg', '/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_45_9360.jpg', '/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_55_10421.jpg', '/home/pi/Desktop/images/09042025/09/57/image_09042025_09_58_05_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_15_9320.jpg
/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_25_10366.jpg
/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_35_10346.jpg
/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_45_9360.jpg
/home/pi/Desktop/images/09042025/09/57/image_09042025_09_57_55_10421.jpg
/home/pi/Desktop/images/09042025/09/57/image_09042025_09_58_05_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":["1350746916","1350746930","1350746927","1350746932","1350746920","1350746923"],"photo_ids_order":["1350746916","1350746920","1350746923","1350746927","1350746930","1350746932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c63832694f403c3ba15c9887774e2822.jpg","text":"TemporaryFile(/tmp/multipartBody6018510169740685124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192533545,"filename":"image_09042025_09_57_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/4/9/bf01df139463c6afa2a1e6336af1ef8e.jpg","text":"TemporaryFile(/tmp/multipartBody6218429389562650152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192533545,"filename":"image_09042025_09_57_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/4/9/9420bd4544c4629d1d4de350f522e1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2255835755316945835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192533545,"filename":"image_09042025_09_57_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/293dc5e2eb72b899d74a22abfb33ec70.jpg","text":"TemporaryFile(/tmp/multipartBody2219925953747174529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192533545,"filename":"image_09042025_09_58_05_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ab9ec31cdbbaa4866e7cae7806086f4.jpg","text":"TemporaryFile(/tmp/multipartBody3986722788202656876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192533545,"filename":"image_09042025_09_57_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/4/9/fe63aee0e7b0441c75e1dbbdd93f724e.jpg","text":"TemporaryFile(/tmp/multipartBody826234348305810275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192533545,"filename":"image_09042025_09_57_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350746923","file1":"1350746920","file0":"1350746916","file4":"1350746930","file5":"1350746932","file3":"1350746927"},"map_files_photo_id_array":[{"photo_id":"1350746932","filename":"file5"},{"photo_id":"1350746923","filename":"file2"},{"photo_id":"1350746930","filename":"file4"},{"photo_id":"1350746920","filename":"file1"},{"photo_id":"1350746916","filename":"file0"},{"photo_id":"1350746927","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350746916":["hashtag1","hashtag2"]},{"1350746930":["hashtag1","hashtag2"]},{"1350746927":["hashtag1","hashtag2"]},{"1350746932":["hashtag1","hashtag2"]},{"1350746920":["hashtag1","hashtag2"]},{"1350746923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350746916, 1350746930, 1350746927, 1350746932, 1350746920, 1350746923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21346974372864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:55:32.271928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/58/image_09042025_09_58_25_10387.jpg', '/home/pi/Desktop/images/09042025/09/58/image_09042025_09_58_35_9327.jpg', '/home/pi/Desktop/images/09042025/09/58/image_09042025_09_58_45_10480.jpg', '/home/pi/Desktop/images/09042025/09/58/image_09042025_09_58_54_9363.jpg', '/home/pi/Desktop/images/09042025/09/58/image_09042025_09_59_05_10357.jpg', '/home/pi/Desktop/images/09042025/09/59/image_09042025_09_59_15_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/58/image_09042025_09_58_25_10387.jpg
/home/pi/Desktop/images/09042025/09/58/image_09042025_09_58_35_9327.jpg
/home/pi/Desktop/images/09042025/09/58/image_09042025_09_58_45_10480.jpg
/home/pi/Desktop/images/09042025/09/58/image_09042025_09_58_54_9363.jpg
/home/pi/Desktop/images/09042025/09/58/image_09042025_09_59_05_10357.jpg
/home/pi/Desktop/images/09042025/09/59/image_09042025_09_59_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":["1350746964","1350746957","1350746959","1350746953","1350746961","1350746955"],"photo_ids_order":["1350746953","1350746955","1350746957","1350746959","1350746961","1350746964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1b3b8d01c14f0f5aa437ccc47452bd2.jpg","text":"TemporaryFile(/tmp/multipartBody6915064561010725712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192592745,"filename":"image_09042025_09_59_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/4/9/7ff0744f4b6e0593b6eaf4498a60d68b.jpg","text":"TemporaryFile(/tmp/multipartBody1344780927223091601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192592745,"filename":"image_09042025_09_58_45_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d125e9b88cd4dc1309371abfe60144d5.jpg","text":"TemporaryFile(/tmp/multipartBody8666511585767421330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192592745,"filename":"image_09042025_09_58_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/4/9/32b7394f099847eb52435472edcfe836.jpg","text":"TemporaryFile(/tmp/multipartBody9087169643093164781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192592745,"filename":"image_09042025_09_58_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff1f4e416c8d6da8e4d61e1db545cc3e.jpg","text":"TemporaryFile(/tmp/multipartBody8810643217157083405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192592745,"filename":"image_09042025_09_59_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/4/9/fa27f83bb3bbbd281be5afebaa0b29ca.jpg","text":"TemporaryFile(/tmp/multipartBody111888424442318085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192592745,"filename":"image_09042025_09_58_35_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350746957","file1":"1350746955","file0":"1350746953","file4":"1350746961","file5":"1350746964","file3":"1350746959"},"map_files_photo_id_array":[{"photo_id":"1350746964","filename":"file5"},{"photo_id":"1350746957","filename":"file2"},{"photo_id":"1350746961","filename":"file4"},{"photo_id":"1350746955","filename":"file1"},{"photo_id":"1350746953","filename":"file0"},{"photo_id":"1350746959","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350746964":["hashtag1","hashtag2"]},{"1350746957":["hashtag1","hashtag2"]},{"1350746959":["hashtag1","hashtag2"]},{"1350746953":["hashtag1","hashtag2"]},{"1350746961":["hashtag1","hashtag2"]},{"1350746955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350746964, 1350746957, 1350746959, 1350746953, 1350746961, 1350746955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.275463581085205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:56:32.424817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/09/59/image_09042025_09_59_35_10428.jpg', '/home/pi/Desktop/images/09042025/09/59/image_09042025_09_59_44_9353.jpg', '/home/pi/Desktop/images/09042025/10/01/image_09042025_10_01_15_10077.jpg', '/home/pi/Desktop/images/09042025/10/01/image_09042025_10_01_25_10410.jpg', '/home/pi/Desktop/images/09042025/10/01/image_09042025_10_01_35_10353.jpg', '/home/pi/Desktop/images/09042025/10/01/image_09042025_10_01_55_10496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/09/59/image_09042025_09_59_35_10428.jpg
/home/pi/Desktop/images/09042025/09/59/image_09042025_09_59_44_9353.jpg
/home/pi/Desktop/images/09042025/10/01/image_09042025_10_01_15_10077.jpg
/home/pi/Desktop/images/09042025/10/01/image_09042025_10_01_25_10410.jpg
/home/pi/Desktop/images/09042025/10/01/image_09042025_10_01_35_10353.jpg
/home/pi/Desktop/images/09042025/10/01/image_09042025_10_01_55_10496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350747101","1350747085","1350747058","1350747052","1350747081","1350747069"],"photo_ids_order":["1350747052","1350747058","1350747069","1350747081","1350747085","1350747101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18c92048aa088057cd01414957cb8cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6080109076696444823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192652873,"filename":"image_09042025_10_01_55_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cd35ec5f467fe47711f68efe60d9785.jpg","text":"TemporaryFile(/tmp/multipartBody5379824972468039327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192652873,"filename":"image_09042025_10_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/4/9/eeb60dc60e0f4af52ead55de933fd696.jpg","text":"TemporaryFile(/tmp/multipartBody3157669259289276553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192652873,"filename":"image_09042025_09_59_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/4/9/b0ac10dd88d929ece081957ad97ee3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8041368682418441086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192652873,"filename":"image_09042025_09_59_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/4/9/3b16c6c08df8286be65bcae7543682a9.jpg","text":"TemporaryFile(/tmp/multipartBody1581908071404136567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192652873,"filename":"image_09042025_10_01_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/4/9/f6e306e92ce40ef225731787c93de62f.jpg","text":"TemporaryFile(/tmp/multipartBody5625877716179320879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192652873,"filename":"image_09042025_10_01_15_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350747069","file1":"1350747058","file0":"1350747052","file4":"1350747085","file5":"1350747101","file3":"1350747081"},"map_files_photo_id_array":[{"photo_id":"1350747101","filename":"file5"},{"photo_id":"1350747069","filename":"file2"},{"photo_id":"1350747085","filename":"file4"},{"photo_id":"1350747058","filename":"file1"},{"photo_id":"1350747052","filename":"file0"},{"photo_id":"1350747081","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350747101":["hashtag1","hashtag2"]},{"1350747085":["hashtag1","hashtag2"]},{"1350747058":["hashtag1","hashtag2"]},{"1350747052":["hashtag1","hashtag2"]},{"1350747081":["hashtag1","hashtag2"]},{"1350747069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350747101, 1350747085, 1350747058, 1350747052, 1350747081, 1350747069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.62593173980713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 11:57:32.608052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_15_10434.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_25_10395.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_35_9354.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_45_10353.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_55_9375.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_03_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_15_10434.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_25_10395.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_35_9354.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_45_10353.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_55_9375.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_03_05_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 11:59:03.847841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_15_10434.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_25_10395.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_35_9354.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_45_10353.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_55_9375.jpg', '/home/pi/Desktop/images/09042025/10/02/image_09042025_10_03_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_15_10434.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_25_10395.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_35_9354.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_45_10353.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_02_55_9375.jpg
/home/pi/Desktop/images/09042025/10/02/image_09042025_10_03_05_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350748346","1350748309","1350748204","1350748263","1350748149","1350748091"],"photo_ids_order":["1350748091","1350748149","1350748204","1350748263","1350748309","1350748346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee4d412a1a7ff68a9b3bf7a0dbf822c1.jpg","text":"TemporaryFile(/tmp/multipartBody8733812748617730688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192804463,"filename":"image_09042025_10_03_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/84aa27fedacea0053c7b5355fe94aea5.jpg","text":"TemporaryFile(/tmp/multipartBody5133431634602714787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192804463,"filename":"image_09042025_10_02_55_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1778dfef950406f781b2889368fe177b.jpg","text":"TemporaryFile(/tmp/multipartBody8547055642751594994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192804463,"filename":"image_09042025_10_02_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/4/9/177b1f081f346ed7287ebb46fd9e2c95.jpg","text":"TemporaryFile(/tmp/multipartBody3850004898868088741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192804463,"filename":"image_09042025_10_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/4/9/3ca3fcedf8bbc5fa7521cb821fd6084c.jpg","text":"TemporaryFile(/tmp/multipartBody700250307574694950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192804463,"filename":"image_09042025_10_02_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/4/9/82db40d48f265243b1affc182a56d1bc.jpg","text":"TemporaryFile(/tmp/multipartBody1934360543237421643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192804463,"filename":"image_09042025_10_02_15_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350748204","file1":"1350748149","file0":"1350748091","file4":"1350748309","file5":"1350748346","file3":"1350748263"},"map_files_photo_id_array":[{"photo_id":"1350748346","filename":"file5"},{"photo_id":"1350748204","filename":"file2"},{"photo_id":"1350748309","filename":"file4"},{"photo_id":"1350748149","filename":"file1"},{"photo_id":"1350748091","filename":"file0"},{"photo_id":"1350748263","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350748346":["hashtag1","hashtag2"]},{"1350748309":["hashtag1","hashtag2"]},{"1350748204":["hashtag1","hashtag2"]},{"1350748263":["hashtag1","hashtag2"]},{"1350748149":["hashtag1","hashtag2"]},{"1350748091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350748346, 1350748309, 1350748204, 1350748263, 1350748149, 1350748091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.263789892196655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 11:59:42.436943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_15_10378.jpg', '/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_25_9360.jpg', '/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_35_10425.jpg', '/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_45_10349.jpg', '/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_55_9345.jpg', '/home/pi/Desktop/images/09042025/10/03/image_09042025_10_04_05_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_15_10378.jpg
/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_25_9360.jpg
/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_35_10425.jpg
/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_45_10349.jpg
/home/pi/Desktop/images/09042025/10/03/image_09042025_10_03_55_9345.jpg
/home/pi/Desktop/images/09042025/10/03/image_09042025_10_04_05_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":["1350748544","1350748495","1350748409","1350748516","1350748458","1350748499"],"photo_ids_order":["1350748409","1350748458","1350748495","1350748499","1350748516","1350748544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8aa251ae2ecf43f64a9d964dbc1d19fd.jpg","text":"TemporaryFile(/tmp/multipartBody6193559997356465918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192842891,"filename":"image_09042025_10_04_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/4/9/fd0bf4797d96d084874b6646b7fb5b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1733293903945634553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192842891,"filename":"image_09042025_10_03_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/4/9/b07cf6e6bf4703c8727cbf6c1c721309.jpg","text":"TemporaryFile(/tmp/multipartBody225718544567638938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192842891,"filename":"image_09042025_10_03_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0186364e16a2da640b35d1cef22289a6.jpg","text":"TemporaryFile(/tmp/multipartBody3221948108060124606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192842891,"filename":"image_09042025_10_03_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/4/9/c6a7a4b021ea3af4a272c62c3367d5ab.jpg","text":"TemporaryFile(/tmp/multipartBody4202011914382605357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192842891,"filename":"image_09042025_10_03_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/4/9/1181a4ed80574af1cef504870b22bbc5.jpg","text":"TemporaryFile(/tmp/multipartBody941422041852753786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192842891,"filename":"image_09042025_10_03_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350748495","file1":"1350748458","file0":"1350748409","file4":"1350748516","file5":"1350748544","file3":"1350748499"},"map_files_photo_id_array":[{"photo_id":"1350748544","filename":"file5"},{"photo_id":"1350748495","filename":"file2"},{"photo_id":"1350748516","filename":"file4"},{"photo_id":"1350748458","filename":"file1"},{"photo_id":"1350748409","filename":"file0"},{"photo_id":"1350748499","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350748544":["hashtag1","hashtag2"]},{"1350748495":["hashtag1","hashtag2"]},{"1350748409":["hashtag1","hashtag2"]},{"1350748516":["hashtag1","hashtag2"]},{"1350748458":["hashtag1","hashtag2"]},{"1350748499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350748544, 1350748495, 1350748409, 1350748516, 1350748458, 1350748499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.765968322753906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:00:32.767187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/04/image_09042025_10_04_15_9358.jpg', '/home/pi/Desktop/images/09042025/10/04/image_09042025_10_04_45_9365.jpg', '/home/pi/Desktop/images/09042025/10/05/image_09042025_10_05_15_10351.jpg', '/home/pi/Desktop/images/09042025/10/05/image_09042025_10_05_25_10426.jpg', '/home/pi/Desktop/images/09042025/10/05/image_09042025_10_05_45_10406.jpg', '/home/pi/Desktop/images/09042025/10/05/image_09042025_10_06_05_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/04/image_09042025_10_04_15_9358.jpg
/home/pi/Desktop/images/09042025/10/04/image_09042025_10_04_45_9365.jpg
/home/pi/Desktop/images/09042025/10/05/image_09042025_10_05_15_10351.jpg
/home/pi/Desktop/images/09042025/10/05/image_09042025_10_05_25_10426.jpg
/home/pi/Desktop/images/09042025/10/05/image_09042025_10_05_45_10406.jpg
/home/pi/Desktop/images/09042025/10/05/image_09042025_10_06_05_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350748766","1350749037","1350748983","1350748857","1350748914","1350748790"],"photo_ids_order":["1350748766","1350748790","1350748857","1350748914","1350748983","1350749037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5613ccf0b6c90aec3a3663e40473ad41.jpg","text":"TemporaryFile(/tmp/multipartBody3433226812799211500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192893239,"filename":"image_09042025_10_04_15_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/34492209e36f6aadbcacb7c4703d228e.jpg","text":"TemporaryFile(/tmp/multipartBody7427095331661922560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192893239,"filename":"image_09042025_10_06_05_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9ad5697901c2039b1eff0d4254871278.jpg","text":"TemporaryFile(/tmp/multipartBody7218571490361513781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192893239,"filename":"image_09042025_10_05_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/4/9/27d41d64530ebf4caea9b3d965b47d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3450579791781329056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192893239,"filename":"image_09042025_10_05_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/4/9/67bdebc5eff184e5fc6ae01079dfd148.jpg","text":"TemporaryFile(/tmp/multipartBody8288598388917107851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192893239,"filename":"image_09042025_10_05_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/4/9/09db3f113baa5e5cff807caacc37c03d.jpg","text":"TemporaryFile(/tmp/multipartBody3211402125905406807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192893239,"filename":"image_09042025_10_04_45_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350748857","file1":"1350748790","file0":"1350748766","file4":"1350748983","file5":"1350749037","file3":"1350748914"},"map_files_photo_id_array":[{"photo_id":"1350749037","filename":"file5"},{"photo_id":"1350748857","filename":"file2"},{"photo_id":"1350748983","filename":"file4"},{"photo_id":"1350748790","filename":"file1"},{"photo_id":"1350748766","filename":"file0"},{"photo_id":"1350748914","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350748766":["hashtag1","hashtag2"]},{"1350749037":["hashtag1","hashtag2"]},{"1350748983":["hashtag1","hashtag2"]},{"1350748857":["hashtag1","hashtag2"]},{"1350748914":["hashtag1","hashtag2"]},{"1350748790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350748766, 1350749037, 1350748983, 1350748857, 1350748914, 1350748790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66899657249451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:01:32.899780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/06/image_09042025_10_06_45_9385.jpg', '/home/pi/Desktop/images/09042025/10/06/image_09042025_10_07_06_10409.jpg', '/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_15_9389.jpg', '/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_25_10375.jpg', '/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_35_9346.jpg', '/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_45_10495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/06/image_09042025_10_06_45_9385.jpg
/home/pi/Desktop/images/09042025/10/06/image_09042025_10_07_06_10409.jpg
/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_15_9389.jpg
/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_25_10375.jpg
/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_35_9346.jpg
/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_45_10495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350749458","1350749431","1350749353","1350749475","1350749409","1350749375"],"photo_ids_order":["1350749353","1350749375","1350749409","1350749431","1350749458","1350749475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3a933070deebf3b20dc25442a8db87e.jpg","text":"TemporaryFile(/tmp/multipartBody4462689191008110284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192953357,"filename":"image_09042025_10_07_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/4/9/3576d3e14840bbc2adc9cc26b05d481d.jpg","text":"TemporaryFile(/tmp/multipartBody4413889388256243423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192953357,"filename":"image_09042025_10_07_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/4/9/f590af7bf93bc7317bbd2d3bbc43fc7f.jpg","text":"TemporaryFile(/tmp/multipartBody6316183833818661101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192953357,"filename":"image_09042025_10_06_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/4/9/26d846b0140d8b18dc433e9eea32eaed.jpg","text":"TemporaryFile(/tmp/multipartBody8868627729953618105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192953357,"filename":"image_09042025_10_07_45_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff8ef958fd73371b5c8704891c66887e.jpg","text":"TemporaryFile(/tmp/multipartBody9106023155413836090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192953357,"filename":"image_09042025_10_07_15_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e5c4979739dfe0fac1b6fca04bc09e6.jpg","text":"TemporaryFile(/tmp/multipartBody6393483182331666510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744192953357,"filename":"image_09042025_10_07_06_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350749409","file1":"1350749375","file0":"1350749353","file4":"1350749458","file5":"1350749475","file3":"1350749431"},"map_files_photo_id_array":[{"photo_id":"1350749475","filename":"file5"},{"photo_id":"1350749409","filename":"file2"},{"photo_id":"1350749458","filename":"file4"},{"photo_id":"1350749375","filename":"file1"},{"photo_id":"1350749353","filename":"file0"},{"photo_id":"1350749431","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350749458":["hashtag1","hashtag2"]},{"1350749431":["hashtag1","hashtag2"]},{"1350749353":["hashtag1","hashtag2"]},{"1350749475":["hashtag1","hashtag2"]},{"1350749409":["hashtag1","hashtag2"]},{"1350749375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350749458, 1350749431, 1350749353, 1350749475, 1350749409, 1350749375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65539836883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:02:32.166875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_55_10356.jpg', '/home/pi/Desktop/images/09042025/10/07/image_09042025_10_08_05_9358.jpg', '/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_15_10427.jpg', '/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_25_9349.jpg', '/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_35_10403.jpg', '/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/07/image_09042025_10_07_55_10356.jpg
/home/pi/Desktop/images/09042025/10/07/image_09042025_10_08_05_9358.jpg
/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_15_10427.jpg
/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_25_9349.jpg
/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_35_10403.jpg
/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_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":["1350749998","1350749947","1350749848","1350750206","1350750117","1350750065"],"photo_ids_order":["1350749848","1350749947","1350749998","1350750065","1350750117","1350750206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc3f59f0ad619616485b10cde04621d8.jpg","text":"TemporaryFile(/tmp/multipartBody5958109086853586244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193012675,"filename":"image_09042025_10_08_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/4/9/a9c04296e2ff9576b8d293fb219c1627.jpg","text":"TemporaryFile(/tmp/multipartBody3794772900999667999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193012675,"filename":"image_09042025_10_08_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/304366da3922638b5a62226b53dacc84.jpg","text":"TemporaryFile(/tmp/multipartBody4344719906703337925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193012675,"filename":"image_09042025_10_07_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/4/9/a3538a5341811496bdec0bb26ef61d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4618517916684491747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193012675,"filename":"image_09042025_10_08_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/4/9/155d5bea21b1c21fe5d27e1e52a7f522.jpg","text":"TemporaryFile(/tmp/multipartBody1853695931102292619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193012675,"filename":"image_09042025_10_08_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/4/9/73342386e801010f4606ee419c85e476.jpg","text":"TemporaryFile(/tmp/multipartBody4255857743073579482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193012675,"filename":"image_09042025_10_08_25_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350749998","file1":"1350749947","file0":"1350749848","file4":"1350750117","file5":"1350750206","file3":"1350750065"},"map_files_photo_id_array":[{"photo_id":"1350750206","filename":"file5"},{"photo_id":"1350749998","filename":"file2"},{"photo_id":"1350750117","filename":"file4"},{"photo_id":"1350749947","filename":"file1"},{"photo_id":"1350749848","filename":"file0"},{"photo_id":"1350750065","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350749998":["hashtag1","hashtag2"]},{"1350749947":["hashtag1","hashtag2"]},{"1350749848":["hashtag1","hashtag2"]},{"1350750206":["hashtag1","hashtag2"]},{"1350750117":["hashtag1","hashtag2"]},{"1350750065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350749998, 1350749947, 1350749848, 1350750206, 1350750117, 1350750065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.995856046676636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:03:32.423589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_55_9354.jpg', '/home/pi/Desktop/images/09042025/10/08/image_09042025_10_09_05_10425.jpg', '/home/pi/Desktop/images/09042025/10/09/image_09042025_10_09_16_10346.jpg', '/home/pi/Desktop/images/09042025/10/09/image_09042025_10_09_35_10419.jpg', '/home/pi/Desktop/images/09042025/10/09/image_09042025_10_09_45_9353.jpg', '/home/pi/Desktop/images/09042025/10/09/image_09042025_10_09_55_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/08/image_09042025_10_08_55_9354.jpg
/home/pi/Desktop/images/09042025/10/08/image_09042025_10_09_05_10425.jpg
/home/pi/Desktop/images/09042025/10/09/image_09042025_10_09_16_10346.jpg
/home/pi/Desktop/images/09042025/10/09/image_09042025_10_09_35_10419.jpg
/home/pi/Desktop/images/09042025/10/09/image_09042025_10_09_45_9353.jpg
/home/pi/Desktop/images/09042025/10/09/image_09042025_10_09_55_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350750536","1350750562","1350750616","1350750511","1350750480","1350750591"],"photo_ids_order":["1350750480","1350750511","1350750536","1350750562","1350750591","1350750616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d29453c7ac9efc54a83966f751e44908.jpg","text":"TemporaryFile(/tmp/multipartBody5515030683808023843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193072875,"filename":"image_09042025_10_09_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/4/9/6858f4f78fc8ba4eb56dfa6709961f0a.jpg","text":"TemporaryFile(/tmp/multipartBody8315575796516915283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193072875,"filename":"image_09042025_10_09_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/4/9/26d1dc94e0648d0a05c48aefef38cbde.jpg","text":"TemporaryFile(/tmp/multipartBody658805698616020880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193072875,"filename":"image_09042025_10_09_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44979ec99ac7f2e32db563bd370c9843.jpg","text":"TemporaryFile(/tmp/multipartBody3212458627678087774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193072875,"filename":"image_09042025_10_09_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/4/9/8457065fe96b28e1001305443e2594f7.jpg","text":"TemporaryFile(/tmp/multipartBody8469563513440189050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193072875,"filename":"image_09042025_10_08_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/4/9/18bf590e6b2a2843d927f695bcfd2d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4185208774772956573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193072875,"filename":"image_09042025_10_09_45_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350750536","file1":"1350750511","file0":"1350750480","file4":"1350750591","file5":"1350750616","file3":"1350750562"},"map_files_photo_id_array":[{"photo_id":"1350750616","filename":"file5"},{"photo_id":"1350750536","filename":"file2"},{"photo_id":"1350750591","filename":"file4"},{"photo_id":"1350750511","filename":"file1"},{"photo_id":"1350750480","filename":"file0"},{"photo_id":"1350750562","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350750536":["hashtag1","hashtag2"]},{"1350750562":["hashtag1","hashtag2"]},{"1350750616":["hashtag1","hashtag2"]},{"1350750511":["hashtag1","hashtag2"]},{"1350750480":["hashtag1","hashtag2"]},{"1350750591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350750536, 1350750562, 1350750616, 1350750511, 1350750480, 1350750591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.225820064544678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:04:32.728405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/09/image_09042025_10_10_05_10353.jpg', '/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_25_10350.jpg', '/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_36_10349.jpg', '/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_45_9368.jpg', '/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_25_10358.jpg', '/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_35_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/09/image_09042025_10_10_05_10353.jpg
/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_25_10350.jpg
/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_36_10349.jpg
/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_45_9368.jpg
/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_25_10358.jpg
/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_35_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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754be7f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.70793867111206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:06:53.144411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/09/image_09042025_10_10_05_10353.jpg', '/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_25_10350.jpg', '/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_36_10349.jpg', '/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_45_9368.jpg', '/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_25_10358.jpg', '/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_35_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/09/image_09042025_10_10_05_10353.jpg
/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_25_10350.jpg
/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_36_10349.jpg
/home/pi/Desktop/images/09042025/10/10/image_09042025_10_10_45_9368.jpg
/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_25_10358.jpg
/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_35_9358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350751488","1350751536","1350751443","1350751515","1350751460","1350751529"],"photo_ids_order":["1350751443","1350751460","1350751488","1350751515","1350751529","1350751536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3afcc2793c185f0d2575f0a6ddaaa882.jpg","text":"TemporaryFile(/tmp/multipartBody1488714563564987748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193273606,"filename":"image_09042025_10_10_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/4/9/37041f0c6e3ef727e2768ba0a69febdb.jpg","text":"TemporaryFile(/tmp/multipartBody2437680520689960172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193273606,"filename":"image_09042025_10_11_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/4/9/2adeca1f2a7c1e7233afd70084f18910.jpg","text":"TemporaryFile(/tmp/multipartBody5152245234729678686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193273606,"filename":"image_09042025_10_10_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c82475719b336b35ddb5e0a2bc70f8a8.jpg","text":"TemporaryFile(/tmp/multipartBody2279755089731232347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193273606,"filename":"image_09042025_10_10_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/4/9/65766be615c8393b6774297e39033891.jpg","text":"TemporaryFile(/tmp/multipartBody3819609234809777758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193273606,"filename":"image_09042025_10_10_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/4/9/f7c96d3fcae3dbdf20d8e8c6ec7b79c0.jpg","text":"TemporaryFile(/tmp/multipartBody5569611376519204591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193273606,"filename":"image_09042025_10_11_25_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350751488","file1":"1350751460","file0":"1350751443","file4":"1350751529","file5":"1350751536","file3":"1350751515"},"map_files_photo_id_array":[{"photo_id":"1350751536","filename":"file5"},{"photo_id":"1350751488","filename":"file2"},{"photo_id":"1350751529","filename":"file4"},{"photo_id":"1350751460","filename":"file1"},{"photo_id":"1350751443","filename":"file0"},{"photo_id":"1350751515","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350751488":["hashtag1","hashtag2"]},{"1350751536":["hashtag1","hashtag2"]},{"1350751443":["hashtag1","hashtag2"]},{"1350751515":["hashtag1","hashtag2"]},{"1350751460":["hashtag1","hashtag2"]},{"1350751529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350751488, 1350751536, 1350751443, 1350751515, 1350751460, 1350751529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86926984786987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:07:32.398967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_55_9401.jpg', '/home/pi/Desktop/images/09042025/10/12/image_09042025_10_12_25_9355.jpg', '/home/pi/Desktop/images/09042025/10/13/image_09042025_10_13_36_10368.jpg', '/home/pi/Desktop/images/09042025/10/13/image_09042025_10_13_55_10365.jpg', '/home/pi/Desktop/images/09042025/10/13/image_09042025_10_14_05_9406.jpg', '/home/pi/Desktop/images/09042025/10/14/image_09042025_10_14_15_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/11/image_09042025_10_11_55_9401.jpg
/home/pi/Desktop/images/09042025/10/12/image_09042025_10_12_25_9355.jpg
/home/pi/Desktop/images/09042025/10/13/image_09042025_10_13_36_10368.jpg
/home/pi/Desktop/images/09042025/10/13/image_09042025_10_13_55_10365.jpg
/home/pi/Desktop/images/09042025/10/13/image_09042025_10_14_05_9406.jpg
/home/pi/Desktop/images/09042025/10/14/image_09042025_10_14_15_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350751573","1350751600","1350751566","1350751569","1350751643","1350751637"],"photo_ids_order":["1350751566","1350751569","1350751573","1350751600","1350751637","1350751643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e4abee01d8a1a3dff10244b7c418389.jpg","text":"TemporaryFile(/tmp/multipartBody6246797332261581053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193312857,"filename":"image_09042025_10_13_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/4/9/b50498bba9bfd9f9759fc554aec2b052.jpg","text":"TemporaryFile(/tmp/multipartBody767539635168184070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193312857,"filename":"image_09042025_10_13_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/4/9/37585253ef7110c3dd8daed2db67c6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7814794890477381535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193312857,"filename":"image_09042025_10_11_55_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d464c8f222259eb65d5645ee595ca575.jpg","text":"TemporaryFile(/tmp/multipartBody6672431125715957183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193312857,"filename":"image_09042025_10_12_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/4/9/d7761412a5d2a70a9d5e04e2e9a525e7.jpg","text":"TemporaryFile(/tmp/multipartBody7197844340921940477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193312857,"filename":"image_09042025_10_14_15_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98592b0c36a4a46c41921d52bbac58a8.jpg","text":"TemporaryFile(/tmp/multipartBody3665694496700355954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193312857,"filename":"image_09042025_10_14_05_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350751573","file1":"1350751569","file0":"1350751566","file4":"1350751637","file5":"1350751643","file3":"1350751600"},"map_files_photo_id_array":[{"photo_id":"1350751643","filename":"file5"},{"photo_id":"1350751573","filename":"file2"},{"photo_id":"1350751637","filename":"file4"},{"photo_id":"1350751569","filename":"file1"},{"photo_id":"1350751566","filename":"file0"},{"photo_id":"1350751600","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350751573":["hashtag1","hashtag2"]},{"1350751600":["hashtag1","hashtag2"]},{"1350751566":["hashtag1","hashtag2"]},{"1350751569":["hashtag1","hashtag2"]},{"1350751643":["hashtag1","hashtag2"]},{"1350751637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350751573, 1350751600, 1350751566, 1350751569, 1350751643, 1350751637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.444555044174194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:08:32.669766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/14/image_09042025_10_14_45_10369.jpg', '/home/pi/Desktop/images/09042025/10/14/image_09042025_10_15_05_10395.jpg', '/home/pi/Desktop/images/09042025/10/15/image_09042025_10_15_15_10394.jpg', '/home/pi/Desktop/images/09042025/10/15/image_09042025_10_15_25_9440.jpg', '/home/pi/Desktop/images/09042025/10/15/image_09042025_10_15_35_10401.jpg', '/home/pi/Desktop/images/09042025/10/15/image_09042025_10_15_55_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/14/image_09042025_10_14_45_10369.jpg
/home/pi/Desktop/images/09042025/10/14/image_09042025_10_15_05_10395.jpg
/home/pi/Desktop/images/09042025/10/15/image_09042025_10_15_15_10394.jpg
/home/pi/Desktop/images/09042025/10/15/image_09042025_10_15_25_9440.jpg
/home/pi/Desktop/images/09042025/10/15/image_09042025_10_15_35_10401.jpg
/home/pi/Desktop/images/09042025/10/15/image_09042025_10_15_55_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350751683","1350751702","1350751668","1350751710","1350751706","1350751661"],"photo_ids_order":["1350751661","1350751668","1350751683","1350751702","1350751706","1350751710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d25a7566d54e7dc2982c514d439f4274.jpg","text":"TemporaryFile(/tmp/multipartBody404807035160005253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193373118,"filename":"image_09042025_10_15_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/4/9/13d1feedbe3749616de2f48ae59b3c39.jpg","text":"TemporaryFile(/tmp/multipartBody5495580352472816011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193373118,"filename":"image_09042025_10_15_25_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8635897288d4190c7445e5138047037.jpg","text":"TemporaryFile(/tmp/multipartBody2661159658475712701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193373118,"filename":"image_09042025_10_15_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/4/9/aff007df88d75fe23ed1fe035f849ada.jpg","text":"TemporaryFile(/tmp/multipartBody5553356685578492255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193373118,"filename":"image_09042025_10_15_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/4/9/aca8e9b5d925d6327262171311ad08a6.jpg","text":"TemporaryFile(/tmp/multipartBody1773141589204405704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193373118,"filename":"image_09042025_10_15_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/4/9/b1ef4a3024be7b2bdbd5db6e28694c21.jpg","text":"TemporaryFile(/tmp/multipartBody6723766621081276523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193373118,"filename":"image_09042025_10_14_45_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350751683","file1":"1350751668","file0":"1350751661","file4":"1350751706","file5":"1350751710","file3":"1350751702"},"map_files_photo_id_array":[{"photo_id":"1350751710","filename":"file5"},{"photo_id":"1350751683","filename":"file2"},{"photo_id":"1350751706","filename":"file4"},{"photo_id":"1350751668","filename":"file1"},{"photo_id":"1350751661","filename":"file0"},{"photo_id":"1350751702","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350751683":["hashtag1","hashtag2"]},{"1350751702":["hashtag1","hashtag2"]},{"1350751668":["hashtag1","hashtag2"]},{"1350751710":["hashtag1","hashtag2"]},{"1350751706":["hashtag1","hashtag2"]},{"1350751661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350751683, 1350751702, 1350751668, 1350751710, 1350751706, 1350751661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.643189430236816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:09:32.889345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/15/image_09042025_10_16_05_10380.jpg', '/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_15_9344.jpg', '/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_25_10433.jpg', '/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_35_9347.jpg', '/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_45_10463.jpg', '/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_55_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/15/image_09042025_10_16_05_10380.jpg
/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_15_9344.jpg
/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_25_10433.jpg
/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_35_9347.jpg
/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_45_10463.jpg
/home/pi/Desktop/images/09042025/10/16/image_09042025_10_16_55_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":["1350751891","1350751894","1350751873","1350751833","1350751803","1350751850"],"photo_ids_order":["1350751803","1350751833","1350751850","1350751873","1350751891","1350751894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b0876f93a10528872c952816a43bb4f4.jpg","text":"TemporaryFile(/tmp/multipartBody9032420910563488993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193433341,"filename":"image_09042025_10_16_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/4/9/fb9e77cec50fa84998693da1055b1138.jpg","text":"TemporaryFile(/tmp/multipartBody787144479876908543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193433341,"filename":"image_09042025_10_16_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1338d3f2c3bc3361946aa2c94f3a293e.jpg","text":"TemporaryFile(/tmp/multipartBody1609540458820346995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193433341,"filename":"image_09042025_10_16_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/4/9/f7e6b7288f523a012762e1db7cc01f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3200576568623479023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193433341,"filename":"image_09042025_10_16_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/4/9/11fefd63006d070a8491de3a8116a383.jpg","text":"TemporaryFile(/tmp/multipartBody4951786783722925915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193433341,"filename":"image_09042025_10_16_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f15604f5959d4ae422ad9552e6382fcf.jpg","text":"TemporaryFile(/tmp/multipartBody2691451955607863369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193433341,"filename":"image_09042025_10_16_25_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350751850","file1":"1350751833","file0":"1350751803","file4":"1350751891","file5":"1350751894","file3":"1350751873"},"map_files_photo_id_array":[{"photo_id":"1350751894","filename":"file5"},{"photo_id":"1350751850","filename":"file2"},{"photo_id":"1350751891","filename":"file4"},{"photo_id":"1350751833","filename":"file1"},{"photo_id":"1350751803","filename":"file0"},{"photo_id":"1350751873","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350751891":["hashtag1","hashtag2"]},{"1350751894":["hashtag1","hashtag2"]},{"1350751873":["hashtag1","hashtag2"]},{"1350751833":["hashtag1","hashtag2"]},{"1350751803":["hashtag1","hashtag2"]},{"1350751850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350751891, 1350751894, 1350751873, 1350751833, 1350751803, 1350751850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80877184867859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:10:33.068400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/16/image_09042025_10_17_05_9400.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_15_10367.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_26_10355.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_35_9346.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_45_10356.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_55_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/16/image_09042025_10_17_05_9400.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_15_10367.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_26_10355.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_35_9346.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_45_10356.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_55_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39012932777404785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 12:10:43.102228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/16/image_09042025_10_17_05_9400.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_15_10367.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_26_10355.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_35_9346.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_45_10356.jpg', '/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_55_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/16/image_09042025_10_17_05_9400.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_15_10367.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_26_10355.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_35_9346.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_45_10356.jpg
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_17_55_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":["1350751942","1350751945","1350751955","1350751949","1350752012","1350751952"],"photo_ids_order":["1350751942","1350751945","1350751949","1350751952","1350751955","1350752012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/16bdc61a21a2d92f9ec2ef0ae83bd985.jpg","text":"TemporaryFile(/tmp/multipartBody908356934060666666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193503627,"filename":"image_09042025_10_17_05_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f9a443657c875ae9241a9d51ccb8c7d.jpg","text":"TemporaryFile(/tmp/multipartBody1041423329623240605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193503627,"filename":"image_09042025_10_17_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/4/9/4eb47133943e4e0d50e54cd78f5aeddd.jpg","text":"TemporaryFile(/tmp/multipartBody6475025147805351529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193503627,"filename":"image_09042025_10_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/4/9/7eda186a499f7c4a7606b88649667f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6416450986507588378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193503627,"filename":"image_09042025_10_17_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/4/9/ac86826052a2de8b7118ceffd7a44fc9.jpg","text":"TemporaryFile(/tmp/multipartBody4355443566350367004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193503627,"filename":"image_09042025_10_17_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/4/9/b58fefc47d95ad6384ce7349cf79dabe.jpg","text":"TemporaryFile(/tmp/multipartBody3067029186960155066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193503627,"filename":"image_09042025_10_17_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350751949","file1":"1350751945","file0":"1350751942","file4":"1350751955","file5":"1350752012","file3":"1350751952"},"map_files_photo_id_array":[{"photo_id":"1350752012","filename":"file5"},{"photo_id":"1350751949","filename":"file2"},{"photo_id":"1350751955","filename":"file4"},{"photo_id":"1350751945","filename":"file1"},{"photo_id":"1350751942","filename":"file0"},{"photo_id":"1350751952","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350751942":["hashtag1","hashtag2"]},{"1350751945":["hashtag1","hashtag2"]},{"1350751955":["hashtag1","hashtag2"]},{"1350751949":["hashtag1","hashtag2"]},{"1350752012":["hashtag1","hashtag2"]},{"1350751952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350751942, 1350751945, 1350751955, 1350751949, 1350752012, 1350751952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.18976378440857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:11:32.331309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/17/image_09042025_10_18_05_10357.jpg', '/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_15_10369.jpg', '/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_25_9796.jpg', '/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_35_10377.jpg', '/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_45_9360.jpg', '/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_55_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/17/image_09042025_10_18_05_10357.jpg
/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_15_10369.jpg
/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_25_9796.jpg
/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_35_10377.jpg
/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_45_9360.jpg
/home/pi/Desktop/images/09042025/10/18/image_09042025_10_18_55_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350752212","1350752134","1350752235","1350752223","1350752144","1350752117"],"photo_ids_order":["1350752117","1350752134","1350752144","1350752212","1350752223","1350752235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2fa906647acf2eb028ccb8702c86ff8f.jpg","text":"TemporaryFile(/tmp/multipartBody4898248367428487281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193552786,"filename":"image_09042025_10_18_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/4/9/5d964fccb3079079b86da34e13d16f7f.jpg","text":"TemporaryFile(/tmp/multipartBody4850262680042349274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193552786,"filename":"image_09042025_10_18_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49142e606f31a870f41842aeeec899a9.jpg","text":"TemporaryFile(/tmp/multipartBody3591562976520277431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193552786,"filename":"image_09042025_10_18_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/735f223c54a6ca067f66bafe5458a6aa.jpg","text":"TemporaryFile(/tmp/multipartBody4802478751688190947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193552786,"filename":"image_09042025_10_18_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/4/9/476bfc27e3c032cff26087e2b31c8b93.jpg","text":"TemporaryFile(/tmp/multipartBody1663994728003047548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193552786,"filename":"image_09042025_10_18_25_9796.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2de0e1a5b4e99b5fcbef34ce3ce645e7.jpg","text":"TemporaryFile(/tmp/multipartBody5649222896132410002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193552786,"filename":"image_09042025_10_18_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350752144","file1":"1350752134","file0":"1350752117","file4":"1350752223","file5":"1350752235","file3":"1350752212"},"map_files_photo_id_array":[{"photo_id":"1350752235","filename":"file5"},{"photo_id":"1350752144","filename":"file2"},{"photo_id":"1350752223","filename":"file4"},{"photo_id":"1350752134","filename":"file1"},{"photo_id":"1350752117","filename":"file0"},{"photo_id":"1350752212","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350752212":["hashtag1","hashtag2"]},{"1350752134":["hashtag1","hashtag2"]},{"1350752235":["hashtag1","hashtag2"]},{"1350752223":["hashtag1","hashtag2"]},{"1350752144":["hashtag1","hashtag2"]},{"1350752117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350752212, 1350752134, 1350752235, 1350752223, 1350752144, 1350752117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.36058759689331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:12:32.513860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/18/image_09042025_10_19_05_9342.jpg', '/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_15_10406.jpg', '/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_25_10354.jpg', '/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_35_9357.jpg', '/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_45_10422.jpg', '/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_56_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/18/image_09042025_10_19_05_9342.jpg
/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_15_10406.jpg
/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_25_10354.jpg
/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_35_9357.jpg
/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_45_10422.jpg
/home/pi/Desktop/images/09042025/10/19/image_09042025_10_19_56_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350752460","1350752480","1350752477","1350752485","1350752488","1350752482"],"photo_ids_order":["1350752460","1350752477","1350752480","1350752482","1350752485","1350752488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe82c47abd084f9e8fbaa2eb288b4e25.jpg","text":"TemporaryFile(/tmp/multipartBody3357546859601039838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193612966,"filename":"image_09042025_10_19_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/4/9/052e6a56ffbfa4e6698e4d501e11ff41.jpg","text":"TemporaryFile(/tmp/multipartBody6792602878367580983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193612966,"filename":"image_09042025_10_19_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/4/9/5c666424d2f8808c5fdc4722e4b75098.jpg","text":"TemporaryFile(/tmp/multipartBody3403698574919643024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193612966,"filename":"image_09042025_10_19_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/4/9/8f1b6d338449bbe8d588fb94f07a4c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3477722943594162919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193612966,"filename":"image_09042025_10_19_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b6fa24358b1ba19b9658f38a4a63343.jpg","text":"TemporaryFile(/tmp/multipartBody1210033547957257444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193612966,"filename":"image_09042025_10_19_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/4/9/9408cf213a6b12935d413dea483b7d9b.jpg","text":"TemporaryFile(/tmp/multipartBody505573786620575698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193612966,"filename":"image_09042025_10_19_35_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350752480","file1":"1350752477","file0":"1350752460","file4":"1350752485","file5":"1350752488","file3":"1350752482"},"map_files_photo_id_array":[{"photo_id":"1350752488","filename":"file5"},{"photo_id":"1350752480","filename":"file2"},{"photo_id":"1350752485","filename":"file4"},{"photo_id":"1350752477","filename":"file1"},{"photo_id":"1350752460","filename":"file0"},{"photo_id":"1350752482","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350752460":["hashtag1","hashtag2"]},{"1350752480":["hashtag1","hashtag2"]},{"1350752477":["hashtag1","hashtag2"]},{"1350752485":["hashtag1","hashtag2"]},{"1350752488":["hashtag1","hashtag2"]},{"1350752482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350752460, 1350752480, 1350752477, 1350752485, 1350752488, 1350752482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14128303527832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:13:32.690921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/19/image_09042025_10_20_05_9346.jpg', '/home/pi/Desktop/images/09042025/10/20/image_09042025_10_20_15_10345.jpg', '/home/pi/Desktop/images/09042025/10/20/image_09042025_10_20_25_9355.jpg', '/home/pi/Desktop/images/09042025/10/20/image_09042025_10_20_35_10464.jpg', '/home/pi/Desktop/images/09042025/10/20/image_09042025_10_20_45_10402.jpg', '/home/pi/Desktop/images/09042025/10/20/image_09042025_10_21_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/19/image_09042025_10_20_05_9346.jpg
/home/pi/Desktop/images/09042025/10/20/image_09042025_10_20_15_10345.jpg
/home/pi/Desktop/images/09042025/10/20/image_09042025_10_20_25_9355.jpg
/home/pi/Desktop/images/09042025/10/20/image_09042025_10_20_35_10464.jpg
/home/pi/Desktop/images/09042025/10/20/image_09042025_10_20_45_10402.jpg
/home/pi/Desktop/images/09042025/10/20/image_09042025_10_21_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":["1350752521","1350752524","1350752527","1350752529","1350752517","1350752519"],"photo_ids_order":["1350752517","1350752519","1350752521","1350752524","1350752527","1350752529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b661e329e29afda2299de194217e4930.jpg","text":"TemporaryFile(/tmp/multipartBody8711565774774916486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193673149,"filename":"image_09042025_10_20_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/4/9/c840aed5a33ae410f6ff40227c7c5354.jpg","text":"TemporaryFile(/tmp/multipartBody1189449560787810853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193673149,"filename":"image_09042025_10_20_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/4/9/f4363ff45a8393308abcac295727425b.jpg","text":"TemporaryFile(/tmp/multipartBody5961616604590426878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193673149,"filename":"image_09042025_10_20_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c6edc201ee1a0ca54d7711d2a7663ee.jpg","text":"TemporaryFile(/tmp/multipartBody1147849132453591931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193673149,"filename":"image_09042025_10_21_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/4/9/1af618e3673df6b092825a13ae491288.jpg","text":"TemporaryFile(/tmp/multipartBody6098630635164805516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193673149,"filename":"image_09042025_10_20_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/4/9/fc877769a092e6cbd2c7a9411a0470f6.jpg","text":"TemporaryFile(/tmp/multipartBody7507498208570256069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193673149,"filename":"image_09042025_10_20_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350752521","file1":"1350752519","file0":"1350752517","file4":"1350752527","file5":"1350752529","file3":"1350752524"},"map_files_photo_id_array":[{"photo_id":"1350752529","filename":"file5"},{"photo_id":"1350752521","filename":"file2"},{"photo_id":"1350752527","filename":"file4"},{"photo_id":"1350752519","filename":"file1"},{"photo_id":"1350752517","filename":"file0"},{"photo_id":"1350752524","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350752521":["hashtag1","hashtag2"]},{"1350752524":["hashtag1","hashtag2"]},{"1350752527":["hashtag1","hashtag2"]},{"1350752529":["hashtag1","hashtag2"]},{"1350752517":["hashtag1","hashtag2"]},{"1350752519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350752521, 1350752524, 1350752527, 1350752529, 1350752517, 1350752519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.01909327507019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 12:14:03.483088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/21/image_09042025_10_21_16_10364.jpg', '/home/pi/Desktop/images/09042025/10/21/image_09042025_10_21_25_9368.jpg', '/home/pi/Desktop/images/09042025/10/21/image_09042025_10_21_35_10441.jpg', '/home/pi/Desktop/images/09042025/10/21/image_09042025_10_21_55_10424.jpg', '/home/pi/Desktop/images/09042025/10/21/image_09042025_10_22_06_10347.jpg', '/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_15_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/21/image_09042025_10_21_16_10364.jpg
/home/pi/Desktop/images/09042025/10/21/image_09042025_10_21_25_9368.jpg
/home/pi/Desktop/images/09042025/10/21/image_09042025_10_21_35_10441.jpg
/home/pi/Desktop/images/09042025/10/21/image_09042025_10_21_55_10424.jpg
/home/pi/Desktop/images/09042025/10/21/image_09042025_10_22_06_10347.jpg
/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_15_9366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350752562","1350752544","1350752547","1350752541","1350752535","1350752537"],"photo_ids_order":["1350752535","1350752537","1350752541","1350752544","1350752547","1350752562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed0a3eeab11320a7a456160dbe3d5867.jpg","text":"TemporaryFile(/tmp/multipartBody7923364318844302523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193703987,"filename":"image_09042025_10_22_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/722786cc61d18d77fedd07e884cc4d8c.jpg","text":"TemporaryFile(/tmp/multipartBody6344762490896810309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193703987,"filename":"image_09042025_10_21_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/4/9/dafa1ab1a3e458397a925c475e5ee48b.jpg","text":"TemporaryFile(/tmp/multipartBody3001626669558449950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193703987,"filename":"image_09042025_10_22_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/4/9/3e099ee4db39e2c234089614f1ec77ed.jpg","text":"TemporaryFile(/tmp/multipartBody4136609468296124960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193703987,"filename":"image_09042025_10_21_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/4/9/957f79c0533a4b8dd0876fb29d74be3e.jpg","text":"TemporaryFile(/tmp/multipartBody8713392227431259848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193703987,"filename":"image_09042025_10_21_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e4312b94eb5175fce5b37088f781bdd.jpg","text":"TemporaryFile(/tmp/multipartBody7595733253116257310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193703987,"filename":"image_09042025_10_21_25_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350752541","file1":"1350752537","file0":"1350752535","file4":"1350752547","file5":"1350752562","file3":"1350752544"},"map_files_photo_id_array":[{"photo_id":"1350752562","filename":"file5"},{"photo_id":"1350752541","filename":"file2"},{"photo_id":"1350752547","filename":"file4"},{"photo_id":"1350752537","filename":"file1"},{"photo_id":"1350752535","filename":"file0"},{"photo_id":"1350752544","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350752562":["hashtag1","hashtag2"]},{"1350752544":["hashtag1","hashtag2"]},{"1350752547":["hashtag1","hashtag2"]},{"1350752541":["hashtag1","hashtag2"]},{"1350752535":["hashtag1","hashtag2"]},{"1350752537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350752562, 1350752544, 1350752547, 1350752541, 1350752535, 1350752537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75099754333496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 12:14:42.976572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_25_10436.jpg', '/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_35_9386.jpg', '/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_45_10486.jpg', '/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_55_9369.jpg', '/home/pi/Desktop/images/09042025/10/22/image_09042025_10_23_05_10360.jpg', '/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_15_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_25_10436.jpg
/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_35_9386.jpg
/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_45_10486.jpg
/home/pi/Desktop/images/09042025/10/22/image_09042025_10_22_55_9369.jpg
/home/pi/Desktop/images/09042025/10/22/image_09042025_10_23_05_10360.jpg
/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_15_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":["1350752589","1350752583","1350752592","1350752586","1350752636","1350752612"],"photo_ids_order":["1350752583","1350752586","1350752589","1350752592","1350752612","1350752636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/530b0de12893d2a84cc72370e6f3bcaa.jpg","text":"TemporaryFile(/tmp/multipartBody6331713992692886713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193743440,"filename":"image_09042025_10_22_45_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0827476ed1242b72e30db0ded0cc9e65.jpg","text":"TemporaryFile(/tmp/multipartBody5357854940766970083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193743440,"filename":"image_09042025_10_22_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/4/9/b8a30c1e1d3e66b3f560d2a0dd12cd0c.jpg","text":"TemporaryFile(/tmp/multipartBody6395100611472397959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193743440,"filename":"image_09042025_10_22_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30604be592e151d3ccc7d87f02e6930a.jpg","text":"TemporaryFile(/tmp/multipartBody8430260444119631080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193743440,"filename":"image_09042025_10_22_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/4/9/3efb2d040493c5ceafe49aadd4e0c02a.jpg","text":"TemporaryFile(/tmp/multipartBody1960247972824298744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193743440,"filename":"image_09042025_10_23_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/4/9/a3ce6f8b3e2917fb9292b3816adc08e8.jpg","text":"TemporaryFile(/tmp/multipartBody4766530654480566449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193743440,"filename":"image_09042025_10_23_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350752589","file1":"1350752586","file0":"1350752583","file4":"1350752612","file5":"1350752636","file3":"1350752592"},"map_files_photo_id_array":[{"photo_id":"1350752636","filename":"file5"},{"photo_id":"1350752589","filename":"file2"},{"photo_id":"1350752612","filename":"file4"},{"photo_id":"1350752586","filename":"file1"},{"photo_id":"1350752583","filename":"file0"},{"photo_id":"1350752592","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350752589":["hashtag1","hashtag2"]},{"1350752583":["hashtag1","hashtag2"]},{"1350752592":["hashtag1","hashtag2"]},{"1350752586":["hashtag1","hashtag2"]},{"1350752636":["hashtag1","hashtag2"]},{"1350752612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350752589, 1350752583, 1350752592, 1350752586, 1350752636, 1350752612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.58982563018799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:15:32.187916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_25_9425.jpg', '/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_35_10436.jpg', '/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_46_10360.jpg', '/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_55_9368.jpg', '/home/pi/Desktop/images/09042025/10/23/image_09042025_10_24_05_10418.jpg', '/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_15_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_25_9425.jpg
/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_35_10436.jpg
/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_46_10360.jpg
/home/pi/Desktop/images/09042025/10/23/image_09042025_10_23_55_9368.jpg
/home/pi/Desktop/images/09042025/10/23/image_09042025_10_24_05_10418.jpg
/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_15_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":["1350752737","1350752716","1350752724","1350752718","1350752729","1350752720"],"photo_ids_order":["1350752716","1350752718","1350752720","1350752724","1350752729","1350752737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24c950a4fbe62b724f70503c7a481ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1980293838336274696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193792658,"filename":"image_09042025_10_24_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5498593d29ccf483d01fc80ef3904df.jpg","text":"TemporaryFile(/tmp/multipartBody850358707601639215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193792658,"filename":"image_09042025_10_23_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/4/9/81bc7f56a572bca25ee5aaa86f1abac9.jpg","text":"TemporaryFile(/tmp/multipartBody9040587111161673092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193792658,"filename":"image_09042025_10_23_55_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f72792e1418837e1b5699b48ee84bb23.jpg","text":"TemporaryFile(/tmp/multipartBody7348141630509710648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193792658,"filename":"image_09042025_10_23_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/4/9/1d12b8ea4c6afac7eab6b662cc1cd06f.jpg","text":"TemporaryFile(/tmp/multipartBody2589293640896460723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193792658,"filename":"image_09042025_10_24_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/4/9/15c9a3639b512235218e4a000c3e8478.jpg","text":"TemporaryFile(/tmp/multipartBody6454609353841758872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193792658,"filename":"image_09042025_10_23_46_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350752720","file1":"1350752718","file0":"1350752716","file4":"1350752729","file5":"1350752737","file3":"1350752724"},"map_files_photo_id_array":[{"photo_id":"1350752737","filename":"file5"},{"photo_id":"1350752720","filename":"file2"},{"photo_id":"1350752729","filename":"file4"},{"photo_id":"1350752718","filename":"file1"},{"photo_id":"1350752716","filename":"file0"},{"photo_id":"1350752724","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350752737":["hashtag1","hashtag2"]},{"1350752716":["hashtag1","hashtag2"]},{"1350752724":["hashtag1","hashtag2"]},{"1350752718":["hashtag1","hashtag2"]},{"1350752729":["hashtag1","hashtag2"]},{"1350752720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350752737, 1350752716, 1350752724, 1350752718, 1350752729, 1350752720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55440592765808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:16:32.419314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_25_10470.jpg', '/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_35_9425.jpg', '/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_45_10345.jpg', '/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_55_10363.jpg', '/home/pi/Desktop/images/09042025/10/24/image_09042025_10_25_05_9448.jpg', '/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_15_10496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_25_10470.jpg
/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_35_9425.jpg
/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_45_10345.jpg
/home/pi/Desktop/images/09042025/10/24/image_09042025_10_24_55_10363.jpg
/home/pi/Desktop/images/09042025/10/24/image_09042025_10_25_05_9448.jpg
/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_15_10496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350752908","1350752850","1350752843","1350752846","1350752857","1350752872"],"photo_ids_order":["1350752843","1350752846","1350752850","1350752857","1350752872","1350752908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d61f0570b66526d71991114dd885c15.jpg","text":"TemporaryFile(/tmp/multipartBody1264618881259839218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193852883,"filename":"image_09042025_10_25_15_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/34ce6d68d9174acf334ed2183189d61b.jpg","text":"TemporaryFile(/tmp/multipartBody8392379362332605826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193852883,"filename":"image_09042025_10_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/4/9/fbd91f9c7f02707a502ff8f8c646fb7d.jpg","text":"TemporaryFile(/tmp/multipartBody6714992119863386694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193852883,"filename":"image_09042025_10_24_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/4/9/0c89aaded27041a090321343b5b186e7.jpg","text":"TemporaryFile(/tmp/multipartBody6307333653853184141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193852883,"filename":"image_09042025_10_24_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94d826c475c4d1b461b8f2887e9279fe.jpg","text":"TemporaryFile(/tmp/multipartBody7962173514791725641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193852883,"filename":"image_09042025_10_24_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/4/9/c97fd401b394784589e1e484723c0424.jpg","text":"TemporaryFile(/tmp/multipartBody8480912564677528394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193852883,"filename":"image_09042025_10_25_05_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350752850","file1":"1350752846","file0":"1350752843","file4":"1350752872","file5":"1350752908","file3":"1350752857"},"map_files_photo_id_array":[{"photo_id":"1350752908","filename":"file5"},{"photo_id":"1350752850","filename":"file2"},{"photo_id":"1350752872","filename":"file4"},{"photo_id":"1350752846","filename":"file1"},{"photo_id":"1350752843","filename":"file0"},{"photo_id":"1350752857","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350752908":["hashtag1","hashtag2"]},{"1350752850":["hashtag1","hashtag2"]},{"1350752843":["hashtag1","hashtag2"]},{"1350752846":["hashtag1","hashtag2"]},{"1350752857":["hashtag1","hashtag2"]},{"1350752872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350752908, 1350752850, 1350752843, 1350752846, 1350752857, 1350752872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.356257915496826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:17:32.704170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_25_9349.jpg', '/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_35_10358.jpg', '/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_45_10364.jpg', '/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_55_9351.jpg', '/home/pi/Desktop/images/09042025/10/25/image_09042025_10_26_05_10451.jpg', '/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_15_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_25_9349.jpg
/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_35_10358.jpg
/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_45_10364.jpg
/home/pi/Desktop/images/09042025/10/25/image_09042025_10_25_55_9351.jpg
/home/pi/Desktop/images/09042025/10/25/image_09042025_10_26_05_10451.jpg
/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_15_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":["1350753042","1350753039","1350753027","1350753035","1350753029","1350753031"],"photo_ids_order":["1350753027","1350753029","1350753031","1350753035","1350753039","1350753042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8afc830cb465be8af092f0ba4bc28462.jpg","text":"TemporaryFile(/tmp/multipartBody3061898132561156951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193913161,"filename":"image_09042025_10_26_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/4/9/ccd9a2106e030ddae92f3d300238b73f.jpg","text":"TemporaryFile(/tmp/multipartBody2072619377631839152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193913161,"filename":"image_09042025_10_26_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/4/9/f67d9a5426f0edbe8c3f9be5d8c29731.jpg","text":"TemporaryFile(/tmp/multipartBody3440943227806429117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193913161,"filename":"image_09042025_10_25_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/4/9/7b7b8ca64c3eb758968853604a6f8286.jpg","text":"TemporaryFile(/tmp/multipartBody6678034324668375154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193913161,"filename":"image_09042025_10_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/4/9/9b23d5ecfea2de7364d435192553abe3.jpg","text":"TemporaryFile(/tmp/multipartBody5160805585438480622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193913161,"filename":"image_09042025_10_25_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/4/9/438b28d4074edea8cf62b7898f7096af.jpg","text":"TemporaryFile(/tmp/multipartBody44552718921130823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193913161,"filename":"image_09042025_10_25_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753031","file1":"1350753029","file0":"1350753027","file4":"1350753039","file5":"1350753042","file3":"1350753035"},"map_files_photo_id_array":[{"photo_id":"1350753042","filename":"file5"},{"photo_id":"1350753031","filename":"file2"},{"photo_id":"1350753039","filename":"file4"},{"photo_id":"1350753029","filename":"file1"},{"photo_id":"1350753027","filename":"file0"},{"photo_id":"1350753035","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753042":["hashtag1","hashtag2"]},{"1350753039":["hashtag1","hashtag2"]},{"1350753027":["hashtag1","hashtag2"]},{"1350753035":["hashtag1","hashtag2"]},{"1350753029":["hashtag1","hashtag2"]},{"1350753031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753042, 1350753039, 1350753027, 1350753035, 1350753029, 1350753031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38201975822449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:18:32.926627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_25_9355.jpg', '/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_35_10469.jpg', '/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_45_9375.jpg', '/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_55_10426.jpg', '/home/pi/Desktop/images/09042025/10/26/image_09042025_10_27_05_9453.jpg', '/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_25_9355.jpg
/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_35_10469.jpg
/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_45_9375.jpg
/home/pi/Desktop/images/09042025/10/26/image_09042025_10_26_55_10426.jpg
/home/pi/Desktop/images/09042025/10/26/image_09042025_10_27_05_9453.jpg
/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_15_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350753246","1350753176","1350753098","1350753091","1350753094","1350753238"],"photo_ids_order":["1350753091","1350753094","1350753098","1350753176","1350753238","1350753246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c91baab53ed86885559f725d70e784c.jpg","text":"TemporaryFile(/tmp/multipartBody7435091863683783161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193973398,"filename":"image_09042025_10_27_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/4/9/a9cfdeaee09c3b772627de4e5796d0dd.jpg","text":"TemporaryFile(/tmp/multipartBody6292915781819438535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193973398,"filename":"image_09042025_10_26_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/4/9/5913daa67b9ebb361646e6f656e3f70f.jpg","text":"TemporaryFile(/tmp/multipartBody2575178995433704900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193973398,"filename":"image_09042025_10_26_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/4/9/847d926fdf9b02215bce57600eacfac0.jpg","text":"TemporaryFile(/tmp/multipartBody1636660280463192289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193973398,"filename":"image_09042025_10_26_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/4/9/fd1ed69d87f52645fb6f3919598c87e5.jpg","text":"TemporaryFile(/tmp/multipartBody1166062919835268286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193973398,"filename":"image_09042025_10_26_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/4/9/24595c080a2527deca315d65f008b430.jpg","text":"TemporaryFile(/tmp/multipartBody4264034856738593563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744193973398,"filename":"image_09042025_10_27_05_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753098","file1":"1350753094","file0":"1350753091","file4":"1350753238","file5":"1350753246","file3":"1350753176"},"map_files_photo_id_array":[{"photo_id":"1350753246","filename":"file5"},{"photo_id":"1350753098","filename":"file2"},{"photo_id":"1350753238","filename":"file4"},{"photo_id":"1350753094","filename":"file1"},{"photo_id":"1350753091","filename":"file0"},{"photo_id":"1350753176","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753246":["hashtag1","hashtag2"]},{"1350753176":["hashtag1","hashtag2"]},{"1350753098":["hashtag1","hashtag2"]},{"1350753091":["hashtag1","hashtag2"]},{"1350753094":["hashtag1","hashtag2"]},{"1350753238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753246, 1350753176, 1350753098, 1350753091, 1350753094, 1350753238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.572805404663086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:19:33.058846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_25_10446.jpg', '/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_35_9378.jpg', '/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_45_10458.jpg', '/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_56_10359.jpg', '/home/pi/Desktop/images/09042025/10/27/image_09042025_10_28_05_9356.jpg', '/home/pi/Desktop/images/09042025/10/28/image_09042025_10_28_15_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_25_10446.jpg
/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_35_9378.jpg
/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_45_10458.jpg
/home/pi/Desktop/images/09042025/10/27/image_09042025_10_27_56_10359.jpg
/home/pi/Desktop/images/09042025/10/27/image_09042025_10_28_05_9356.jpg
/home/pi/Desktop/images/09042025/10/28/image_09042025_10_28_15_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":["1350753264","1350753288","1350753272","1350753266","1350753305","1350753302"],"photo_ids_order":["1350753264","1350753266","1350753272","1350753288","1350753302","1350753305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ecb50666049e717177edd8893298f32.jpg","text":"TemporaryFile(/tmp/multipartBody7946468570144180050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194033527,"filename":"image_09042025_10_27_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/4/9/59879cbacff973f3fc11c8909b128c19.jpg","text":"TemporaryFile(/tmp/multipartBody501179667970948002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194033527,"filename":"image_09042025_10_27_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/4/9/e206f6758861b471bbc520edd9cddec8.jpg","text":"TemporaryFile(/tmp/multipartBody8491694502747926503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194033527,"filename":"image_09042025_10_27_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/4/9/822fb658a97232eb58976089207ee741.jpg","text":"TemporaryFile(/tmp/multipartBody5255630091524400911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194033527,"filename":"image_09042025_10_27_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/4/9/116603d97d565fb2835f0e37cc98d3a6.jpg","text":"TemporaryFile(/tmp/multipartBody9064508673474555539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194033527,"filename":"image_09042025_10_28_15_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e89933369550944aa558dafb71f1534.jpg","text":"TemporaryFile(/tmp/multipartBody1705149824485306409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194033527,"filename":"image_09042025_10_28_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753272","file1":"1350753266","file0":"1350753264","file4":"1350753302","file5":"1350753305","file3":"1350753288"},"map_files_photo_id_array":[{"photo_id":"1350753305","filename":"file5"},{"photo_id":"1350753272","filename":"file2"},{"photo_id":"1350753302","filename":"file4"},{"photo_id":"1350753266","filename":"file1"},{"photo_id":"1350753264","filename":"file0"},{"photo_id":"1350753288","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753264":["hashtag1","hashtag2"]},{"1350753288":["hashtag1","hashtag2"]},{"1350753272":["hashtag1","hashtag2"]},{"1350753266":["hashtag1","hashtag2"]},{"1350753305":["hashtag1","hashtag2"]},{"1350753302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753264, 1350753288, 1350753272, 1350753266, 1350753305, 1350753302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.800501108169556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:20:32.219454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/28/image_09042025_10_28_25_9377.jpg', '/home/pi/Desktop/images/09042025/10/28/image_09042025_10_28_35_10424.jpg', '/home/pi/Desktop/images/09042025/10/28/image_09042025_10_28_55_10364.jpg', '/home/pi/Desktop/images/09042025/10/28/image_09042025_10_29_05_10413.jpg', '/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_15_9359.jpg', '/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_25_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/28/image_09042025_10_28_25_9377.jpg
/home/pi/Desktop/images/09042025/10/28/image_09042025_10_28_35_10424.jpg
/home/pi/Desktop/images/09042025/10/28/image_09042025_10_28_55_10364.jpg
/home/pi/Desktop/images/09042025/10/28/image_09042025_10_29_05_10413.jpg
/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_15_9359.jpg
/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_25_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350753330","1350753327","1350753321","1350753324","1350753318","1350753332"],"photo_ids_order":["1350753318","1350753321","1350753324","1350753327","1350753330","1350753332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82e348dc21b678ac3c860f5dcc9ffce6.jpg","text":"TemporaryFile(/tmp/multipartBody558839644223773564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194092746,"filename":"image_09042025_10_29_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4087e1dbd302330601cbbf6b751c93d7.jpg","text":"TemporaryFile(/tmp/multipartBody7823037324531219077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194092746,"filename":"image_09042025_10_29_05_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52b000ce1ab9cc5dd841bd5e0999c29b.jpg","text":"TemporaryFile(/tmp/multipartBody7034208898579587804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194092746,"filename":"image_09042025_10_28_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/4/9/a9e15c1af89842ffdc48376e1bf3be19.jpg","text":"TemporaryFile(/tmp/multipartBody2816864522606161052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194092746,"filename":"image_09042025_10_28_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/4/9/60deef89d2d6610f5dba6a6d69495f98.jpg","text":"TemporaryFile(/tmp/multipartBody579130677738876187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194092746,"filename":"image_09042025_10_28_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/4/9/1d3795c68fb1def802cc9fbfe01e6574.jpg","text":"TemporaryFile(/tmp/multipartBody7843566999065391420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194092746,"filename":"image_09042025_10_29_25_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753324","file1":"1350753321","file0":"1350753318","file4":"1350753330","file5":"1350753332","file3":"1350753327"},"map_files_photo_id_array":[{"photo_id":"1350753332","filename":"file5"},{"photo_id":"1350753324","filename":"file2"},{"photo_id":"1350753330","filename":"file4"},{"photo_id":"1350753321","filename":"file1"},{"photo_id":"1350753318","filename":"file0"},{"photo_id":"1350753327","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753330":["hashtag1","hashtag2"]},{"1350753327":["hashtag1","hashtag2"]},{"1350753321":["hashtag1","hashtag2"]},{"1350753324":["hashtag1","hashtag2"]},{"1350753318":["hashtag1","hashtag2"]},{"1350753332":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753330, 1350753327, 1350753321, 1350753324, 1350753318, 1350753332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84984803199768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:21:32.446589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_35_9415.jpg', '/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_45_10463.jpg', '/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_55_10425.jpg', '/home/pi/Desktop/images/09042025/10/29/image_09042025_10_30_05_9355.jpg', '/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_15_10371.jpg', '/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_25_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_35_9415.jpg
/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_45_10463.jpg
/home/pi/Desktop/images/09042025/10/29/image_09042025_10_29_55_10425.jpg
/home/pi/Desktop/images/09042025/10/29/image_09042025_10_30_05_9355.jpg
/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_15_10371.jpg
/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_25_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":["1350753375","1350753392","1350753386","1350753389","1350753394","1350753382"],"photo_ids_order":["1350753375","1350753382","1350753386","1350753389","1350753392","1350753394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f33309c08fc0b6d240eb67c7551c3ac2.jpg","text":"TemporaryFile(/tmp/multipartBody8922629447621602344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194152911,"filename":"image_09042025_10_29_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9d6776162d20f28204ee93046674d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8706381809220763431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194152911,"filename":"image_09042025_10_30_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/4/9/4336a41fb05889d65cff88582862fdba.jpg","text":"TemporaryFile(/tmp/multipartBody2422568964023776233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194152911,"filename":"image_09042025_10_29_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/4/9/60e823da18eed8b8adc0c7b314d25092.jpg","text":"TemporaryFile(/tmp/multipartBody7762140242467183003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194152911,"filename":"image_09042025_10_30_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf43a8a947512dd60b1a5a3a72c979a2.jpg","text":"TemporaryFile(/tmp/multipartBody5864689199337973270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194152911,"filename":"image_09042025_10_30_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/4/9/3ad8ad518d90aac97104a96fcf0bff78.jpg","text":"TemporaryFile(/tmp/multipartBody4323099241915171430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194152911,"filename":"image_09042025_10_29_45_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753386","file1":"1350753382","file0":"1350753375","file4":"1350753392","file5":"1350753394","file3":"1350753389"},"map_files_photo_id_array":[{"photo_id":"1350753394","filename":"file5"},{"photo_id":"1350753386","filename":"file2"},{"photo_id":"1350753392","filename":"file4"},{"photo_id":"1350753382","filename":"file1"},{"photo_id":"1350753375","filename":"file0"},{"photo_id":"1350753389","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753375":["hashtag1","hashtag2"]},{"1350753392":["hashtag1","hashtag2"]},{"1350753386":["hashtag1","hashtag2"]},{"1350753389":["hashtag1","hashtag2"]},{"1350753394":["hashtag1","hashtag2"]},{"1350753382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753375, 1350753392, 1350753386, 1350753389, 1350753394, 1350753382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.728053092956543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:22:32.704024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_35_10368.jpg', '/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_45_10393.jpg', '/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_55_9355.jpg', '/home/pi/Desktop/images/09042025/10/30/image_09042025_10_31_05_10455.jpg', '/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_15_9420.jpg', '/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_25_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_35_10368.jpg
/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_45_10393.jpg
/home/pi/Desktop/images/09042025/10/30/image_09042025_10_30_55_9355.jpg
/home/pi/Desktop/images/09042025/10/30/image_09042025_10_31_05_10455.jpg
/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_15_9420.jpg
/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_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":["1350753619","1350753639","1350753572","1350753575","1350753565","1350753568"],"photo_ids_order":["1350753565","1350753568","1350753572","1350753575","1350753619","1350753639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67955052687f779e83dc7d737f17e3e4.jpg","text":"TemporaryFile(/tmp/multipartBody8082069006537632299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194213163,"filename":"image_09042025_10_31_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/4/9/574af848839876cbebe68815d2c5fd17.jpg","text":"TemporaryFile(/tmp/multipartBody5289506111613529442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194213163,"filename":"image_09042025_10_31_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/4/9/102a84b538dc0f35a0b8ef075bc6e265.jpg","text":"TemporaryFile(/tmp/multipartBody9043697020268460492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194213163,"filename":"image_09042025_10_30_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/4/9/b2f393982feedad6c1eec36cf8cfd958.jpg","text":"TemporaryFile(/tmp/multipartBody2483062150876691614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194213163,"filename":"image_09042025_10_31_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/4/9/2eae5d9cde2a945f037d2c67149adbe8.jpg","text":"TemporaryFile(/tmp/multipartBody3033104500982122286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194213163,"filename":"image_09042025_10_30_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/4/9/1d750296a3ae89318f0462d2b7850365.jpg","text":"TemporaryFile(/tmp/multipartBody62279579179119577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194213163,"filename":"image_09042025_10_30_45_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753572","file1":"1350753568","file0":"1350753565","file4":"1350753619","file5":"1350753639","file3":"1350753575"},"map_files_photo_id_array":[{"photo_id":"1350753639","filename":"file5"},{"photo_id":"1350753572","filename":"file2"},{"photo_id":"1350753619","filename":"file4"},{"photo_id":"1350753568","filename":"file1"},{"photo_id":"1350753565","filename":"file0"},{"photo_id":"1350753575","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753619":["hashtag1","hashtag2"]},{"1350753639":["hashtag1","hashtag2"]},{"1350753572":["hashtag1","hashtag2"]},{"1350753575":["hashtag1","hashtag2"]},{"1350753565":["hashtag1","hashtag2"]},{"1350753568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753619, 1350753639, 1350753572, 1350753575, 1350753565, 1350753568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.492101430892944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:23:32.908730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_35_10432.jpg', '/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_45_9391.jpg', '/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_55_10379.jpg', '/home/pi/Desktop/images/09042025/10/31/image_09042025_10_32_05_10347.jpg', '/home/pi/Desktop/images/09042025/10/32/image_09042025_10_32_25_10453.jpg', '/home/pi/Desktop/images/09042025/10/32/image_09042025_10_32_35_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_35_10432.jpg
/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_45_9391.jpg
/home/pi/Desktop/images/09042025/10/31/image_09042025_10_31_55_10379.jpg
/home/pi/Desktop/images/09042025/10/31/image_09042025_10_32_05_10347.jpg
/home/pi/Desktop/images/09042025/10/32/image_09042025_10_32_25_10453.jpg
/home/pi/Desktop/images/09042025/10/32/image_09042025_10_32_35_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":["1350753723","1350753702","1350753688","1350753685","1350753730","1350753727"],"photo_ids_order":["1350753685","1350753688","1350753702","1350753723","1350753727","1350753730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5d6825eddfb839bf693d98d28e7a556.jpg","text":"TemporaryFile(/tmp/multipartBody1274550602804001596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194273383,"filename":"image_09042025_10_32_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/4/9/89e95f70c1226cc8391aa0a1daeecc55.jpg","text":"TemporaryFile(/tmp/multipartBody470373819088001715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194273383,"filename":"image_09042025_10_31_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/4/9/05bd3ef61b2b03f411b5b2691b0ffead.jpg","text":"TemporaryFile(/tmp/multipartBody346217221410518216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194273383,"filename":"image_09042025_10_31_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dae15afad74474201101b569bcbca686.jpg","text":"TemporaryFile(/tmp/multipartBody781093387240322795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194273383,"filename":"image_09042025_10_31_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/4/9/dffc4c1bf72175bfbd6519fc3230f104.jpg","text":"TemporaryFile(/tmp/multipartBody4103393184956837730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194273383,"filename":"image_09042025_10_32_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/4/9/45a94626205302880907e897d5e2251a.jpg","text":"TemporaryFile(/tmp/multipartBody9176984195613549025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194273383,"filename":"image_09042025_10_32_25_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753702","file1":"1350753688","file0":"1350753685","file4":"1350753727","file5":"1350753730","file3":"1350753723"},"map_files_photo_id_array":[{"photo_id":"1350753730","filename":"file5"},{"photo_id":"1350753702","filename":"file2"},{"photo_id":"1350753727","filename":"file4"},{"photo_id":"1350753688","filename":"file1"},{"photo_id":"1350753685","filename":"file0"},{"photo_id":"1350753723","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753723":["hashtag1","hashtag2"]},{"1350753702":["hashtag1","hashtag2"]},{"1350753688":["hashtag1","hashtag2"]},{"1350753685":["hashtag1","hashtag2"]},{"1350753730":["hashtag1","hashtag2"]},{"1350753727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753723, 1350753702, 1350753688, 1350753685, 1350753730, 1350753727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17469835281372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:24:33.127899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/32/image_09042025_10_32_45_10483.jpg', '/home/pi/Desktop/images/09042025/10/32/image_09042025_10_32_56_10369.jpg', '/home/pi/Desktop/images/09042025/10/32/image_09042025_10_33_05_9347.jpg', '/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_15_10363.jpg', '/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_25_9407.jpg', '/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_35_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/32/image_09042025_10_32_45_10483.jpg
/home/pi/Desktop/images/09042025/10/32/image_09042025_10_32_56_10369.jpg
/home/pi/Desktop/images/09042025/10/32/image_09042025_10_33_05_9347.jpg
/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_15_10363.jpg
/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_25_9407.jpg
/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_35_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350753770","1350753781","1350753775","1350753778","1350753772","1350753783"],"photo_ids_order":["1350753770","1350753772","1350753775","1350753778","1350753781","1350753783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0058fbd21d785e53e3b6efae5c57bcb5.jpg","text":"TemporaryFile(/tmp/multipartBody3560433306916878647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194333583,"filename":"image_09042025_10_32_45_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a4eea7321107104da7061ca508ebbd7.jpg","text":"TemporaryFile(/tmp/multipartBody3538081362750354765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194333583,"filename":"image_09042025_10_33_25_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ae8303a4067244b7558110b27290ccd.jpg","text":"TemporaryFile(/tmp/multipartBody8653239214745746582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194333583,"filename":"image_09042025_10_33_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/34e2d34ced1948757305d8d0d9cfc6dd.jpg","text":"TemporaryFile(/tmp/multipartBody7235640663838229197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194333583,"filename":"image_09042025_10_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/4/9/bd9941031d2b46e81abc7e0a19e6bea0.jpg","text":"TemporaryFile(/tmp/multipartBody9081800807962072609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194333583,"filename":"image_09042025_10_32_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/4/9/82379fd879decb598ed202474e7f0fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8805963506031924785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194333583,"filename":"image_09042025_10_33_35_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753775","file1":"1350753772","file0":"1350753770","file4":"1350753781","file5":"1350753783","file3":"1350753778"},"map_files_photo_id_array":[{"photo_id":"1350753783","filename":"file5"},{"photo_id":"1350753775","filename":"file2"},{"photo_id":"1350753781","filename":"file4"},{"photo_id":"1350753772","filename":"file1"},{"photo_id":"1350753770","filename":"file0"},{"photo_id":"1350753778","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753770":["hashtag1","hashtag2"]},{"1350753781":["hashtag1","hashtag2"]},{"1350753775":["hashtag1","hashtag2"]},{"1350753778":["hashtag1","hashtag2"]},{"1350753772":["hashtag1","hashtag2"]},{"1350753783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753770, 1350753781, 1350753775, 1350753778, 1350753772, 1350753783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.889885902404785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:25:32.313637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_45_10351.jpg', '/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_55_9353.jpg', '/home/pi/Desktop/images/09042025/10/33/image_09042025_10_34_05_10445.jpg', '/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_15_9340.jpg', '/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_25_10473.jpg', '/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_45_10351.jpg
/home/pi/Desktop/images/09042025/10/33/image_09042025_10_33_55_9353.jpg
/home/pi/Desktop/images/09042025/10/33/image_09042025_10_34_05_10445.jpg
/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_15_9340.jpg
/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_25_10473.jpg
/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_35_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":["1350753909","1350753890","1350753872","1350753877","1350753871","1350753882"],"photo_ids_order":["1350753871","1350753872","1350753877","1350753882","1350753890","1350753909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1f5c7e654c3456f2f42c62e44f4e5c5.jpg","text":"TemporaryFile(/tmp/multipartBody4817517236048950543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194397841,"filename":"image_09042025_10_34_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/4/9/c93325370ccb9651e6c1ac57645450a9.jpg","text":"TemporaryFile(/tmp/multipartBody6537173637590560342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194397841,"filename":"image_09042025_10_34_25_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d247016f6af8946cbe8102aa7e69442e.jpg","text":"TemporaryFile(/tmp/multipartBody1536847623229254543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194397841,"filename":"image_09042025_10_33_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/4/9/6df442f9f224e300cd343e685f2c9b26.jpg","text":"TemporaryFile(/tmp/multipartBody6171673824289559504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194397841,"filename":"image_09042025_10_34_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42530832326622b8de71f058d3f82298.jpg","text":"TemporaryFile(/tmp/multipartBody2895827144245096252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194397841,"filename":"image_09042025_10_33_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/4/9/1cc03c88ea91971d452a85a0f8953603.jpg","text":"TemporaryFile(/tmp/multipartBody7574157224417744119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194397841,"filename":"image_09042025_10_34_15_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753877","file1":"1350753872","file0":"1350753871","file4":"1350753890","file5":"1350753909","file3":"1350753882"},"map_files_photo_id_array":[{"photo_id":"1350753909","filename":"file5"},{"photo_id":"1350753877","filename":"file2"},{"photo_id":"1350753890","filename":"file4"},{"photo_id":"1350753872","filename":"file1"},{"photo_id":"1350753871","filename":"file0"},{"photo_id":"1350753882","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753909":["hashtag1","hashtag2"]},{"1350753890":["hashtag1","hashtag2"]},{"1350753872":["hashtag1","hashtag2"]},{"1350753877":["hashtag1","hashtag2"]},{"1350753871":["hashtag1","hashtag2"]},{"1350753882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753909, 1350753890, 1350753872, 1350753877, 1350753871, 1350753882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96498489379883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:26:32.565546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_45_9427.jpg', '/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_55_10385.jpg', '/home/pi/Desktop/images/09042025/10/34/image_09042025_10_35_05_9440.jpg', '/home/pi/Desktop/images/09042025/10/35/image_09042025_10_35_15_10418.jpg', '/home/pi/Desktop/images/09042025/10/35/image_09042025_10_35_25_10380.jpg', '/home/pi/Desktop/images/09042025/10/35/image_09042025_10_35_35_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_45_9427.jpg
/home/pi/Desktop/images/09042025/10/34/image_09042025_10_34_55_10385.jpg
/home/pi/Desktop/images/09042025/10/34/image_09042025_10_35_05_9440.jpg
/home/pi/Desktop/images/09042025/10/35/image_09042025_10_35_15_10418.jpg
/home/pi/Desktop/images/09042025/10/35/image_09042025_10_35_25_10380.jpg
/home/pi/Desktop/images/09042025/10/35/image_09042025_10_35_35_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":["1350753995","1350753959","1350753935","1350753991","1350753985","1350753946"],"photo_ids_order":["1350753935","1350753946","1350753959","1350753985","1350753991","1350753995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1063478b92493e7fd8f5ae86fd2f9e99.jpg","text":"TemporaryFile(/tmp/multipartBody8930960613047452290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194453032,"filename":"image_09042025_10_35_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/4/9/5dca3e38c9b60b002c2ac2b46a775189.jpg","text":"TemporaryFile(/tmp/multipartBody7379092211723114164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194453032,"filename":"image_09042025_10_35_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/4/9/07ace9cc881ac6860202da9613f32c69.jpg","text":"TemporaryFile(/tmp/multipartBody8930776805294208619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194453032,"filename":"image_09042025_10_34_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/938ac51831bf6b5d32714c885f1e09a3.jpg","text":"TemporaryFile(/tmp/multipartBody4155209291533726323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194453032,"filename":"image_09042025_10_35_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b3769ea02460e2ea4e70317424b64a07.jpg","text":"TemporaryFile(/tmp/multipartBody3104966868121633845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194453032,"filename":"image_09042025_10_35_15_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/486d851838750e97d72b8e3d7a981dee.jpg","text":"TemporaryFile(/tmp/multipartBody9041529698639527125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194453032,"filename":"image_09042025_10_34_55_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350753959","file1":"1350753946","file0":"1350753935","file4":"1350753991","file5":"1350753995","file3":"1350753985"},"map_files_photo_id_array":[{"photo_id":"1350753995","filename":"file5"},{"photo_id":"1350753959","filename":"file2"},{"photo_id":"1350753991","filename":"file4"},{"photo_id":"1350753946","filename":"file1"},{"photo_id":"1350753935","filename":"file0"},{"photo_id":"1350753985","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350753995":["hashtag1","hashtag2"]},{"1350753959":["hashtag1","hashtag2"]},{"1350753935":["hashtag1","hashtag2"]},{"1350753991":["hashtag1","hashtag2"]},{"1350753985":["hashtag1","hashtag2"]},{"1350753946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350753995, 1350753959, 1350753935, 1350753991, 1350753985, 1350753946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32927370071411 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:27:32.748632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/35/image_09042025_10_35_45_10361.jpg', '/home/pi/Desktop/images/09042025/10/35/image_09042025_10_36_05_10401.jpg', '/home/pi/Desktop/images/09042025/10/36/image_09042025_10_36_25_9335.jpg', '/home/pi/Desktop/images/09042025/10/36/image_09042025_10_36_35_10447.jpg', '/home/pi/Desktop/images/09042025/10/36/image_09042025_10_36_46_10369.jpg', '/home/pi/Desktop/images/09042025/10/36/image_09042025_10_36_55_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/35/image_09042025_10_35_45_10361.jpg
/home/pi/Desktop/images/09042025/10/35/image_09042025_10_36_05_10401.jpg
/home/pi/Desktop/images/09042025/10/36/image_09042025_10_36_25_9335.jpg
/home/pi/Desktop/images/09042025/10/36/image_09042025_10_36_35_10447.jpg
/home/pi/Desktop/images/09042025/10/36/image_09042025_10_36_46_10369.jpg
/home/pi/Desktop/images/09042025/10/36/image_09042025_10_36_55_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":["1350754539","1350754699","1350754669","1350754627","1350754507","1350754575"],"photo_ids_order":["1350754507","1350754539","1350754575","1350754627","1350754669","1350754699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8df7e2883b45346757a5e3dc28f337e9.jpg","text":"TemporaryFile(/tmp/multipartBody2738410391123127458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194513206,"filename":"image_09042025_10_36_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/4/9/349b263cdb361566bc40a251316f80d7.jpg","text":"TemporaryFile(/tmp/multipartBody4601528876716107575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194513206,"filename":"image_09042025_10_36_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/45da56883f97434e1bb98d5c96838377.jpg","text":"TemporaryFile(/tmp/multipartBody8724782065595397157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194513206,"filename":"image_09042025_10_36_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/4/9/295e17f17d3888720efe623d958cd3f7.jpg","text":"TemporaryFile(/tmp/multipartBody4498042133350188240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194513206,"filename":"image_09042025_10_36_35_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6bd0c63a78f50ef29a2f540295abcc1c.jpg","text":"TemporaryFile(/tmp/multipartBody6505043412239379920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194513206,"filename":"image_09042025_10_35_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/4/9/c3adf8814e9341bc830da987c5ca119c.jpg","text":"TemporaryFile(/tmp/multipartBody6976198987338936958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194513206,"filename":"image_09042025_10_36_25_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350754575","file1":"1350754539","file0":"1350754507","file4":"1350754669","file5":"1350754699","file3":"1350754627"},"map_files_photo_id_array":[{"photo_id":"1350754699","filename":"file5"},{"photo_id":"1350754575","filename":"file2"},{"photo_id":"1350754669","filename":"file4"},{"photo_id":"1350754539","filename":"file1"},{"photo_id":"1350754507","filename":"file0"},{"photo_id":"1350754627","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350754539":["hashtag1","hashtag2"]},{"1350754699":["hashtag1","hashtag2"]},{"1350754669":["hashtag1","hashtag2"]},{"1350754627":["hashtag1","hashtag2"]},{"1350754507":["hashtag1","hashtag2"]},{"1350754575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350754539, 1350754699, 1350754669, 1350754627, 1350754507, 1350754575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.932173490524292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:28:33.103070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/36/image_09042025_10_37_05_10413.jpg', '/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_15_9345.jpg', '/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_25_10468.jpg', '/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_36_10421.jpg', '/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_45_9349.jpg', '/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_55_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/36/image_09042025_10_37_05_10413.jpg
/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_15_9345.jpg
/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_25_10468.jpg
/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_36_10421.jpg
/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_45_9349.jpg
/home/pi/Desktop/images/09042025/10/37/image_09042025_10_37_55_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":["1350755214","1350755165","1350755144","1350755185","1350755266","1350755241"],"photo_ids_order":["1350755144","1350755165","1350755185","1350755214","1350755241","1350755266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/865fadd27847e9938e1241f40ae03a29.jpg","text":"TemporaryFile(/tmp/multipartBody6721227325594230768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194573574,"filename":"image_09042025_10_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/4/9/404182d615041e71b970c72dbb0fa0e9.jpg","text":"TemporaryFile(/tmp/multipartBody1397798134399582248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194573574,"filename":"image_09042025_10_37_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/4/9/716fc7a54052a1e782f26e27faa6ee71.jpg","text":"TemporaryFile(/tmp/multipartBody1387603395350547944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194573574,"filename":"image_09042025_10_37_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/4/9/dabcaa4368c2fc2c8cc15f778748d34c.jpg","text":"TemporaryFile(/tmp/multipartBody1126580369380426690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194573574,"filename":"image_09042025_10_37_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/4/9/a6b6140f0dddbaaaa7309dd98f180398.jpg","text":"TemporaryFile(/tmp/multipartBody1475219325350197267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194573574,"filename":"image_09042025_10_37_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/4/9/aede4c6fc119abe84f9bf815e1904a9d.jpg","text":"TemporaryFile(/tmp/multipartBody4832368248812714215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194573574,"filename":"image_09042025_10_37_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350755185","file1":"1350755165","file0":"1350755144","file4":"1350755241","file5":"1350755266","file3":"1350755214"},"map_files_photo_id_array":[{"photo_id":"1350755266","filename":"file5"},{"photo_id":"1350755185","filename":"file2"},{"photo_id":"1350755241","filename":"file4"},{"photo_id":"1350755165","filename":"file1"},{"photo_id":"1350755144","filename":"file0"},{"photo_id":"1350755214","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350755214":["hashtag1","hashtag2"]},{"1350755165":["hashtag1","hashtag2"]},{"1350755144":["hashtag1","hashtag2"]},{"1350755185":["hashtag1","hashtag2"]},{"1350755266":["hashtag1","hashtag2"]},{"1350755241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350755214, 1350755165, 1350755144, 1350755185, 1350755266, 1350755241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.48117923736572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:29:32.341357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/37/image_09042025_10_38_05_9357.jpg', '/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_15_10463.jpg', '/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_26_10355.jpg', '/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_35_9350.jpg', '/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_45_10350.jpg', '/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_55_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/37/image_09042025_10_38_05_9357.jpg
/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_15_10463.jpg
/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_26_10355.jpg
/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_35_9350.jpg
/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_45_10350.jpg
/home/pi/Desktop/images/09042025/10/38/image_09042025_10_38_55_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":["1350755381","1350755357","1350755443","1350755407","1350755454","1350755403"],"photo_ids_order":["1350755357","1350755381","1350755403","1350755407","1350755443","1350755454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06afa8b3abbd26122843c78634f62b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7045426538718209934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194632802,"filename":"image_09042025_10_38_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5ea7bc605346f3fc0a5baf1857707a1.jpg","text":"TemporaryFile(/tmp/multipartBody2323810810336796034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194632802,"filename":"image_09042025_10_38_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1657e2343ff123ed81fcb9fe02ebdf3.jpg","text":"TemporaryFile(/tmp/multipartBody3343642113015470456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194632802,"filename":"image_09042025_10_38_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/4/9/7b60f1cb99ab3d1e0ae39aacc12f8730.jpg","text":"TemporaryFile(/tmp/multipartBody117459833748682385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194632802,"filename":"image_09042025_10_38_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/4/9/66c9a686eac67a7fc72eaed16940fbfb.jpg","text":"TemporaryFile(/tmp/multipartBody4419422149131977231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194632802,"filename":"image_09042025_10_38_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/4/9/16e08ba9d20f862633ce27d714b8a19b.jpg","text":"TemporaryFile(/tmp/multipartBody6562997586985758020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194632802,"filename":"image_09042025_10_38_26_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350755403","file1":"1350755381","file0":"1350755357","file4":"1350755443","file5":"1350755454","file3":"1350755407"},"map_files_photo_id_array":[{"photo_id":"1350755454","filename":"file5"},{"photo_id":"1350755403","filename":"file2"},{"photo_id":"1350755443","filename":"file4"},{"photo_id":"1350755381","filename":"file1"},{"photo_id":"1350755357","filename":"file0"},{"photo_id":"1350755407","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350755381":["hashtag1","hashtag2"]},{"1350755357":["hashtag1","hashtag2"]},{"1350755443":["hashtag1","hashtag2"]},{"1350755407":["hashtag1","hashtag2"]},{"1350755454":["hashtag1","hashtag2"]},{"1350755403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350755381, 1350755357, 1350755443, 1350755407, 1350755454, 1350755403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83336591720581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:30:32.527981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/38/image_09042025_10_39_05_10360.jpg', '/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_15_10386.jpg', '/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_25_9398.jpg', '/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_35_10400.jpg', '/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_46_10387.jpg', '/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_55_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/38/image_09042025_10_39_05_10360.jpg
/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_15_10386.jpg
/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_25_9398.jpg
/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_35_10400.jpg
/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_46_10387.jpg
/home/pi/Desktop/images/09042025/10/39/image_09042025_10_39_55_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350755511","1350755495","1350755477","1350755506","1350755481","1350755499"],"photo_ids_order":["1350755477","1350755481","1350755495","1350755499","1350755506","1350755511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23e57769e2baf270bc0492ace73b1937.jpg","text":"TemporaryFile(/tmp/multipartBody6969193539447649226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194692999,"filename":"image_09042025_10_39_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/4/9/d16754d84feba08c1a9f39b99e5b9690.jpg","text":"TemporaryFile(/tmp/multipartBody9079677840014904819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194692999,"filename":"image_09042025_10_39_25_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6aac138c3c8267df916e0cb2c9a10dff.jpg","text":"TemporaryFile(/tmp/multipartBody3027067567350364830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194692999,"filename":"image_09042025_10_39_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/4/9/85f49db5356c91c2c3aa67f1847abadd.jpg","text":"TemporaryFile(/tmp/multipartBody16480053826211358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194692999,"filename":"image_09042025_10_39_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b179cda164ad5f81a274bb774eec66f.jpg","text":"TemporaryFile(/tmp/multipartBody6891194568920949777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194692999,"filename":"image_09042025_10_39_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/4/9/30f5de677c440d70651706429340800d.jpg","text":"TemporaryFile(/tmp/multipartBody1092128943125596305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194692999,"filename":"image_09042025_10_39_35_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350755495","file1":"1350755481","file0":"1350755477","file4":"1350755506","file5":"1350755511","file3":"1350755499"},"map_files_photo_id_array":[{"photo_id":"1350755511","filename":"file5"},{"photo_id":"1350755495","filename":"file2"},{"photo_id":"1350755506","filename":"file4"},{"photo_id":"1350755481","filename":"file1"},{"photo_id":"1350755477","filename":"file0"},{"photo_id":"1350755499","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350755511":["hashtag1","hashtag2"]},{"1350755495":["hashtag1","hashtag2"]},{"1350755477":["hashtag1","hashtag2"]},{"1350755506":["hashtag1","hashtag2"]},{"1350755481":["hashtag1","hashtag2"]},{"1350755499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350755511, 1350755495, 1350755477, 1350755506, 1350755481, 1350755499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46530747413635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:31:32.759852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/39/image_09042025_10_40_05_10377.jpg', '/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_15_9330.jpg', '/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_25_10424.jpg', '/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_35_10398.jpg', '/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_45_9366.jpg', '/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_55_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/39/image_09042025_10_40_05_10377.jpg
/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_15_9330.jpg
/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_25_10424.jpg
/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_35_10398.jpg
/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_45_9366.jpg
/home/pi/Desktop/images/09042025/10/40/image_09042025_10_40_55_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":["1350755588","1350755558","1350755551","1350755560","1350755557","1350755568"],"photo_ids_order":["1350755551","1350755557","1350755558","1350755560","1350755568","1350755588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9b5f71f52435b4d147d47d70eddf15b.jpg","text":"TemporaryFile(/tmp/multipartBody6250828745295982227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194753217,"filename":"image_09042025_10_40_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/601481f055340b4a85c0dcb3f1eea374.jpg","text":"TemporaryFile(/tmp/multipartBody3313613895109421346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194753217,"filename":"image_09042025_10_40_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/4/9/8993269f4bd6ec6925ae24cd54ae150d.jpg","text":"TemporaryFile(/tmp/multipartBody2551942260972642738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194753217,"filename":"image_09042025_10_40_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/4/9/eb96c552bc3b30e8a44474d8b3ced13f.jpg","text":"TemporaryFile(/tmp/multipartBody6813390458777060027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194753217,"filename":"image_09042025_10_40_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/4/9/793a058419ea344b982d34f1b78bfa82.jpg","text":"TemporaryFile(/tmp/multipartBody7479328812825609370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194753217,"filename":"image_09042025_10_40_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/4/9/b3d3b6ce3c9c35dc383ed767ab0a6c88.jpg","text":"TemporaryFile(/tmp/multipartBody8252805906367324403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194753217,"filename":"image_09042025_10_40_45_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350755558","file1":"1350755557","file0":"1350755551","file4":"1350755568","file5":"1350755588","file3":"1350755560"},"map_files_photo_id_array":[{"photo_id":"1350755588","filename":"file5"},{"photo_id":"1350755558","filename":"file2"},{"photo_id":"1350755568","filename":"file4"},{"photo_id":"1350755557","filename":"file1"},{"photo_id":"1350755551","filename":"file0"},{"photo_id":"1350755560","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350755588":["hashtag1","hashtag2"]},{"1350755558":["hashtag1","hashtag2"]},{"1350755551":["hashtag1","hashtag2"]},{"1350755560":["hashtag1","hashtag2"]},{"1350755557":["hashtag1","hashtag2"]},{"1350755568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350755588, 1350755558, 1350755551, 1350755560, 1350755557, 1350755568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.998666763305664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:32:33.159143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/40/image_09042025_10_41_05_9343.jpg', '/home/pi/Desktop/images/09042025/10/41/image_09042025_10_41_25_10369.jpg', '/home/pi/Desktop/images/09042025/10/41/image_09042025_10_41_35_9436.jpg', '/home/pi/Desktop/images/09042025/10/41/image_09042025_10_41_45_10463.jpg', '/home/pi/Desktop/images/09042025/10/41/image_09042025_10_41_55_9385.jpg', '/home/pi/Desktop/images/09042025/10/41/image_09042025_10_42_05_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/40/image_09042025_10_41_05_9343.jpg
/home/pi/Desktop/images/09042025/10/41/image_09042025_10_41_25_10369.jpg
/home/pi/Desktop/images/09042025/10/41/image_09042025_10_41_35_9436.jpg
/home/pi/Desktop/images/09042025/10/41/image_09042025_10_41_45_10463.jpg
/home/pi/Desktop/images/09042025/10/41/image_09042025_10_41_55_9385.jpg
/home/pi/Desktop/images/09042025/10/41/image_09042025_10_42_05_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350755888","1350755756","1350755793","1350755994","1350755853","1350755946"],"photo_ids_order":["1350755756","1350755793","1350755853","1350755888","1350755946","1350755994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bdf9c8ca1659c878e6bdd71c1b436abb.jpg","text":"TemporaryFile(/tmp/multipartBody1896631592013923421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194813683,"filename":"image_09042025_10_41_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/4/9/2151320736192f1aeaf68855a7de9485.jpg","text":"TemporaryFile(/tmp/multipartBody8951031308805874527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194813683,"filename":"image_09042025_10_41_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/4/9/0d18c25ef82f978a050e8cc06ca590e3.jpg","text":"TemporaryFile(/tmp/multipartBody2777916649193465696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194813683,"filename":"image_09042025_10_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/4/9/44eb97e48961a49475244f1a707e916e.jpg","text":"TemporaryFile(/tmp/multipartBody883830184037912535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194813683,"filename":"image_09042025_10_42_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/4/9/d4a25f3466ff0f787d115fa97f91d2c0.jpg","text":"TemporaryFile(/tmp/multipartBody5151395089372501342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194813683,"filename":"image_09042025_10_41_35_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/46b79a81064ba6123d48d446b812a7b9.jpg","text":"TemporaryFile(/tmp/multipartBody767781947045354083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194813683,"filename":"image_09042025_10_41_55_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350755853","file1":"1350755793","file0":"1350755756","file4":"1350755946","file5":"1350755994","file3":"1350755888"},"map_files_photo_id_array":[{"photo_id":"1350755994","filename":"file5"},{"photo_id":"1350755853","filename":"file2"},{"photo_id":"1350755946","filename":"file4"},{"photo_id":"1350755793","filename":"file1"},{"photo_id":"1350755756","filename":"file0"},{"photo_id":"1350755888","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350755888":["hashtag1","hashtag2"]},{"1350755756":["hashtag1","hashtag2"]},{"1350755793":["hashtag1","hashtag2"]},{"1350755994":["hashtag1","hashtag2"]},{"1350755853":["hashtag1","hashtag2"]},{"1350755946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350755888, 1350755756, 1350755793, 1350755994, 1350755853, 1350755946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1252875328064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:33:32.256672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_15_10397.jpg', '/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_25_9365.jpg', '/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_35_10421.jpg', '/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_45_9391.jpg', '/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_55_10370.jpg', '/home/pi/Desktop/images/09042025/10/42/image_09042025_10_43_05_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_15_10397.jpg
/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_25_9365.jpg
/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_35_10421.jpg
/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_45_9391.jpg
/home/pi/Desktop/images/09042025/10/42/image_09042025_10_42_55_10370.jpg
/home/pi/Desktop/images/09042025/10/42/image_09042025_10_43_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":["1350756638","1350756583","1350756571","1350756610","1350756528","1350756476"],"photo_ids_order":["1350756476","1350756528","1350756571","1350756583","1350756610","1350756638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc0faabfe29b278a0923fde2f1023628.jpg","text":"TemporaryFile(/tmp/multipartBody4839245368653889557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194872726,"filename":"image_09042025_10_43_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/4/9/47ece6f85b92e6ac8f5ca98b1a9fff63.jpg","text":"TemporaryFile(/tmp/multipartBody7529280146260709076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194872726,"filename":"image_09042025_10_42_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aac97a805f31fe26782c3fdd043a6bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6352222244825843638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194872726,"filename":"image_09042025_10_42_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/4/9/47637d77909b79ed7fc4d3684dce0558.jpg","text":"TemporaryFile(/tmp/multipartBody7505098271161672826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194872726,"filename":"image_09042025_10_42_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/641ad14fcbe285e935918b5e82e7f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody6141462150940320732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194872726,"filename":"image_09042025_10_42_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/4/9/e621933e45769af4e6a3d3a0a855f250.jpg","text":"TemporaryFile(/tmp/multipartBody1081581418888914478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194872726,"filename":"image_09042025_10_42_15_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350756571","file1":"1350756528","file0":"1350756476","file4":"1350756610","file5":"1350756638","file3":"1350756583"},"map_files_photo_id_array":[{"photo_id":"1350756638","filename":"file5"},{"photo_id":"1350756571","filename":"file2"},{"photo_id":"1350756610","filename":"file4"},{"photo_id":"1350756528","filename":"file1"},{"photo_id":"1350756476","filename":"file0"},{"photo_id":"1350756583","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350756638":["hashtag1","hashtag2"]},{"1350756583":["hashtag1","hashtag2"]},{"1350756571":["hashtag1","hashtag2"]},{"1350756610":["hashtag1","hashtag2"]},{"1350756528":["hashtag1","hashtag2"]},{"1350756476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350756638, 1350756583, 1350756571, 1350756610, 1350756528, 1350756476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04125785827637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:34:32.493513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_15_9375.jpg', '/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_25_10399.jpg', '/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_35_10350.jpg', '/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_45_9366.jpg', '/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_55_10439.jpg', '/home/pi/Desktop/images/09042025/10/43/image_09042025_10_44_05_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_15_9375.jpg
/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_25_10399.jpg
/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_35_10350.jpg
/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_45_9366.jpg
/home/pi/Desktop/images/09042025/10/43/image_09042025_10_43_55_10439.jpg
/home/pi/Desktop/images/09042025/10/43/image_09042025_10_44_05_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":["1350756970","1350756902","1350756862","1350756945","1350756936","1350756890"],"photo_ids_order":["1350756862","1350756890","1350756902","1350756936","1350756945","1350756970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/05258b488fab3b2ee03f8b8f57ea0f6a.jpg","text":"TemporaryFile(/tmp/multipartBody8973636161888511225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194932991,"filename":"image_09042025_10_44_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/4/9/ae1cec4dbddcb15b9fc5406bf9215059.jpg","text":"TemporaryFile(/tmp/multipartBody7455961169430572344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194932991,"filename":"image_09042025_10_43_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26a7fed33a52cdebc55d1b688e73f214.jpg","text":"TemporaryFile(/tmp/multipartBody4056503392550934413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194932991,"filename":"image_09042025_10_43_15_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aca66aa0760dbbddd07a0e5152025e20.jpg","text":"TemporaryFile(/tmp/multipartBody93955184684460191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194932991,"filename":"image_09042025_10_43_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/4/9/2219670169fade6c2dbaf62cb94a16a2.jpg","text":"TemporaryFile(/tmp/multipartBody3055010646133081155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194932991,"filename":"image_09042025_10_43_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/4/9/9ba5de7d9c5573ed9ca449fb8c50cb4f.jpg","text":"TemporaryFile(/tmp/multipartBody8394726878008310910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194932991,"filename":"image_09042025_10_43_25_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350756902","file1":"1350756890","file0":"1350756862","file4":"1350756945","file5":"1350756970","file3":"1350756936"},"map_files_photo_id_array":[{"photo_id":"1350756970","filename":"file5"},{"photo_id":"1350756902","filename":"file2"},{"photo_id":"1350756945","filename":"file4"},{"photo_id":"1350756890","filename":"file1"},{"photo_id":"1350756862","filename":"file0"},{"photo_id":"1350756936","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350756970":["hashtag1","hashtag2"]},{"1350756902":["hashtag1","hashtag2"]},{"1350756862":["hashtag1","hashtag2"]},{"1350756945":["hashtag1","hashtag2"]},{"1350756936":["hashtag1","hashtag2"]},{"1350756890":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350756970, 1350756902, 1350756862, 1350756945, 1350756936, 1350756890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03154253959656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:35:32.710746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_15_10415.jpg', '/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_25_10371.jpg', '/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_35_9449.jpg', '/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_45_10425.jpg', '/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_55_9429.jpg', '/home/pi/Desktop/images/09042025/10/44/image_09042025_10_45_05_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_15_10415.jpg
/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_25_10371.jpg
/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_35_9449.jpg
/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_45_10425.jpg
/home/pi/Desktop/images/09042025/10/44/image_09042025_10_44_55_9429.jpg
/home/pi/Desktop/images/09042025/10/44/image_09042025_10_45_05_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":["1350757284","1350757170","1350757280","1350757196","1350757238","1350757226"],"photo_ids_order":["1350757170","1350757196","1350757226","1350757238","1350757280","1350757284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0c46fed672d525513fad44ab3e571155.jpg","text":"TemporaryFile(/tmp/multipartBody8416249352493774544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194993249,"filename":"image_09042025_10_45_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/4/9/26ae63210204093ea9e2fa22304e4dca.jpg","text":"TemporaryFile(/tmp/multipartBody1154226446380056577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194993249,"filename":"image_09042025_10_44_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f63dfd4665bc02a1b546b5dad94c9c50.jpg","text":"TemporaryFile(/tmp/multipartBody845705494431256371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194993249,"filename":"image_09042025_10_44_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/4/9/6949ba27a0a010faae31c8fc3ebd0710.jpg","text":"TemporaryFile(/tmp/multipartBody4644330617304618057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194993249,"filename":"image_09042025_10_44_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96eb4d537bf549d9752ce6d344822f27.jpg","text":"TemporaryFile(/tmp/multipartBody6960504932972667607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194993249,"filename":"image_09042025_10_44_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/4/9/a2647910fa38b41b97f3384f600963aa.jpg","text":"TemporaryFile(/tmp/multipartBody475136604491181443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744194993249,"filename":"image_09042025_10_44_35_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350757226","file1":"1350757196","file0":"1350757170","file4":"1350757280","file5":"1350757284","file3":"1350757238"},"map_files_photo_id_array":[{"photo_id":"1350757284","filename":"file5"},{"photo_id":"1350757226","filename":"file2"},{"photo_id":"1350757280","filename":"file4"},{"photo_id":"1350757196","filename":"file1"},{"photo_id":"1350757170","filename":"file0"},{"photo_id":"1350757238","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350757284":["hashtag1","hashtag2"]},{"1350757170":["hashtag1","hashtag2"]},{"1350757280":["hashtag1","hashtag2"]},{"1350757196":["hashtag1","hashtag2"]},{"1350757238":["hashtag1","hashtag2"]},{"1350757226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350757284, 1350757170, 1350757280, 1350757196, 1350757238, 1350757226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.947044134140015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:36:33.165788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_16_10369.jpg', '/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_25_9347.jpg', '/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_35_10356.jpg', '/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_45_9411.jpg', '/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_55_10424.jpg', '/home/pi/Desktop/images/09042025/10/45/image_09042025_10_46_05_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_16_10369.jpg
/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_25_9347.jpg
/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_35_10356.jpg
/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_45_9411.jpg
/home/pi/Desktop/images/09042025/10/45/image_09042025_10_45_55_10424.jpg
/home/pi/Desktop/images/09042025/10/45/image_09042025_10_46_05_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350757381","1350757390","1350757389","1350757356","1350757394","1350757379"],"photo_ids_order":["1350757356","1350757379","1350757381","1350757389","1350757390","1350757394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a4059daf5c516673adb216d59b715160.jpg","text":"TemporaryFile(/tmp/multipartBody5374969809731006901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195053628,"filename":"image_09042025_10_45_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23743aa78d1072344ad6f2ed8910f7b9.jpg","text":"TemporaryFile(/tmp/multipartBody4533834616103015029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195053628,"filename":"image_09042025_10_45_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/4/9/e7eaaf497b01a2e8edf65cbab047d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody4115253642790027148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195053628,"filename":"image_09042025_10_45_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/4/9/330072dfd980f15e57c81454e4362594.jpg","text":"TemporaryFile(/tmp/multipartBody776129339237827014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195053628,"filename":"image_09042025_10_45_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/4/9/19a959a1ce16cb88c18cde0c14273545.jpg","text":"TemporaryFile(/tmp/multipartBody4823008539030410995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195053628,"filename":"image_09042025_10_46_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7ef6a2d7692b58d17560f28389d90ac.jpg","text":"TemporaryFile(/tmp/multipartBody5060511573004314011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195053628,"filename":"image_09042025_10_45_25_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350757381","file1":"1350757379","file0":"1350757356","file4":"1350757390","file5":"1350757394","file3":"1350757389"},"map_files_photo_id_array":[{"photo_id":"1350757394","filename":"file5"},{"photo_id":"1350757381","filename":"file2"},{"photo_id":"1350757390","filename":"file4"},{"photo_id":"1350757379","filename":"file1"},{"photo_id":"1350757356","filename":"file0"},{"photo_id":"1350757389","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350757381":["hashtag1","hashtag2"]},{"1350757390":["hashtag1","hashtag2"]},{"1350757389":["hashtag1","hashtag2"]},{"1350757356":["hashtag1","hashtag2"]},{"1350757394":["hashtag1","hashtag2"]},{"1350757379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350757381, 1350757390, 1350757389, 1350757356, 1350757394, 1350757379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16976475715637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:37:32.541770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_15_9409.jpg', '/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_25_10451.jpg', '/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_35_9437.jpg', '/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_45_10380.jpg', '/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_56_10361.jpg', '/home/pi/Desktop/images/09042025/10/46/image_09042025_10_47_05_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_15_9409.jpg
/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_25_10451.jpg
/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_35_9437.jpg
/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_45_10380.jpg
/home/pi/Desktop/images/09042025/10/46/image_09042025_10_46_56_10361.jpg
/home/pi/Desktop/images/09042025/10/46/image_09042025_10_47_05_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":["1350757477","1350757473","1350757482","1350757530","1350757506","1350757526"],"photo_ids_order":["1350757473","1350757477","1350757482","1350757506","1350757526","1350757530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/512fb337b3ebbfdd40d245f32c5eaa91.jpg","text":"TemporaryFile(/tmp/multipartBody266593756759409656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195113009,"filename":"image_09042025_10_46_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/4/9/32fd0d6a10a3050f7b660f73a3126fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1364363219371207218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195113009,"filename":"image_09042025_10_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/4/9/5305b986a9e7e95f8c2b95f987c91a16.jpg","text":"TemporaryFile(/tmp/multipartBody3287593025309038198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195113009,"filename":"image_09042025_10_46_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/4/9/7f791f88e0074b7da850a9c4fee7d25d.jpg","text":"TemporaryFile(/tmp/multipartBody6478935141894724182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195113009,"filename":"image_09042025_10_47_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4698916a50e393eb028c78a60b949e53.jpg","text":"TemporaryFile(/tmp/multipartBody5404824472094109246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195113009,"filename":"image_09042025_10_46_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6ada0c2c28020120b36561075d15d7b8.jpg","text":"TemporaryFile(/tmp/multipartBody529812625903156106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195113009,"filename":"image_09042025_10_46_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350757482","file1":"1350757477","file0":"1350757473","file4":"1350757526","file5":"1350757530","file3":"1350757506"},"map_files_photo_id_array":[{"photo_id":"1350757530","filename":"file5"},{"photo_id":"1350757482","filename":"file2"},{"photo_id":"1350757526","filename":"file4"},{"photo_id":"1350757477","filename":"file1"},{"photo_id":"1350757473","filename":"file0"},{"photo_id":"1350757506","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350757477":["hashtag1","hashtag2"]},{"1350757473":["hashtag1","hashtag2"]},{"1350757482":["hashtag1","hashtag2"]},{"1350757530":["hashtag1","hashtag2"]},{"1350757506":["hashtag1","hashtag2"]},{"1350757526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350757477, 1350757473, 1350757482, 1350757530, 1350757506, 1350757526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.811865091323853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:38:32.649185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_15_10436.jpg', '/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_25_9366.jpg', '/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_35_10429.jpg', '/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_45_10376.jpg', '/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_55_9346.jpg', '/home/pi/Desktop/images/09042025/10/47/image_09042025_10_48_05_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_15_10436.jpg
/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_25_9366.jpg
/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_35_10429.jpg
/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_45_10376.jpg
/home/pi/Desktop/images/09042025/10/47/image_09042025_10_47_55_9346.jpg
/home/pi/Desktop/images/09042025/10/47/image_09042025_10_48_05_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":["1350757555","1350757540","1350757558","1350757543","1350757551","1350757547"],"photo_ids_order":["1350757540","1350757543","1350757547","1350757551","1350757555","1350757558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aa4e2d408448b3fcda5d107707585b4e.jpg","text":"TemporaryFile(/tmp/multipartBody4294864332189477175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195173113,"filename":"image_09042025_10_47_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/4/9/c9e76f566eacaec27761b27ed82bb136.jpg","text":"TemporaryFile(/tmp/multipartBody4307965919554518075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195173113,"filename":"image_09042025_10_47_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/4/9/407f352110e9821ce4e65e339e9b1696.jpg","text":"TemporaryFile(/tmp/multipartBody6921718935620301561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195173113,"filename":"image_09042025_10_48_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0772242b95e453b1a37321eaab69fca2.jpg","text":"TemporaryFile(/tmp/multipartBody244285624700534274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195173113,"filename":"image_09042025_10_47_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b38a85dd89aca396f61eb69aa308f3f.jpg","text":"TemporaryFile(/tmp/multipartBody8952645266521752296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195173113,"filename":"image_09042025_10_47_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/4/9/313436cc8b5806671ca5a4a49bd3d619.jpg","text":"TemporaryFile(/tmp/multipartBody5930127757696212177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195173113,"filename":"image_09042025_10_47_35_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350757547","file1":"1350757543","file0":"1350757540","file4":"1350757555","file5":"1350757558","file3":"1350757551"},"map_files_photo_id_array":[{"photo_id":"1350757558","filename":"file5"},{"photo_id":"1350757547","filename":"file2"},{"photo_id":"1350757555","filename":"file4"},{"photo_id":"1350757543","filename":"file1"},{"photo_id":"1350757540","filename":"file0"},{"photo_id":"1350757551","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350757555":["hashtag1","hashtag2"]},{"1350757540":["hashtag1","hashtag2"]},{"1350757558":["hashtag1","hashtag2"]},{"1350757543":["hashtag1","hashtag2"]},{"1350757551":["hashtag1","hashtag2"]},{"1350757547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350757555, 1350757540, 1350757558, 1350757543, 1350757551, 1350757547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.6089825630188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:39:32.857934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_15_9363.jpg', '/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_25_10449.jpg', '/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_35_10394.jpg', '/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_45_9366.jpg', '/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_55_10476.jpg', '/home/pi/Desktop/images/09042025/10/48/image_09042025_10_49_05_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_15_9363.jpg
/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_25_10449.jpg
/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_35_10394.jpg
/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_45_9366.jpg
/home/pi/Desktop/images/09042025/10/48/image_09042025_10_48_55_10476.jpg
/home/pi/Desktop/images/09042025/10/48/image_09042025_10_49_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":["1350757570","1350757572","1350757575","1350757617","1350757605","1350757610"],"photo_ids_order":["1350757570","1350757572","1350757575","1350757605","1350757610","1350757617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8534abebb728828440604e353af43c1f.jpg","text":"TemporaryFile(/tmp/multipartBody7933753849621839310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195233327,"filename":"image_09042025_10_48_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4286a8ed28bf826ffc6a684b43030a76.jpg","text":"TemporaryFile(/tmp/multipartBody4238575778434589809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195233327,"filename":"image_09042025_10_48_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/4/9/4a676e162bb323096acb503865f834c4.jpg","text":"TemporaryFile(/tmp/multipartBody6677463418185150284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195233327,"filename":"image_09042025_10_48_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/4/9/a3c343ba0f97d1f177d529045f2db56c.jpg","text":"TemporaryFile(/tmp/multipartBody4759532121310362869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195233327,"filename":"image_09042025_10_49_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/4/9/73009c81f331592619bb0cad4ddd10f4.jpg","text":"TemporaryFile(/tmp/multipartBody5369637924099648583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195233327,"filename":"image_09042025_10_48_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/4/9/3e1d4f861028a9627894b6f8acf61a09.jpg","text":"TemporaryFile(/tmp/multipartBody3458218287288225367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195233327,"filename":"image_09042025_10_48_55_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350757575","file1":"1350757572","file0":"1350757570","file4":"1350757610","file5":"1350757617","file3":"1350757605"},"map_files_photo_id_array":[{"photo_id":"1350757617","filename":"file5"},{"photo_id":"1350757575","filename":"file2"},{"photo_id":"1350757610","filename":"file4"},{"photo_id":"1350757572","filename":"file1"},{"photo_id":"1350757570","filename":"file0"},{"photo_id":"1350757605","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350757570":["hashtag1","hashtag2"]},{"1350757572":["hashtag1","hashtag2"]},{"1350757575":["hashtag1","hashtag2"]},{"1350757617":["hashtag1","hashtag2"]},{"1350757605":["hashtag1","hashtag2"]},{"1350757610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350757570, 1350757572, 1350757575, 1350757617, 1350757605, 1350757610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.612858295440674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:40:33.080961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_15_10455.jpg', '/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_25_10352.jpg', '/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_35_9347.jpg', '/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_45_10468.jpg', '/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_55_9372.jpg', '/home/pi/Desktop/images/09042025/10/49/image_09042025_10_50_05_10490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_15_10455.jpg
/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_25_10352.jpg
/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_35_9347.jpg
/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_45_10468.jpg
/home/pi/Desktop/images/09042025/10/49/image_09042025_10_49_55_9372.jpg
/home/pi/Desktop/images/09042025/10/49/image_09042025_10_50_05_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350757654","1350757657","1350757645","1350757635","1350757661","1350757664"],"photo_ids_order":["1350757635","1350757645","1350757654","1350757657","1350757661","1350757664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/118a6e2708408c5ace089ba30d544886.jpg","text":"TemporaryFile(/tmp/multipartBody3577797160155169018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195293606,"filename":"image_09042025_10_49_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/375b6b5b073f18a16f2276259e7d0785.jpg","text":"TemporaryFile(/tmp/multipartBody1254468955534203574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195293606,"filename":"image_09042025_10_49_45_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2031f71fe680871f60c4add8b3f92b55.jpg","text":"TemporaryFile(/tmp/multipartBody6426938963612209190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195293606,"filename":"image_09042025_10_49_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/4/9/eda6d1b6e4fcc2c67710b7829cee8ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1113805881807031363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195293606,"filename":"image_09042025_10_49_15_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6e849938d9e2e9c63c0b85e69feea63.jpg","text":"TemporaryFile(/tmp/multipartBody8765733231939006363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195293606,"filename":"image_09042025_10_49_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/14efce18dbcc2ec4cf442f9bb976a954.jpg","text":"TemporaryFile(/tmp/multipartBody8570380958361074824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195293606,"filename":"image_09042025_10_50_05_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350757654","file1":"1350757645","file0":"1350757635","file4":"1350757661","file5":"1350757664","file3":"1350757657"},"map_files_photo_id_array":[{"photo_id":"1350757664","filename":"file5"},{"photo_id":"1350757654","filename":"file2"},{"photo_id":"1350757661","filename":"file4"},{"photo_id":"1350757645","filename":"file1"},{"photo_id":"1350757635","filename":"file0"},{"photo_id":"1350757657","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350757654":["hashtag1","hashtag2"]},{"1350757657":["hashtag1","hashtag2"]},{"1350757645":["hashtag1","hashtag2"]},{"1350757635":["hashtag1","hashtag2"]},{"1350757661":["hashtag1","hashtag2"]},{"1350757664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350757654, 1350757657, 1350757645, 1350757635, 1350757661, 1350757664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3055260181427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:41:32.276797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_16_10356.jpg', '/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_25_9360.jpg', '/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_35_10357.jpg', '/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_45_9362.jpg', '/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_55_10404.jpg', '/home/pi/Desktop/images/09042025/10/50/image_09042025_10_51_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_16_10356.jpg
/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_25_9360.jpg
/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_35_10357.jpg
/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_45_9362.jpg
/home/pi/Desktop/images/09042025/10/50/image_09042025_10_50_55_10404.jpg
/home/pi/Desktop/images/09042025/10/50/image_09042025_10_51_05_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":["1350757885","1350757765","1350757822","1350757682","1350757676","1350757679"],"photo_ids_order":["1350757676","1350757679","1350757682","1350757765","1350757822","1350757885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1b7539dc8f42d4a541b8abf03875fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8775774998730803214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195352905,"filename":"image_09042025_10_51_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/094db0293e5ff20ab10931ad12bf3ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6941069903619704198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195352905,"filename":"image_09042025_10_50_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/35c0a1a6da3d907cd1007298635c5565.jpg","text":"TemporaryFile(/tmp/multipartBody8462999955766729076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195352905,"filename":"image_09042025_10_50_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/4/9/175a9fbfbed02cadea68909fe2517f90.jpg","text":"TemporaryFile(/tmp/multipartBody627764456641218714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195352905,"filename":"image_09042025_10_50_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/4/9/b0d3d0211994c5734f154748d8f0254b.jpg","text":"TemporaryFile(/tmp/multipartBody8223773492895693612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195352905,"filename":"image_09042025_10_50_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/4/9/1f5faf3bf4467bbf328b91513407a80f.jpg","text":"TemporaryFile(/tmp/multipartBody4668404123885765997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195352905,"filename":"image_09042025_10_50_25_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350757682","file1":"1350757679","file0":"1350757676","file4":"1350757822","file5":"1350757885","file3":"1350757765"},"map_files_photo_id_array":[{"photo_id":"1350757885","filename":"file5"},{"photo_id":"1350757682","filename":"file2"},{"photo_id":"1350757822","filename":"file4"},{"photo_id":"1350757679","filename":"file1"},{"photo_id":"1350757676","filename":"file0"},{"photo_id":"1350757765","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350757885":["hashtag1","hashtag2"]},{"1350757765":["hashtag1","hashtag2"]},{"1350757822":["hashtag1","hashtag2"]},{"1350757682":["hashtag1","hashtag2"]},{"1350757676":["hashtag1","hashtag2"]},{"1350757679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350757885, 1350757765, 1350757822, 1350757682, 1350757676, 1350757679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.936299324035645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:42:32.664348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_15_9542.jpg', '/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_25_10424.jpg', '/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_35_9374.jpg', '/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_45_10368.jpg', '/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_56_10435.jpg', '/home/pi/Desktop/images/09042025/10/51/image_09042025_10_52_05_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_15_9542.jpg
/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_25_10424.jpg
/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_35_9374.jpg
/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_45_10368.jpg
/home/pi/Desktop/images/09042025/10/51/image_09042025_10_51_56_10435.jpg
/home/pi/Desktop/images/09042025/10/51/image_09042025_10_52_05_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":["1350758311","1350758295","1350758308","1350758277","1350758289","1350758285"],"photo_ids_order":["1350758277","1350758285","1350758289","1350758295","1350758308","1350758311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d20c7c2c7dc40290ed5fffc3844ef0d2.jpg","text":"TemporaryFile(/tmp/multipartBody3434850516655269867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195413493,"filename":"image_09042025_10_52_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b692b401c8ea7612f1a146c50630f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody1020544495726427497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195413493,"filename":"image_09042025_10_51_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/4/9/9a3bfa51b4a91c0dd23c93dee005c752.jpg","text":"TemporaryFile(/tmp/multipartBody2571033148931627788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195413493,"filename":"image_09042025_10_51_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/4/9/3256300ff4fa14eb6c714afa83228402.jpg","text":"TemporaryFile(/tmp/multipartBody8584020799833141634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195413493,"filename":"image_09042025_10_51_15_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bdd9398f3e8901ca8093d2fcee9488b2.jpg","text":"TemporaryFile(/tmp/multipartBody2867043431052734573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195413493,"filename":"image_09042025_10_51_35_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c7f9157e9c63b7f750b0ebe6dbfa3ec7.jpg","text":"TemporaryFile(/tmp/multipartBody1343731875261023668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195413493,"filename":"image_09042025_10_51_25_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350758289","file1":"1350758285","file0":"1350758277","file4":"1350758308","file5":"1350758311","file3":"1350758295"},"map_files_photo_id_array":[{"photo_id":"1350758311","filename":"file5"},{"photo_id":"1350758289","filename":"file2"},{"photo_id":"1350758308","filename":"file4"},{"photo_id":"1350758285","filename":"file1"},{"photo_id":"1350758277","filename":"file0"},{"photo_id":"1350758295","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350758311":["hashtag1","hashtag2"]},{"1350758295":["hashtag1","hashtag2"]},{"1350758308":["hashtag1","hashtag2"]},{"1350758277":["hashtag1","hashtag2"]},{"1350758289":["hashtag1","hashtag2"]},{"1350758285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350758311, 1350758295, 1350758308, 1350758277, 1350758289, 1350758285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77415347099304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:43:32.969237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_15_10380.jpg', '/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_25_9380.jpg', '/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_35_10442.jpg', '/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_46_10352.jpg', '/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_55_9361.jpg', '/home/pi/Desktop/images/09042025/10/52/image_09042025_10_53_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_15_10380.jpg
/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_25_9380.jpg
/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_35_10442.jpg
/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_46_10352.jpg
/home/pi/Desktop/images/09042025/10/52/image_09042025_10_52_55_9361.jpg
/home/pi/Desktop/images/09042025/10/52/image_09042025_10_53_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":["1350758493","1350758478","1350758489","1350758497","1350758482","1350758485"],"photo_ids_order":["1350758478","1350758482","1350758485","1350758489","1350758493","1350758497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0db82d9c2aeb5352f1e6c31be1891b85.jpg","text":"TemporaryFile(/tmp/multipartBody5849189571141167796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195473429,"filename":"image_09042025_10_52_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/4/9/995bd9969ffc761e5c053e80a1bdf3be.jpg","text":"TemporaryFile(/tmp/multipartBody245779257377683240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195473429,"filename":"image_09042025_10_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/4/9/c01c5698172d0e60883a4e25eed566db.jpg","text":"TemporaryFile(/tmp/multipartBody940219679191053630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195473429,"filename":"image_09042025_10_52_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/4/9/7edd6f4549a6571a49b267a2a22c7d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2100776018428247759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195473429,"filename":"image_09042025_10_53_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/4/9/8cc5d043348c9c96a078c9d999cd84a5.jpg","text":"TemporaryFile(/tmp/multipartBody115449818990811591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195473429,"filename":"image_09042025_10_52_25_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b22710545060ca2da7c45646a4371272.jpg","text":"TemporaryFile(/tmp/multipartBody7126996647718478200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195473429,"filename":"image_09042025_10_52_35_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350758485","file1":"1350758482","file0":"1350758478","file4":"1350758493","file5":"1350758497","file3":"1350758489"},"map_files_photo_id_array":[{"photo_id":"1350758497","filename":"file5"},{"photo_id":"1350758485","filename":"file2"},{"photo_id":"1350758493","filename":"file4"},{"photo_id":"1350758482","filename":"file1"},{"photo_id":"1350758478","filename":"file0"},{"photo_id":"1350758489","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350758493":["hashtag1","hashtag2"]},{"1350758478":["hashtag1","hashtag2"]},{"1350758489":["hashtag1","hashtag2"]},{"1350758497":["hashtag1","hashtag2"]},{"1350758482":["hashtag1","hashtag2"]},{"1350758485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350758493, 1350758478, 1350758489, 1350758497, 1350758482, 1350758485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12927269935608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:44:32.240430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_15_9354.jpg', '/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_25_10370.jpg', '/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_35_10425.jpg', '/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_45_9341.jpg', '/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_55_10456.jpg', '/home/pi/Desktop/images/09042025/10/53/image_09042025_10_54_05_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_15_9354.jpg
/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_25_10370.jpg
/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_35_10425.jpg
/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_45_9341.jpg
/home/pi/Desktop/images/09042025/10/53/image_09042025_10_53_55_10456.jpg
/home/pi/Desktop/images/09042025/10/53/image_09042025_10_54_05_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350758620","1350758614","1350758602","1350758628","1350758624","1350758632"],"photo_ids_order":["1350758602","1350758614","1350758620","1350758624","1350758628","1350758632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e4b651429ac9f34a6ba09590a65f2c28.jpg","text":"TemporaryFile(/tmp/multipartBody8747341920359696469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195532703,"filename":"image_09042025_10_53_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/4/9/9987256bd46ab9630b9e724245343f95.jpg","text":"TemporaryFile(/tmp/multipartBody599848902156022651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195532703,"filename":"image_09042025_10_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/4/9/d8cbb0456d4e2c952081f99ca84d7803.jpg","text":"TemporaryFile(/tmp/multipartBody426720334884470482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195532703,"filename":"image_09042025_10_53_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a452a203162b064e8e51dbb1c22d425.jpg","text":"TemporaryFile(/tmp/multipartBody1163538446119962222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195532703,"filename":"image_09042025_10_53_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/4/9/8a1078b97ec1cd8ae395c35637440ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4167972042370276479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195532703,"filename":"image_09042025_10_53_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/4/9/9001af75ec915dd4d8f2778725d3b621.jpg","text":"TemporaryFile(/tmp/multipartBody7169024038167918222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195532703,"filename":"image_09042025_10_54_05_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350758620","file1":"1350758614","file0":"1350758602","file4":"1350758628","file5":"1350758632","file3":"1350758624"},"map_files_photo_id_array":[{"photo_id":"1350758632","filename":"file5"},{"photo_id":"1350758620","filename":"file2"},{"photo_id":"1350758628","filename":"file4"},{"photo_id":"1350758614","filename":"file1"},{"photo_id":"1350758602","filename":"file0"},{"photo_id":"1350758624","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350758620":["hashtag1","hashtag2"]},{"1350758614":["hashtag1","hashtag2"]},{"1350758602":["hashtag1","hashtag2"]},{"1350758628":["hashtag1","hashtag2"]},{"1350758624":["hashtag1","hashtag2"]},{"1350758632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350758620, 1350758614, 1350758602, 1350758628, 1350758624, 1350758632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.691471576690674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:45:32.409276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_15_10481.jpg', '/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_26_10444.jpg', '/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_35_9353.jpg', '/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_45_10376.jpg', '/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_55_9350.jpg', '/home/pi/Desktop/images/09042025/10/54/image_09042025_10_55_05_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_15_10481.jpg
/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_26_10444.jpg
/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_35_9353.jpg
/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_45_10376.jpg
/home/pi/Desktop/images/09042025/10/54/image_09042025_10_54_55_9350.jpg
/home/pi/Desktop/images/09042025/10/54/image_09042025_10_55_05_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":["1350758641","1350758676","1350758670","1350758637","1350758660","1350758680"],"photo_ids_order":["1350758637","1350758641","1350758660","1350758670","1350758676","1350758680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d2823cd01ae46489c55f700945f4a676.jpg","text":"TemporaryFile(/tmp/multipartBody3342169164078048788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195592878,"filename":"image_09042025_10_54_26_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1da08eaba61209f54240b2a019de424d.jpg","text":"TemporaryFile(/tmp/multipartBody6618626535301574963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195592878,"filename":"image_09042025_10_54_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f879b8984388c1e9b4fc2bad0cdd20ef.jpg","text":"TemporaryFile(/tmp/multipartBody3045868926809630210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195592878,"filename":"image_09042025_10_54_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/4/9/bdaa74583f0ab0a22e146aa79e6c0add.jpg","text":"TemporaryFile(/tmp/multipartBody5472074131630227603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195592878,"filename":"image_09042025_10_54_15_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/41c90075d9ffe2e8a5625c7b20c3a55d.jpg","text":"TemporaryFile(/tmp/multipartBody3904917695631597862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195592878,"filename":"image_09042025_10_54_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/4/9/19858186690ee633c2e0c0975be5582e.jpg","text":"TemporaryFile(/tmp/multipartBody8862436198294394912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195592878,"filename":"image_09042025_10_55_05_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350758660","file1":"1350758641","file0":"1350758637","file4":"1350758676","file5":"1350758680","file3":"1350758670"},"map_files_photo_id_array":[{"photo_id":"1350758680","filename":"file5"},{"photo_id":"1350758660","filename":"file2"},{"photo_id":"1350758676","filename":"file4"},{"photo_id":"1350758641","filename":"file1"},{"photo_id":"1350758637","filename":"file0"},{"photo_id":"1350758670","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350758641":["hashtag1","hashtag2"]},{"1350758676":["hashtag1","hashtag2"]},{"1350758670":["hashtag1","hashtag2"]},{"1350758637":["hashtag1","hashtag2"]},{"1350758660":["hashtag1","hashtag2"]},{"1350758680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350758641, 1350758676, 1350758670, 1350758637, 1350758660, 1350758680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71876907348633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:46:32.592555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_15_10364.jpg', '/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_25_9361.jpg', '/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_35_10375.jpg', '/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_46_10349.jpg', '/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_55_9361.jpg', '/home/pi/Desktop/images/09042025/10/55/image_09042025_10_56_05_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_15_10364.jpg
/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_25_9361.jpg
/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_35_10375.jpg
/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_46_10349.jpg
/home/pi/Desktop/images/09042025/10/55/image_09042025_10_55_55_9361.jpg
/home/pi/Desktop/images/09042025/10/55/image_09042025_10_56_05_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350758701","1350758719","1350758721","1350758705","1350758695","1350758692"],"photo_ids_order":["1350758692","1350758695","1350758701","1350758705","1350758719","1350758721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cccf6e399bd5ed1ce5e1b37fb62e5679.jpg","text":"TemporaryFile(/tmp/multipartBody9026617815323819365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195653086,"filename":"image_09042025_10_55_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b865e072d0dc0a668aec694cf1e6f319.jpg","text":"TemporaryFile(/tmp/multipartBody3853873960260027754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195653086,"filename":"image_09042025_10_55_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/4/9/5f42ded6a651348224fa9b54f0b3aef9.jpg","text":"TemporaryFile(/tmp/multipartBody8294119107774821884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195653086,"filename":"image_09042025_10_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/4/9/52ff33655b6aba1a6eabeb957d5a89c3.jpg","text":"TemporaryFile(/tmp/multipartBody4960757132064892911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195653086,"filename":"image_09042025_10_55_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/172081a3c8d20931e3ece4efdbfcbc7c.jpg","text":"TemporaryFile(/tmp/multipartBody7224331894081724279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195653086,"filename":"image_09042025_10_55_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d0561222cc0fb1b52de4437b097482a0.jpg","text":"TemporaryFile(/tmp/multipartBody7117146249721069659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195653086,"filename":"image_09042025_10_55_15_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350758701","file1":"1350758695","file0":"1350758692","file4":"1350758719","file5":"1350758721","file3":"1350758705"},"map_files_photo_id_array":[{"photo_id":"1350758721","filename":"file5"},{"photo_id":"1350758701","filename":"file2"},{"photo_id":"1350758719","filename":"file4"},{"photo_id":"1350758695","filename":"file1"},{"photo_id":"1350758692","filename":"file0"},{"photo_id":"1350758705","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350758701":["hashtag1","hashtag2"]},{"1350758719":["hashtag1","hashtag2"]},{"1350758721":["hashtag1","hashtag2"]},{"1350758705":["hashtag1","hashtag2"]},{"1350758695":["hashtag1","hashtag2"]},{"1350758692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350758701, 1350758719, 1350758721, 1350758705, 1350758695, 1350758692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12001132965088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:47:32.776157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_15_9344.jpg', '/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_25_10363.jpg', '/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_35_10367.jpg', '/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_45_9359.jpg', '/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_55_10424.jpg', '/home/pi/Desktop/images/09042025/10/56/image_09042025_10_57_05_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_15_9344.jpg
/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_25_10363.jpg
/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_35_10367.jpg
/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_45_9359.jpg
/home/pi/Desktop/images/09042025/10/56/image_09042025_10_56_55_10424.jpg
/home/pi/Desktop/images/09042025/10/56/image_09042025_10_57_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":["1350759282","1350758920","1350759033","1350758994","1350759056","1350759134"],"photo_ids_order":["1350758920","1350758994","1350759033","1350759056","1350759134","1350759282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57efdbf9dacade17e46c6231c02d25b4.jpg","text":"TemporaryFile(/tmp/multipartBody8437307608308435062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195713749,"filename":"image_09042025_10_57_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/4/9/a02148a9860eb9364be0f14cac90a547.jpg","text":"TemporaryFile(/tmp/multipartBody3746130563798891261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195713749,"filename":"image_09042025_10_56_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e634b4fc8f979a21e2b872252da2b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8094744939180277702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195713749,"filename":"image_09042025_10_56_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8f9bdbf6a81a4aa224215a043ed36595.jpg","text":"TemporaryFile(/tmp/multipartBody2162092360598343386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195713749,"filename":"image_09042025_10_56_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/4/9/cee082c2ccfec810c512728f6d9c947b.jpg","text":"TemporaryFile(/tmp/multipartBody8168212914433099741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195713749,"filename":"image_09042025_10_56_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/4/9/d8799766237516e3c512236f997ff6ad.jpg","text":"TemporaryFile(/tmp/multipartBody3568150361632513212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195713749,"filename":"image_09042025_10_56_55_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350759033","file1":"1350758994","file0":"1350758920","file4":"1350759134","file5":"1350759282","file3":"1350759056"},"map_files_photo_id_array":[{"photo_id":"1350759282","filename":"file5"},{"photo_id":"1350759033","filename":"file2"},{"photo_id":"1350759134","filename":"file4"},{"photo_id":"1350758994","filename":"file1"},{"photo_id":"1350758920","filename":"file0"},{"photo_id":"1350759056","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350759282":["hashtag1","hashtag2"]},{"1350758920":["hashtag1","hashtag2"]},{"1350759033":["hashtag1","hashtag2"]},{"1350758994":["hashtag1","hashtag2"]},{"1350759056":["hashtag1","hashtag2"]},{"1350759134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350759282, 1350758920, 1350759033, 1350758994, 1350759056, 1350759134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14827251434326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:48:33.066093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_15_9345.jpg', '/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_25_10419.jpg', '/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_36_10355.jpg', '/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_45_9356.jpg', '/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_55_10451.jpg', '/home/pi/Desktop/images/09042025/10/57/image_09042025_10_58_05_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_15_9345.jpg
/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_25_10419.jpg
/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_36_10355.jpg
/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_45_9356.jpg
/home/pi/Desktop/images/09042025/10/57/image_09042025_10_57_55_10451.jpg
/home/pi/Desktop/images/09042025/10/57/image_09042025_10_58_05_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":["1350759573","1350759576","1350759578","1350759692","1350759694","1350759658"],"photo_ids_order":["1350759573","1350759576","1350759578","1350759658","1350759692","1350759694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bfb54d9c4c15c85b5e7ec9a370ef9e53.jpg","text":"TemporaryFile(/tmp/multipartBody1816991823205203885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195773543,"filename":"image_09042025_10_57_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/4/9/d31f82ef373b37a4b3cb95a6d90a70d5.jpg","text":"TemporaryFile(/tmp/multipartBody8115043322030973765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195773543,"filename":"image_09042025_10_57_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/4/9/7900057c8cd1515e43a6802335ac43bf.jpg","text":"TemporaryFile(/tmp/multipartBody6970178221917365835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195773543,"filename":"image_09042025_10_57_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/4/9/6c3c86a8ed244775c158b6a0d055de8f.jpg","text":"TemporaryFile(/tmp/multipartBody4480668408289760590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195773543,"filename":"image_09042025_10_57_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/4/9/e3b3600fd15b39745a32ba922357d4d7.jpg","text":"TemporaryFile(/tmp/multipartBody2987607057326234524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195773543,"filename":"image_09042025_10_58_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/4/9/199d338d330dd1774c9a93b2363e778b.jpg","text":"TemporaryFile(/tmp/multipartBody8115654267019322470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195773543,"filename":"image_09042025_10_57_45_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350759578","file1":"1350759576","file0":"1350759573","file4":"1350759692","file5":"1350759694","file3":"1350759658"},"map_files_photo_id_array":[{"photo_id":"1350759694","filename":"file5"},{"photo_id":"1350759578","filename":"file2"},{"photo_id":"1350759692","filename":"file4"},{"photo_id":"1350759576","filename":"file1"},{"photo_id":"1350759573","filename":"file0"},{"photo_id":"1350759658","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350759573":["hashtag1","hashtag2"]},{"1350759576":["hashtag1","hashtag2"]},{"1350759578":["hashtag1","hashtag2"]},{"1350759692":["hashtag1","hashtag2"]},{"1350759694":["hashtag1","hashtag2"]},{"1350759658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350759573, 1350759576, 1350759578, 1350759692, 1350759694, 1350759658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.765194416046143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:49:32.272599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_15_10438.jpg', '/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_26_10383.jpg', '/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_35_9361.jpg', '/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_45_10433.jpg', '/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_55_9349.jpg', '/home/pi/Desktop/images/09042025/10/58/image_09042025_10_59_05_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_15_10438.jpg
/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_26_10383.jpg
/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_35_9361.jpg
/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_45_10433.jpg
/home/pi/Desktop/images/09042025/10/58/image_09042025_10_58_55_9349.jpg
/home/pi/Desktop/images/09042025/10/58/image_09042025_10_59_05_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":["1350759870","1350759804","1350759794","1350759718","1350759712","1350759798"],"photo_ids_order":["1350759712","1350759718","1350759794","1350759798","1350759804","1350759870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f080c7aa3e8497fabd10594baa45c104.jpg","text":"TemporaryFile(/tmp/multipartBody1513394597137658555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195832745,"filename":"image_09042025_10_59_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/4/9/dde42e888b4a77f9b8ef1933eaf1020b.jpg","text":"TemporaryFile(/tmp/multipartBody569128202247120332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195832745,"filename":"image_09042025_10_58_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/4/9/53227cebc44d32c4de1f8f27b32f62d6.jpg","text":"TemporaryFile(/tmp/multipartBody4903113523437037036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195832745,"filename":"image_09042025_10_58_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/4/9/4fd7f31cb83315ace8686b42a948b634.jpg","text":"TemporaryFile(/tmp/multipartBody4515418051158418085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195832745,"filename":"image_09042025_10_58_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/4/9/5aaadf2a8cb38e8ce8320f0d7acf6011.jpg","text":"TemporaryFile(/tmp/multipartBody5415651391905802914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195832745,"filename":"image_09042025_10_58_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/4/9/a5bbaffcea98d9014ecbd84e476c7687.jpg","text":"TemporaryFile(/tmp/multipartBody4941416312447850155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195832745,"filename":"image_09042025_10_58_45_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350759794","file1":"1350759718","file0":"1350759712","file4":"1350759804","file5":"1350759870","file3":"1350759798"},"map_files_photo_id_array":[{"photo_id":"1350759870","filename":"file5"},{"photo_id":"1350759794","filename":"file2"},{"photo_id":"1350759804","filename":"file4"},{"photo_id":"1350759718","filename":"file1"},{"photo_id":"1350759712","filename":"file0"},{"photo_id":"1350759798","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350759870":["hashtag1","hashtag2"]},{"1350759804":["hashtag1","hashtag2"]},{"1350759794":["hashtag1","hashtag2"]},{"1350759718":["hashtag1","hashtag2"]},{"1350759712":["hashtag1","hashtag2"]},{"1350759798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350759870, 1350759804, 1350759794, 1350759718, 1350759712, 1350759798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.528693199157715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:50:32.454920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_15_9431.jpg', '/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_25_10355.jpg', '/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_35_10373.jpg', '/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_45_9364.jpg', '/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_55_10563.jpg', '/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_15_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_15_9431.jpg
/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_25_10355.jpg
/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_35_10373.jpg
/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_45_9364.jpg
/home/pi/Desktop/images/09042025/10/59/image_09042025_10_59_55_10563.jpg
/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_15_10077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350759915","1350759938","1350759979","1350759922","1350759925","1350759919"],"photo_ids_order":["1350759915","1350759919","1350759922","1350759925","1350759938","1350759979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55e227de8d457fc286856eab84c215d9.jpg","text":"TemporaryFile(/tmp/multipartBody1430950745238721229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195892914,"filename":"image_09042025_10_59_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/4/9/690e6bd4e1c4299772fec27d8df12dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6525756415317375504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195892914,"filename":"image_09042025_10_59_55_10563.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67682bf226715ace10372c28f6e9754e.jpg","text":"TemporaryFile(/tmp/multipartBody2544591901905380749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195892914,"filename":"image_09042025_11_01_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dcece7b567e9596b425b619a0a77d9b3.jpg","text":"TemporaryFile(/tmp/multipartBody1636680278071432210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195892914,"filename":"image_09042025_10_59_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/4/9/67b3d5baf1bf6946ce268359e52830e7.jpg","text":"TemporaryFile(/tmp/multipartBody7107730127112640969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195892914,"filename":"image_09042025_10_59_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/4/9/a5dbe17df78407e41595e4063f9355a2.jpg","text":"TemporaryFile(/tmp/multipartBody1008962604713849847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195892914,"filename":"image_09042025_10_59_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350759922","file1":"1350759919","file0":"1350759915","file4":"1350759938","file5":"1350759979","file3":"1350759925"},"map_files_photo_id_array":[{"photo_id":"1350759979","filename":"file5"},{"photo_id":"1350759922","filename":"file2"},{"photo_id":"1350759938","filename":"file4"},{"photo_id":"1350759919","filename":"file1"},{"photo_id":"1350759915","filename":"file0"},{"photo_id":"1350759925","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350759915":["hashtag1","hashtag2"]},{"1350759938":["hashtag1","hashtag2"]},{"1350759979":["hashtag1","hashtag2"]},{"1350759922":["hashtag1","hashtag2"]},{"1350759925":["hashtag1","hashtag2"]},{"1350759919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350759915, 1350759938, 1350759979, 1350759922, 1350759925, 1350759919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65781259536743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:51:32.666008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_25_10492.jpg', '/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_36_10369.jpg', '/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_45_9392.jpg', '/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_55_10371.jpg', '/home/pi/Desktop/images/09042025/11/01/image_09042025_11_02_05_9362.jpg', '/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_15_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_25_10492.jpg
/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_36_10369.jpg
/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_45_9392.jpg
/home/pi/Desktop/images/09042025/11/01/image_09042025_11_01_55_10371.jpg
/home/pi/Desktop/images/09042025/11/01/image_09042025_11_02_05_9362.jpg
/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_15_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":["1350760123","1350760194","1350760126","1350760158","1350760167","1350760165"],"photo_ids_order":["1350760123","1350760126","1350760158","1350760165","1350760167","1350760194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f5213d0a2458d17677da0eec44a1fed0.jpg","text":"TemporaryFile(/tmp/multipartBody67384682380278328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195953141,"filename":"image_09042025_11_01_25_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d444505862b3cd1b15c5b26c386ed32.jpg","text":"TemporaryFile(/tmp/multipartBody2663605512550088253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195953141,"filename":"image_09042025_11_02_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/4/9/16377cdb575c5320fc4d65cbfc1b4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5606404330254093036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195953141,"filename":"image_09042025_11_01_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/4/9/5470761431b4e8357ff4f7c69e60cb51.jpg","text":"TemporaryFile(/tmp/multipartBody6773833966468020722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195953141,"filename":"image_09042025_11_01_45_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fdd369d0767f78f7c8470441daad58a.jpg","text":"TemporaryFile(/tmp/multipartBody1944998154091221732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195953141,"filename":"image_09042025_11_02_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/4/9/ff094b7adc8e526a71b6894ccd2a83b2.jpg","text":"TemporaryFile(/tmp/multipartBody2880495860123803834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744195953141,"filename":"image_09042025_11_01_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350760158","file1":"1350760126","file0":"1350760123","file4":"1350760167","file5":"1350760194","file3":"1350760165"},"map_files_photo_id_array":[{"photo_id":"1350760194","filename":"file5"},{"photo_id":"1350760158","filename":"file2"},{"photo_id":"1350760167","filename":"file4"},{"photo_id":"1350760126","filename":"file1"},{"photo_id":"1350760123","filename":"file0"},{"photo_id":"1350760165","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350760123":["hashtag1","hashtag2"]},{"1350760194":["hashtag1","hashtag2"]},{"1350760126":["hashtag1","hashtag2"]},{"1350760158":["hashtag1","hashtag2"]},{"1350760167":["hashtag1","hashtag2"]},{"1350760165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350760123, 1350760194, 1350760126, 1350760158, 1350760167, 1350760165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.940329551696777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:52:32.830404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_25_10381.jpg', '/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_35_9350.jpg', '/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_45_10419.jpg', '/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_55_9358.jpg', '/home/pi/Desktop/images/09042025/11/02/image_09042025_11_03_05_10357.jpg', '/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_15_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_25_10381.jpg
/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_35_9350.jpg
/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_45_10419.jpg
/home/pi/Desktop/images/09042025/11/02/image_09042025_11_02_55_9358.jpg
/home/pi/Desktop/images/09042025/11/02/image_09042025_11_03_05_10357.jpg
/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_15_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":["1350760243","1350760253","1350760247","1350760264","1350760258","1350760252"],"photo_ids_order":["1350760243","1350760247","1350760252","1350760253","1350760258","1350760264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ba2629921de5b0e4fdd83af975e67ab.jpg","text":"TemporaryFile(/tmp/multipartBody7230286746090179564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196013298,"filename":"image_09042025_11_02_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/4/9/65cc787409fa981cb1f524f0db8d3479.jpg","text":"TemporaryFile(/tmp/multipartBody642274690021712076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196013298,"filename":"image_09042025_11_02_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6574417a8dc4fd953709649d02eb8240.jpg","text":"TemporaryFile(/tmp/multipartBody8533693042418110490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196013298,"filename":"image_09042025_11_02_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ce5f4afd212fd9eade2204f58ef6985b.jpg","text":"TemporaryFile(/tmp/multipartBody8453409121938537350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196013298,"filename":"image_09042025_11_03_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/4/9/6aa99fd37cea3567ed1d3c493f870e5a.jpg","text":"TemporaryFile(/tmp/multipartBody6146699938766426977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196013298,"filename":"image_09042025_11_03_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/4/9/72ebe75e9e827283e3127bff31842e19.jpg","text":"TemporaryFile(/tmp/multipartBody1209481507820805288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196013298,"filename":"image_09042025_11_02_45_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350760252","file1":"1350760247","file0":"1350760243","file4":"1350760258","file5":"1350760264","file3":"1350760253"},"map_files_photo_id_array":[{"photo_id":"1350760264","filename":"file5"},{"photo_id":"1350760252","filename":"file2"},{"photo_id":"1350760258","filename":"file4"},{"photo_id":"1350760247","filename":"file1"},{"photo_id":"1350760243","filename":"file0"},{"photo_id":"1350760253","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350760243":["hashtag1","hashtag2"]},{"1350760253":["hashtag1","hashtag2"]},{"1350760247":["hashtag1","hashtag2"]},{"1350760264":["hashtag1","hashtag2"]},{"1350760258":["hashtag1","hashtag2"]},{"1350760252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350760243, 1350760253, 1350760247, 1350760264, 1350760258, 1350760252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18883419036865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:53:33.056432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_25_9352.jpg', '/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_35_10417.jpg', '/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_45_10367.jpg', '/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_55_9389.jpg', '/home/pi/Desktop/images/09042025/11/03/image_09042025_11_04_05_10347.jpg', '/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_25_9352.jpg
/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_35_10417.jpg
/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_45_10367.jpg
/home/pi/Desktop/images/09042025/11/03/image_09042025_11_03_55_9389.jpg
/home/pi/Desktop/images/09042025/11/03/image_09042025_11_04_05_10347.jpg
/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_16_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":["1350760299","1350760293","1350760295","1350760421","1350760343","1350760297"],"photo_ids_order":["1350760293","1350760295","1350760297","1350760299","1350760343","1350760421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75fd49bc987fb3f996b344a63b9849b7.jpg","text":"TemporaryFile(/tmp/multipartBody8486341863505471186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196073515,"filename":"image_09042025_11_03_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6334f905c3628bf3cc4dc171a9151571.jpg","text":"TemporaryFile(/tmp/multipartBody6582707435336572436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196073515,"filename":"image_09042025_11_03_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/32fb280cf390337bae7847030f95b223.jpg","text":"TemporaryFile(/tmp/multipartBody2076659956074036603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196073515,"filename":"image_09042025_11_03_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/4/9/9b554f9f66d20d0792a9051b63c26ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6037309626269844925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196073515,"filename":"image_09042025_11_04_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/4/9/197096fc10b0c430a3fb471aa3c4bc80.jpg","text":"TemporaryFile(/tmp/multipartBody4646904089587381304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196073515,"filename":"image_09042025_11_04_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/4/9/1e6ec596b62f1a22b4f18cecc8e04462.jpg","text":"TemporaryFile(/tmp/multipartBody3654463361572501678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196073515,"filename":"image_09042025_11_03_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350760297","file1":"1350760295","file0":"1350760293","file4":"1350760343","file5":"1350760421","file3":"1350760299"},"map_files_photo_id_array":[{"photo_id":"1350760421","filename":"file5"},{"photo_id":"1350760297","filename":"file2"},{"photo_id":"1350760343","filename":"file4"},{"photo_id":"1350760295","filename":"file1"},{"photo_id":"1350760293","filename":"file0"},{"photo_id":"1350760299","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350760299":["hashtag1","hashtag2"]},{"1350760293":["hashtag1","hashtag2"]},{"1350760295":["hashtag1","hashtag2"]},{"1350760421":["hashtag1","hashtag2"]},{"1350760343":["hashtag1","hashtag2"]},{"1350760297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350760299, 1350760293, 1350760295, 1350760421, 1350760343, 1350760297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.887219667434692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:54:32.305955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_25_9342.jpg', '/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_35_10352.jpg', '/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_45_9360.jpg', '/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_55_10449.jpg', '/home/pi/Desktop/images/09042025/11/04/image_09042025_11_05_05_10344.jpg', '/home/pi/Desktop/images/09042025/11/05/image_09042025_11_05_25_10486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_25_9342.jpg
/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_35_10352.jpg
/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_45_9360.jpg
/home/pi/Desktop/images/09042025/11/04/image_09042025_11_04_55_10449.jpg
/home/pi/Desktop/images/09042025/11/04/image_09042025_11_05_05_10344.jpg
/home/pi/Desktop/images/09042025/11/05/image_09042025_11_05_25_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":["1350760525","1350760513","1350760509","1350760526","1350760517","1350760505"],"photo_ids_order":["1350760505","1350760509","1350760513","1350760517","1350760525","1350760526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d7cc300f39a3df15ebd2aaaa6f61cca.jpg","text":"TemporaryFile(/tmp/multipartBody2632845059473562318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196132772,"filename":"image_09042025_11_05_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/4/9/53b44e585aa1b5fa7a2b5367375f9ece.jpg","text":"TemporaryFile(/tmp/multipartBody769317859556523155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196132772,"filename":"image_09042025_11_04_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/4/9/7b7d4036c1959f26691c87ea9f726d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6974568432565868145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196132772,"filename":"image_09042025_11_04_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/4/9/1a27e10ce33b41db1a8ad6d6499b3553.jpg","text":"TemporaryFile(/tmp/multipartBody6170762069737473123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196132772,"filename":"image_09042025_11_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/4/9/e0a83022bea36aeb348e7cc9b2d9828c.jpg","text":"TemporaryFile(/tmp/multipartBody6149858691681500585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196132772,"filename":"image_09042025_11_04_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/4/9/f917949c25c073b3ad0a6590df9cc9fd.jpg","text":"TemporaryFile(/tmp/multipartBody8365824098503318362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196132772,"filename":"image_09042025_11_04_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350760513","file1":"1350760509","file0":"1350760505","file4":"1350760525","file5":"1350760526","file3":"1350760517"},"map_files_photo_id_array":[{"photo_id":"1350760526","filename":"file5"},{"photo_id":"1350760513","filename":"file2"},{"photo_id":"1350760525","filename":"file4"},{"photo_id":"1350760509","filename":"file1"},{"photo_id":"1350760505","filename":"file0"},{"photo_id":"1350760517","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350760525":["hashtag1","hashtag2"]},{"1350760513":["hashtag1","hashtag2"]},{"1350760509":["hashtag1","hashtag2"]},{"1350760526":["hashtag1","hashtag2"]},{"1350760517":["hashtag1","hashtag2"]},{"1350760505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350760525, 1350760513, 1350760509, 1350760526, 1350760517, 1350760505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65270137786865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:55:32.555243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/05/image_09042025_11_05_35_9337.jpg', '/home/pi/Desktop/images/09042025/11/05/image_09042025_11_05_45_10341.jpg', '/home/pi/Desktop/images/09042025/11/05/image_09042025_11_05_55_10384.jpg', '/home/pi/Desktop/images/09042025/11/06/image_09042025_11_06_26_10368.jpg', '/home/pi/Desktop/images/09042025/11/06/image_09042025_11_06_35_9338.jpg', '/home/pi/Desktop/images/09042025/11/06/image_09042025_11_06_45_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/05/image_09042025_11_05_35_9337.jpg
/home/pi/Desktop/images/09042025/11/05/image_09042025_11_05_45_10341.jpg
/home/pi/Desktop/images/09042025/11/05/image_09042025_11_05_55_10384.jpg
/home/pi/Desktop/images/09042025/11/06/image_09042025_11_06_26_10368.jpg
/home/pi/Desktop/images/09042025/11/06/image_09042025_11_06_35_9338.jpg
/home/pi/Desktop/images/09042025/11/06/image_09042025_11_06_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":["1350760552","1350760542","1350760544","1350760547","1350760549","1350760540"],"photo_ids_order":["1350760540","1350760542","1350760544","1350760547","1350760549","1350760552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d723399afd1d9a5526eae2c49e652c24.jpg","text":"TemporaryFile(/tmp/multipartBody4278009025951810621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196193012,"filename":"image_09042025_11_06_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/4/9/e5ec8b4d88cfb93c62cf1cbc51d18423.jpg","text":"TemporaryFile(/tmp/multipartBody8029784663031037722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196193012,"filename":"image_09042025_11_05_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/4/9/e376584ea18398e807f09306e526afdc.jpg","text":"TemporaryFile(/tmp/multipartBody7540824917939316035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196193012,"filename":"image_09042025_11_05_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b8c2292f170ad2f9041f7756062f0a5.jpg","text":"TemporaryFile(/tmp/multipartBody5728962251837525859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196193012,"filename":"image_09042025_11_06_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80149ad52cfe74e8d41946544c053044.jpg","text":"TemporaryFile(/tmp/multipartBody2867777804241619144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196193012,"filename":"image_09042025_11_06_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/4/9/e3a07fb21f4878165b0eeadb6010bb3b.jpg","text":"TemporaryFile(/tmp/multipartBody8563849658011175103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196193012,"filename":"image_09042025_11_05_35_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350760544","file1":"1350760542","file0":"1350760540","file4":"1350760549","file5":"1350760552","file3":"1350760547"},"map_files_photo_id_array":[{"photo_id":"1350760552","filename":"file5"},{"photo_id":"1350760544","filename":"file2"},{"photo_id":"1350760549","filename":"file4"},{"photo_id":"1350760542","filename":"file1"},{"photo_id":"1350760540","filename":"file0"},{"photo_id":"1350760547","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350760552":["hashtag1","hashtag2"]},{"1350760542":["hashtag1","hashtag2"]},{"1350760544":["hashtag1","hashtag2"]},{"1350760547":["hashtag1","hashtag2"]},{"1350760549":["hashtag1","hashtag2"]},{"1350760540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350760552, 1350760542, 1350760544, 1350760547, 1350760549, 1350760540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.63842010498047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:56:32.804932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/06/image_09042025_11_06_55_9377.jpg', '/home/pi/Desktop/images/09042025/11/06/image_09042025_11_07_05_10354.jpg', '/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_15_10363.jpg', '/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_25_9373.jpg', '/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_35_10508.jpg', '/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_46_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/06/image_09042025_11_06_55_9377.jpg
/home/pi/Desktop/images/09042025/11/06/image_09042025_11_07_05_10354.jpg
/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_15_10363.jpg
/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_25_9373.jpg
/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_35_10508.jpg
/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_46_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350760612","1350760609","1350760614","1350760617","1350760605","1350760595"],"photo_ids_order":["1350760595","1350760605","1350760609","1350760612","1350760614","1350760617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66d2a0d268f68cd75e79473dcacc6a57.jpg","text":"TemporaryFile(/tmp/multipartBody4372749870749036685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196253286,"filename":"image_09042025_11_07_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/527edd51cda4bbb6daed62bbf8711bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4277451076173264684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196253286,"filename":"image_09042025_11_07_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/4/9/96e333a238b4e4fd9b5ed314613d5bed.jpg","text":"TemporaryFile(/tmp/multipartBody4789327361599934258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196253286,"filename":"image_09042025_11_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/4/9/ca9558fe771198836fc5b8c226c0a177.jpg","text":"TemporaryFile(/tmp/multipartBody5587288637285873607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196253286,"filename":"image_09042025_11_07_46_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/259e8e3b428218632bea3c2d1e139f05.jpg","text":"TemporaryFile(/tmp/multipartBody5065071684116758796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196253286,"filename":"image_09042025_11_07_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/4/9/9dec6dac1309f4b8d991ece43ab61acb.jpg","text":"TemporaryFile(/tmp/multipartBody3446397565548443761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196253286,"filename":"image_09042025_11_06_55_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350760609","file1":"1350760605","file0":"1350760595","file4":"1350760614","file5":"1350760617","file3":"1350760612"},"map_files_photo_id_array":[{"photo_id":"1350760617","filename":"file5"},{"photo_id":"1350760609","filename":"file2"},{"photo_id":"1350760614","filename":"file4"},{"photo_id":"1350760605","filename":"file1"},{"photo_id":"1350760595","filename":"file0"},{"photo_id":"1350760612","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350760612":["hashtag1","hashtag2"]},{"1350760609":["hashtag1","hashtag2"]},{"1350760614":["hashtag1","hashtag2"]},{"1350760617":["hashtag1","hashtag2"]},{"1350760605":["hashtag1","hashtag2"]},{"1350760595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350760612, 1350760609, 1350760614, 1350760617, 1350760605, 1350760595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.824402809143066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 12:57:33.001447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_55_9376.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_15_9361.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_25_10448.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_35_10340.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_45_9429.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_55_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_55_9376.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_15_9361.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_25_10448.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_35_10340.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_45_9429.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_55_10427.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 12:59:03.897168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_55_9376.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_15_9361.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_25_10448.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_35_10340.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_45_9429.jpg', '/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_55_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/07/image_09042025_11_07_55_9376.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_15_9361.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_25_10448.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_35_10340.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_45_9429.jpg
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_08_55_10427.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350761577","1350761478","1350761451","1350761604","1350761546","1350761629"],"photo_ids_order":["1350761451","1350761478","1350761546","1350761577","1350761604","1350761629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e5ab2b103a27f29356313fd54da3563.jpg","text":"TemporaryFile(/tmp/multipartBody2798646099766044938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196404459,"filename":"image_09042025_11_08_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/4/9/d9366486ab9df0d02833ea975389abe6.jpg","text":"TemporaryFile(/tmp/multipartBody8657769106292553001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196404459,"filename":"image_09042025_11_08_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06f7961672faf7dbf1f8e5b6476f8ca3.jpg","text":"TemporaryFile(/tmp/multipartBody8525302689696298458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196404459,"filename":"image_09042025_11_07_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f183ec69da409d8ff1ccab8a9a5cbeb.jpg","text":"TemporaryFile(/tmp/multipartBody8948284422818081023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196404459,"filename":"image_09042025_11_08_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/4/9/8ba9c7be0e873d52e8a1a8d64103bb43.jpg","text":"TemporaryFile(/tmp/multipartBody1733902887058505245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196404459,"filename":"image_09042025_11_08_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/4/9/7ff0db1adb6227c16def3785f3a4e6e3.jpg","text":"TemporaryFile(/tmp/multipartBody1997184869497504201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196404459,"filename":"image_09042025_11_08_55_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350761546","file1":"1350761478","file0":"1350761451","file4":"1350761604","file5":"1350761629","file3":"1350761577"},"map_files_photo_id_array":[{"photo_id":"1350761629","filename":"file5"},{"photo_id":"1350761546","filename":"file2"},{"photo_id":"1350761604","filename":"file4"},{"photo_id":"1350761478","filename":"file1"},{"photo_id":"1350761451","filename":"file0"},{"photo_id":"1350761577","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350761577":["hashtag1","hashtag2"]},{"1350761478":["hashtag1","hashtag2"]},{"1350761451":["hashtag1","hashtag2"]},{"1350761604":["hashtag1","hashtag2"]},{"1350761546":["hashtag1","hashtag2"]},{"1350761629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350761577, 1350761478, 1350761451, 1350761604, 1350761546, 1350761629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.194870471954346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 12:59:42.804247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/08/image_09042025_11_09_05_9353.jpg', '/home/pi/Desktop/images/09042025/11/09/image_09042025_11_09_15_10506.jpg', '/home/pi/Desktop/images/09042025/11/09/image_09042025_11_09_26_10377.jpg', '/home/pi/Desktop/images/09042025/11/09/image_09042025_11_09_55_9352.jpg', '/home/pi/Desktop/images/09042025/11/09/image_09042025_11_10_05_10418.jpg', '/home/pi/Desktop/images/09042025/11/10/image_09042025_11_10_16_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/08/image_09042025_11_09_05_9353.jpg
/home/pi/Desktop/images/09042025/11/09/image_09042025_11_09_15_10506.jpg
/home/pi/Desktop/images/09042025/11/09/image_09042025_11_09_26_10377.jpg
/home/pi/Desktop/images/09042025/11/09/image_09042025_11_09_55_9352.jpg
/home/pi/Desktop/images/09042025/11/09/image_09042025_11_10_05_10418.jpg
/home/pi/Desktop/images/09042025/11/10/image_09042025_11_10_16_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":["1350762000","1350761894","1350761780","1350761936","1350761977","1350761728"],"photo_ids_order":["1350761728","1350761780","1350761894","1350761936","1350761977","1350762000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52c72f43c20de82e6f55f8e1cb06dfd0.jpg","text":"TemporaryFile(/tmp/multipartBody469392207057715356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196443257,"filename":"image_09042025_11_10_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/4/9/10cdd36c8386b3e683eb7733c79d2210.jpg","text":"TemporaryFile(/tmp/multipartBody8449742524557922493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196443257,"filename":"image_09042025_11_09_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/4/9/6905240a40d9972b26875c65d0a0e1e1.jpg","text":"TemporaryFile(/tmp/multipartBody2010073900844732000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196443257,"filename":"image_09042025_11_09_15_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/195074d46afde92946af1199aeea7dde.jpg","text":"TemporaryFile(/tmp/multipartBody5383425764009642003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196443257,"filename":"image_09042025_11_09_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/4/9/bc65c95b7a285e2815ae6a3bba6de3d4.jpg","text":"TemporaryFile(/tmp/multipartBody5463690661423141099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196443257,"filename":"image_09042025_11_10_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/4/9/2382ac66677dbfec0c3c5ea83b3afc41.jpg","text":"TemporaryFile(/tmp/multipartBody3911448168272219156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196443257,"filename":"image_09042025_11_09_05_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350761894","file1":"1350761780","file0":"1350761728","file4":"1350761977","file5":"1350762000","file3":"1350761936"},"map_files_photo_id_array":[{"photo_id":"1350762000","filename":"file5"},{"photo_id":"1350761894","filename":"file2"},{"photo_id":"1350761977","filename":"file4"},{"photo_id":"1350761780","filename":"file1"},{"photo_id":"1350761728","filename":"file0"},{"photo_id":"1350761936","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350762000":["hashtag1","hashtag2"]},{"1350761894":["hashtag1","hashtag2"]},{"1350761780":["hashtag1","hashtag2"]},{"1350761936":["hashtag1","hashtag2"]},{"1350761977":["hashtag1","hashtag2"]},{"1350761728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350762000, 1350761894, 1350761780, 1350761936, 1350761977, 1350761728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98243021965027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:00:33.819942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/10/image_09042025_11_10_25_9339.jpg', '/home/pi/Desktop/images/09042025/11/10/image_09042025_11_10_35_10474.jpg', '/home/pi/Desktop/images/09042025/11/10/image_09042025_11_10_55_10488.jpg', '/home/pi/Desktop/images/09042025/11/10/image_09042025_11_11_06_10345.jpg', '/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_15_9349.jpg', '/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_25_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/10/image_09042025_11_10_25_9339.jpg
/home/pi/Desktop/images/09042025/11/10/image_09042025_11_10_35_10474.jpg
/home/pi/Desktop/images/09042025/11/10/image_09042025_11_10_55_10488.jpg
/home/pi/Desktop/images/09042025/11/10/image_09042025_11_11_06_10345.jpg
/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_15_9349.jpg
/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_25_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350762141","1350762201","1350762170","1350762301","1350762115","1350762246"],"photo_ids_order":["1350762115","1350762141","1350762170","1350762201","1350762246","1350762301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/824191dcc51b4811847a4162b6610714.jpg","text":"TemporaryFile(/tmp/multipartBody4497168361399339648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196494283,"filename":"image_09042025_11_10_35_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/caa74dad5484585a60d8c3201b4a9d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7466963196545036504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196494283,"filename":"image_09042025_11_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/4/9/d608e32b16d86673546b6e1dedb6a163.jpg","text":"TemporaryFile(/tmp/multipartBody6907059828691331538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196494283,"filename":"image_09042025_11_10_55_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/013572cc85ba45dd0d57a878f47f8001.jpg","text":"TemporaryFile(/tmp/multipartBody58806811976570616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196494283,"filename":"image_09042025_11_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/4/9/f7f034e5ef7d457c50c80bf803c3702d.jpg","text":"TemporaryFile(/tmp/multipartBody5873238220739772643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196494283,"filename":"image_09042025_11_10_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/4/9/0153d4f5e0a4c41857781c6169d76668.jpg","text":"TemporaryFile(/tmp/multipartBody5619266652117642517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196494283,"filename":"image_09042025_11_11_15_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350762170","file1":"1350762141","file0":"1350762115","file4":"1350762246","file5":"1350762301","file3":"1350762201"},"map_files_photo_id_array":[{"photo_id":"1350762301","filename":"file5"},{"photo_id":"1350762170","filename":"file2"},{"photo_id":"1350762246","filename":"file4"},{"photo_id":"1350762141","filename":"file1"},{"photo_id":"1350762115","filename":"file0"},{"photo_id":"1350762201","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350762141":["hashtag1","hashtag2"]},{"1350762201":["hashtag1","hashtag2"]},{"1350762170":["hashtag1","hashtag2"]},{"1350762301":["hashtag1","hashtag2"]},{"1350762115":["hashtag1","hashtag2"]},{"1350762246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350762141, 1350762201, 1350762170, 1350762301, 1350762115, 1350762246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.777029514312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:01:32.265706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_35_9367.jpg', '/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_45_10475.jpg', '/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_56_10378.jpg', '/home/pi/Desktop/images/09042025/11/11/image_09042025_11_12_05_9343.jpg', '/home/pi/Desktop/images/09042025/11/12/image_09042025_11_12_15_10421.jpg', '/home/pi/Desktop/images/09042025/11/12/image_09042025_11_12_25_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_35_9367.jpg
/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_45_10475.jpg
/home/pi/Desktop/images/09042025/11/11/image_09042025_11_11_56_10378.jpg
/home/pi/Desktop/images/09042025/11/11/image_09042025_11_12_05_9343.jpg
/home/pi/Desktop/images/09042025/11/12/image_09042025_11_12_15_10421.jpg
/home/pi/Desktop/images/09042025/11/12/image_09042025_11_12_25_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350762899","1350763019","1350763062","1350762771","1350762972","1350762846"],"photo_ids_order":["1350762771","1350762846","1350762899","1350762972","1350763019","1350763062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a788a2e24df7e999156255d55e6a277.jpg","text":"TemporaryFile(/tmp/multipartBody5983680612993180093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196552738,"filename":"image_09042025_11_11_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dad9445e7e868b05a5cfce65c567d127.jpg","text":"TemporaryFile(/tmp/multipartBody4465195148317421037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196552738,"filename":"image_09042025_11_12_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/4/9/5cfdf1d468abcbe2a8d05aad7802881a.jpg","text":"TemporaryFile(/tmp/multipartBody5188888246688946042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196552738,"filename":"image_09042025_11_12_25_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f3f65922ec6cb2dad56ac70e8afefd43.jpg","text":"TemporaryFile(/tmp/multipartBody2038773345890288161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196552738,"filename":"image_09042025_11_11_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/63c07d696cd3c2d6ac98083066a26eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3432514523575098650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196552738,"filename":"image_09042025_11_12_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/4/9/f270d4ddf410405f2f4be4f08b37fcfe.jpg","text":"TemporaryFile(/tmp/multipartBody5071805291885547582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196552738,"filename":"image_09042025_11_11_45_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350762899","file1":"1350762846","file0":"1350762771","file4":"1350763019","file5":"1350763062","file3":"1350762972"},"map_files_photo_id_array":[{"photo_id":"1350763062","filename":"file5"},{"photo_id":"1350762899","filename":"file2"},{"photo_id":"1350763019","filename":"file4"},{"photo_id":"1350762846","filename":"file1"},{"photo_id":"1350762771","filename":"file0"},{"photo_id":"1350762972","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350762899":["hashtag1","hashtag2"]},{"1350763019":["hashtag1","hashtag2"]},{"1350763062":["hashtag1","hashtag2"]},{"1350762771":["hashtag1","hashtag2"]},{"1350762972":["hashtag1","hashtag2"]},{"1350762846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350762899, 1350763019, 1350763062, 1350762771, 1350762972, 1350762846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.155348777770996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:02:32.570217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/12/image_09042025_11_12_45_10377.jpg', '/home/pi/Desktop/images/09042025/11/12/image_09042025_11_12_55_9355.jpg', '/home/pi/Desktop/images/09042025/11/12/image_09042025_11_13_05_10429.jpg', '/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_15_9392.jpg', '/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_25_10463.jpg', '/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_36_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/12/image_09042025_11_12_45_10377.jpg
/home/pi/Desktop/images/09042025/11/12/image_09042025_11_12_55_9355.jpg
/home/pi/Desktop/images/09042025/11/12/image_09042025_11_13_05_10429.jpg
/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_15_9392.jpg
/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_25_10463.jpg
/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_36_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":["1350763651","1350763567","1350763516","1350763426","1350763470","1350763614"],"photo_ids_order":["1350763426","1350763470","1350763516","1350763567","1350763614","1350763651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/084060e983676af71f29d058c4ec2081.jpg","text":"TemporaryFile(/tmp/multipartBody7034359159618680102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196613029,"filename":"image_09042025_11_13_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/4/9/a29f7e39b86c997265086fdf56093ba6.jpg","text":"TemporaryFile(/tmp/multipartBody4661783268471339831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196613029,"filename":"image_09042025_11_13_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/4/9/1219830cd361e35cf9415ac626e2e2a0.jpg","text":"TemporaryFile(/tmp/multipartBody2367137210012396511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196613029,"filename":"image_09042025_11_13_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/4/9/169363b4d8ea3182224869137de28f54.jpg","text":"TemporaryFile(/tmp/multipartBody5305117640358795581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196613029,"filename":"image_09042025_11_12_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/4/9/44c392f5ae9364aa431974e87b60b7b5.jpg","text":"TemporaryFile(/tmp/multipartBody3191614127725935934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196613029,"filename":"image_09042025_11_12_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/4/9/504c25cc7aae3ba02fa04cf40804fee8.jpg","text":"TemporaryFile(/tmp/multipartBody6080584166143342559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196613029,"filename":"image_09042025_11_13_25_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350763516","file1":"1350763470","file0":"1350763426","file4":"1350763614","file5":"1350763651","file3":"1350763567"},"map_files_photo_id_array":[{"photo_id":"1350763651","filename":"file5"},{"photo_id":"1350763516","filename":"file2"},{"photo_id":"1350763614","filename":"file4"},{"photo_id":"1350763470","filename":"file1"},{"photo_id":"1350763426","filename":"file0"},{"photo_id":"1350763567","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350763651":["hashtag1","hashtag2"]},{"1350763567":["hashtag1","hashtag2"]},{"1350763516":["hashtag1","hashtag2"]},{"1350763426":["hashtag1","hashtag2"]},{"1350763470":["hashtag1","hashtag2"]},{"1350763614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350763651, 1350763567, 1350763516, 1350763426, 1350763470, 1350763614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55425786972046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:03:32.837970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_45_9346.jpg', '/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_55_10488.jpg', '/home/pi/Desktop/images/09042025/11/13/image_09042025_11_14_05_9398.jpg', '/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_15_10370.jpg', '/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_26_10447.jpg', '/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_35_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_45_9346.jpg
/home/pi/Desktop/images/09042025/11/13/image_09042025_11_13_55_10488.jpg
/home/pi/Desktop/images/09042025/11/13/image_09042025_11_14_05_9398.jpg
/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_15_10370.jpg
/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_26_10447.jpg
/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_35_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350764237","1350764303","1350764644","1350764458","1350764538","1350764390"],"photo_ids_order":["1350764237","1350764303","1350764390","1350764458","1350764538","1350764644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ea1600688fadc6860ca2e1b2c208e06.jpg","text":"TemporaryFile(/tmp/multipartBody5889765910663648512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196673296,"filename":"image_09042025_11_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/4/9/5ea3e6fa4ece8cf8d105b7138ae85207.jpg","text":"TemporaryFile(/tmp/multipartBody4396951414746933943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196673296,"filename":"image_09042025_11_13_55_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/743b7a833dec84f25ceab0dd9f34fb98.jpg","text":"TemporaryFile(/tmp/multipartBody5825664939550899306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196673296,"filename":"image_09042025_11_14_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/4/9/58ea50aa20148d15437bdda95122af86.jpg","text":"TemporaryFile(/tmp/multipartBody4958899026605112724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196673296,"filename":"image_09042025_11_14_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/4/9/07127c5d90f4650fe075f043c54b21a1.jpg","text":"TemporaryFile(/tmp/multipartBody363451137674172440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196673296,"filename":"image_09042025_11_14_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a0d27277c5bf18c43a21e966ea9f86f.jpg","text":"TemporaryFile(/tmp/multipartBody1273008482206468559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196673296,"filename":"image_09042025_11_14_05_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350764390","file1":"1350764303","file0":"1350764237","file4":"1350764538","file5":"1350764644","file3":"1350764458"},"map_files_photo_id_array":[{"photo_id":"1350764644","filename":"file5"},{"photo_id":"1350764390","filename":"file2"},{"photo_id":"1350764538","filename":"file4"},{"photo_id":"1350764303","filename":"file1"},{"photo_id":"1350764237","filename":"file0"},{"photo_id":"1350764458","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350764237":["hashtag1","hashtag2"]},{"1350764303":["hashtag1","hashtag2"]},{"1350764644":["hashtag1","hashtag2"]},{"1350764458":["hashtag1","hashtag2"]},{"1350764538":["hashtag1","hashtag2"]},{"1350764390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350764237, 1350764303, 1350764644, 1350764458, 1350764538, 1350764390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39308571815491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:04:32.980594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_45_10397.jpg', '/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_55_9404.jpg', '/home/pi/Desktop/images/09042025/11/14/image_09042025_11_15_05_10358.jpg', '/home/pi/Desktop/images/09042025/11/15/image_09042025_11_15_15_10363.jpg', '/home/pi/Desktop/images/09042025/11/15/image_09042025_11_15_25_9434.jpg', '/home/pi/Desktop/images/09042025/11/15/image_09042025_11_15_35_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_45_10397.jpg
/home/pi/Desktop/images/09042025/11/14/image_09042025_11_14_55_9404.jpg
/home/pi/Desktop/images/09042025/11/14/image_09042025_11_15_05_10358.jpg
/home/pi/Desktop/images/09042025/11/15/image_09042025_11_15_15_10363.jpg
/home/pi/Desktop/images/09042025/11/15/image_09042025_11_15_25_9434.jpg
/home/pi/Desktop/images/09042025/11/15/image_09042025_11_15_35_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350765094","1350765244","1350765130","1350765351","1350765176","1350765305"],"photo_ids_order":["1350765094","1350765130","1350765176","1350765244","1350765305","1350765351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1385ca63dc4d3196fb8940fea2690c26.jpg","text":"TemporaryFile(/tmp/multipartBody2113062262401286748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196733447,"filename":"image_09042025_11_14_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9986e47796e9109b8906d582853d6630.jpg","text":"TemporaryFile(/tmp/multipartBody3533443206673456627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196733447,"filename":"image_09042025_11_15_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/4/9/e028d14311ba6afbe552689d7678a2c6.jpg","text":"TemporaryFile(/tmp/multipartBody6681359874961078584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196733447,"filename":"image_09042025_11_14_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/4/9/d509a63f258a2343c060121309972872.jpg","text":"TemporaryFile(/tmp/multipartBody2369395360490775662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196733447,"filename":"image_09042025_11_15_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/738c997450cb2a637b2e87c7be2ce11c.jpg","text":"TemporaryFile(/tmp/multipartBody2672317346497674965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196733447,"filename":"image_09042025_11_15_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/4/9/cafc287113b1d81ac5895ca310f66f47.jpg","text":"TemporaryFile(/tmp/multipartBody6299658883544533151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196733447,"filename":"image_09042025_11_15_25_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350765176","file1":"1350765130","file0":"1350765094","file4":"1350765305","file5":"1350765351","file3":"1350765244"},"map_files_photo_id_array":[{"photo_id":"1350765351","filename":"file5"},{"photo_id":"1350765176","filename":"file2"},{"photo_id":"1350765305","filename":"file4"},{"photo_id":"1350765130","filename":"file1"},{"photo_id":"1350765094","filename":"file0"},{"photo_id":"1350765244","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350765094":["hashtag1","hashtag2"]},{"1350765244":["hashtag1","hashtag2"]},{"1350765130":["hashtag1","hashtag2"]},{"1350765351":["hashtag1","hashtag2"]},{"1350765176":["hashtag1","hashtag2"]},{"1350765305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350765094, 1350765244, 1350765130, 1350765351, 1350765176, 1350765305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74891972541809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:05:32.236375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/15/image_09042025_11_15_55_10468.jpg', '/home/pi/Desktop/images/09042025/11/15/image_09042025_11_16_05_10355.jpg', '/home/pi/Desktop/images/09042025/11/16/image_09042025_11_16_15_9330.jpg', '/home/pi/Desktop/images/09042025/11/16/image_09042025_11_16_25_10448.jpg', '/home/pi/Desktop/images/09042025/11/16/image_09042025_11_16_45_9451.jpg', '/home/pi/Desktop/images/09042025/11/16/image_09042025_11_16_55_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/15/image_09042025_11_15_55_10468.jpg
/home/pi/Desktop/images/09042025/11/15/image_09042025_11_16_05_10355.jpg
/home/pi/Desktop/images/09042025/11/16/image_09042025_11_16_15_9330.jpg
/home/pi/Desktop/images/09042025/11/16/image_09042025_11_16_25_10448.jpg
/home/pi/Desktop/images/09042025/11/16/image_09042025_11_16_45_9451.jpg
/home/pi/Desktop/images/09042025/11/16/image_09042025_11_16_55_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":["1350765757","1350765897","1350765836","1350765653","1350765803","1350765704"],"photo_ids_order":["1350765653","1350765704","1350765757","1350765803","1350765836","1350765897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/464ed73fcd92000f74ec5272539e282d.jpg","text":"TemporaryFile(/tmp/multipartBody871394201645266519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196792711,"filename":"image_09042025_11_16_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/4/9/92fabb4ae08728180f40c15e79575ac7.jpg","text":"TemporaryFile(/tmp/multipartBody6561040744645803881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196792711,"filename":"image_09042025_11_16_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/4/9/265a5b8d21825cd1ee7c78b554a0558c.jpg","text":"TemporaryFile(/tmp/multipartBody9178830932119084870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196792711,"filename":"image_09042025_11_16_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eac17e96ff6c0da23e2f8f9ef8c74b49.jpg","text":"TemporaryFile(/tmp/multipartBody4678899260023483385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196792711,"filename":"image_09042025_11_15_55_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/414b61fe291cda1f9b4c3be630eba604.jpg","text":"TemporaryFile(/tmp/multipartBody3405082892733220965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196792711,"filename":"image_09042025_11_16_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/4/9/032ffefcff7b2535b24475e9eb5b982a.jpg","text":"TemporaryFile(/tmp/multipartBody6180500930968849611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196792711,"filename":"image_09042025_11_16_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350765757","file1":"1350765704","file0":"1350765653","file4":"1350765836","file5":"1350765897","file3":"1350765803"},"map_files_photo_id_array":[{"photo_id":"1350765897","filename":"file5"},{"photo_id":"1350765757","filename":"file2"},{"photo_id":"1350765836","filename":"file4"},{"photo_id":"1350765704","filename":"file1"},{"photo_id":"1350765653","filename":"file0"},{"photo_id":"1350765803","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350765757":["hashtag1","hashtag2"]},{"1350765897":["hashtag1","hashtag2"]},{"1350765836":["hashtag1","hashtag2"]},{"1350765653":["hashtag1","hashtag2"]},{"1350765803":["hashtag1","hashtag2"]},{"1350765704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350765757, 1350765897, 1350765836, 1350765653, 1350765803, 1350765704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53867149353027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:06:32.451235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/16/image_09042025_11_17_05_9349.jpg', '/home/pi/Desktop/images/09042025/11/17/image_09042025_11_17_15_10459.jpg', '/home/pi/Desktop/images/09042025/11/17/image_09042025_11_17_35_10473.jpg', '/home/pi/Desktop/images/09042025/11/17/image_09042025_11_17_45_10358.jpg', '/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_16_10350.jpg', '/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_25_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/16/image_09042025_11_17_05_9349.jpg
/home/pi/Desktop/images/09042025/11/17/image_09042025_11_17_15_10459.jpg
/home/pi/Desktop/images/09042025/11/17/image_09042025_11_17_35_10473.jpg
/home/pi/Desktop/images/09042025/11/17/image_09042025_11_17_45_10358.jpg
/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_16_10350.jpg
/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_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":["1350766395","1350766182","1350766322","1350766223","1350766099","1350766147"],"photo_ids_order":["1350766099","1350766147","1350766182","1350766223","1350766322","1350766395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59099eb4f57fc0496e7ea99b65f61d34.jpg","text":"TemporaryFile(/tmp/multipartBody9091130597416261377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196852906,"filename":"image_09042025_11_18_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/4/9/f04105c691e5e1dc797ab83eb1074e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5403295482955024202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196852906,"filename":"image_09042025_11_17_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/4/9/e2bd2822e9e854dfa291849c5ddc2f95.jpg","text":"TemporaryFile(/tmp/multipartBody789033525998161841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196852906,"filename":"image_09042025_11_18_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/4/9/3d8d8bbd6d8860178483adc4e58f568f.jpg","text":"TemporaryFile(/tmp/multipartBody3160662996535292136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196852906,"filename":"image_09042025_11_17_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/4/9/0979791e686e788dce18559aac38a9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1300340439947897169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196852906,"filename":"image_09042025_11_17_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/4/9/d240d07c5d94b67132ce14fcc544c04e.jpg","text":"TemporaryFile(/tmp/multipartBody2864875879052013870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196852906,"filename":"image_09042025_11_17_15_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350766182","file1":"1350766147","file0":"1350766099","file4":"1350766322","file5":"1350766395","file3":"1350766223"},"map_files_photo_id_array":[{"photo_id":"1350766395","filename":"file5"},{"photo_id":"1350766182","filename":"file2"},{"photo_id":"1350766322","filename":"file4"},{"photo_id":"1350766147","filename":"file1"},{"photo_id":"1350766099","filename":"file0"},{"photo_id":"1350766223","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350766395":["hashtag1","hashtag2"]},{"1350766182":["hashtag1","hashtag2"]},{"1350766322":["hashtag1","hashtag2"]},{"1350766223":["hashtag1","hashtag2"]},{"1350766099":["hashtag1","hashtag2"]},{"1350766147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350766395, 1350766182, 1350766322, 1350766223, 1350766099, 1350766147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26278805732727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:07:32.760859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_35_10358.jpg', '/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_46_10370.jpg', '/home/pi/Desktop/images/09042025/11/18/image_09042025_11_19_05_10397.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_15_9331.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_25_10437.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_35_10358.jpg
/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_46_10370.jpg
/home/pi/Desktop/images/09042025/11/18/image_09042025_11_19_05_10397.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_15_9331.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_25_10437.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_35_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37518787384033203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 13:07:42.719292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_35_10358.jpg', '/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_46_10370.jpg', '/home/pi/Desktop/images/09042025/11/18/image_09042025_11_19_05_10397.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_15_9331.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_25_10437.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_35_10358.jpg
/home/pi/Desktop/images/09042025/11/18/image_09042025_11_18_46_10370.jpg
/home/pi/Desktop/images/09042025/11/18/image_09042025_11_19_05_10397.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_15_9331.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_25_10437.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_35_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":["1350767208","1350766941","1350767084","1350767141","1350767161","1350767035"],"photo_ids_order":["1350766941","1350767035","1350767084","1350767141","1350767161","1350767208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/576c8b7c7fcea98628df79818ef95beb.jpg","text":"TemporaryFile(/tmp/multipartBody4167772932307303451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196923178,"filename":"image_09042025_11_19_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/4/9/8489fc67dabba3bfc1e3d959879e5668.jpg","text":"TemporaryFile(/tmp/multipartBody6263633947682402362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196923178,"filename":"image_09042025_11_18_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/4/9/b854df3203783d86f3805b2a5d37e727.jpg","text":"TemporaryFile(/tmp/multipartBody8333981038627225598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196923178,"filename":"image_09042025_11_19_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/4/9/0309cb5952712b2b71d00e7ebd786f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3237069937710937583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196923178,"filename":"image_09042025_11_19_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/4/9/f274f2b67d7294f89114f5a3ec94d35f.jpg","text":"TemporaryFile(/tmp/multipartBody2768787148387001699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196923178,"filename":"image_09042025_11_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/4/9/5e588509f3b5014d86c37ac7391c8d97.jpg","text":"TemporaryFile(/tmp/multipartBody8524455231324359382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196923178,"filename":"image_09042025_11_18_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350767084","file1":"1350767035","file0":"1350766941","file4":"1350767161","file5":"1350767208","file3":"1350767141"},"map_files_photo_id_array":[{"photo_id":"1350767208","filename":"file5"},{"photo_id":"1350767084","filename":"file2"},{"photo_id":"1350767161","filename":"file4"},{"photo_id":"1350767035","filename":"file1"},{"photo_id":"1350766941","filename":"file0"},{"photo_id":"1350767141","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350767208":["hashtag1","hashtag2"]},{"1350766941":["hashtag1","hashtag2"]},{"1350767084":["hashtag1","hashtag2"]},{"1350767141":["hashtag1","hashtag2"]},{"1350767161":["hashtag1","hashtag2"]},{"1350767035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350767208, 1350766941, 1350767084, 1350767141, 1350767161, 1350767035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81628966331482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:08:33.083433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_45_9369.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_55_10434.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_20_05_9358.jpg', '/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_15_10440.jpg', '/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_35_9343.jpg', '/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_45_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_45_9369.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_55_10434.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_20_05_9358.jpg
/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_15_10440.jpg
/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_35_9343.jpg
/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4134502410888672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 13:08:43.052277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_45_9369.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_55_10434.jpg', '/home/pi/Desktop/images/09042025/11/19/image_09042025_11_20_05_9358.jpg', '/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_15_10440.jpg', '/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_35_9343.jpg', '/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_45_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_45_9369.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_19_55_10434.jpg
/home/pi/Desktop/images/09042025/11/19/image_09042025_11_20_05_9358.jpg
/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_15_10440.jpg
/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_35_9343.jpg
/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_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":["1350767661","1350767861","1350767792","1350767759","1350767924","1350767830"],"photo_ids_order":["1350767661","1350767759","1350767792","1350767830","1350767861","1350767924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/233efb792f73f33b74dc6c05a6bdcddd.jpg","text":"TemporaryFile(/tmp/multipartBody882763563195187287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196983510,"filename":"image_09042025_11_19_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/4/9/a1d8b6ea3ee96b77943d20dab7950e6a.jpg","text":"TemporaryFile(/tmp/multipartBody5192062760812548406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196983510,"filename":"image_09042025_11_20_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/4/9/3c957df68d1341cccef77e31d73d9b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7994210825166091426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196983510,"filename":"image_09042025_11_20_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/831f67ecbc548cfae2fe14cd3c12a00c.jpg","text":"TemporaryFile(/tmp/multipartBody8833755382523343235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196983510,"filename":"image_09042025_11_19_55_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd46ddf84ef86eb83096f7ded22e6c41.jpg","text":"TemporaryFile(/tmp/multipartBody8165176940350905012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196983510,"filename":"image_09042025_11_20_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/4/9/5053bfda387f19dbb8560ede61136ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4804629428770377193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744196983510,"filename":"image_09042025_11_20_15_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350767792","file1":"1350767759","file0":"1350767661","file4":"1350767861","file5":"1350767924","file3":"1350767830"},"map_files_photo_id_array":[{"photo_id":"1350767924","filename":"file5"},{"photo_id":"1350767792","filename":"file2"},{"photo_id":"1350767861","filename":"file4"},{"photo_id":"1350767759","filename":"file1"},{"photo_id":"1350767661","filename":"file0"},{"photo_id":"1350767830","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350767661":["hashtag1","hashtag2"]},{"1350767861":["hashtag1","hashtag2"]},{"1350767792":["hashtag1","hashtag2"]},{"1350767759":["hashtag1","hashtag2"]},{"1350767924":["hashtag1","hashtag2"]},{"1350767830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350767661, 1350767861, 1350767792, 1350767759, 1350767924, 1350767830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.24374556541443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:09:32.233104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_55_9725.jpg', '/home/pi/Desktop/images/09042025/11/20/image_09042025_11_21_05_10409.jpg', '/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_15_9371.jpg', '/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_25_10455.jpg', '/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_36_10358.jpg', '/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_45_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/20/image_09042025_11_20_55_9725.jpg
/home/pi/Desktop/images/09042025/11/20/image_09042025_11_21_05_10409.jpg
/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_15_9371.jpg
/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_25_10455.jpg
/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_36_10358.jpg
/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_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":["1350768306","1350768213","1350768266","1350768173","1350768109","1350768130"],"photo_ids_order":["1350768109","1350768130","1350768173","1350768213","1350768266","1350768306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d2ac89e7acaedf099bb743f4e34d816.jpg","text":"TemporaryFile(/tmp/multipartBody4345928011976927275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197032709,"filename":"image_09042025_11_21_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/4/9/8a982ad9b3e83dadd7745982ffbf687a.jpg","text":"TemporaryFile(/tmp/multipartBody3004804766643923902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197032709,"filename":"image_09042025_11_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/4/9/7e828e58e9fb3b917ba4258267c082f6.jpg","text":"TemporaryFile(/tmp/multipartBody7886008253190071109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197032709,"filename":"image_09042025_11_21_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/499a7c32d637153c292618a4db5e05ef.jpg","text":"TemporaryFile(/tmp/multipartBody2260598926969215919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197032709,"filename":"image_09042025_11_21_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/4/9/40dcbe0d3fb909bcfbf755df0facf4f4.jpg","text":"TemporaryFile(/tmp/multipartBody973525665346511506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197032709,"filename":"image_09042025_11_20_55_9725.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3f84b50b891f4db8fdf752f674e8ee6.jpg","text":"TemporaryFile(/tmp/multipartBody3623649135844341743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197032709,"filename":"image_09042025_11_21_05_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350768173","file1":"1350768130","file0":"1350768109","file4":"1350768266","file5":"1350768306","file3":"1350768213"},"map_files_photo_id_array":[{"photo_id":"1350768306","filename":"file5"},{"photo_id":"1350768173","filename":"file2"},{"photo_id":"1350768266","filename":"file4"},{"photo_id":"1350768130","filename":"file1"},{"photo_id":"1350768109","filename":"file0"},{"photo_id":"1350768213","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350768306":["hashtag1","hashtag2"]},{"1350768213":["hashtag1","hashtag2"]},{"1350768266":["hashtag1","hashtag2"]},{"1350768173":["hashtag1","hashtag2"]},{"1350768109":["hashtag1","hashtag2"]},{"1350768130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350768306, 1350768213, 1350768266, 1350768173, 1350768109, 1350768130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36252737045288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:10:32.573490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_55_10462.jpg', '/home/pi/Desktop/images/09042025/11/21/image_09042025_11_22_05_9414.jpg', '/home/pi/Desktop/images/09042025/11/22/image_09042025_11_22_15_10429.jpg', '/home/pi/Desktop/images/09042025/11/22/image_09042025_11_22_35_10363.jpg', '/home/pi/Desktop/images/09042025/11/22/image_09042025_11_22_45_10361.jpg', '/home/pi/Desktop/images/09042025/11/22/image_09042025_11_22_55_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/21/image_09042025_11_21_55_10462.jpg
/home/pi/Desktop/images/09042025/11/21/image_09042025_11_22_05_9414.jpg
/home/pi/Desktop/images/09042025/11/22/image_09042025_11_22_15_10429.jpg
/home/pi/Desktop/images/09042025/11/22/image_09042025_11_22_35_10363.jpg
/home/pi/Desktop/images/09042025/11/22/image_09042025_11_22_45_10361.jpg
/home/pi/Desktop/images/09042025/11/22/image_09042025_11_22_55_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350768479","1350768467","1350768483","1350768474","1350768477","1350768444"],"photo_ids_order":["1350768444","1350768467","1350768474","1350768477","1350768479","1350768483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef473759754e21e834b8a48a4414704e.jpg","text":"TemporaryFile(/tmp/multipartBody2384231851272985795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197093031,"filename":"image_09042025_11_22_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4177bf7e3d85db7dd374cf9114ecfcd1.jpg","text":"TemporaryFile(/tmp/multipartBody222603147849728093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197093031,"filename":"image_09042025_11_22_05_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1dc001eac3c726be798eec26296761d.jpg","text":"TemporaryFile(/tmp/multipartBody1396743021269347633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197093031,"filename":"image_09042025_11_22_55_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e8bfd9dc8b748ca953270ce4a0ec8bb.jpg","text":"TemporaryFile(/tmp/multipartBody7312937940040785114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197093031,"filename":"image_09042025_11_22_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/4/9/72cd58d0d98a36b92215a942f3396f10.jpg","text":"TemporaryFile(/tmp/multipartBody3677071515489586599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197093031,"filename":"image_09042025_11_22_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/4/9/fdc7b11e7b54e23a1336b403ee7b852e.jpg","text":"TemporaryFile(/tmp/multipartBody5338338482358782537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197093031,"filename":"image_09042025_11_21_55_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350768474","file1":"1350768467","file0":"1350768444","file4":"1350768479","file5":"1350768483","file3":"1350768477"},"map_files_photo_id_array":[{"photo_id":"1350768483","filename":"file5"},{"photo_id":"1350768474","filename":"file2"},{"photo_id":"1350768479","filename":"file4"},{"photo_id":"1350768467","filename":"file1"},{"photo_id":"1350768444","filename":"file0"},{"photo_id":"1350768477","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350768479":["hashtag1","hashtag2"]},{"1350768467":["hashtag1","hashtag2"]},{"1350768483":["hashtag1","hashtag2"]},{"1350768474":["hashtag1","hashtag2"]},{"1350768477":["hashtag1","hashtag2"]},{"1350768444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350768479, 1350768467, 1350768483, 1350768474, 1350768477, 1350768444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43976640701294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:11:32.759883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/22/image_09042025_11_23_05_10444.jpg', '/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_15_9394.jpg', '/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_25_10541.jpg', '/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_36_10370.jpg', '/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_45_9351.jpg', '/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_55_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/22/image_09042025_11_23_05_10444.jpg
/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_15_9394.jpg
/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_25_10541.jpg
/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_36_10370.jpg
/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_45_9351.jpg
/home/pi/Desktop/images/09042025/11/23/image_09042025_11_23_55_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":["1350768603","1350768655","1350768631","1350768607","1350768597","1350768600"],"photo_ids_order":["1350768597","1350768600","1350768603","1350768607","1350768631","1350768655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e775bbffbaaf8c2f197b08bc0c2fa326.jpg","text":"TemporaryFile(/tmp/multipartBody7345409839407523290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197153217,"filename":"image_09042025_11_23_25_10541.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a430fb16da029bb9a12c8c666fe8443.jpg","text":"TemporaryFile(/tmp/multipartBody5967940009774387904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197153217,"filename":"image_09042025_11_23_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/4/9/815bb9619b9b01b40834965e9f69bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody8946962386031947156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197153217,"filename":"image_09042025_11_23_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e0762da028f02e02843e968f6c50748.jpg","text":"TemporaryFile(/tmp/multipartBody5908167304607023080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197153217,"filename":"image_09042025_11_23_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b8b2bb613a6d5ee074cf86ed3c05957.jpg","text":"TemporaryFile(/tmp/multipartBody8588990646013731691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197153217,"filename":"image_09042025_11_23_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/4/9/a3775f5af38d1ceff5f1845ce6a383bc.jpg","text":"TemporaryFile(/tmp/multipartBody5881385632119973638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197153217,"filename":"image_09042025_11_23_15_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350768603","file1":"1350768600","file0":"1350768597","file4":"1350768631","file5":"1350768655","file3":"1350768607"},"map_files_photo_id_array":[{"photo_id":"1350768655","filename":"file5"},{"photo_id":"1350768603","filename":"file2"},{"photo_id":"1350768631","filename":"file4"},{"photo_id":"1350768600","filename":"file1"},{"photo_id":"1350768597","filename":"file0"},{"photo_id":"1350768607","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350768603":["hashtag1","hashtag2"]},{"1350768655":["hashtag1","hashtag2"]},{"1350768631":["hashtag1","hashtag2"]},{"1350768607":["hashtag1","hashtag2"]},{"1350768597":["hashtag1","hashtag2"]},{"1350768600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350768603, 1350768655, 1350768631, 1350768607, 1350768597, 1350768600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.92096257209778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:12:33.036905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/23/image_09042025_11_24_05_9349.jpg', '/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_15_10493.jpg', '/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_25_9441.jpg', '/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_35_10431.jpg', '/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_45_10369.jpg', '/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_55_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/23/image_09042025_11_24_05_9349.jpg
/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_15_10493.jpg
/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_25_9441.jpg
/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_35_10431.jpg
/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_45_10369.jpg
/home/pi/Desktop/images/09042025/11/24/image_09042025_11_24_55_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":["1350768692","1350768689","1350768707","1350768694","1350768703","1350768687"],"photo_ids_order":["1350768687","1350768689","1350768692","1350768694","1350768703","1350768707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5246239a194206c779bc9a5a6cf6e422.jpg","text":"TemporaryFile(/tmp/multipartBody8048275651898603491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197213502,"filename":"image_09042025_11_24_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/4/9/f40d14322648e234c7926ecf78d4727a.jpg","text":"TemporaryFile(/tmp/multipartBody8188678621935666154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197213502,"filename":"image_09042025_11_24_15_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/705da482d4dc37ae1f2623d45c57079d.jpg","text":"TemporaryFile(/tmp/multipartBody5347647324281869349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197213502,"filename":"image_09042025_11_24_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/4/9/536c4fbb61a0a6169dc396f0900866fd.jpg","text":"TemporaryFile(/tmp/multipartBody6975117603134069204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197213502,"filename":"image_09042025_11_24_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/4/9/6d1954225533425088d2b26c46d5564a.jpg","text":"TemporaryFile(/tmp/multipartBody9151024172075313082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197213502,"filename":"image_09042025_11_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/4/9/b006d766a75ad2e806f5d77a739a4df9.jpg","text":"TemporaryFile(/tmp/multipartBody2075888005252311583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197213502,"filename":"image_09042025_11_24_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350768692","file1":"1350768689","file0":"1350768687","file4":"1350768703","file5":"1350768707","file3":"1350768694"},"map_files_photo_id_array":[{"photo_id":"1350768707","filename":"file5"},{"photo_id":"1350768692","filename":"file2"},{"photo_id":"1350768703","filename":"file4"},{"photo_id":"1350768689","filename":"file1"},{"photo_id":"1350768687","filename":"file0"},{"photo_id":"1350768694","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350768692":["hashtag1","hashtag2"]},{"1350768689":["hashtag1","hashtag2"]},{"1350768707":["hashtag1","hashtag2"]},{"1350768694":["hashtag1","hashtag2"]},{"1350768703":["hashtag1","hashtag2"]},{"1350768687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350768692, 1350768689, 1350768707, 1350768694, 1350768703, 1350768687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94532513618469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:13:32.261222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/24/image_09042025_11_25_05_10426.jpg', '/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_16_10356.jpg', '/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_25_9338.jpg', '/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_35_10445.jpg', '/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_45_9356.jpg', '/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_55_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/24/image_09042025_11_25_05_10426.jpg
/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_16_10356.jpg
/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_25_9338.jpg
/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_35_10445.jpg
/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_45_9356.jpg
/home/pi/Desktop/images/09042025/11/25/image_09042025_11_25_55_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350768767","1350768776","1350768772","1350768769","1350768763","1350768756"],"photo_ids_order":["1350768756","1350768763","1350768767","1350768769","1350768772","1350768776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1981ad3ab50c178ae1aca4211766341c.jpg","text":"TemporaryFile(/tmp/multipartBody6509215470022712670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197272719,"filename":"image_09042025_11_25_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/4/9/31b7690d84a4b30d22080decb43e3aa8.jpg","text":"TemporaryFile(/tmp/multipartBody3210374732144298585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197272719,"filename":"image_09042025_11_25_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/4/9/64a842a8eebaa5dc91c7ac42f6ac9ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8309397843123506680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197272719,"filename":"image_09042025_11_25_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/54b30ea6173df51b49f74bd1c0d89bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6226665188349902302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197272719,"filename":"image_09042025_11_25_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f471839255e35f2dda3e70f9261cf70.jpg","text":"TemporaryFile(/tmp/multipartBody4705843577519892081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197272719,"filename":"image_09042025_11_25_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/4/9/21b9298f62a5cce3cd13c8c7664fc0c0.jpg","text":"TemporaryFile(/tmp/multipartBody8705709478616936754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197272719,"filename":"image_09042025_11_25_05_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350768767","file1":"1350768763","file0":"1350768756","file4":"1350768772","file5":"1350768776","file3":"1350768769"},"map_files_photo_id_array":[{"photo_id":"1350768776","filename":"file5"},{"photo_id":"1350768767","filename":"file2"},{"photo_id":"1350768772","filename":"file4"},{"photo_id":"1350768763","filename":"file1"},{"photo_id":"1350768756","filename":"file0"},{"photo_id":"1350768769","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350768767":["hashtag1","hashtag2"]},{"1350768776":["hashtag1","hashtag2"]},{"1350768772":["hashtag1","hashtag2"]},{"1350768769":["hashtag1","hashtag2"]},{"1350768763":["hashtag1","hashtag2"]},{"1350768756":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350768767, 1350768776, 1350768772, 1350768769, 1350768763, 1350768756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.22816205024719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:14:32.546655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/25/image_09042025_11_26_06_10351.jpg', '/home/pi/Desktop/images/09042025/11/26/image_09042025_11_26_15_9398.jpg', '/home/pi/Desktop/images/09042025/11/26/image_09042025_11_26_25_10368.jpg', '/home/pi/Desktop/images/09042025/11/26/image_09042025_11_26_45_10437.jpg', '/home/pi/Desktop/images/09042025/11/26/image_09042025_11_26_55_10364.jpg', '/home/pi/Desktop/images/09042025/11/26/image_09042025_11_27_05_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/25/image_09042025_11_26_06_10351.jpg
/home/pi/Desktop/images/09042025/11/26/image_09042025_11_26_15_9398.jpg
/home/pi/Desktop/images/09042025/11/26/image_09042025_11_26_25_10368.jpg
/home/pi/Desktop/images/09042025/11/26/image_09042025_11_26_45_10437.jpg
/home/pi/Desktop/images/09042025/11/26/image_09042025_11_26_55_10364.jpg
/home/pi/Desktop/images/09042025/11/26/image_09042025_11_27_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":["1350768791","1350768785","1350768793","1350768795","1350768789","1350768798"],"photo_ids_order":["1350768785","1350768789","1350768791","1350768793","1350768795","1350768798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18313a71eceb23fab1f447c6238f802f.jpg","text":"TemporaryFile(/tmp/multipartBody4578810207942253309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197333019,"filename":"image_09042025_11_26_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/4/9/9dccd2b7aa894a53bcf632cb6913fa70.jpg","text":"TemporaryFile(/tmp/multipartBody8330816490405257202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197333019,"filename":"image_09042025_11_26_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/4/9/29c7123e13856f18db37e403f41bceab.jpg","text":"TemporaryFile(/tmp/multipartBody2465657557458755288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197333019,"filename":"image_09042025_11_26_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a01c13b540da340fb80a9a7220cc6a8e.jpg","text":"TemporaryFile(/tmp/multipartBody3735790665579045119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197333019,"filename":"image_09042025_11_26_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8351144699215b4ebb540fa0498bca9.jpg","text":"TemporaryFile(/tmp/multipartBody1072089874682127147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197333019,"filename":"image_09042025_11_26_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80ca524e5a24b272e3859a6dedc50deb.jpg","text":"TemporaryFile(/tmp/multipartBody444890423984310214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197333019,"filename":"image_09042025_11_27_05_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350768791","file1":"1350768789","file0":"1350768785","file4":"1350768795","file5":"1350768798","file3":"1350768793"},"map_files_photo_id_array":[{"photo_id":"1350768798","filename":"file5"},{"photo_id":"1350768791","filename":"file2"},{"photo_id":"1350768795","filename":"file4"},{"photo_id":"1350768789","filename":"file1"},{"photo_id":"1350768785","filename":"file0"},{"photo_id":"1350768793","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350768791":["hashtag1","hashtag2"]},{"1350768785":["hashtag1","hashtag2"]},{"1350768793":["hashtag1","hashtag2"]},{"1350768795":["hashtag1","hashtag2"]},{"1350768789":["hashtag1","hashtag2"]},{"1350768798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350768791, 1350768785, 1350768793, 1350768795, 1350768789, 1350768798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99564790725708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:15:32.783340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_15_10395.jpg', '/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_25_9365.jpg', '/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_35_10400.jpg', '/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_45_10366.jpg', '/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_55_9369.jpg', '/home/pi/Desktop/images/09042025/11/27/image_09042025_11_28_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_15_10395.jpg
/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_25_9365.jpg
/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_35_10400.jpg
/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_45_10366.jpg
/home/pi/Desktop/images/09042025/11/27/image_09042025_11_27_55_9369.jpg
/home/pi/Desktop/images/09042025/11/27/image_09042025_11_28_05_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":["1350768819","1350768821","1350768815","1350768823","1350768817","1350768813"],"photo_ids_order":["1350768813","1350768815","1350768817","1350768819","1350768821","1350768823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fef631a0539a033fe158771cf0dcefc3.jpg","text":"TemporaryFile(/tmp/multipartBody5033541159706417912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197393239,"filename":"image_09042025_11_27_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/4/9/89a362429d9dd11a8934870e05cb2c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2264373014842676880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197393239,"filename":"image_09042025_11_27_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d90d114279941691e49b7f682b49ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8130138342684879833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197393239,"filename":"image_09042025_11_27_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/4/9/4de5814dc3cb3a095be6633788a9465a.jpg","text":"TemporaryFile(/tmp/multipartBody7308542613995245072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197393239,"filename":"image_09042025_11_28_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/4/9/ed6803459c5eb5113ec77b985b211625.jpg","text":"TemporaryFile(/tmp/multipartBody8458771624256101520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197393239,"filename":"image_09042025_11_27_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a660b1d747a1a1199b294711e421cede.jpg","text":"TemporaryFile(/tmp/multipartBody3685622903992528207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197393239,"filename":"image_09042025_11_27_15_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350768817","file1":"1350768815","file0":"1350768813","file4":"1350768821","file5":"1350768823","file3":"1350768819"},"map_files_photo_id_array":[{"photo_id":"1350768823","filename":"file5"},{"photo_id":"1350768817","filename":"file2"},{"photo_id":"1350768821","filename":"file4"},{"photo_id":"1350768815","filename":"file1"},{"photo_id":"1350768813","filename":"file0"},{"photo_id":"1350768819","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350768819":["hashtag1","hashtag2"]},{"1350768821":["hashtag1","hashtag2"]},{"1350768815":["hashtag1","hashtag2"]},{"1350768823":["hashtag1","hashtag2"]},{"1350768817":["hashtag1","hashtag2"]},{"1350768813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350768819, 1350768821, 1350768815, 1350768823, 1350768817, 1350768813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.263947010040283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:16:32.952047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_16_10372.jpg', '/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_25_9355.jpg', '/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_35_10409.jpg', '/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_45_9346.jpg', '/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_55_10463.jpg', '/home/pi/Desktop/images/09042025/11/28/image_09042025_11_29_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_16_10372.jpg
/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_25_9355.jpg
/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_35_10409.jpg
/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_45_9346.jpg
/home/pi/Desktop/images/09042025/11/28/image_09042025_11_28_55_10463.jpg
/home/pi/Desktop/images/09042025/11/28/image_09042025_11_29_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":["1350768911","1350768895","1350768892","1350768934","1350768922","1350768945"],"photo_ids_order":["1350768892","1350768895","1350768911","1350768922","1350768934","1350768945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc0c623ea14eb1eb9f7804dd00daf642.jpg","text":"TemporaryFile(/tmp/multipartBody7487624116333285626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197453417,"filename":"image_09042025_11_28_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a171db8bfc5a3fd2637d8ee15691ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2419614069439343083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197453417,"filename":"image_09042025_11_28_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/4/9/d37a1df4f12a71dde9a5980abf987289.jpg","text":"TemporaryFile(/tmp/multipartBody1690745671535594887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197453417,"filename":"image_09042025_11_28_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/4/9/f1b96f90222fb04ecf039481e0a184ac.jpg","text":"TemporaryFile(/tmp/multipartBody8208389612891321415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197453417,"filename":"image_09042025_11_28_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/4/9/d01b036a5c8804706227a164a2608b7e.jpg","text":"TemporaryFile(/tmp/multipartBody4867957016910877405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197453417,"filename":"image_09042025_11_28_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/4/9/f2523df9cca881cddd0dae4cf026b10b.jpg","text":"TemporaryFile(/tmp/multipartBody8061196453281718763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197453417,"filename":"image_09042025_11_29_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350768911","file1":"1350768895","file0":"1350768892","file4":"1350768934","file5":"1350768945","file3":"1350768922"},"map_files_photo_id_array":[{"photo_id":"1350768945","filename":"file5"},{"photo_id":"1350768911","filename":"file2"},{"photo_id":"1350768934","filename":"file4"},{"photo_id":"1350768895","filename":"file1"},{"photo_id":"1350768892","filename":"file0"},{"photo_id":"1350768922","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350768911":["hashtag1","hashtag2"]},{"1350768895":["hashtag1","hashtag2"]},{"1350768892":["hashtag1","hashtag2"]},{"1350768934":["hashtag1","hashtag2"]},{"1350768922":["hashtag1","hashtag2"]},{"1350768945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350768911, 1350768895, 1350768892, 1350768934, 1350768922, 1350768945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78558588027954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:17:32.393599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_15_9391.jpg', '/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_25_10383.jpg', '/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_36_10366.jpg', '/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_45_9361.jpg', '/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_55_10427.jpg', '/home/pi/Desktop/images/09042025/11/29/image_09042025_11_30_05_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_15_9391.jpg
/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_25_10383.jpg
/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_36_10366.jpg
/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_45_9361.jpg
/home/pi/Desktop/images/09042025/11/29/image_09042025_11_29_55_10427.jpg
/home/pi/Desktop/images/09042025/11/29/image_09042025_11_30_05_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":["1350769055","1350769043","1350769045","1350769053","1350769050","1350769047"],"photo_ids_order":["1350769043","1350769045","1350769047","1350769050","1350769053","1350769055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6dbe806728ef53a95c5a79cec5afc45.jpg","text":"TemporaryFile(/tmp/multipartBody4791797746717712035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197512846,"filename":"image_09042025_11_30_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/4/9/217f148a38ede34acad2cb94774f6626.jpg","text":"TemporaryFile(/tmp/multipartBody3632015615048499713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197512846,"filename":"image_09042025_11_29_15_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc6c64622250e09d919e551cf93df3de.jpg","text":"TemporaryFile(/tmp/multipartBody3005943893507947581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197512846,"filename":"image_09042025_11_29_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/4/9/10a260829d939f3565a980f1e25b94b2.jpg","text":"TemporaryFile(/tmp/multipartBody1253544004350875900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197512846,"filename":"image_09042025_11_29_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/4/9/98c4e786f11efe5bcba7c0696fa2ef3f.jpg","text":"TemporaryFile(/tmp/multipartBody9138791908088836547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197512846,"filename":"image_09042025_11_29_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/4/9/29040d01b7aef6945e608844fba0e099.jpg","text":"TemporaryFile(/tmp/multipartBody5808731201133255623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197512846,"filename":"image_09042025_11_29_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769047","file1":"1350769045","file0":"1350769043","file4":"1350769053","file5":"1350769055","file3":"1350769050"},"map_files_photo_id_array":[{"photo_id":"1350769055","filename":"file5"},{"photo_id":"1350769047","filename":"file2"},{"photo_id":"1350769053","filename":"file4"},{"photo_id":"1350769045","filename":"file1"},{"photo_id":"1350769043","filename":"file0"},{"photo_id":"1350769050","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769055":["hashtag1","hashtag2"]},{"1350769043":["hashtag1","hashtag2"]},{"1350769045":["hashtag1","hashtag2"]},{"1350769053":["hashtag1","hashtag2"]},{"1350769050":["hashtag1","hashtag2"]},{"1350769047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769055, 1350769043, 1350769045, 1350769053, 1350769050, 1350769047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.00261378288269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:18:32.581459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_15_10409.jpg', '/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_25_9947.jpg', '/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_35_10346.jpg', '/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_45_9354.jpg', '/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_55_10357.jpg', '/home/pi/Desktop/images/09042025/11/30/image_09042025_11_31_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_15_10409.jpg
/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_25_9947.jpg
/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_35_10346.jpg
/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_45_9354.jpg
/home/pi/Desktop/images/09042025/11/30/image_09042025_11_30_55_10357.jpg
/home/pi/Desktop/images/09042025/11/30/image_09042025_11_31_05_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350769073","1350769075","1350769071","1350769080","1350769082","1350769085"],"photo_ids_order":["1350769071","1350769073","1350769075","1350769080","1350769082","1350769085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1378d19510926c7e99336c630e0986b2.jpg","text":"TemporaryFile(/tmp/multipartBody874628997111861050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197573035,"filename":"image_09042025_11_30_25_9947.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c2dc1569797ada0c19ec76139e51f86.jpg","text":"TemporaryFile(/tmp/multipartBody1797062826173887257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197573035,"filename":"image_09042025_11_30_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/4/9/8ef62c20615e2ec95dffa2e27df5befe.jpg","text":"TemporaryFile(/tmp/multipartBody5104426525899567204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197573035,"filename":"image_09042025_11_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/4/9/6f87a7e8c171dffe64582e190b6f040b.jpg","text":"TemporaryFile(/tmp/multipartBody4251273851235761623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197573035,"filename":"image_09042025_11_30_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/4/9/81e2c5c8f97acd107a4531fb2ad54cfa.jpg","text":"TemporaryFile(/tmp/multipartBody496769735449905211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197573035,"filename":"image_09042025_11_30_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/4/9/406645cd009d4d7a15d72f8b984706f4.jpg","text":"TemporaryFile(/tmp/multipartBody6939132854683807284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197573035,"filename":"image_09042025_11_31_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769075","file1":"1350769073","file0":"1350769071","file4":"1350769082","file5":"1350769085","file3":"1350769080"},"map_files_photo_id_array":[{"photo_id":"1350769085","filename":"file5"},{"photo_id":"1350769075","filename":"file2"},{"photo_id":"1350769082","filename":"file4"},{"photo_id":"1350769073","filename":"file1"},{"photo_id":"1350769071","filename":"file0"},{"photo_id":"1350769080","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769073":["hashtag1","hashtag2"]},{"1350769075":["hashtag1","hashtag2"]},{"1350769071":["hashtag1","hashtag2"]},{"1350769080":["hashtag1","hashtag2"]},{"1350769082":["hashtag1","hashtag2"]},{"1350769085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769073, 1350769075, 1350769071, 1350769080, 1350769082, 1350769085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17832398414612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:19:32.823516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/31/image_09042025_11_31_15_9397.jpg', '/home/pi/Desktop/images/09042025/11/31/image_09042025_11_31_35_9352.jpg', '/home/pi/Desktop/images/09042025/11/31/image_09042025_11_31_45_10431.jpg', '/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_15_10361.jpg', '/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_25_10368.jpg', '/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_35_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/31/image_09042025_11_31_15_9397.jpg
/home/pi/Desktop/images/09042025/11/31/image_09042025_11_31_35_9352.jpg
/home/pi/Desktop/images/09042025/11/31/image_09042025_11_31_45_10431.jpg
/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_15_10361.jpg
/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_25_10368.jpg
/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_35_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350769109","1350769112","1350769138","1350769114","1350769134","1350769137"],"photo_ids_order":["1350769109","1350769112","1350769114","1350769134","1350769137","1350769138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f903c54f3262715ca91363e5477b0cf8.jpg","text":"TemporaryFile(/tmp/multipartBody706285814964265448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197633283,"filename":"image_09042025_11_31_15_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b695078b14292af01744e857f27efcaf.jpg","text":"TemporaryFile(/tmp/multipartBody1803464257786315687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197633283,"filename":"image_09042025_11_31_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de87cbb64f15e1296d47d733f0a78be2.jpg","text":"TemporaryFile(/tmp/multipartBody5641196858546832243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197633283,"filename":"image_09042025_11_32_35_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8a2dc2ddad98a3be9f68b41066288b1.jpg","text":"TemporaryFile(/tmp/multipartBody3329735541448552441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197633283,"filename":"image_09042025_11_31_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b8157ec849751a2ec0ed65d83a813928.jpg","text":"TemporaryFile(/tmp/multipartBody1098130081147128286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197633283,"filename":"image_09042025_11_32_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/4/9/b29bc8255d3bc7e77e809cc197e07ef2.jpg","text":"TemporaryFile(/tmp/multipartBody92859445204451053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197633283,"filename":"image_09042025_11_32_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769114","file1":"1350769112","file0":"1350769109","file4":"1350769137","file5":"1350769138","file3":"1350769134"},"map_files_photo_id_array":[{"photo_id":"1350769138","filename":"file5"},{"photo_id":"1350769114","filename":"file2"},{"photo_id":"1350769137","filename":"file4"},{"photo_id":"1350769112","filename":"file1"},{"photo_id":"1350769109","filename":"file0"},{"photo_id":"1350769134","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769109":["hashtag1","hashtag2"]},{"1350769112":["hashtag1","hashtag2"]},{"1350769138":["hashtag1","hashtag2"]},{"1350769114":["hashtag1","hashtag2"]},{"1350769134":["hashtag1","hashtag2"]},{"1350769137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769109, 1350769112, 1350769138, 1350769114, 1350769134, 1350769137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63580346107483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:20:33.019503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_45_10357.jpg', '/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_55_9363.jpg', '/home/pi/Desktop/images/09042025/11/32/image_09042025_11_33_05_10500.jpg', '/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_15_10348.jpg', '/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_25_9352.jpg', '/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_45_10357.jpg
/home/pi/Desktop/images/09042025/11/32/image_09042025_11_32_55_9363.jpg
/home/pi/Desktop/images/09042025/11/32/image_09042025_11_33_05_10500.jpg
/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_15_10348.jpg
/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_25_9352.jpg
/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_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":["1350769162","1350769156","1350769159","1350769161","1350769164","1350769158"],"photo_ids_order":["1350769156","1350769158","1350769159","1350769161","1350769162","1350769164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19729b428e07d332e6ed1675600fec4e.jpg","text":"TemporaryFile(/tmp/multipartBody3724440489420266165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197693475,"filename":"image_09042025_11_33_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e137257bb3830201ad6d06722572c68e.jpg","text":"TemporaryFile(/tmp/multipartBody1230967675619750055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197693475,"filename":"image_09042025_11_32_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/4/9/b3f8c981b33a10cfbc7c4db766a67c15.jpg","text":"TemporaryFile(/tmp/multipartBody7220731536004870807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197693475,"filename":"image_09042025_11_33_05_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1388a73ded6cd44326dbddd31fb7581b.jpg","text":"TemporaryFile(/tmp/multipartBody6450674233930076383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197693475,"filename":"image_09042025_11_33_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/4/9/04d5a23929cd7bd53245066366d5592b.jpg","text":"TemporaryFile(/tmp/multipartBody4680330900937962281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197693475,"filename":"image_09042025_11_33_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/4/9/6a9f13253aadb08aaf86bcdfb9303f9e.jpg","text":"TemporaryFile(/tmp/multipartBody1410289671574931478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197693475,"filename":"image_09042025_11_32_55_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769159","file1":"1350769158","file0":"1350769156","file4":"1350769162","file5":"1350769164","file3":"1350769161"},"map_files_photo_id_array":[{"photo_id":"1350769164","filename":"file5"},{"photo_id":"1350769159","filename":"file2"},{"photo_id":"1350769162","filename":"file4"},{"photo_id":"1350769158","filename":"file1"},{"photo_id":"1350769156","filename":"file0"},{"photo_id":"1350769161","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769162":["hashtag1","hashtag2"]},{"1350769156":["hashtag1","hashtag2"]},{"1350769159":["hashtag1","hashtag2"]},{"1350769161":["hashtag1","hashtag2"]},{"1350769164":["hashtag1","hashtag2"]},{"1350769158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769162, 1350769156, 1350769159, 1350769161, 1350769164, 1350769158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.67563796043396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:21:32.303024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_46_10374.jpg', '/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_55_9360.jpg', '/home/pi/Desktop/images/09042025/11/33/image_09042025_11_34_05_10467.jpg', '/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_15_9358.jpg', '/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_25_10453.jpg', '/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_35_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_46_10374.jpg
/home/pi/Desktop/images/09042025/11/33/image_09042025_11_33_55_9360.jpg
/home/pi/Desktop/images/09042025/11/33/image_09042025_11_34_05_10467.jpg
/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_15_9358.jpg
/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_25_10453.jpg
/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_35_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350769193","1350769187","1350769189","1350769191","1350769194","1350769188"],"photo_ids_order":["1350769187","1350769188","1350769189","1350769191","1350769193","1350769194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a41f61ed2c303a95bcc1abd8d3ef527.jpg","text":"TemporaryFile(/tmp/multipartBody5323743332891221116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197752762,"filename":"image_09042025_11_34_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ce12cb467e3c71323de7fb1fc7115896.jpg","text":"TemporaryFile(/tmp/multipartBody765910713901123241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197752762,"filename":"image_09042025_11_33_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/4/9/a44c46949ebed1f2ce0de03d2daf9967.jpg","text":"TemporaryFile(/tmp/multipartBody1991094295353058595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197752762,"filename":"image_09042025_11_34_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/4/9/6243a0cacaecb4e1820186032bca454d.jpg","text":"TemporaryFile(/tmp/multipartBody2489270309084424915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197752762,"filename":"image_09042025_11_34_15_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6ef2eac3c69dae332a33aa545d64debf.jpg","text":"TemporaryFile(/tmp/multipartBody5517617157537032536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197752762,"filename":"image_09042025_11_34_35_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f38ddc2cc7c1820b3009e5f7cfb732a.jpg","text":"TemporaryFile(/tmp/multipartBody347823540685406411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197752762,"filename":"image_09042025_11_33_55_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769189","file1":"1350769188","file0":"1350769187","file4":"1350769193","file5":"1350769194","file3":"1350769191"},"map_files_photo_id_array":[{"photo_id":"1350769194","filename":"file5"},{"photo_id":"1350769189","filename":"file2"},{"photo_id":"1350769193","filename":"file4"},{"photo_id":"1350769188","filename":"file1"},{"photo_id":"1350769187","filename":"file0"},{"photo_id":"1350769191","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769193":["hashtag1","hashtag2"]},{"1350769187":["hashtag1","hashtag2"]},{"1350769189":["hashtag1","hashtag2"]},{"1350769191":["hashtag1","hashtag2"]},{"1350769194":["hashtag1","hashtag2"]},{"1350769188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769193, 1350769187, 1350769189, 1350769191, 1350769194, 1350769188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.149014234542847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:22:32.479523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_45_10454.jpg', '/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_55_10374.jpg', '/home/pi/Desktop/images/09042025/11/34/image_09042025_11_35_05_9356.jpg', '/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_15_10380.jpg', '/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_26_10375.jpg', '/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_35_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_45_10454.jpg
/home/pi/Desktop/images/09042025/11/34/image_09042025_11_34_55_10374.jpg
/home/pi/Desktop/images/09042025/11/34/image_09042025_11_35_05_9356.jpg
/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_15_10380.jpg
/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_26_10375.jpg
/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_35_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350769235","1350769231","1350769213","1350769216","1350769236","1350769227"],"photo_ids_order":["1350769213","1350769216","1350769227","1350769231","1350769235","1350769236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/206a45c5eeedac8d9dbc0b8e69ab476f.jpg","text":"TemporaryFile(/tmp/multipartBody8176670284007747901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197812934,"filename":"image_09042025_11_35_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/4/9/7837ef15f24c3c0299571e1187679610.jpg","text":"TemporaryFile(/tmp/multipartBody4456897202347285761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197812934,"filename":"image_09042025_11_35_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/4/9/093fad9935cbe3e4940c4c6f067bd5fc.jpg","text":"TemporaryFile(/tmp/multipartBody7474515320501917881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197812934,"filename":"image_09042025_11_34_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/4/9/7ebf97237bdc6dac4ab18e73c2ae33e7.jpg","text":"TemporaryFile(/tmp/multipartBody1991265571669167233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197812934,"filename":"image_09042025_11_34_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d3b65cebe034cd9f0d9b4f8d2efb95f.jpg","text":"TemporaryFile(/tmp/multipartBody2493330768094497981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197812934,"filename":"image_09042025_11_35_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8a32226252751f21300461ab93e17a7.jpg","text":"TemporaryFile(/tmp/multipartBody3334233145368329702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197812934,"filename":"image_09042025_11_35_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769227","file1":"1350769216","file0":"1350769213","file4":"1350769235","file5":"1350769236","file3":"1350769231"},"map_files_photo_id_array":[{"photo_id":"1350769236","filename":"file5"},{"photo_id":"1350769227","filename":"file2"},{"photo_id":"1350769235","filename":"file4"},{"photo_id":"1350769216","filename":"file1"},{"photo_id":"1350769213","filename":"file0"},{"photo_id":"1350769231","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769235":["hashtag1","hashtag2"]},{"1350769231":["hashtag1","hashtag2"]},{"1350769213":["hashtag1","hashtag2"]},{"1350769216":["hashtag1","hashtag2"]},{"1350769236":["hashtag1","hashtag2"]},{"1350769227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769235, 1350769231, 1350769213, 1350769216, 1350769236, 1350769227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.92545485496521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:23:32.726227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_45_10479.jpg', '/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_55_9351.jpg', '/home/pi/Desktop/images/09042025/11/35/image_09042025_11_36_05_10429.jpg', '/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_16_10358.jpg', '/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_25_9374.jpg', '/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_35_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_45_10479.jpg
/home/pi/Desktop/images/09042025/11/35/image_09042025_11_35_55_9351.jpg
/home/pi/Desktop/images/09042025/11/35/image_09042025_11_36_05_10429.jpg
/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_16_10358.jpg
/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_25_9374.jpg
/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_35_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":["1350769244","1350769255","1350769258","1350769243","1350769252","1350769248"],"photo_ids_order":["1350769243","1350769244","1350769248","1350769252","1350769255","1350769258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/530080b66c8c848b1578a3bf139bd81e.jpg","text":"TemporaryFile(/tmp/multipartBody1947352565878348981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197873179,"filename":"image_09042025_11_35_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/4/9/ff4f7d9dac835cfa951d7be76fbdd3b7.jpg","text":"TemporaryFile(/tmp/multipartBody8359155623319213146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197873179,"filename":"image_09042025_11_36_25_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5a77794dcbadab983add16c15a76b64.jpg","text":"TemporaryFile(/tmp/multipartBody6915476200798358876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197873179,"filename":"image_09042025_11_36_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/4/9/c2b030eae1810f393e955dfbd2994ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2306476790540475762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197873179,"filename":"image_09042025_11_35_45_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80a994c706f721723ad12a41e1819400.jpg","text":"TemporaryFile(/tmp/multipartBody6722431926850462774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197873179,"filename":"image_09042025_11_36_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/4/9/25252bb3ddfa75c4fea8ef8586601075.jpg","text":"TemporaryFile(/tmp/multipartBody6256012394628722821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197873179,"filename":"image_09042025_11_36_05_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769248","file1":"1350769244","file0":"1350769243","file4":"1350769255","file5":"1350769258","file3":"1350769252"},"map_files_photo_id_array":[{"photo_id":"1350769258","filename":"file5"},{"photo_id":"1350769248","filename":"file2"},{"photo_id":"1350769255","filename":"file4"},{"photo_id":"1350769244","filename":"file1"},{"photo_id":"1350769243","filename":"file0"},{"photo_id":"1350769252","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769244":["hashtag1","hashtag2"]},{"1350769255":["hashtag1","hashtag2"]},{"1350769258":["hashtag1","hashtag2"]},{"1350769243":["hashtag1","hashtag2"]},{"1350769252":["hashtag1","hashtag2"]},{"1350769248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769244, 1350769255, 1350769258, 1350769243, 1350769252, 1350769248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9681830406189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:24:33.047776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_45_9354.jpg', '/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_55_10457.jpg', '/home/pi/Desktop/images/09042025/11/36/image_09042025_11_37_05_10353.jpg', '/home/pi/Desktop/images/09042025/11/37/image_09042025_11_37_15_9361.jpg', '/home/pi/Desktop/images/09042025/11/37/image_09042025_11_37_25_10399.jpg', '/home/pi/Desktop/images/09042025/11/37/image_09042025_11_37_35_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_45_9354.jpg
/home/pi/Desktop/images/09042025/11/36/image_09042025_11_36_55_10457.jpg
/home/pi/Desktop/images/09042025/11/36/image_09042025_11_37_05_10353.jpg
/home/pi/Desktop/images/09042025/11/37/image_09042025_11_37_15_9361.jpg
/home/pi/Desktop/images/09042025/11/37/image_09042025_11_37_25_10399.jpg
/home/pi/Desktop/images/09042025/11/37/image_09042025_11_37_35_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350769285","1350769303","1350769305","1350769295","1350769280","1350769308"],"photo_ids_order":["1350769280","1350769285","1350769295","1350769303","1350769305","1350769308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79a87e86922b2c6e0625fcbf8a15932e.jpg","text":"TemporaryFile(/tmp/multipartBody7894882698799794184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197933493,"filename":"image_09042025_11_36_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/4/9/e1c8905b97f658231124592fbe43100c.jpg","text":"TemporaryFile(/tmp/multipartBody7173813478114035725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197933493,"filename":"image_09042025_11_37_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5fe6327e0be60d3b7e531d82bc90dd3a.jpg","text":"TemporaryFile(/tmp/multipartBody5025846097370024707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197933493,"filename":"image_09042025_11_37_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/4/9/30a4c5a05e3671e3dbfd41656a1bda3b.jpg","text":"TemporaryFile(/tmp/multipartBody8934155825935013448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197933493,"filename":"image_09042025_11_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/4/9/dbc5d8042cfdc28cecfee05378b9efcc.jpg","text":"TemporaryFile(/tmp/multipartBody4672496762472014642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197933493,"filename":"image_09042025_11_36_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/4/9/8651652515e954dcacfbcfb4d21377e4.jpg","text":"TemporaryFile(/tmp/multipartBody5142547369309787191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197933493,"filename":"image_09042025_11_37_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769295","file1":"1350769285","file0":"1350769280","file4":"1350769305","file5":"1350769308","file3":"1350769303"},"map_files_photo_id_array":[{"photo_id":"1350769308","filename":"file5"},{"photo_id":"1350769295","filename":"file2"},{"photo_id":"1350769305","filename":"file4"},{"photo_id":"1350769285","filename":"file1"},{"photo_id":"1350769280","filename":"file0"},{"photo_id":"1350769303","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769285":["hashtag1","hashtag2"]},{"1350769303":["hashtag1","hashtag2"]},{"1350769305":["hashtag1","hashtag2"]},{"1350769295":["hashtag1","hashtag2"]},{"1350769280":["hashtag1","hashtag2"]},{"1350769308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769285, 1350769303, 1350769305, 1350769295, 1350769280, 1350769308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.717467546463013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:25:32.232335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/37/image_09042025_11_38_05_9351.jpg', '/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_15_10406.jpg', '/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_26_10379.jpg', '/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_35_9339.jpg', '/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_45_10357.jpg', '/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_56_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/37/image_09042025_11_38_05_9351.jpg
/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_15_10406.jpg
/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_26_10379.jpg
/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_35_9339.jpg
/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_45_10357.jpg
/home/pi/Desktop/images/09042025/11/38/image_09042025_11_38_56_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350769442","1350769321","1350769402","1350769324","1350769327","1350769428"],"photo_ids_order":["1350769321","1350769324","1350769327","1350769402","1350769428","1350769442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dcfde7667717608d797961448c6f9b06.jpg","text":"TemporaryFile(/tmp/multipartBody2772645493186777975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197992691,"filename":"image_09042025_11_38_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/4/9/31362e4064c36bc9ff7fd9ef75fe241b.jpg","text":"TemporaryFile(/tmp/multipartBody8513739332499307726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197992691,"filename":"image_09042025_11_38_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/4/9/cfb14774f6b0878381d5cb66aab4bd56.jpg","text":"TemporaryFile(/tmp/multipartBody8274446400008896121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197992691,"filename":"image_09042025_11_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/4/9/70d895f60be34f9024ef627ea92182b2.jpg","text":"TemporaryFile(/tmp/multipartBody9022557045987733038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197992691,"filename":"image_09042025_11_38_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/4/9/176c01926391b1105d17a41e6181f8ec.jpg","text":"TemporaryFile(/tmp/multipartBody5529130099416407977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197992691,"filename":"image_09042025_11_38_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/4/9/ab0b15141b6344d09d83085567a35ea1.jpg","text":"TemporaryFile(/tmp/multipartBody1950936957932982300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744197992691,"filename":"image_09042025_11_38_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769327","file1":"1350769324","file0":"1350769321","file4":"1350769428","file5":"1350769442","file3":"1350769402"},"map_files_photo_id_array":[{"photo_id":"1350769442","filename":"file5"},{"photo_id":"1350769327","filename":"file2"},{"photo_id":"1350769428","filename":"file4"},{"photo_id":"1350769324","filename":"file1"},{"photo_id":"1350769321","filename":"file0"},{"photo_id":"1350769402","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769442":["hashtag1","hashtag2"]},{"1350769321":["hashtag1","hashtag2"]},{"1350769402":["hashtag1","hashtag2"]},{"1350769324":["hashtag1","hashtag2"]},{"1350769327":["hashtag1","hashtag2"]},{"1350769428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769442, 1350769321, 1350769402, 1350769324, 1350769327, 1350769428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.74161410331726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:26:32.471112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/38/image_09042025_11_39_05_9343.jpg', '/home/pi/Desktop/images/09042025/11/39/image_09042025_11_39_15_10403.jpg', '/home/pi/Desktop/images/09042025/11/39/image_09042025_11_39_25_9361.jpg', '/home/pi/Desktop/images/09042025/11/39/image_09042025_11_39_35_10445.jpg', '/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_16_10356.jpg', '/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_25_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/38/image_09042025_11_39_05_9343.jpg
/home/pi/Desktop/images/09042025/11/39/image_09042025_11_39_15_10403.jpg
/home/pi/Desktop/images/09042025/11/39/image_09042025_11_39_25_9361.jpg
/home/pi/Desktop/images/09042025/11/39/image_09042025_11_39_35_10445.jpg
/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_16_10356.jpg
/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_25_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":["1350769556","1350769582","1350769585","1350769593","1350769572","1350769589"],"photo_ids_order":["1350769556","1350769572","1350769582","1350769585","1350769589","1350769593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/098f78c6c91fde91685a0c27b4dddddf.jpg","text":"TemporaryFile(/tmp/multipartBody7544353286984044751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198052918,"filename":"image_09042025_11_39_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/4/9/737bc61ef68f404ebd97982c32560cfc.jpg","text":"TemporaryFile(/tmp/multipartBody9184523998711934185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198052918,"filename":"image_09042025_11_39_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/4/9/c31ef9f056e22eb4436f1d69aa2ffe90.jpg","text":"TemporaryFile(/tmp/multipartBody2163176428579708955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198052918,"filename":"image_09042025_11_39_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4ce60cf061668a2a3a65de97622df235.jpg","text":"TemporaryFile(/tmp/multipartBody1049417345993890681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198052918,"filename":"image_09042025_11_40_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/4/9/4401e22471a4a6020183e6c034b31e77.jpg","text":"TemporaryFile(/tmp/multipartBody8446640072899885892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198052918,"filename":"image_09042025_11_39_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c96f7d2a19880bbffd26a199afe9e2d6.jpg","text":"TemporaryFile(/tmp/multipartBody1341683274979398921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198052918,"filename":"image_09042025_11_40_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769582","file1":"1350769572","file0":"1350769556","file4":"1350769589","file5":"1350769593","file3":"1350769585"},"map_files_photo_id_array":[{"photo_id":"1350769593","filename":"file5"},{"photo_id":"1350769582","filename":"file2"},{"photo_id":"1350769589","filename":"file4"},{"photo_id":"1350769572","filename":"file1"},{"photo_id":"1350769556","filename":"file0"},{"photo_id":"1350769585","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769556":["hashtag1","hashtag2"]},{"1350769582":["hashtag1","hashtag2"]},{"1350769585":["hashtag1","hashtag2"]},{"1350769593":["hashtag1","hashtag2"]},{"1350769572":["hashtag1","hashtag2"]},{"1350769589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769556, 1350769582, 1350769585, 1350769593, 1350769572, 1350769589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23423981666565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:27:32.836473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_35_10353.jpg', '/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_45_9340.jpg', '/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_55_10440.jpg', '/home/pi/Desktop/images/09042025/11/40/image_09042025_11_41_05_10342.jpg', '/home/pi/Desktop/images/09042025/11/41/image_09042025_11_41_25_10444.jpg', '/home/pi/Desktop/images/09042025/11/41/image_09042025_11_41_36_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_35_10353.jpg
/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_45_9340.jpg
/home/pi/Desktop/images/09042025/11/40/image_09042025_11_40_55_10440.jpg
/home/pi/Desktop/images/09042025/11/40/image_09042025_11_41_05_10342.jpg
/home/pi/Desktop/images/09042025/11/41/image_09042025_11_41_25_10444.jpg
/home/pi/Desktop/images/09042025/11/41/image_09042025_11_41_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":["1350769795","1350769798","1350769791","1350769779","1350769731","1350769787"],"photo_ids_order":["1350769731","1350769779","1350769787","1350769791","1350769795","1350769798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c97c5c3d16de9f71268727807215b3c1.jpg","text":"TemporaryFile(/tmp/multipartBody3093744788879865167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198113306,"filename":"image_09042025_11_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/4/9/52123f709e0031c756a928971f3f7c1d.jpg","text":"TemporaryFile(/tmp/multipartBody7276965757971372561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198113306,"filename":"image_09042025_11_41_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/4/9/6e2d48adcd1530178433deaf63ab1b31.jpg","text":"TemporaryFile(/tmp/multipartBody1348160999695755195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198113306,"filename":"image_09042025_11_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/4/9/ca196d64d8745160c0cd8590cde5b6bf.jpg","text":"TemporaryFile(/tmp/multipartBody4871809909856470454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198113306,"filename":"image_09042025_11_40_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/4/9/825f1af189b36d53503540b7df9f4e62.jpg","text":"TemporaryFile(/tmp/multipartBody5558725334692092412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198113306,"filename":"image_09042025_11_40_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/4/9/6be2dfa36c832d3f36d18928900380c9.jpg","text":"TemporaryFile(/tmp/multipartBody414558411424558391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198113306,"filename":"image_09042025_11_40_55_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350769787","file1":"1350769779","file0":"1350769731","file4":"1350769795","file5":"1350769798","file3":"1350769791"},"map_files_photo_id_array":[{"photo_id":"1350769798","filename":"file5"},{"photo_id":"1350769787","filename":"file2"},{"photo_id":"1350769795","filename":"file4"},{"photo_id":"1350769779","filename":"file1"},{"photo_id":"1350769731","filename":"file0"},{"photo_id":"1350769791","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350769795":["hashtag1","hashtag2"]},{"1350769798":["hashtag1","hashtag2"]},{"1350769791":["hashtag1","hashtag2"]},{"1350769779":["hashtag1","hashtag2"]},{"1350769731":["hashtag1","hashtag2"]},{"1350769787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350769795, 1350769798, 1350769791, 1350769779, 1350769731, 1350769787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.924418210983276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:28:33.049295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/41/image_09042025_11_41_45_9357.jpg', '/home/pi/Desktop/images/09042025/11/41/image_09042025_11_41_55_10453.jpg', '/home/pi/Desktop/images/09042025/11/41/image_09042025_11_42_05_9326.jpg', '/home/pi/Desktop/images/09042025/11/42/image_09042025_11_42_15_10452.jpg', '/home/pi/Desktop/images/09042025/11/42/image_09042025_11_42_45_10447.jpg', '/home/pi/Desktop/images/09042025/11/42/image_09042025_11_42_55_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/41/image_09042025_11_41_45_9357.jpg
/home/pi/Desktop/images/09042025/11/41/image_09042025_11_41_55_10453.jpg
/home/pi/Desktop/images/09042025/11/41/image_09042025_11_42_05_9326.jpg
/home/pi/Desktop/images/09042025/11/42/image_09042025_11_42_15_10452.jpg
/home/pi/Desktop/images/09042025/11/42/image_09042025_11_42_45_10447.jpg
/home/pi/Desktop/images/09042025/11/42/image_09042025_11_42_55_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350770337","1350770333","1350770362","1350770206","1350770271","1350770340"],"photo_ids_order":["1350770206","1350770271","1350770333","1350770337","1350770340","1350770362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5cbdeb20683264fca83fb68bd259095c.jpg","text":"TemporaryFile(/tmp/multipartBody7017124332022471536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198173505,"filename":"image_09042025_11_42_15_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/740a20b1a1935d740c71f5d53ef53b46.jpg","text":"TemporaryFile(/tmp/multipartBody3946114658745607948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198173505,"filename":"image_09042025_11_42_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/4/9/f7ae3563f002b4f10747f1f129f19cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1912860442385353048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198173505,"filename":"image_09042025_11_42_55_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1dbf4cc22a30398da8fb603d4300b8a3.jpg","text":"TemporaryFile(/tmp/multipartBody5124600938711056033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198173505,"filename":"image_09042025_11_41_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/039b944a7415afea456a7427f3bd4ff1.jpg","text":"TemporaryFile(/tmp/multipartBody2074273212242126170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198173505,"filename":"image_09042025_11_41_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf0bdeedba50da04eb8cd1ec91230cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5614759367029354347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198173505,"filename":"image_09042025_11_42_45_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350770333","file1":"1350770271","file0":"1350770206","file4":"1350770340","file5":"1350770362","file3":"1350770337"},"map_files_photo_id_array":[{"photo_id":"1350770362","filename":"file5"},{"photo_id":"1350770333","filename":"file2"},{"photo_id":"1350770340","filename":"file4"},{"photo_id":"1350770271","filename":"file1"},{"photo_id":"1350770206","filename":"file0"},{"photo_id":"1350770337","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350770337":["hashtag1","hashtag2"]},{"1350770333":["hashtag1","hashtag2"]},{"1350770362":["hashtag1","hashtag2"]},{"1350770206":["hashtag1","hashtag2"]},{"1350770271":["hashtag1","hashtag2"]},{"1350770340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350770337, 1350770333, 1350770362, 1350770206, 1350770271, 1350770340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.779642820358276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:29:32.266237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/42/image_09042025_11_43_05_10417.jpg', '/home/pi/Desktop/images/09042025/11/43/image_09042025_11_43_25_9353.jpg', '/home/pi/Desktop/images/09042025/11/43/image_09042025_11_43_35_10366.jpg', '/home/pi/Desktop/images/09042025/11/43/image_09042025_11_43_46_10366.jpg', '/home/pi/Desktop/images/09042025/11/43/image_09042025_11_43_55_9460.jpg', '/home/pi/Desktop/images/09042025/11/43/image_09042025_11_44_05_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/42/image_09042025_11_43_05_10417.jpg
/home/pi/Desktop/images/09042025/11/43/image_09042025_11_43_25_9353.jpg
/home/pi/Desktop/images/09042025/11/43/image_09042025_11_43_35_10366.jpg
/home/pi/Desktop/images/09042025/11/43/image_09042025_11_43_46_10366.jpg
/home/pi/Desktop/images/09042025/11/43/image_09042025_11_43_55_9460.jpg
/home/pi/Desktop/images/09042025/11/43/image_09042025_11_44_05_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":["1350770520","1350770525","1350770494","1350770513","1350770464","1350770467"],"photo_ids_order":["1350770464","1350770467","1350770494","1350770513","1350770520","1350770525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/16702a4540236a5ac75015797c80d39b.jpg","text":"TemporaryFile(/tmp/multipartBody5162046725627373493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198232719,"filename":"image_09042025_11_43_55_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4593ac10364375701d84523c030667c0.jpg","text":"TemporaryFile(/tmp/multipartBody3006524969070977173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198232719,"filename":"image_09042025_11_44_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/4/9/c020aa9b562bcf43daf80b7722f3265b.jpg","text":"TemporaryFile(/tmp/multipartBody6163511269984012055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198232719,"filename":"image_09042025_11_43_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/4/9/a478a7e9ea6770df106a9ef52f09c451.jpg","text":"TemporaryFile(/tmp/multipartBody2991081432042116455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198232719,"filename":"image_09042025_11_43_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/4/9/ba54ee0e420e6bb6c8ce27d6c019c79a.jpg","text":"TemporaryFile(/tmp/multipartBody7838174961604621193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198232719,"filename":"image_09042025_11_43_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f03de82b2c92800145e5ef4415f7c7cb.jpg","text":"TemporaryFile(/tmp/multipartBody5089283301681017450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198232719,"filename":"image_09042025_11_43_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350770494","file1":"1350770467","file0":"1350770464","file4":"1350770520","file5":"1350770525","file3":"1350770513"},"map_files_photo_id_array":[{"photo_id":"1350770525","filename":"file5"},{"photo_id":"1350770494","filename":"file2"},{"photo_id":"1350770520","filename":"file4"},{"photo_id":"1350770467","filename":"file1"},{"photo_id":"1350770464","filename":"file0"},{"photo_id":"1350770513","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350770520":["hashtag1","hashtag2"]},{"1350770525":["hashtag1","hashtag2"]},{"1350770494":["hashtag1","hashtag2"]},{"1350770513":["hashtag1","hashtag2"]},{"1350770464":["hashtag1","hashtag2"]},{"1350770467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350770520, 1350770525, 1350770494, 1350770513, 1350770464, 1350770467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.432156562805176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:30:32.451307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_15_9340.jpg', '/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_25_10467.jpg', '/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_35_9436.jpg', '/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_45_10412.jpg', '/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_55_10433.jpg', '/home/pi/Desktop/images/09042025/11/44/image_09042025_11_45_05_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_15_9340.jpg
/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_25_10467.jpg
/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_35_9436.jpg
/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_45_10412.jpg
/home/pi/Desktop/images/09042025/11/44/image_09042025_11_44_55_10433.jpg
/home/pi/Desktop/images/09042025/11/44/image_09042025_11_45_05_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":["1350770561","1350770555","1350770543","1350770563","1350770541","1350770565"],"photo_ids_order":["1350770541","1350770543","1350770555","1350770561","1350770563","1350770565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24d17713c5fb0cffdf802623df1b55e7.jpg","text":"TemporaryFile(/tmp/multipartBody4808648695827596819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198292901,"filename":"image_09042025_11_44_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7076cda2abfe3f573fa45c977bbe463.jpg","text":"TemporaryFile(/tmp/multipartBody5633299632853238556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198292901,"filename":"image_09042025_11_44_35_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f52de222bb4db0cc817247ad71f6018f.jpg","text":"TemporaryFile(/tmp/multipartBody7767848280448479353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198292901,"filename":"image_09042025_11_44_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/4/9/2880c0a735452b1716753e692d652926.jpg","text":"TemporaryFile(/tmp/multipartBody8282278526277752624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198292901,"filename":"image_09042025_11_44_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/4/9/b5fdc764a9c26aca9615e82d64412c45.jpg","text":"TemporaryFile(/tmp/multipartBody4249756522752989562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198292901,"filename":"image_09042025_11_44_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/07393d27190e93f4d65c87fe5a33a085.jpg","text":"TemporaryFile(/tmp/multipartBody4330014097623834975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198292901,"filename":"image_09042025_11_45_05_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350770555","file1":"1350770543","file0":"1350770541","file4":"1350770563","file5":"1350770565","file3":"1350770561"},"map_files_photo_id_array":[{"photo_id":"1350770565","filename":"file5"},{"photo_id":"1350770555","filename":"file2"},{"photo_id":"1350770563","filename":"file4"},{"photo_id":"1350770543","filename":"file1"},{"photo_id":"1350770541","filename":"file0"},{"photo_id":"1350770561","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350770561":["hashtag1","hashtag2"]},{"1350770555":["hashtag1","hashtag2"]},{"1350770543":["hashtag1","hashtag2"]},{"1350770563":["hashtag1","hashtag2"]},{"1350770541":["hashtag1","hashtag2"]},{"1350770565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350770561, 1350770555, 1350770543, 1350770563, 1350770541, 1350770565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.76549482345581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:31:32.639789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_15_10446.jpg', '/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_25_9364.jpg', '/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_35_10427.jpg', '/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_45_10366.jpg', '/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_55_9349.jpg', '/home/pi/Desktop/images/09042025/11/45/image_09042025_11_46_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_15_10446.jpg
/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_25_9364.jpg
/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_35_10427.jpg
/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_45_10366.jpg
/home/pi/Desktop/images/09042025/11/45/image_09042025_11_45_55_9349.jpg
/home/pi/Desktop/images/09042025/11/45/image_09042025_11_46_05_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":["1350770700","1350770645","1350770685","1350770704","1350770694","1350770703"],"photo_ids_order":["1350770645","1350770685","1350770694","1350770700","1350770703","1350770704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/132fdd3e3aa9d73093d5416aac903ecb.jpg","text":"TemporaryFile(/tmp/multipartBody7611190506289315813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198353093,"filename":"image_09042025_11_45_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/4/9/b768052d0d71be1b6bb4b69e09720605.jpg","text":"TemporaryFile(/tmp/multipartBody1952940519565213559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198353093,"filename":"image_09042025_11_45_15_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03f5439d43bab1010dce2468811558a2.jpg","text":"TemporaryFile(/tmp/multipartBody3606552732112519763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198353093,"filename":"image_09042025_11_45_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/4/9/0c2d6a600412ddadbde9cd328cad0e16.jpg","text":"TemporaryFile(/tmp/multipartBody2637563399907055575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198353093,"filename":"image_09042025_11_46_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/4/9/87f313e829337c47acc9b64f0e2978c8.jpg","text":"TemporaryFile(/tmp/multipartBody712594755673951381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198353093,"filename":"image_09042025_11_45_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/4/9/e00e1616ca3ac7095be5ee3f8dc84066.jpg","text":"TemporaryFile(/tmp/multipartBody43116494463918681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198353093,"filename":"image_09042025_11_45_55_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350770694","file1":"1350770685","file0":"1350770645","file4":"1350770703","file5":"1350770704","file3":"1350770700"},"map_files_photo_id_array":[{"photo_id":"1350770704","filename":"file5"},{"photo_id":"1350770694","filename":"file2"},{"photo_id":"1350770703","filename":"file4"},{"photo_id":"1350770685","filename":"file1"},{"photo_id":"1350770645","filename":"file0"},{"photo_id":"1350770700","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350770700":["hashtag1","hashtag2"]},{"1350770645":["hashtag1","hashtag2"]},{"1350770685":["hashtag1","hashtag2"]},{"1350770704":["hashtag1","hashtag2"]},{"1350770694":["hashtag1","hashtag2"]},{"1350770703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350770700, 1350770645, 1350770685, 1350770704, 1350770694, 1350770703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46802282333374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:32:32.876704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_15_9423.jpg', '/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_25_10373.jpg', '/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_35_10500.jpg', '/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_45_9373.jpg', '/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_55_10365.jpg', '/home/pi/Desktop/images/09042025/11/46/image_09042025_11_47_06_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_15_9423.jpg
/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_25_10373.jpg
/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_35_10500.jpg
/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_45_9373.jpg
/home/pi/Desktop/images/09042025/11/46/image_09042025_11_46_55_10365.jpg
/home/pi/Desktop/images/09042025/11/46/image_09042025_11_47_06_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":["1350770904","1350770843","1350770991","1350770865","1350770853","1350770769"],"photo_ids_order":["1350770769","1350770843","1350770853","1350770865","1350770904","1350770991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1e7bb2082549b02607ace6c9973060f.jpg","text":"TemporaryFile(/tmp/multipartBody8108525644498202952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198413333,"filename":"image_09042025_11_46_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/4/9/cae0acc40d144b65bce723af7773924f.jpg","text":"TemporaryFile(/tmp/multipartBody7797644005085925650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198413333,"filename":"image_09042025_11_46_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/4/9/803355df70bcd520222036abc8f68216.jpg","text":"TemporaryFile(/tmp/multipartBody648779057530186002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198413333,"filename":"image_09042025_11_47_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18f2d3b09fca034016d311721b4efd54.jpg","text":"TemporaryFile(/tmp/multipartBody1156452866512437059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198413333,"filename":"image_09042025_11_46_45_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca728acf9e3b83b413f8c8da98437606.jpg","text":"TemporaryFile(/tmp/multipartBody7801601805504046964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198413333,"filename":"image_09042025_11_46_35_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59542648402c056720e111abb753df6e.jpg","text":"TemporaryFile(/tmp/multipartBody2651054174923219511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198413333,"filename":"image_09042025_11_46_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350770853","file1":"1350770843","file0":"1350770769","file4":"1350770904","file5":"1350770991","file3":"1350770865"},"map_files_photo_id_array":[{"photo_id":"1350770991","filename":"file5"},{"photo_id":"1350770853","filename":"file2"},{"photo_id":"1350770904","filename":"file4"},{"photo_id":"1350770843","filename":"file1"},{"photo_id":"1350770769","filename":"file0"},{"photo_id":"1350770865","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350770904":["hashtag1","hashtag2"]},{"1350770843":["hashtag1","hashtag2"]},{"1350770991":["hashtag1","hashtag2"]},{"1350770865":["hashtag1","hashtag2"]},{"1350770853":["hashtag1","hashtag2"]},{"1350770769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350770904, 1350770843, 1350770991, 1350770865, 1350770853, 1350770769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44581151008606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:33:33.171952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_15_9345.jpg', '/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_25_10370.jpg', '/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_35_9350.jpg', '/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_45_10504.jpg', '/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_56_10365.jpg', '/home/pi/Desktop/images/09042025/11/47/image_09042025_11_48_05_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_15_9345.jpg
/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_25_10370.jpg
/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_35_9350.jpg
/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_45_10504.jpg
/home/pi/Desktop/images/09042025/11/47/image_09042025_11_47_56_10365.jpg
/home/pi/Desktop/images/09042025/11/47/image_09042025_11_48_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":["1350771101","1350771151","1350771124","1350771174","1350771144","1350771089"],"photo_ids_order":["1350771089","1350771101","1350771124","1350771144","1350771151","1350771174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b2eda6e7d59b5c41e58f8c0769bf9f3d.jpg","text":"TemporaryFile(/tmp/multipartBody2385925780232004404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198473636,"filename":"image_09042025_11_47_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/4/9/066dae6ee3ee194761a16138379787a6.jpg","text":"TemporaryFile(/tmp/multipartBody201409964342354348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198473636,"filename":"image_09042025_11_47_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/4/9/37b6764fc6651bd54bdcce2a0015f719.jpg","text":"TemporaryFile(/tmp/multipartBody5520654885354208063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198473636,"filename":"image_09042025_11_47_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d5ed35ca78c17cc348358fa1d6266791.jpg","text":"TemporaryFile(/tmp/multipartBody208586701589098728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198473636,"filename":"image_09042025_11_48_05_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a4eb6aba655f59cbdbe891a24229611d.jpg","text":"TemporaryFile(/tmp/multipartBody4093456954012994278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198473636,"filename":"image_09042025_11_47_45_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/635453400b2e31e135526e2accc99dbc.jpg","text":"TemporaryFile(/tmp/multipartBody3072622827344262618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198473636,"filename":"image_09042025_11_47_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771124","file1":"1350771101","file0":"1350771089","file4":"1350771151","file5":"1350771174","file3":"1350771144"},"map_files_photo_id_array":[{"photo_id":"1350771174","filename":"file5"},{"photo_id":"1350771124","filename":"file2"},{"photo_id":"1350771151","filename":"file4"},{"photo_id":"1350771101","filename":"file1"},{"photo_id":"1350771089","filename":"file0"},{"photo_id":"1350771144","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771101":["hashtag1","hashtag2"]},{"1350771151":["hashtag1","hashtag2"]},{"1350771124":["hashtag1","hashtag2"]},{"1350771174":["hashtag1","hashtag2"]},{"1350771144":["hashtag1","hashtag2"]},{"1350771089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771101, 1350771151, 1350771124, 1350771174, 1350771144, 1350771089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.34446692466736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:34:32.307456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_15_10365.jpg', '/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_25_9348.jpg', '/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_35_10353.jpg', '/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_45_10468.jpg', '/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_55_9360.jpg', '/home/pi/Desktop/images/09042025/11/48/image_09042025_11_49_05_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_15_10365.jpg
/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_25_9348.jpg
/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_35_10353.jpg
/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_45_10468.jpg
/home/pi/Desktop/images/09042025/11/48/image_09042025_11_48_55_9360.jpg
/home/pi/Desktop/images/09042025/11/48/image_09042025_11_49_05_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350771302","1350771305","1350771273","1350771297","1350771276","1350771300"],"photo_ids_order":["1350771273","1350771276","1350771297","1350771300","1350771302","1350771305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ad8e054fc29ee4cc954ecca5100b18a.jpg","text":"TemporaryFile(/tmp/multipartBody6964912888563909489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198532756,"filename":"image_09042025_11_48_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/4/9/881fa7c2757c06b2ac07096010ef51a8.jpg","text":"TemporaryFile(/tmp/multipartBody8784497904433179331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198532756,"filename":"image_09042025_11_49_05_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55ea50292082d5bae701fdf8dc80bec2.jpg","text":"TemporaryFile(/tmp/multipartBody8755299350320575231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198532756,"filename":"image_09042025_11_48_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/4/9/92fcd73f8b5dd73e64e5c55b65ac727a.jpg","text":"TemporaryFile(/tmp/multipartBody3643234413117732185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198532756,"filename":"image_09042025_11_48_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/4/9/3d49c1feab92f94d23e628eaf3c91b46.jpg","text":"TemporaryFile(/tmp/multipartBody4142898001615837959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198532756,"filename":"image_09042025_11_48_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/4/9/e8ca6a4093279fbf49e6271ec8524119.jpg","text":"TemporaryFile(/tmp/multipartBody7556584738199505890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198532756,"filename":"image_09042025_11_48_45_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771297","file1":"1350771276","file0":"1350771273","file4":"1350771302","file5":"1350771305","file3":"1350771300"},"map_files_photo_id_array":[{"photo_id":"1350771305","filename":"file5"},{"photo_id":"1350771297","filename":"file2"},{"photo_id":"1350771302","filename":"file4"},{"photo_id":"1350771276","filename":"file1"},{"photo_id":"1350771273","filename":"file0"},{"photo_id":"1350771300","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771302":["hashtag1","hashtag2"]},{"1350771305":["hashtag1","hashtag2"]},{"1350771273":["hashtag1","hashtag2"]},{"1350771297":["hashtag1","hashtag2"]},{"1350771276":["hashtag1","hashtag2"]},{"1350771300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771302, 1350771305, 1350771273, 1350771297, 1350771276, 1350771300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12781858444214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:35:32.595338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_15_9467.jpg', '/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_25_10370.jpg', '/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_36_10434.jpg', '/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_45_9492.jpg', '/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_55_10367.jpg', '/home/pi/Desktop/images/09042025/11/49/image_09042025_11_50_05_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_15_9467.jpg
/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_25_10370.jpg
/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_36_10434.jpg
/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_45_9492.jpg
/home/pi/Desktop/images/09042025/11/49/image_09042025_11_49_55_10367.jpg
/home/pi/Desktop/images/09042025/11/49/image_09042025_11_50_05_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":["1350771338","1350771323","1350771331","1350771340","1350771334","1350771318"],"photo_ids_order":["1350771318","1350771323","1350771331","1350771334","1350771338","1350771340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/91ed4d4ba2883074739989071ef3a83f.jpg","text":"TemporaryFile(/tmp/multipartBody1593769228904139422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198593047,"filename":"image_09042025_11_49_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/4/9/409834b8771f3b2ebcabe31d4959d8ad.jpg","text":"TemporaryFile(/tmp/multipartBody5967378476568885620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198593047,"filename":"image_09042025_11_49_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/4/9/5abb9c89ee9e47b7ada01e3e97043b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2120613645955832847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198593047,"filename":"image_09042025_11_49_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/86dc70f5bdf212ee83c9a91127276943.jpg","text":"TemporaryFile(/tmp/multipartBody771211699539413512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198593047,"filename":"image_09042025_11_50_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/4/9/124894efc93e68a065887142c6877376.jpg","text":"TemporaryFile(/tmp/multipartBody5360956651509271174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198593047,"filename":"image_09042025_11_49_45_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/341521ac5ec302c895bc2fba527ac389.jpg","text":"TemporaryFile(/tmp/multipartBody2734682412015249653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198593047,"filename":"image_09042025_11_49_15_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771331","file1":"1350771323","file0":"1350771318","file4":"1350771338","file5":"1350771340","file3":"1350771334"},"map_files_photo_id_array":[{"photo_id":"1350771340","filename":"file5"},{"photo_id":"1350771331","filename":"file2"},{"photo_id":"1350771338","filename":"file4"},{"photo_id":"1350771323","filename":"file1"},{"photo_id":"1350771318","filename":"file0"},{"photo_id":"1350771334","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771338":["hashtag1","hashtag2"]},{"1350771323":["hashtag1","hashtag2"]},{"1350771331":["hashtag1","hashtag2"]},{"1350771340":["hashtag1","hashtag2"]},{"1350771334":["hashtag1","hashtag2"]},{"1350771318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771338, 1350771323, 1350771331, 1350771340, 1350771334, 1350771318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46723818778992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:36:32.875565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/50/image_09042025_11_50_15_10462.jpg', '/home/pi/Desktop/images/09042025/11/50/image_09042025_11_50_35_10350.jpg', '/home/pi/Desktop/images/09042025/11/50/image_09042025_11_50_45_10352.jpg', '/home/pi/Desktop/images/09042025/11/50/image_09042025_11_50_55_9356.jpg', '/home/pi/Desktop/images/09042025/11/50/image_09042025_11_51_05_10486.jpg', '/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_16_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/50/image_09042025_11_50_15_10462.jpg
/home/pi/Desktop/images/09042025/11/50/image_09042025_11_50_35_10350.jpg
/home/pi/Desktop/images/09042025/11/50/image_09042025_11_50_45_10352.jpg
/home/pi/Desktop/images/09042025/11/50/image_09042025_11_50_55_9356.jpg
/home/pi/Desktop/images/09042025/11/50/image_09042025_11_51_05_10486.jpg
/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_16_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":["1350771361","1350771370","1350771367","1350771354","1350771357","1350771351"],"photo_ids_order":["1350771351","1350771354","1350771357","1350771361","1350771367","1350771370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca9df5d51c5c3a9072d241cf6cd380cb.jpg","text":"TemporaryFile(/tmp/multipartBody5965135089119001030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198653345,"filename":"image_09042025_11_50_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/4/9/a2fd4617499f9c6f43b9e07edeff0b23.jpg","text":"TemporaryFile(/tmp/multipartBody3047000950853582969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198653345,"filename":"image_09042025_11_51_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/4/9/6be1d3c1259829ae6280cf19641d71d0.jpg","text":"TemporaryFile(/tmp/multipartBody6014848782604590525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198653345,"filename":"image_09042025_11_51_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/4/9/a9e18d6e6615a0e5c1be0fdacca01e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5349219120659758118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198653345,"filename":"image_09042025_11_50_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/4/9/cc31a6845712435a963d13d69d7e7103.jpg","text":"TemporaryFile(/tmp/multipartBody4885626944299757440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198653345,"filename":"image_09042025_11_50_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/4/9/beb2c5dc9bec922a4dd171a62aeb41c2.jpg","text":"TemporaryFile(/tmp/multipartBody3204688282468372277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198653345,"filename":"image_09042025_11_50_15_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771357","file1":"1350771354","file0":"1350771351","file4":"1350771367","file5":"1350771370","file3":"1350771361"},"map_files_photo_id_array":[{"photo_id":"1350771370","filename":"file5"},{"photo_id":"1350771357","filename":"file2"},{"photo_id":"1350771367","filename":"file4"},{"photo_id":"1350771354","filename":"file1"},{"photo_id":"1350771351","filename":"file0"},{"photo_id":"1350771361","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771361":["hashtag1","hashtag2"]},{"1350771370":["hashtag1","hashtag2"]},{"1350771367":["hashtag1","hashtag2"]},{"1350771354":["hashtag1","hashtag2"]},{"1350771357":["hashtag1","hashtag2"]},{"1350771351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771361, 1350771370, 1350771367, 1350771354, 1350771357, 1350771351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71881628036499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:37:33.049483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_25_9482.jpg', '/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_35_9833.jpg', '/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_45_9816.jpg', '/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_55_10470.jpg', '/home/pi/Desktop/images/09042025/11/51/image_09042025_11_52_05_9443.jpg', '/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_15_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_25_9482.jpg
/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_35_9833.jpg
/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_45_9816.jpg
/home/pi/Desktop/images/09042025/11/51/image_09042025_11_51_55_10470.jpg
/home/pi/Desktop/images/09042025/11/51/image_09042025_11_52_05_9443.jpg
/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_15_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350771446","1350771442","1350771448","1350771436","1350771420","1350771408"],"photo_ids_order":["1350771408","1350771420","1350771436","1350771442","1350771446","1350771448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9bb679f9e5db73bcbf1670e20229dfa5.jpg","text":"TemporaryFile(/tmp/multipartBody7937414448640093023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198713493,"filename":"image_09042025_11_52_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ff1509e12b61d0a341725d9b3179340.jpg","text":"TemporaryFile(/tmp/multipartBody6517863779355439552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198713493,"filename":"image_09042025_11_51_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/4/9/809fbbe287b4df5dc49f3c4ce6eabeb7.jpg","text":"TemporaryFile(/tmp/multipartBody4786704772205890481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198713493,"filename":"image_09042025_11_52_15_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1743a933c72e1cb9cc95605c0a5a4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8589942934725844860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198713493,"filename":"image_09042025_11_51_45_9816.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4f6913730ab6f630e26b81aa5809373.jpg","text":"TemporaryFile(/tmp/multipartBody4418631547552861044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198713493,"filename":"image_09042025_11_51_35_9833.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37e38c791685755e4c2081a9e5b63fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7991081602554882846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198713493,"filename":"image_09042025_11_51_25_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771436","file1":"1350771420","file0":"1350771408","file4":"1350771446","file5":"1350771448","file3":"1350771442"},"map_files_photo_id_array":[{"photo_id":"1350771448","filename":"file5"},{"photo_id":"1350771436","filename":"file2"},{"photo_id":"1350771446","filename":"file4"},{"photo_id":"1350771420","filename":"file1"},{"photo_id":"1350771408","filename":"file0"},{"photo_id":"1350771442","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771446":["hashtag1","hashtag2"]},{"1350771442":["hashtag1","hashtag2"]},{"1350771448":["hashtag1","hashtag2"]},{"1350771436":["hashtag1","hashtag2"]},{"1350771420":["hashtag1","hashtag2"]},{"1350771408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771446, 1350771442, 1350771448, 1350771436, 1350771420, 1350771408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21628141403198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:38:32.196460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_25_10356.jpg', '/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_35_9357.jpg', '/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_45_10360.jpg', '/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_56_10364.jpg', '/home/pi/Desktop/images/09042025/11/52/image_09042025_11_53_05_9366.jpg', '/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_25_10356.jpg
/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_35_9357.jpg
/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_45_10360.jpg
/home/pi/Desktop/images/09042025/11/52/image_09042025_11_52_56_10364.jpg
/home/pi/Desktop/images/09042025/11/52/image_09042025_11_53_05_9366.jpg
/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_15_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":["1350771572","1350771569","1350771586","1350771582","1350771579","1350771575"],"photo_ids_order":["1350771569","1350771572","1350771575","1350771579","1350771582","1350771586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3501df96ba2cc76e143e1deee51601fa.jpg","text":"TemporaryFile(/tmp/multipartBody1690665086155858481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198772641,"filename":"image_09042025_11_52_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fef45c80d2a67de1cccbc3fe859b10dd.jpg","text":"TemporaryFile(/tmp/multipartBody3119091742568361643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198772641,"filename":"image_09042025_11_52_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f8ce4d07bc690bf20bc3d237d19e9cf.jpg","text":"TemporaryFile(/tmp/multipartBody7423489896015281697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198772641,"filename":"image_09042025_11_53_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a4a65d63c26dd50bff324db04c49603.jpg","text":"TemporaryFile(/tmp/multipartBody8363679370042473879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198772641,"filename":"image_09042025_11_53_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e44e236837d47dc0f98f319c16a3c4e2.jpg","text":"TemporaryFile(/tmp/multipartBody8106604997236513782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198772641,"filename":"image_09042025_11_52_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/4/9/e6aa1c018b2f9592e116e1575a6b3b27.jpg","text":"TemporaryFile(/tmp/multipartBody1060174561343871573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198772641,"filename":"image_09042025_11_52_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771575","file1":"1350771572","file0":"1350771569","file4":"1350771582","file5":"1350771586","file3":"1350771579"},"map_files_photo_id_array":[{"photo_id":"1350771586","filename":"file5"},{"photo_id":"1350771575","filename":"file2"},{"photo_id":"1350771582","filename":"file4"},{"photo_id":"1350771572","filename":"file1"},{"photo_id":"1350771569","filename":"file0"},{"photo_id":"1350771579","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771572":["hashtag1","hashtag2"]},{"1350771569":["hashtag1","hashtag2"]},{"1350771586":["hashtag1","hashtag2"]},{"1350771582":["hashtag1","hashtag2"]},{"1350771579":["hashtag1","hashtag2"]},{"1350771575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771572, 1350771569, 1350771586, 1350771582, 1350771579, 1350771575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.991572380065918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:39:32.450389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_25_9443.jpg', '/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_35_10402.jpg', '/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_45_10356.jpg', '/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_55_9352.jpg', '/home/pi/Desktop/images/09042025/11/53/image_09042025_11_54_05_10391.jpg', '/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_16_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_25_9443.jpg
/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_35_10402.jpg
/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_45_10356.jpg
/home/pi/Desktop/images/09042025/11/53/image_09042025_11_53_55_9352.jpg
/home/pi/Desktop/images/09042025/11/53/image_09042025_11_54_05_10391.jpg
/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_16_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350771643","1350771607","1350771645","1350771621","1350771639","1350771612"],"photo_ids_order":["1350771607","1350771612","1350771621","1350771639","1350771643","1350771645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5f9504e1daf505c9577d2bd3c42332b3.jpg","text":"TemporaryFile(/tmp/multipartBody126891542921211272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198832903,"filename":"image_09042025_11_54_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b7a2a5f53be0fd7d0cb8a0407013d61.jpg","text":"TemporaryFile(/tmp/multipartBody2930363349060653407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198832903,"filename":"image_09042025_11_53_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fef97238593aef427a43c9fd40a6866d.jpg","text":"TemporaryFile(/tmp/multipartBody6028229662400905854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198832903,"filename":"image_09042025_11_54_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/4/9/94c78a1620a6c928770b435c1d4ae575.jpg","text":"TemporaryFile(/tmp/multipartBody7009658769879817208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198832903,"filename":"image_09042025_11_53_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/4/9/cca18c350bd8647d5e7965e5b0f23358.jpg","text":"TemporaryFile(/tmp/multipartBody859651106699371171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198832903,"filename":"image_09042025_11_53_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/4/9/5c61b1c8871769b6fda78386403a843a.jpg","text":"TemporaryFile(/tmp/multipartBody1138734549749433303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198832903,"filename":"image_09042025_11_53_35_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771621","file1":"1350771612","file0":"1350771607","file4":"1350771643","file5":"1350771645","file3":"1350771639"},"map_files_photo_id_array":[{"photo_id":"1350771645","filename":"file5"},{"photo_id":"1350771621","filename":"file2"},{"photo_id":"1350771643","filename":"file4"},{"photo_id":"1350771612","filename":"file1"},{"photo_id":"1350771607","filename":"file0"},{"photo_id":"1350771639","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771643":["hashtag1","hashtag2"]},{"1350771607":["hashtag1","hashtag2"]},{"1350771645":["hashtag1","hashtag2"]},{"1350771621":["hashtag1","hashtag2"]},{"1350771639":["hashtag1","hashtag2"]},{"1350771612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771643, 1350771607, 1350771645, 1350771621, 1350771639, 1350771612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94680595397949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:40:35.420753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_25_9367.jpg', '/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_35_10435.jpg', '/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_45_9369.jpg', '/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_55_10461.jpg', '/home/pi/Desktop/images/09042025/11/54/image_09042025_11_55_06_10374.jpg', '/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_15_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_25_9367.jpg
/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_35_10435.jpg
/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_45_9369.jpg
/home/pi/Desktop/images/09042025/11/54/image_09042025_11_54_55_10461.jpg
/home/pi/Desktop/images/09042025/11/54/image_09042025_11_55_06_10374.jpg
/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_15_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350771665","1350771668","1350771691","1350771694","1350771680","1350771674"],"photo_ids_order":["1350771665","1350771668","1350771674","1350771680","1350771691","1350771694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a52d93b9e3956eb950be5d6b04e70ea.jpg","text":"TemporaryFile(/tmp/multipartBody8092947316229382981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198895867,"filename":"image_09042025_11_54_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/4/9/d2a6f4e0fc402b9bf5b761369652cfa9.jpg","text":"TemporaryFile(/tmp/multipartBody8951728191889463377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198895867,"filename":"image_09042025_11_54_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/4/9/e8721d6b096f910d6f40c7d183a4273d.jpg","text":"TemporaryFile(/tmp/multipartBody2175689804714817877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198895867,"filename":"image_09042025_11_55_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/136d2b44cc08e6167b0b9090c163d2c5.jpg","text":"TemporaryFile(/tmp/multipartBody314318181471974950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198895867,"filename":"image_09042025_11_55_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9945bd1e595f8c959898d791083e17a8.jpg","text":"TemporaryFile(/tmp/multipartBody2948501781883409201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198895867,"filename":"image_09042025_11_54_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/4/9/a95410493d77b02735daa5236fc53973.jpg","text":"TemporaryFile(/tmp/multipartBody5933074900653792398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198895867,"filename":"image_09042025_11_54_45_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771674","file1":"1350771668","file0":"1350771665","file4":"1350771691","file5":"1350771694","file3":"1350771680"},"map_files_photo_id_array":[{"photo_id":"1350771694","filename":"file5"},{"photo_id":"1350771674","filename":"file2"},{"photo_id":"1350771691","filename":"file4"},{"photo_id":"1350771668","filename":"file1"},{"photo_id":"1350771665","filename":"file0"},{"photo_id":"1350771680","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771665":["hashtag1","hashtag2"]},{"1350771668":["hashtag1","hashtag2"]},{"1350771691":["hashtag1","hashtag2"]},{"1350771694":["hashtag1","hashtag2"]},{"1350771680":["hashtag1","hashtag2"]},{"1350771674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771665, 1350771668, 1350771691, 1350771694, 1350771680, 1350771674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.449134588241577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:41:32.934501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_25_10436.jpg', '/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_35_9345.jpg', '/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_45_10444.jpg', '/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_56_10480.jpg', '/home/pi/Desktop/images/09042025/11/55/image_09042025_11_56_05_9375.jpg', '/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_15_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_25_10436.jpg
/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_35_9345.jpg
/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_45_10444.jpg
/home/pi/Desktop/images/09042025/11/55/image_09042025_11_55_56_10480.jpg
/home/pi/Desktop/images/09042025/11/55/image_09042025_11_56_05_9375.jpg
/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_15_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350771725","1350771728","1350771736","1350771721","1350771732","1350771717"],"photo_ids_order":["1350771717","1350771721","1350771725","1350771728","1350771732","1350771736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc0a47a168b07f83ee0b4bce1464e011.jpg","text":"TemporaryFile(/tmp/multipartBody2119418561930545910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198953380,"filename":"image_09042025_11_55_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4e59f1c1b5af707713a28227f6af6e4.jpg","text":"TemporaryFile(/tmp/multipartBody5821752946741408420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198953380,"filename":"image_09042025_11_55_56_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f05bad62a0b3fe1c73117f3aae2db16.jpg","text":"TemporaryFile(/tmp/multipartBody7181686016717366860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198953380,"filename":"image_09042025_11_56_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d337b093a647458f123fddd2a685b8a.jpg","text":"TemporaryFile(/tmp/multipartBody7246875080844245403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198953380,"filename":"image_09042025_11_55_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/4/9/c1228528bf79dca99ce21e75ffeca5c6.jpg","text":"TemporaryFile(/tmp/multipartBody8204940362423478255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198953380,"filename":"image_09042025_11_56_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27fd88ccd56faa1687cc1c7119e389c8.jpg","text":"TemporaryFile(/tmp/multipartBody379828876725221057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744198953380,"filename":"image_09042025_11_55_25_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771725","file1":"1350771721","file0":"1350771717","file4":"1350771732","file5":"1350771736","file3":"1350771728"},"map_files_photo_id_array":[{"photo_id":"1350771736","filename":"file5"},{"photo_id":"1350771725","filename":"file2"},{"photo_id":"1350771732","filename":"file4"},{"photo_id":"1350771721","filename":"file1"},{"photo_id":"1350771717","filename":"file0"},{"photo_id":"1350771728","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771725":["hashtag1","hashtag2"]},{"1350771728":["hashtag1","hashtag2"]},{"1350771736":["hashtag1","hashtag2"]},{"1350771721":["hashtag1","hashtag2"]},{"1350771732":["hashtag1","hashtag2"]},{"1350771717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771725, 1350771728, 1350771736, 1350771721, 1350771732, 1350771717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45551943778992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:42:33.102164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_25_9580.jpg', '/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_35_10348.jpg', '/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_45_9351.jpg', '/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_55_10475.jpg', '/home/pi/Desktop/images/09042025/11/56/image_09042025_11_57_05_10345.jpg', '/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_15_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_25_9580.jpg
/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_35_10348.jpg
/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_45_9351.jpg
/home/pi/Desktop/images/09042025/11/56/image_09042025_11_56_55_10475.jpg
/home/pi/Desktop/images/09042025/11/56/image_09042025_11_57_05_10345.jpg
/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_15_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350771772","1350771775","1350771769","1350771754","1350771762","1350771765"],"photo_ids_order":["1350771754","1350771762","1350771765","1350771769","1350771772","1350771775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/135b4f93e746c5aa964a9e942dc7a58a.jpg","text":"TemporaryFile(/tmp/multipartBody2310682820031041375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199013542,"filename":"image_09042025_11_57_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/4/9/cede47c869bb9f41e50ae890cadcc26f.jpg","text":"TemporaryFile(/tmp/multipartBody1302674469014931962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199013542,"filename":"image_09042025_11_57_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d87f2faf0fe620d828d4f287792f4304.jpg","text":"TemporaryFile(/tmp/multipartBody801301155437141207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199013542,"filename":"image_09042025_11_56_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/4/9/1a44a57c8691842faeec0273d95c73ce.jpg","text":"TemporaryFile(/tmp/multipartBody2910670257834064952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199013542,"filename":"image_09042025_11_56_25_9580.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f80af0a9a22e437fa106faf460db50ec.jpg","text":"TemporaryFile(/tmp/multipartBody3125250269835932915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199013542,"filename":"image_09042025_11_56_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/4/9/7d54787390f9886beba25880ac9392f1.jpg","text":"TemporaryFile(/tmp/multipartBody4111744615803828982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199013542,"filename":"image_09042025_11_56_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771765","file1":"1350771762","file0":"1350771754","file4":"1350771772","file5":"1350771775","file3":"1350771769"},"map_files_photo_id_array":[{"photo_id":"1350771775","filename":"file5"},{"photo_id":"1350771765","filename":"file2"},{"photo_id":"1350771772","filename":"file4"},{"photo_id":"1350771762","filename":"file1"},{"photo_id":"1350771754","filename":"file0"},{"photo_id":"1350771769","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771772":["hashtag1","hashtag2"]},{"1350771775":["hashtag1","hashtag2"]},{"1350771769":["hashtag1","hashtag2"]},{"1350771754":["hashtag1","hashtag2"]},{"1350771762":["hashtag1","hashtag2"]},{"1350771765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771772, 1350771775, 1350771769, 1350771754, 1350771762, 1350771765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.361234664916992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:43:32.488102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_25_10427.jpg', '/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_36_10340.jpg', '/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_45_9394.jpg', '/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_55_10361.jpg', '/home/pi/Desktop/images/09042025/11/57/image_09042025_11_58_05_9326.jpg', '/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_25_10427.jpg
/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_36_10340.jpg
/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_45_9394.jpg
/home/pi/Desktop/images/09042025/11/57/image_09042025_11_57_55_10361.jpg
/home/pi/Desktop/images/09042025/11/57/image_09042025_11_58_05_9326.jpg
/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_15_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":["1350771821","1350771859","1350771832","1350771838","1350771852","1350771828"],"photo_ids_order":["1350771821","1350771828","1350771832","1350771838","1350771852","1350771859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e0025f5bb9b432c50d041a313e30717.jpg","text":"TemporaryFile(/tmp/multipartBody6695532763475645340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199072932,"filename":"image_09042025_11_57_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d5adc405b885d97f8cd688878f22c073.jpg","text":"TemporaryFile(/tmp/multipartBody7059611115024790118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199072932,"filename":"image_09042025_11_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/4/9/5679c9b7f8e90f6b9811a3a23a0bf3a5.jpg","text":"TemporaryFile(/tmp/multipartBody4150575833634841967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199072932,"filename":"image_09042025_11_57_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/4/9/ef157ea66b37c4d674fabaa43cad2bf8.jpg","text":"TemporaryFile(/tmp/multipartBody2557119475391540668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199072932,"filename":"image_09042025_11_57_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/4/9/b3c95cac8f1d51666e0b4345dea6bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody5422441768116514352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199072932,"filename":"image_09042025_11_58_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/4/9/a45c01cba955d24b07dab9854131c322.jpg","text":"TemporaryFile(/tmp/multipartBody7536911693789706783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199072932,"filename":"image_09042025_11_57_36_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771832","file1":"1350771828","file0":"1350771821","file4":"1350771852","file5":"1350771859","file3":"1350771838"},"map_files_photo_id_array":[{"photo_id":"1350771859","filename":"file5"},{"photo_id":"1350771832","filename":"file2"},{"photo_id":"1350771852","filename":"file4"},{"photo_id":"1350771828","filename":"file1"},{"photo_id":"1350771821","filename":"file0"},{"photo_id":"1350771838","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771821":["hashtag1","hashtag2"]},{"1350771859":["hashtag1","hashtag2"]},{"1350771832":["hashtag1","hashtag2"]},{"1350771838":["hashtag1","hashtag2"]},{"1350771852":["hashtag1","hashtag2"]},{"1350771828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771821, 1350771859, 1350771832, 1350771838, 1350771852, 1350771828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.008883714675903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:44:32.668798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_25_10376.jpg', '/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_35_9353.jpg', '/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_45_10399.jpg', '/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_55_10356.jpg', '/home/pi/Desktop/images/09042025/11/58/image_09042025_11_59_05_9341.jpg', '/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_15_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_25_10376.jpg
/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_35_9353.jpg
/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_45_10399.jpg
/home/pi/Desktop/images/09042025/11/58/image_09042025_11_58_55_10356.jpg
/home/pi/Desktop/images/09042025/11/58/image_09042025_11_59_05_9341.jpg
/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_15_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350771905","1350771895","1350771888","1350771891","1350771909","1350771900"],"photo_ids_order":["1350771888","1350771891","1350771895","1350771900","1350771905","1350771909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e46db6f61ce2d08b9b9d4d906b6f9a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7636903840612065046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199133112,"filename":"image_09042025_11_59_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b90e1013191068268bc36e331bf998a.jpg","text":"TemporaryFile(/tmp/multipartBody1093452580874472357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199133112,"filename":"image_09042025_11_58_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c2a84123ddb531bea3c42827f98feaf.jpg","text":"TemporaryFile(/tmp/multipartBody1422863458093715178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199133112,"filename":"image_09042025_11_58_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/4/9/35712b5b17a07c2ad7def20e4fb37b7f.jpg","text":"TemporaryFile(/tmp/multipartBody3563861071558588263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199133112,"filename":"image_09042025_11_58_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/4/9/2226eb028f8a6cb042954f0282a6b0a0.jpg","text":"TemporaryFile(/tmp/multipartBody7351238839208661616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199133112,"filename":"image_09042025_11_59_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a0cabe4271a90844713eece36d3c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody7669181154822607882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199133112,"filename":"image_09042025_11_58_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771895","file1":"1350771891","file0":"1350771888","file4":"1350771905","file5":"1350771909","file3":"1350771900"},"map_files_photo_id_array":[{"photo_id":"1350771909","filename":"file5"},{"photo_id":"1350771895","filename":"file2"},{"photo_id":"1350771905","filename":"file4"},{"photo_id":"1350771891","filename":"file1"},{"photo_id":"1350771888","filename":"file0"},{"photo_id":"1350771900","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771905":["hashtag1","hashtag2"]},{"1350771895":["hashtag1","hashtag2"]},{"1350771888":["hashtag1","hashtag2"]},{"1350771891":["hashtag1","hashtag2"]},{"1350771909":["hashtag1","hashtag2"]},{"1350771900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771905, 1350771895, 1350771888, 1350771891, 1350771909, 1350771900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.274895429611206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:45:32.867354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_25_9355.jpg', '/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_35_10419.jpg', '/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_45_10352.jpg', '/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_55_9357.jpg', '/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_15_10077.jpg', '/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_26_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_25_9355.jpg
/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_35_10419.jpg
/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_45_10352.jpg
/home/pi/Desktop/images/09042025/11/59/image_09042025_11_59_55_9357.jpg
/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_15_10077.jpg
/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_26_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":["1350771941","1350771950","1350771932","1350771934","1350771937","1350771945"],"photo_ids_order":["1350771932","1350771934","1350771937","1350771941","1350771945","1350771950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/abfdc3d85a7c98825334098000d3f361.jpg","text":"TemporaryFile(/tmp/multipartBody2311335297591336300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199193532,"filename":"image_09042025_11_59_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/4/9/afc73f02b45d8c7c473bc7a30c49ac78.jpg","text":"TemporaryFile(/tmp/multipartBody5419308742008029231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199193532,"filename":"image_09042025_12_00_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3cdc2757ea3e9d82132cc3bb8e458d60.jpg","text":"TemporaryFile(/tmp/multipartBody1045839749687404807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199193532,"filename":"image_09042025_11_59_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/4/9/842a81ef2bee68c143048360ec55b4e8.jpg","text":"TemporaryFile(/tmp/multipartBody6095946635929371891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199193532,"filename":"image_09042025_11_59_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/4/9/7a57beddc4c6be96e3ea9e7a79d6e8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2422615170431195531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199193532,"filename":"image_09042025_11_59_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/4/9/3264056b617f889d2332066de3066d33.jpg","text":"TemporaryFile(/tmp/multipartBody1197655701200039298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199193532,"filename":"image_09042025_12_00_15_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350771937","file1":"1350771934","file0":"1350771932","file4":"1350771945","file5":"1350771950","file3":"1350771941"},"map_files_photo_id_array":[{"photo_id":"1350771950","filename":"file5"},{"photo_id":"1350771937","filename":"file2"},{"photo_id":"1350771945","filename":"file4"},{"photo_id":"1350771934","filename":"file1"},{"photo_id":"1350771932","filename":"file0"},{"photo_id":"1350771941","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350771941":["hashtag1","hashtag2"]},{"1350771950":["hashtag1","hashtag2"]},{"1350771932":["hashtag1","hashtag2"]},{"1350771934":["hashtag1","hashtag2"]},{"1350771937":["hashtag1","hashtag2"]},{"1350771945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350771941, 1350771950, 1350771932, 1350771934, 1350771937, 1350771945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65989542007446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:46:33.091529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_36_10448.jpg', '/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_46_9344.jpg', '/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_56_10362.jpg', '/home/pi/Desktop/images/09042025/12/00/image_09042025_12_01_05_9429.jpg', '/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_16_10349.jpg', '/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_26_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_36_10448.jpg
/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_46_9344.jpg
/home/pi/Desktop/images/09042025/12/00/image_09042025_12_00_56_10362.jpg
/home/pi/Desktop/images/09042025/12/00/image_09042025_12_01_05_9429.jpg
/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_16_10349.jpg
/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_26_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350772048","1350772044","1350772082","1350772085","1350772109","1350772100"],"photo_ids_order":["1350772044","1350772048","1350772082","1350772085","1350772100","1350772109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bfa1eb49a19fe448e2b1b3ef8dabb67a.jpg","text":"TemporaryFile(/tmp/multipartBody5630439261865348923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199253541,"filename":"image_09042025_12_00_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/4/9/7bd8112460db343ff8eea5221fba03a2.jpg","text":"TemporaryFile(/tmp/multipartBody3112714570434071414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199253541,"filename":"image_09042025_12_00_36_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8e2cf839fecabb4e1a71dad46b3a3c4.jpg","text":"TemporaryFile(/tmp/multipartBody1966837540964778130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199253541,"filename":"image_09042025_12_00_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/4/9/b0257e1bdd4aba7fc83fde2f8534c10b.jpg","text":"TemporaryFile(/tmp/multipartBody5407707855981159132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199253541,"filename":"image_09042025_12_01_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/4/9/bc7df2f02ebc0521c2a9b75bbc3ec731.jpg","text":"TemporaryFile(/tmp/multipartBody8929235543045556997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199253541,"filename":"image_09042025_12_01_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e200b23ec7be09f224117369ff2d2c83.jpg","text":"TemporaryFile(/tmp/multipartBody4727334314012663372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199253541,"filename":"image_09042025_12_01_16_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772082","file1":"1350772048","file0":"1350772044","file4":"1350772100","file5":"1350772109","file3":"1350772085"},"map_files_photo_id_array":[{"photo_id":"1350772109","filename":"file5"},{"photo_id":"1350772082","filename":"file2"},{"photo_id":"1350772100","filename":"file4"},{"photo_id":"1350772048","filename":"file1"},{"photo_id":"1350772044","filename":"file0"},{"photo_id":"1350772085","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772048":["hashtag1","hashtag2"]},{"1350772044":["hashtag1","hashtag2"]},{"1350772082":["hashtag1","hashtag2"]},{"1350772085":["hashtag1","hashtag2"]},{"1350772109":["hashtag1","hashtag2"]},{"1350772100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772048, 1350772044, 1350772082, 1350772085, 1350772109, 1350772100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72415494918823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:47:32.285186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_35_9338.jpg', '/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_46_10358.jpg', '/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_56_10464.jpg', '/home/pi/Desktop/images/09042025/12/01/image_09042025_12_02_06_9391.jpg', '/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_16_10458.jpg', '/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_25_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_35_9338.jpg
/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_46_10358.jpg
/home/pi/Desktop/images/09042025/12/01/image_09042025_12_01_56_10464.jpg
/home/pi/Desktop/images/09042025/12/01/image_09042025_12_02_06_9391.jpg
/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_16_10458.jpg
/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_25_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":["1350772225","1350772234","1350772216","1350772221","1350772230","1350772218"],"photo_ids_order":["1350772216","1350772218","1350772221","1350772225","1350772230","1350772234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94fec5e257e9606c7a43de8db59ed62c.jpg","text":"TemporaryFile(/tmp/multipartBody9125171650330773109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199312723,"filename":"image_09042025_12_02_06_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7079818db1732ef6e095473c25cfcff1.jpg","text":"TemporaryFile(/tmp/multipartBody7904598972677723170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199312723,"filename":"image_09042025_12_02_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/4/9/decb5d4836708e66d7e659a512509f7b.jpg","text":"TemporaryFile(/tmp/multipartBody180792236432824766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199312723,"filename":"image_09042025_12_01_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/4/9/bf1d2d943a423720f618709dde7166e5.jpg","text":"TemporaryFile(/tmp/multipartBody3851320599945214464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199312723,"filename":"image_09042025_12_01_56_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5cd270510ab553d1f49044ac83840050.jpg","text":"TemporaryFile(/tmp/multipartBody1759709553363168343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199312723,"filename":"image_09042025_12_02_16_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc85dfb37db30eaa3a7facd8cf301a62.jpg","text":"TemporaryFile(/tmp/multipartBody6796247000306880229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199312723,"filename":"image_09042025_12_01_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772221","file1":"1350772218","file0":"1350772216","file4":"1350772230","file5":"1350772234","file3":"1350772225"},"map_files_photo_id_array":[{"photo_id":"1350772234","filename":"file5"},{"photo_id":"1350772221","filename":"file2"},{"photo_id":"1350772230","filename":"file4"},{"photo_id":"1350772218","filename":"file1"},{"photo_id":"1350772216","filename":"file0"},{"photo_id":"1350772225","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772225":["hashtag1","hashtag2"]},{"1350772234":["hashtag1","hashtag2"]},{"1350772216":["hashtag1","hashtag2"]},{"1350772221":["hashtag1","hashtag2"]},{"1350772230":["hashtag1","hashtag2"]},{"1350772218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772225, 1350772234, 1350772216, 1350772221, 1350772230, 1350772218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60352039337158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:48:32.638668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_36_10437.jpg', '/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_45_9394.jpg', '/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_56_10368.jpg', '/home/pi/Desktop/images/09042025/12/02/image_09042025_12_03_06_10394.jpg', '/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_16_9417.jpg', '/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_26_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_36_10437.jpg
/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_45_9394.jpg
/home/pi/Desktop/images/09042025/12/02/image_09042025_12_02_56_10368.jpg
/home/pi/Desktop/images/09042025/12/02/image_09042025_12_03_06_10394.jpg
/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_16_9417.jpg
/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_26_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350772304","1350772294","1350772270","1350772306","1350772287","1350772260"],"photo_ids_order":["1350772260","1350772270","1350772287","1350772294","1350772304","1350772306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d34f5dec7dc81f40a1b133058e2c4030.jpg","text":"TemporaryFile(/tmp/multipartBody5582991239689253685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199373081,"filename":"image_09042025_12_03_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/4/9/d4df6d5e170153c47ce7e10aeb298e17.jpg","text":"TemporaryFile(/tmp/multipartBody4884126269754970538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199373081,"filename":"image_09042025_12_03_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/4/9/bba961ca7ead62ad8abb89b1f9766986.jpg","text":"TemporaryFile(/tmp/multipartBody8670827854105641224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199373081,"filename":"image_09042025_12_02_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/4/9/eaa22577d8f0f758555e7fbfed496b36.jpg","text":"TemporaryFile(/tmp/multipartBody3214299306654921188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199373081,"filename":"image_09042025_12_03_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/4/9/24e48095d6b2b2802a99edc404a9135d.jpg","text":"TemporaryFile(/tmp/multipartBody6208016624071050927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199373081,"filename":"image_09042025_12_02_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b066b53821472e144164f3f9beefda6.jpg","text":"TemporaryFile(/tmp/multipartBody1734992123482704549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199373081,"filename":"image_09042025_12_02_36_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772287","file1":"1350772270","file0":"1350772260","file4":"1350772304","file5":"1350772306","file3":"1350772294"},"map_files_photo_id_array":[{"photo_id":"1350772306","filename":"file5"},{"photo_id":"1350772287","filename":"file2"},{"photo_id":"1350772304","filename":"file4"},{"photo_id":"1350772270","filename":"file1"},{"photo_id":"1350772260","filename":"file0"},{"photo_id":"1350772294","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772304":["hashtag1","hashtag2"]},{"1350772294":["hashtag1","hashtag2"]},{"1350772270":["hashtag1","hashtag2"]},{"1350772306":["hashtag1","hashtag2"]},{"1350772287":["hashtag1","hashtag2"]},{"1350772260":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772304, 1350772294, 1350772270, 1350772306, 1350772287, 1350772260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90396857261658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:49:32.758681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_35_9415.jpg', '/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_46_10477.jpg', '/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_56_10472.jpg', '/home/pi/Desktop/images/09042025/12/03/image_09042025_12_04_06_9336.jpg', '/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_16_10334.jpg', '/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_25_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_35_9415.jpg
/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_46_10477.jpg
/home/pi/Desktop/images/09042025/12/03/image_09042025_12_03_56_10472.jpg
/home/pi/Desktop/images/09042025/12/03/image_09042025_12_04_06_9336.jpg
/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_16_10334.jpg
/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_25_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":["1350772330","1350772359","1350772332","1350772364","1350772349","1350772328"],"photo_ids_order":["1350772328","1350772330","1350772332","1350772349","1350772359","1350772364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1140876df445a4d170225895eb6acaa.jpg","text":"TemporaryFile(/tmp/multipartBody4022143426009044118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199433203,"filename":"image_09042025_12_03_46_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/402db6733002187c2ba4888aa472ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody1421161161519293305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199433203,"filename":"image_09042025_12_04_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/4/9/bcb0a01faddf160b050f28cec98dc735.jpg","text":"TemporaryFile(/tmp/multipartBody4833498750577617241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199433203,"filename":"image_09042025_12_03_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/4/9/91760f4b803f5ac74d0466a9d4eb19c8.jpg","text":"TemporaryFile(/tmp/multipartBody8672003113473005847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199433203,"filename":"image_09042025_12_04_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/4/9/f73a0d315133d98a56ec6fb12c50817c.jpg","text":"TemporaryFile(/tmp/multipartBody6279729201396919396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199433203,"filename":"image_09042025_12_04_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/4/9/6e5fd136afa015c27da94e23cc7228f7.jpg","text":"TemporaryFile(/tmp/multipartBody3953941008448302108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199433203,"filename":"image_09042025_12_03_35_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772332","file1":"1350772330","file0":"1350772328","file4":"1350772359","file5":"1350772364","file3":"1350772349"},"map_files_photo_id_array":[{"photo_id":"1350772364","filename":"file5"},{"photo_id":"1350772332","filename":"file2"},{"photo_id":"1350772359","filename":"file4"},{"photo_id":"1350772330","filename":"file1"},{"photo_id":"1350772328","filename":"file0"},{"photo_id":"1350772349","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772330":["hashtag1","hashtag2"]},{"1350772359":["hashtag1","hashtag2"]},{"1350772332":["hashtag1","hashtag2"]},{"1350772364":["hashtag1","hashtag2"]},{"1350772349":["hashtag1","hashtag2"]},{"1350772328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772330, 1350772359, 1350772332, 1350772364, 1350772349, 1350772328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89234924316406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:50:32.922879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_36_10380.jpg', '/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_46_10396.jpg', '/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_55_9356.jpg', '/home/pi/Desktop/images/09042025/12/04/image_09042025_12_05_06_10394.jpg', '/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_16_10338.jpg', '/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_26_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_36_10380.jpg
/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_46_10396.jpg
/home/pi/Desktop/images/09042025/12/04/image_09042025_12_04_55_9356.jpg
/home/pi/Desktop/images/09042025/12/04/image_09042025_12_05_06_10394.jpg
/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_16_10338.jpg
/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_26_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":["1350772399","1350772383","1350772380","1350772394","1350772397","1350772391"],"photo_ids_order":["1350772380","1350772383","1350772391","1350772394","1350772397","1350772399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/63e9240129c650706b62c85f7f104b88.jpg","text":"TemporaryFile(/tmp/multipartBody5433005817286643349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199493367,"filename":"image_09042025_12_05_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/194d2190f1cb321bc945863e911b395a.jpg","text":"TemporaryFile(/tmp/multipartBody7470575475543441565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199493367,"filename":"image_09042025_12_04_46_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/153b146112eda0d97ca3bde6c53b038b.jpg","text":"TemporaryFile(/tmp/multipartBody2356842077339466507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199493367,"filename":"image_09042025_12_04_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f04b509adecfb9e6053e900c32030ad.jpg","text":"TemporaryFile(/tmp/multipartBody747576079050460905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199493367,"filename":"image_09042025_12_05_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/4/9/affa149dfc31a37bef5f31b2d3237710.jpg","text":"TemporaryFile(/tmp/multipartBody8351593056979780151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199493367,"filename":"image_09042025_12_05_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/4/9/bf94cc534f64eec89f4475fc463f1ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8873822714863330392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199493367,"filename":"image_09042025_12_04_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772391","file1":"1350772383","file0":"1350772380","file4":"1350772397","file5":"1350772399","file3":"1350772394"},"map_files_photo_id_array":[{"photo_id":"1350772399","filename":"file5"},{"photo_id":"1350772391","filename":"file2"},{"photo_id":"1350772397","filename":"file4"},{"photo_id":"1350772383","filename":"file1"},{"photo_id":"1350772380","filename":"file0"},{"photo_id":"1350772394","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772399":["hashtag1","hashtag2"]},{"1350772383":["hashtag1","hashtag2"]},{"1350772380":["hashtag1","hashtag2"]},{"1350772394":["hashtag1","hashtag2"]},{"1350772397":["hashtag1","hashtag2"]},{"1350772391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772399, 1350772383, 1350772380, 1350772394, 1350772397, 1350772391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10381746292114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:51:32.434182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_36_10516.jpg', '/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_45_9363.jpg', '/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_56_10442.jpg', '/home/pi/Desktop/images/09042025/12/05/image_09042025_12_06_05_9436.jpg', '/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_16_10355.jpg', '/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_26_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_36_10516.jpg
/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_45_9363.jpg
/home/pi/Desktop/images/09042025/12/05/image_09042025_12_05_56_10442.jpg
/home/pi/Desktop/images/09042025/12/05/image_09042025_12_06_05_9436.jpg
/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_16_10355.jpg
/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_26_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":["1350772409","1350772420","1350772423","1350772411","1350772413","1350772416"],"photo_ids_order":["1350772409","1350772411","1350772413","1350772416","1350772420","1350772423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d257a72b993da7224eee3ee7f231f9eb.jpg","text":"TemporaryFile(/tmp/multipartBody2558693646246622741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199552889,"filename":"image_09042025_12_05_36_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4aa89a4e1339bc288af0343ef0c4111.jpg","text":"TemporaryFile(/tmp/multipartBody5772611194426190031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199552889,"filename":"image_09042025_12_06_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/4/9/de7182da170c912b5985419a00cc10b0.jpg","text":"TemporaryFile(/tmp/multipartBody8157486774992440451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199552889,"filename":"image_09042025_12_06_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/4/9/99ea6e4e11461d85a0d049c0c66bca24.jpg","text":"TemporaryFile(/tmp/multipartBody4446077817729560162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199552889,"filename":"image_09042025_12_05_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff5cd7620c4ceb8c8d8e78208c568746.jpg","text":"TemporaryFile(/tmp/multipartBody2919102826595460449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199552889,"filename":"image_09042025_12_05_56_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8796ae87f118d46d6ce24e993c27b989.jpg","text":"TemporaryFile(/tmp/multipartBody1997528499904001457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199552889,"filename":"image_09042025_12_06_05_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772413","file1":"1350772411","file0":"1350772409","file4":"1350772420","file5":"1350772423","file3":"1350772416"},"map_files_photo_id_array":[{"photo_id":"1350772423","filename":"file5"},{"photo_id":"1350772413","filename":"file2"},{"photo_id":"1350772420","filename":"file4"},{"photo_id":"1350772411","filename":"file1"},{"photo_id":"1350772409","filename":"file0"},{"photo_id":"1350772416","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772409":["hashtag1","hashtag2"]},{"1350772420":["hashtag1","hashtag2"]},{"1350772423":["hashtag1","hashtag2"]},{"1350772411":["hashtag1","hashtag2"]},{"1350772413":["hashtag1","hashtag2"]},{"1350772416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772409, 1350772420, 1350772423, 1350772411, 1350772413, 1350772416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85882210731506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:52:32.735341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_35_9382.jpg', '/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_46_10443.jpg', '/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_55_9492.jpg', '/home/pi/Desktop/images/09042025/12/06/image_09042025_12_07_06_10430.jpg', '/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_15_9454.jpg', '/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_26_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_35_9382.jpg
/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_46_10443.jpg
/home/pi/Desktop/images/09042025/12/06/image_09042025_12_06_55_9492.jpg
/home/pi/Desktop/images/09042025/12/06/image_09042025_12_07_06_10430.jpg
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_15_9454.jpg
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_26_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":["1350772468","1350772519","1350772470","1350772473","1350772503","1350772466"],"photo_ids_order":["1350772466","1350772468","1350772470","1350772473","1350772503","1350772519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d38d5a0fb06738ca19488740d3bc3d3.jpg","text":"TemporaryFile(/tmp/multipartBody877874034288139345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199613175,"filename":"image_09042025_12_06_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/4/9/9e17e5fd1f3fa39fed2cb74f0b2063ac.jpg","text":"TemporaryFile(/tmp/multipartBody1746498724347857911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199613175,"filename":"image_09042025_12_07_26_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fffaf53b58966eafe333693faf661100.jpg","text":"TemporaryFile(/tmp/multipartBody8907603420784823114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199613175,"filename":"image_09042025_12_06_55_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f93ff59b552ff93b930e849c5b260144.jpg","text":"TemporaryFile(/tmp/multipartBody5915931060602444512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199613175,"filename":"image_09042025_12_07_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d09ed89305bd03443dea360e4137acd.jpg","text":"TemporaryFile(/tmp/multipartBody87936503773841150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199613175,"filename":"image_09042025_12_07_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/4/9/cd95e224ed2c60105ed5bd9999382434.jpg","text":"TemporaryFile(/tmp/multipartBody7231906667560994521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199613175,"filename":"image_09042025_12_06_35_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772470","file1":"1350772468","file0":"1350772466","file4":"1350772503","file5":"1350772519","file3":"1350772473"},"map_files_photo_id_array":[{"photo_id":"1350772519","filename":"file5"},{"photo_id":"1350772470","filename":"file2"},{"photo_id":"1350772503","filename":"file4"},{"photo_id":"1350772468","filename":"file1"},{"photo_id":"1350772466","filename":"file0"},{"photo_id":"1350772473","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772468":["hashtag1","hashtag2"]},{"1350772519":["hashtag1","hashtag2"]},{"1350772470":["hashtag1","hashtag2"]},{"1350772473":["hashtag1","hashtag2"]},{"1350772503":["hashtag1","hashtag2"]},{"1350772466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772468, 1350772519, 1350772470, 1350772473, 1350772503, 1350772466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94139528274536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:53:32.968385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_36_10620.jpg', '/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_46_9373.jpg', '/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_56_10464.jpg', '/home/pi/Desktop/images/09042025/12/07/image_09042025_12_08_06_9412.jpg', '/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_16_10369.jpg', '/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_26_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_36_10620.jpg
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_46_9373.jpg
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_56_10464.jpg
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_08_06_9412.jpg
/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_16_10369.jpg
/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_26_10384.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3747258186340332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 13:53:42.966429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_36_10620.jpg', '/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_46_9373.jpg', '/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_56_10464.jpg', '/home/pi/Desktop/images/09042025/12/07/image_09042025_12_08_06_9412.jpg', '/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_16_10369.jpg', '/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_26_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_36_10620.jpg
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_46_9373.jpg
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_07_56_10464.jpg
/home/pi/Desktop/images/09042025/12/07/image_09042025_12_08_06_9412.jpg
/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_16_10369.jpg
/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_26_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350772828","1350772801","1350772877","1350772841","1350772814","1350772823"],"photo_ids_order":["1350772801","1350772814","1350772823","1350772828","1350772841","1350772877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b44dc53535782c1702bbe3e32fb5b48a.jpg","text":"TemporaryFile(/tmp/multipartBody6140876002497713715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199683405,"filename":"image_09042025_12_08_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b33ddb84f5a4abd680c0ecdd50fced7.jpg","text":"TemporaryFile(/tmp/multipartBody8238872199764959178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199683405,"filename":"image_09042025_12_07_36_10620.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6906416e55c31b530bff8814e1d32dd0.jpg","text":"TemporaryFile(/tmp/multipartBody5518556919725629155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199683405,"filename":"image_09042025_12_08_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/4/9/5115ca1a045868c1a6bd318de3495d52.jpg","text":"TemporaryFile(/tmp/multipartBody5173207584810390339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199683405,"filename":"image_09042025_12_08_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/4/9/6cb57e4e0d330e0c12603825bd62c084.jpg","text":"TemporaryFile(/tmp/multipartBody6245020052801244647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199683405,"filename":"image_09042025_12_07_46_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b29b31ca49ffc32f4a63bd10216df94d.jpg","text":"TemporaryFile(/tmp/multipartBody8966233329341753720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199683405,"filename":"image_09042025_12_07_56_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772823","file1":"1350772814","file0":"1350772801","file4":"1350772841","file5":"1350772877","file3":"1350772828"},"map_files_photo_id_array":[{"photo_id":"1350772877","filename":"file5"},{"photo_id":"1350772823","filename":"file2"},{"photo_id":"1350772841","filename":"file4"},{"photo_id":"1350772814","filename":"file1"},{"photo_id":"1350772801","filename":"file0"},{"photo_id":"1350772828","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772828":["hashtag1","hashtag2"]},{"1350772801":["hashtag1","hashtag2"]},{"1350772877":["hashtag1","hashtag2"]},{"1350772841":["hashtag1","hashtag2"]},{"1350772814":["hashtag1","hashtag2"]},{"1350772823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772828, 1350772801, 1350772877, 1350772841, 1350772814, 1350772823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58969187736511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:54:32.198624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_36_9335.jpg', '/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_46_10410.jpg', '/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_55_9360.jpg', '/home/pi/Desktop/images/09042025/12/08/image_09042025_12_09_06_10350.jpg', '/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_16_10449.jpg', '/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_26_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_36_9335.jpg
/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_46_10410.jpg
/home/pi/Desktop/images/09042025/12/08/image_09042025_12_08_55_9360.jpg
/home/pi/Desktop/images/09042025/12/08/image_09042025_12_09_06_10350.jpg
/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_16_10449.jpg
/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_26_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":["1350772939","1350772912","1350772915","1350772923","1350772934","1350772937"],"photo_ids_order":["1350772912","1350772915","1350772923","1350772934","1350772937","1350772939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6f02be07e83f1ca867e3adf2da5d296.jpg","text":"TemporaryFile(/tmp/multipartBody4798174965461462191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199732668,"filename":"image_09042025_12_09_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/4/9/4e96799c11c984a2deb02357095a1ca1.jpg","text":"TemporaryFile(/tmp/multipartBody7549846935153579079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199732668,"filename":"image_09042025_12_08_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/4/9/d79d65bd6ee459d359c0851d2f5ae2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6928755275352146262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199732668,"filename":"image_09042025_12_08_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e0501b93317e2d94cb22456018b174a.jpg","text":"TemporaryFile(/tmp/multipartBody2215730515887096918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199732668,"filename":"image_09042025_12_08_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/4/9/06c1575eab4d3888a9e9f7ba29b5d8f0.jpg","text":"TemporaryFile(/tmp/multipartBody539372988575610673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199732668,"filename":"image_09042025_12_09_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5958661d6b88c825dfa5fa1fce918049.jpg","text":"TemporaryFile(/tmp/multipartBody4996249366998893376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199732668,"filename":"image_09042025_12_09_16_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772923","file1":"1350772915","file0":"1350772912","file4":"1350772937","file5":"1350772939","file3":"1350772934"},"map_files_photo_id_array":[{"photo_id":"1350772939","filename":"file5"},{"photo_id":"1350772923","filename":"file2"},{"photo_id":"1350772937","filename":"file4"},{"photo_id":"1350772915","filename":"file1"},{"photo_id":"1350772912","filename":"file0"},{"photo_id":"1350772934","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772939":["hashtag1","hashtag2"]},{"1350772912":["hashtag1","hashtag2"]},{"1350772915":["hashtag1","hashtag2"]},{"1350772923":["hashtag1","hashtag2"]},{"1350772934":["hashtag1","hashtag2"]},{"1350772937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772939, 1350772912, 1350772915, 1350772923, 1350772934, 1350772937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40237021446228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:55:32.294534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_36_10350.jpg', '/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_45_9444.jpg', '/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_56_10362.jpg', '/home/pi/Desktop/images/09042025/12/09/image_09042025_12_10_06_10389.jpg', '/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_15_9376.jpg', '/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_26_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_36_10350.jpg
/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_45_9444.jpg
/home/pi/Desktop/images/09042025/12/09/image_09042025_12_09_56_10362.jpg
/home/pi/Desktop/images/09042025/12/09/image_09042025_12_10_06_10389.jpg
/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_15_9376.jpg
/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_26_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":["1350772988","1350772982","1350772991","1350772985","1350772979","1350772990"],"photo_ids_order":["1350772979","1350772982","1350772985","1350772988","1350772990","1350772991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37d7271ace720c347573a4b60117de2a.jpg","text":"TemporaryFile(/tmp/multipartBody2391187068930807240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199792735,"filename":"image_09042025_12_10_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/4/9/850a6be261e8ec5dc35715c41e6e0822.jpg","text":"TemporaryFile(/tmp/multipartBody6981519534302767130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199792735,"filename":"image_09042025_12_09_45_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36b029a9addf39ca41a23c455fad398f.jpg","text":"TemporaryFile(/tmp/multipartBody318963027766139146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199792735,"filename":"image_09042025_12_10_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/4/9/20b4805d6117d6bd9449d4b72a60f36d.jpg","text":"TemporaryFile(/tmp/multipartBody7435361265197058924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199792735,"filename":"image_09042025_12_09_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/4/9/d6b384e06e19d4fad7b07afeb00b67c2.jpg","text":"TemporaryFile(/tmp/multipartBody4895779748304836540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199792735,"filename":"image_09042025_12_09_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/91902168d2c6024f85a3bf745d081526.jpg","text":"TemporaryFile(/tmp/multipartBody5372352777503055881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199792735,"filename":"image_09042025_12_10_15_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350772985","file1":"1350772982","file0":"1350772979","file4":"1350772990","file5":"1350772991","file3":"1350772988"},"map_files_photo_id_array":[{"photo_id":"1350772991","filename":"file5"},{"photo_id":"1350772985","filename":"file2"},{"photo_id":"1350772990","filename":"file4"},{"photo_id":"1350772982","filename":"file1"},{"photo_id":"1350772979","filename":"file0"},{"photo_id":"1350772988","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350772988":["hashtag1","hashtag2"]},{"1350772982":["hashtag1","hashtag2"]},{"1350772991":["hashtag1","hashtag2"]},{"1350772985":["hashtag1","hashtag2"]},{"1350772979":["hashtag1","hashtag2"]},{"1350772990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350772988, 1350772982, 1350772991, 1350772985, 1350772979, 1350772990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61925911903381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:56:32.662077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_36_10361.jpg', '/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_46_9351.jpg', '/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_56_10425.jpg', '/home/pi/Desktop/images/09042025/12/10/image_09042025_12_11_05_9342.jpg', '/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_16_10350.jpg', '/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_26_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_36_10361.jpg
/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_46_9351.jpg
/home/pi/Desktop/images/09042025/12/10/image_09042025_12_10_56_10425.jpg
/home/pi/Desktop/images/09042025/12/10/image_09042025_12_11_05_9342.jpg
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_16_10350.jpg
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_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":["1350773011","1350773028","1350773037","1350773010","1350773012","1350773021"],"photo_ids_order":["1350773010","1350773011","1350773012","1350773021","1350773028","1350773037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9cdc3c111a6eba3b4bea2d8a79156132.jpg","text":"TemporaryFile(/tmp/multipartBody51455591618700659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199853130,"filename":"image_09042025_12_10_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/4/9/a5d7c77196ae6f43e25008284e74804a.jpg","text":"TemporaryFile(/tmp/multipartBody2108747468905307830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199853130,"filename":"image_09042025_12_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/4/9/04182fbaf3cbcbcc7fa27229229d1e1a.jpg","text":"TemporaryFile(/tmp/multipartBody3212675127709501066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199853130,"filename":"image_09042025_12_11_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/4/9/1cf7bc60b4c926b8c2ca28e6992bf209.jpg","text":"TemporaryFile(/tmp/multipartBody6353041724810728168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199853130,"filename":"image_09042025_12_10_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/4/9/c5646c45306085c8ecd7c57e7acae391.jpg","text":"TemporaryFile(/tmp/multipartBody2609893136780770758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199853130,"filename":"image_09042025_12_10_56_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f1733a7e4f5822d0154ac6470bdcf8e.jpg","text":"TemporaryFile(/tmp/multipartBody2753854941948803558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744199853130,"filename":"image_09042025_12_11_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350773012","file1":"1350773011","file0":"1350773010","file4":"1350773028","file5":"1350773037","file3":"1350773021"},"map_files_photo_id_array":[{"photo_id":"1350773037","filename":"file5"},{"photo_id":"1350773012","filename":"file2"},{"photo_id":"1350773028","filename":"file4"},{"photo_id":"1350773011","filename":"file1"},{"photo_id":"1350773010","filename":"file0"},{"photo_id":"1350773021","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350773011":["hashtag1","hashtag2"]},{"1350773028":["hashtag1","hashtag2"]},{"1350773037":["hashtag1","hashtag2"]},{"1350773010":["hashtag1","hashtag2"]},{"1350773012":["hashtag1","hashtag2"]},{"1350773021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350773011, 1350773028, 1350773037, 1350773010, 1350773012, 1350773021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.537384271621704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 13:57:32.938767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_36_9350.jpg', '/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_46_10345.jpg', '/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_56_10362.jpg', '/home/pi/Desktop/images/09042025/12/11/image_09042025_12_12_06_9349.jpg', '/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_16_10448.jpg', '/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_25_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_36_9350.jpg
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_46_10345.jpg
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_56_10362.jpg
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_12_06_9349.jpg
/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_16_10448.jpg
/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_25_9375.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 13:59:04.165144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_36_9350.jpg', '/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_46_10345.jpg', '/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_56_10362.jpg', '/home/pi/Desktop/images/09042025/12/11/image_09042025_12_12_06_9349.jpg', '/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_16_10448.jpg', '/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_25_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_36_9350.jpg
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_46_10345.jpg
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_11_56_10362.jpg
/home/pi/Desktop/images/09042025/12/11/image_09042025_12_12_06_9349.jpg
/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_16_10448.jpg
/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_25_9375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350773670","1350773793","1350773760","1350773726","1350773549","1350773606"],"photo_ids_order":["1350773549","1350773606","1350773670","1350773726","1350773760","1350773793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2555aa45ce448a2a8fdaddc26c3e89c0.jpg","text":"TemporaryFile(/tmp/multipartBody116916298846603957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200004760,"filename":"image_09042025_12_11_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/4/9/b30981e246cfa6ed67f3d99f09e5df4f.jpg","text":"TemporaryFile(/tmp/multipartBody8684779979411511348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200004760,"filename":"image_09042025_12_12_25_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5bd1708e8650b253685d60a070d67580.jpg","text":"TemporaryFile(/tmp/multipartBody4196150440117941075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200004760,"filename":"image_09042025_12_12_16_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/288774fb06ccc6f48391405fbbf9c194.jpg","text":"TemporaryFile(/tmp/multipartBody192967072476528427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200004760,"filename":"image_09042025_12_12_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/4/9/350fd72eb85b9f3e379e8bcab12237ab.jpg","text":"TemporaryFile(/tmp/multipartBody6690767645231688786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200004760,"filename":"image_09042025_12_11_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/4/9/7b43ba7c1f48662aed36a236687094e8.jpg","text":"TemporaryFile(/tmp/multipartBody2893660871145079880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200004760,"filename":"image_09042025_12_11_46_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350773670","file1":"1350773606","file0":"1350773549","file4":"1350773760","file5":"1350773793","file3":"1350773726"},"map_files_photo_id_array":[{"photo_id":"1350773793","filename":"file5"},{"photo_id":"1350773670","filename":"file2"},{"photo_id":"1350773760","filename":"file4"},{"photo_id":"1350773606","filename":"file1"},{"photo_id":"1350773549","filename":"file0"},{"photo_id":"1350773726","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350773670":["hashtag1","hashtag2"]},{"1350773793":["hashtag1","hashtag2"]},{"1350773760":["hashtag1","hashtag2"]},{"1350773726":["hashtag1","hashtag2"]},{"1350773549":["hashtag1","hashtag2"]},{"1350773606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350773670, 1350773793, 1350773760, 1350773726, 1350773549, 1350773606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.133694887161255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 13:59:42.768578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_46_10445.jpg', '/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_56_9384.jpg', '/home/pi/Desktop/images/09042025/12/12/image_09042025_12_13_06_10341.jpg', '/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_16_10362.jpg', '/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_26_9361.jpg', '/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_36_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_46_10445.jpg
/home/pi/Desktop/images/09042025/12/12/image_09042025_12_12_56_9384.jpg
/home/pi/Desktop/images/09042025/12/12/image_09042025_12_13_06_10341.jpg
/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_16_10362.jpg
/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_26_9361.jpg
/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_36_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350773935","1350773877","1350774105","1350773979","1350774065","1350774016"],"photo_ids_order":["1350773877","1350773935","1350773979","1350774016","1350774065","1350774105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/365313afb27955c06d129b95dd8b59a1.jpg","text":"TemporaryFile(/tmp/multipartBody1843906488836915929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200043224,"filename":"image_09042025_12_12_56_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b52374d543c33c383b7f31d0bcb052b.jpg","text":"TemporaryFile(/tmp/multipartBody3265899874101736030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200043224,"filename":"image_09042025_12_12_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65dfb74783066b5a4d874f9b8a1ad4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8661453553395287708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200043224,"filename":"image_09042025_12_13_36_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09dec81ad446cf8b573977579cc7f47c.jpg","text":"TemporaryFile(/tmp/multipartBody1210562364137688900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200043224,"filename":"image_09042025_12_13_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/4/9/53aea80414e500bcdb84d48395d04e32.jpg","text":"TemporaryFile(/tmp/multipartBody981141931096916494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200043224,"filename":"image_09042025_12_13_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/799058d14670ea3ad8528a239491eaef.jpg","text":"TemporaryFile(/tmp/multipartBody6412386932699977476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200043224,"filename":"image_09042025_12_13_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350773979","file1":"1350773935","file0":"1350773877","file4":"1350774065","file5":"1350774105","file3":"1350774016"},"map_files_photo_id_array":[{"photo_id":"1350774105","filename":"file5"},{"photo_id":"1350773979","filename":"file2"},{"photo_id":"1350774065","filename":"file4"},{"photo_id":"1350773935","filename":"file1"},{"photo_id":"1350773877","filename":"file0"},{"photo_id":"1350774016","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350773935":["hashtag1","hashtag2"]},{"1350773877":["hashtag1","hashtag2"]},{"1350774105":["hashtag1","hashtag2"]},{"1350773979":["hashtag1","hashtag2"]},{"1350774065":["hashtag1","hashtag2"]},{"1350774016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350773935, 1350773877, 1350774105, 1350773979, 1350774065, 1350774016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37861108779907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:00:32.891463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_46_9405.jpg', '/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_56_10394.jpg', '/home/pi/Desktop/images/09042025/12/13/image_09042025_12_14_06_10353.jpg', '/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_16_9389.jpg', '/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_26_10457.jpg', '/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_35_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_46_9405.jpg
/home/pi/Desktop/images/09042025/12/13/image_09042025_12_13_56_10394.jpg
/home/pi/Desktop/images/09042025/12/13/image_09042025_12_14_06_10353.jpg
/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_16_9389.jpg
/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_26_10457.jpg
/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_35_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":["1350774819","1350774543","1350774713","1350774769","1350774457","1350774622"],"photo_ids_order":["1350774457","1350774543","1350774622","1350774713","1350774769","1350774819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e947dc21a91f4a7f0b2522b641eb6c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2753672762336326591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200093336,"filename":"image_09042025_12_14_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/4/9/129e15923bda19583e8b094b6d844a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5895955441137751704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200093336,"filename":"image_09042025_12_13_56_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe38c1f1f9d9aafbcd2fc42a747f6041.jpg","text":"TemporaryFile(/tmp/multipartBody7069885655860395338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200093336,"filename":"image_09042025_12_14_16_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da0b66cf79774f4785d1b306537476af.jpg","text":"TemporaryFile(/tmp/multipartBody6490271321138185309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200093336,"filename":"image_09042025_12_14_26_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96fe36b7a2ea04ae9425d975b9c008b6.jpg","text":"TemporaryFile(/tmp/multipartBody6410316926910635566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200093336,"filename":"image_09042025_12_13_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a153394c62242655d2d277f1ea406c7.jpg","text":"TemporaryFile(/tmp/multipartBody2241256986831512679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200093336,"filename":"image_09042025_12_14_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350774622","file1":"1350774543","file0":"1350774457","file4":"1350774769","file5":"1350774819","file3":"1350774713"},"map_files_photo_id_array":[{"photo_id":"1350774819","filename":"file5"},{"photo_id":"1350774622","filename":"file2"},{"photo_id":"1350774769","filename":"file4"},{"photo_id":"1350774543","filename":"file1"},{"photo_id":"1350774457","filename":"file0"},{"photo_id":"1350774713","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350774819":["hashtag1","hashtag2"]},{"1350774543":["hashtag1","hashtag2"]},{"1350774713":["hashtag1","hashtag2"]},{"1350774769":["hashtag1","hashtag2"]},{"1350774457":["hashtag1","hashtag2"]},{"1350774622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350774819, 1350774543, 1350774713, 1350774769, 1350774457, 1350774622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09467434883118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:01:33.001398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_46_10382.jpg', '/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_56_10361.jpg', '/home/pi/Desktop/images/09042025/12/14/image_09042025_12_15_06_9358.jpg', '/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_16_10475.jpg', '/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_25_9359.jpg', '/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_36_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_46_10382.jpg
/home/pi/Desktop/images/09042025/12/14/image_09042025_12_14_56_10361.jpg
/home/pi/Desktop/images/09042025/12/14/image_09042025_12_15_06_9358.jpg
/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_16_10475.jpg
/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_25_9359.jpg
/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_36_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350775905","1350775778","1350775550","1350775672","1350775447","1350775327"],"photo_ids_order":["1350775327","1350775447","1350775550","1350775672","1350775778","1350775905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77f448b6163d4c9d0807f1c416fec8b1.jpg","text":"TemporaryFile(/tmp/multipartBody247675412903857289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200153457,"filename":"image_09042025_12_15_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/4/9/f8256313ce0a159d9f1bae90b729403c.jpg","text":"TemporaryFile(/tmp/multipartBody5386075730234044067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200153457,"filename":"image_09042025_12_15_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/4/9/6565fdcbb022844c565024f77cca10b4.jpg","text":"TemporaryFile(/tmp/multipartBody8377779459475505260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200153457,"filename":"image_09042025_12_15_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/4/9/04d4d5cbdb419c389df40e64c7eb0dc4.jpg","text":"TemporaryFile(/tmp/multipartBody6345826859626467269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200153457,"filename":"image_09042025_12_15_16_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/76aeeba9d7a6cbc02cc7fff76e056aea.jpg","text":"TemporaryFile(/tmp/multipartBody6083618456537185556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200153457,"filename":"image_09042025_12_14_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/4/9/4c4a678bffe849215cbb157ced53c981.jpg","text":"TemporaryFile(/tmp/multipartBody7223809628289841300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200153457,"filename":"image_09042025_12_14_46_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350775550","file1":"1350775447","file0":"1350775327","file4":"1350775778","file5":"1350775905","file3":"1350775672"},"map_files_photo_id_array":[{"photo_id":"1350775905","filename":"file5"},{"photo_id":"1350775550","filename":"file2"},{"photo_id":"1350775778","filename":"file4"},{"photo_id":"1350775447","filename":"file1"},{"photo_id":"1350775327","filename":"file0"},{"photo_id":"1350775672","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350775905":["hashtag1","hashtag2"]},{"1350775778":["hashtag1","hashtag2"]},{"1350775550":["hashtag1","hashtag2"]},{"1350775672":["hashtag1","hashtag2"]},{"1350775447":["hashtag1","hashtag2"]},{"1350775327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350775905, 1350775778, 1350775550, 1350775672, 1350775447, 1350775327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.372222900390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:02:32.403723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_46_10443.jpg', '/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_56_9419.jpg', '/home/pi/Desktop/images/09042025/12/15/image_09042025_12_16_06_10336.jpg', '/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_15_9376.jpg', '/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_26_10432.jpg', '/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_36_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_46_10443.jpg
/home/pi/Desktop/images/09042025/12/15/image_09042025_12_15_56_9419.jpg
/home/pi/Desktop/images/09042025/12/15/image_09042025_12_16_06_10336.jpg
/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_15_9376.jpg
/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_26_10432.jpg
/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_36_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350776822","1350777075","1350777159","1350776997","1350776925","1350776739"],"photo_ids_order":["1350776739","1350776822","1350776925","1350776997","1350777075","1350777159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15c2ba08f2892e89c4464a79d88b02dd.jpg","text":"TemporaryFile(/tmp/multipartBody568362226700760582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200212858,"filename":"image_09042025_12_15_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e838b413fbde1f13eeaf8b6c88a81784.jpg","text":"TemporaryFile(/tmp/multipartBody4069912450277049568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200212858,"filename":"image_09042025_12_16_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/538266d2122d2c1029786a2866277dca.jpg","text":"TemporaryFile(/tmp/multipartBody8025017551360601679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200212858,"filename":"image_09042025_12_16_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdc171c8b359b2e1b037a480c915f60c.jpg","text":"TemporaryFile(/tmp/multipartBody1363236397711400701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200212858,"filename":"image_09042025_12_16_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/4/9/a5ec689ae428dc5e199bedfbe6a607f8.jpg","text":"TemporaryFile(/tmp/multipartBody2863437008495399356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200212858,"filename":"image_09042025_12_16_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/4/9/bcc4a4e954520f93dd6e3d5c883fb76f.jpg","text":"TemporaryFile(/tmp/multipartBody7329385876619967625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200212858,"filename":"image_09042025_12_15_46_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350776925","file1":"1350776822","file0":"1350776739","file4":"1350777075","file5":"1350777159","file3":"1350776997"},"map_files_photo_id_array":[{"photo_id":"1350777159","filename":"file5"},{"photo_id":"1350776925","filename":"file2"},{"photo_id":"1350777075","filename":"file4"},{"photo_id":"1350776822","filename":"file1"},{"photo_id":"1350776739","filename":"file0"},{"photo_id":"1350776997","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350776822":["hashtag1","hashtag2"]},{"1350777075":["hashtag1","hashtag2"]},{"1350777159":["hashtag1","hashtag2"]},{"1350776997":["hashtag1","hashtag2"]},{"1350776925":["hashtag1","hashtag2"]},{"1350776739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350776822, 1350777075, 1350777159, 1350776997, 1350776925, 1350776739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.673280477523804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:03:32.527569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_46_9345.jpg', '/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_56_10343.jpg', '/home/pi/Desktop/images/09042025/12/16/image_09042025_12_17_05_9435.jpg', '/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_16_10368.jpg', '/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_26_10414.jpg', '/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_35_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_46_9345.jpg
/home/pi/Desktop/images/09042025/12/16/image_09042025_12_16_56_10343.jpg
/home/pi/Desktop/images/09042025/12/16/image_09042025_12_17_05_9435.jpg
/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_16_10368.jpg
/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_26_10414.jpg
/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_35_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":["1350777914","1350778060","1350778015","1350777966","1350777762","1350777843"],"photo_ids_order":["1350777762","1350777843","1350777914","1350777966","1350778015","1350778060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5edfa1f957245bc210fd50e1394eaaac.jpg","text":"TemporaryFile(/tmp/multipartBody3790444530792019005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200272991,"filename":"image_09042025_12_17_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67dd3f9072cc3ff6f13108657f255f6b.jpg","text":"TemporaryFile(/tmp/multipartBody3008232071415569399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200272991,"filename":"image_09042025_12_17_35_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27effc8dd24e1bd9712ada564b4e61d4.jpg","text":"TemporaryFile(/tmp/multipartBody2470972910800050875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200272991,"filename":"image_09042025_12_17_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/4/9/d9aedfb86b7e4ad696b109d140f31060.jpg","text":"TemporaryFile(/tmp/multipartBody433918558273408728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200272991,"filename":"image_09042025_12_17_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/4/9/d69772bdfa46178fe3459247c9abe225.jpg","text":"TemporaryFile(/tmp/multipartBody4675862814092812256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200272991,"filename":"image_09042025_12_16_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/4/9/434430dce39ffeb5ded31065b3945e77.jpg","text":"TemporaryFile(/tmp/multipartBody5833673043866941295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200272991,"filename":"image_09042025_12_16_56_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350777914","file1":"1350777843","file0":"1350777762","file4":"1350778015","file5":"1350778060","file3":"1350777966"},"map_files_photo_id_array":[{"photo_id":"1350778060","filename":"file5"},{"photo_id":"1350777914","filename":"file2"},{"photo_id":"1350778015","filename":"file4"},{"photo_id":"1350777843","filename":"file1"},{"photo_id":"1350777762","filename":"file0"},{"photo_id":"1350777966","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350777914":["hashtag1","hashtag2"]},{"1350778060":["hashtag1","hashtag2"]},{"1350778015":["hashtag1","hashtag2"]},{"1350777966":["hashtag1","hashtag2"]},{"1350777762":["hashtag1","hashtag2"]},{"1350777843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350777914, 1350778060, 1350778015, 1350777966, 1350777762, 1350777843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.538113594055176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:04:32.838951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_46_10417.jpg', '/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_56_10367.jpg', '/home/pi/Desktop/images/09042025/12/17/image_09042025_12_18_06_9359.jpg', '/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_16_10351.jpg', '/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_25_9359.jpg', '/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_36_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_46_10417.jpg
/home/pi/Desktop/images/09042025/12/17/image_09042025_12_17_56_10367.jpg
/home/pi/Desktop/images/09042025/12/17/image_09042025_12_18_06_9359.jpg
/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_16_10351.jpg
/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_25_9359.jpg
/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_36_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350778849","1350778818","1350778898","1350778856","1350778940","1350778934"],"photo_ids_order":["1350778818","1350778849","1350778856","1350778898","1350778934","1350778940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57a52e6d54f8691d07d7e1ed983ae1d6.jpg","text":"TemporaryFile(/tmp/multipartBody8210845761783582626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200333299,"filename":"image_09042025_12_17_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/4/9/5da9c45f74fade42c8ce8fd92725d1d8.jpg","text":"TemporaryFile(/tmp/multipartBody3557434291481035498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200333299,"filename":"image_09042025_12_17_46_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d9f52e53bf40dba2172edf2623156b9.jpg","text":"TemporaryFile(/tmp/multipartBody7920157055549926861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200333299,"filename":"image_09042025_12_18_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/4/9/7979430f4c1ebe01ca5fa6827a0108fb.jpg","text":"TemporaryFile(/tmp/multipartBody2466879237917207673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200333299,"filename":"image_09042025_12_18_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/4/9/10354db6f0ca2d52a24415b910964f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1888193880325000987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200333299,"filename":"image_09042025_12_18_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/4/9/3cfcc41fa7130a1c4b158373d5c86ed8.jpg","text":"TemporaryFile(/tmp/multipartBody6619190995910693189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200333299,"filename":"image_09042025_12_18_25_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350778856","file1":"1350778849","file0":"1350778818","file4":"1350778934","file5":"1350778940","file3":"1350778898"},"map_files_photo_id_array":[{"photo_id":"1350778940","filename":"file5"},{"photo_id":"1350778856","filename":"file2"},{"photo_id":"1350778934","filename":"file4"},{"photo_id":"1350778849","filename":"file1"},{"photo_id":"1350778818","filename":"file0"},{"photo_id":"1350778898","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350778849":["hashtag1","hashtag2"]},{"1350778818":["hashtag1","hashtag2"]},{"1350778898":["hashtag1","hashtag2"]},{"1350778856":["hashtag1","hashtag2"]},{"1350778940":["hashtag1","hashtag2"]},{"1350778934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350778849, 1350778818, 1350778898, 1350778856, 1350778940, 1350778934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.949524879455566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:05:32.995786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_46_10526.jpg', '/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_56_9432.jpg', '/home/pi/Desktop/images/09042025/12/18/image_09042025_12_19_06_10414.jpg', '/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_15_9351.jpg', '/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_26_10378.jpg', '/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_36_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_46_10526.jpg
/home/pi/Desktop/images/09042025/12/18/image_09042025_12_18_56_9432.jpg
/home/pi/Desktop/images/09042025/12/18/image_09042025_12_19_06_10414.jpg
/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_15_9351.jpg
/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_26_10378.jpg
/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_36_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350779137","1350779142","1350779154","1350779159","1350779147","1350779132"],"photo_ids_order":["1350779132","1350779137","1350779142","1350779147","1350779154","1350779159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/43bb8abaf12146e3c79365094e56c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4655338749266897817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200393439,"filename":"image_09042025_12_18_56_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4319b62653dd3df54a3d7f8c7f17598e.jpg","text":"TemporaryFile(/tmp/multipartBody8432787099414595192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200393439,"filename":"image_09042025_12_19_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da99a3d282e908a95e49736ae2ffca37.jpg","text":"TemporaryFile(/tmp/multipartBody8469546694448534254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200393439,"filename":"image_09042025_12_19_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/516cc5e19f9610477fb6a5a9b17d1228.jpg","text":"TemporaryFile(/tmp/multipartBody9021150234082577786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200393439,"filename":"image_09042025_12_19_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/4/9/86d69ff6e74579d943de49466f2560ed.jpg","text":"TemporaryFile(/tmp/multipartBody8104063132154206615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200393439,"filename":"image_09042025_12_19_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/295b355eb067bb2b753d2617f0b6b1b7.jpg","text":"TemporaryFile(/tmp/multipartBody7565077974382955543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200393439,"filename":"image_09042025_12_18_46_10526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350779142","file1":"1350779137","file0":"1350779132","file4":"1350779154","file5":"1350779159","file3":"1350779147"},"map_files_photo_id_array":[{"photo_id":"1350779159","filename":"file5"},{"photo_id":"1350779142","filename":"file2"},{"photo_id":"1350779154","filename":"file4"},{"photo_id":"1350779137","filename":"file1"},{"photo_id":"1350779132","filename":"file0"},{"photo_id":"1350779147","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350779137":["hashtag1","hashtag2"]},{"1350779142":["hashtag1","hashtag2"]},{"1350779154":["hashtag1","hashtag2"]},{"1350779159":["hashtag1","hashtag2"]},{"1350779147":["hashtag1","hashtag2"]},{"1350779132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350779137, 1350779142, 1350779154, 1350779159, 1350779147, 1350779132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62885093688965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:06:32.283648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_45_9358.jpg', '/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_56_10345.jpg', '/home/pi/Desktop/images/09042025/12/19/image_09042025_12_20_06_10355.jpg', '/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_16_9426.jpg', '/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_26_10467.jpg', '/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_35_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_45_9358.jpg
/home/pi/Desktop/images/09042025/12/19/image_09042025_12_19_56_10345.jpg
/home/pi/Desktop/images/09042025/12/19/image_09042025_12_20_06_10355.jpg
/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_16_9426.jpg
/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_26_10467.jpg
/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_35_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":["1350779269","1350779200","1350779313","1350779378","1350779243","1350779339"],"photo_ids_order":["1350779200","1350779243","1350779269","1350779313","1350779339","1350779378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/078043332c38d16309709f037b4e9403.jpg","text":"TemporaryFile(/tmp/multipartBody2226395419340145901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200452792,"filename":"image_09042025_12_20_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f70bddc45a6243ea543589755dc7161d.jpg","text":"TemporaryFile(/tmp/multipartBody2314721551783621971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200452792,"filename":"image_09042025_12_19_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/4/9/597863799b06f32c3f1f4e75d1526912.jpg","text":"TemporaryFile(/tmp/multipartBody234561232656235380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200452792,"filename":"image_09042025_12_20_16_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82af33f52ab35cf00c65c268519e6873.jpg","text":"TemporaryFile(/tmp/multipartBody5165998930448696256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200452792,"filename":"image_09042025_12_20_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/4/9/fc1b010db5453826106afa0b0048a696.jpg","text":"TemporaryFile(/tmp/multipartBody3618734259945658169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200452792,"filename":"image_09042025_12_19_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/4/9/82954b41af1e333e26508ab295c4435a.jpg","text":"TemporaryFile(/tmp/multipartBody1954528812151246680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200452792,"filename":"image_09042025_12_20_26_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350779269","file1":"1350779243","file0":"1350779200","file4":"1350779339","file5":"1350779378","file3":"1350779313"},"map_files_photo_id_array":[{"photo_id":"1350779378","filename":"file5"},{"photo_id":"1350779269","filename":"file2"},{"photo_id":"1350779339","filename":"file4"},{"photo_id":"1350779243","filename":"file1"},{"photo_id":"1350779200","filename":"file0"},{"photo_id":"1350779313","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350779269":["hashtag1","hashtag2"]},{"1350779200":["hashtag1","hashtag2"]},{"1350779313":["hashtag1","hashtag2"]},{"1350779378":["hashtag1","hashtag2"]},{"1350779243":["hashtag1","hashtag2"]},{"1350779339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350779269, 1350779200, 1350779313, 1350779378, 1350779243, 1350779339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.882296323776245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:07:32.477225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_46_10357.jpg', '/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_56_10353.jpg', '/home/pi/Desktop/images/09042025/12/20/image_09042025_12_21_05_9341.jpg', '/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_16_10361.jpg', '/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_25_9443.jpg', '/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_36_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_46_10357.jpg
/home/pi/Desktop/images/09042025/12/20/image_09042025_12_20_56_10353.jpg
/home/pi/Desktop/images/09042025/12/20/image_09042025_12_21_05_9341.jpg
/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_16_10361.jpg
/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_25_9443.jpg
/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_36_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350779647","1350779676","1350779701","1350779730","1350779622","1350779594"],"photo_ids_order":["1350779594","1350779622","1350779647","1350779676","1350779701","1350779730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2f93e522a1df1ef26da6f1be92203f9.jpg","text":"TemporaryFile(/tmp/multipartBody7244431422256042959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200512927,"filename":"image_09042025_12_21_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/325eec458a109f7ba0dcc0cb2f545ef8.jpg","text":"TemporaryFile(/tmp/multipartBody4073662731798323451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200512927,"filename":"image_09042025_12_21_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/4/9/2c7d01e3e66c9a29401cfd9236fe1347.jpg","text":"TemporaryFile(/tmp/multipartBody3854626813758724167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200512927,"filename":"image_09042025_12_21_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c475066dd1d67d7fab7a66f34ba8a5ac.jpg","text":"TemporaryFile(/tmp/multipartBody8089369316229434261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200512927,"filename":"image_09042025_12_21_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/4/9/9b7d028aca7a449afa138d85cbe5baac.jpg","text":"TemporaryFile(/tmp/multipartBody5684579126620940654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200512927,"filename":"image_09042025_12_20_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/4/9/f47b6e3cd71108d8184282caecd11409.jpg","text":"TemporaryFile(/tmp/multipartBody5923443516206883180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200512927,"filename":"image_09042025_12_20_46_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350779647","file1":"1350779622","file0":"1350779594","file4":"1350779701","file5":"1350779730","file3":"1350779676"},"map_files_photo_id_array":[{"photo_id":"1350779730","filename":"file5"},{"photo_id":"1350779647","filename":"file2"},{"photo_id":"1350779701","filename":"file4"},{"photo_id":"1350779622","filename":"file1"},{"photo_id":"1350779594","filename":"file0"},{"photo_id":"1350779676","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350779647":["hashtag1","hashtag2"]},{"1350779676":["hashtag1","hashtag2"]},{"1350779701":["hashtag1","hashtag2"]},{"1350779730":["hashtag1","hashtag2"]},{"1350779622":["hashtag1","hashtag2"]},{"1350779594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350779647, 1350779676, 1350779701, 1350779730, 1350779622, 1350779594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.896547317504883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:08:32.833432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_46_10415.jpg', '/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_55_9379.jpg', '/home/pi/Desktop/images/09042025/12/21/image_09042025_12_22_06_10419.jpg', '/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_15_9422.jpg', '/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_26_10373.jpg', '/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_36_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_46_10415.jpg
/home/pi/Desktop/images/09042025/12/21/image_09042025_12_21_55_9379.jpg
/home/pi/Desktop/images/09042025/12/21/image_09042025_12_22_06_10419.jpg
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_15_9422.jpg
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_26_10373.jpg
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_36_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":["1350780072","1350780045","1350780021","1350779989","1350779906","1350780116"],"photo_ids_order":["1350779906","1350779989","1350780021","1350780045","1350780072","1350780116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9720c748421f7898f0f2dd16060ee98f.jpg","text":"TemporaryFile(/tmp/multipartBody5364068009574647117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200573275,"filename":"image_09042025_12_22_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/4/9/bc23c76d4b306ffcb13fadf0fbe2ba1a.jpg","text":"TemporaryFile(/tmp/multipartBody2610001026477929225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200573275,"filename":"image_09042025_12_22_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/4/9/39aa65dd1f2bfe5db926fdb206932ff8.jpg","text":"TemporaryFile(/tmp/multipartBody6510254244289736815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200573275,"filename":"image_09042025_12_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/4/9/75d051a5e72779fd730c61a80068c24d.jpg","text":"TemporaryFile(/tmp/multipartBody1143877472724277968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200573275,"filename":"image_09042025_12_21_55_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b11ab0e96403bbab29b3236a250fd59.jpg","text":"TemporaryFile(/tmp/multipartBody4927045877434006084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200573275,"filename":"image_09042025_12_21_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/4/9/e11bf63d50d128293dff8d1b133085dc.jpg","text":"TemporaryFile(/tmp/multipartBody2694615436216046794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200573275,"filename":"image_09042025_12_22_36_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350780021","file1":"1350779989","file0":"1350779906","file4":"1350780072","file5":"1350780116","file3":"1350780045"},"map_files_photo_id_array":[{"photo_id":"1350780116","filename":"file5"},{"photo_id":"1350780021","filename":"file2"},{"photo_id":"1350780072","filename":"file4"},{"photo_id":"1350779989","filename":"file1"},{"photo_id":"1350779906","filename":"file0"},{"photo_id":"1350780045","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350780072":["hashtag1","hashtag2"]},{"1350780045":["hashtag1","hashtag2"]},{"1350780021":["hashtag1","hashtag2"]},{"1350779989":["hashtag1","hashtag2"]},{"1350779906":["hashtag1","hashtag2"]},{"1350780116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350780072, 1350780045, 1350780021, 1350779989, 1350779906, 1350780116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25839948654175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:09:32.993380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_46_9360.jpg', '/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_56_10433.jpg', '/home/pi/Desktop/images/09042025/12/22/image_09042025_12_23_05_9358.jpg', '/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_16_10424.jpg', '/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_26_10478.jpg', '/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_36_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_46_9360.jpg
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_56_10433.jpg
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_23_05_9358.jpg
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_16_10424.jpg
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_26_10478.jpg
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_36_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37609243392944336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 14:09:43.072303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_46_9360.jpg', '/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_56_10433.jpg', '/home/pi/Desktop/images/09042025/12/22/image_09042025_12_23_05_9358.jpg', '/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_16_10424.jpg', '/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_26_10478.jpg', '/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_36_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_46_9360.jpg
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_22_56_10433.jpg
/home/pi/Desktop/images/09042025/12/22/image_09042025_12_23_05_9358.jpg
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_16_10424.jpg
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_26_10478.jpg
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_36_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":["1350780253","1350780409","1350780369","1350780290","1350780413","1350780341"],"photo_ids_order":["1350780253","1350780290","1350780341","1350780369","1350780409","1350780413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b03ab04a040d4b177367120ffcd01dd.jpg","text":"TemporaryFile(/tmp/multipartBody5016860228674454415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200643513,"filename":"image_09042025_12_22_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/4/9/609c088137453d3f47b9532e20757c98.jpg","text":"TemporaryFile(/tmp/multipartBody6821765415903246884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200643513,"filename":"image_09042025_12_23_26_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e2a5ac130d06bb20c0c5d8e73fd08d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2111766860911328752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200643513,"filename":"image_09042025_12_23_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d5ac8883d608dc51bc8953aa559224ee.jpg","text":"TemporaryFile(/tmp/multipartBody4654886229208393386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200643513,"filename":"image_09042025_12_22_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/4/9/c25a22d582037ac3fd3746b613dd1400.jpg","text":"TemporaryFile(/tmp/multipartBody8239067830987171738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200643513,"filename":"image_09042025_12_23_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/4/9/49008af7c3fe6797a3553a70302f4d30.jpg","text":"TemporaryFile(/tmp/multipartBody2221559305249960766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200643513,"filename":"image_09042025_12_23_05_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350780341","file1":"1350780290","file0":"1350780253","file4":"1350780409","file5":"1350780413","file3":"1350780369"},"map_files_photo_id_array":[{"photo_id":"1350780413","filename":"file5"},{"photo_id":"1350780341","filename":"file2"},{"photo_id":"1350780409","filename":"file4"},{"photo_id":"1350780290","filename":"file1"},{"photo_id":"1350780253","filename":"file0"},{"photo_id":"1350780369","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350780253":["hashtag1","hashtag2"]},{"1350780409":["hashtag1","hashtag2"]},{"1350780369":["hashtag1","hashtag2"]},{"1350780290":["hashtag1","hashtag2"]},{"1350780413":["hashtag1","hashtag2"]},{"1350780341":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350780253, 1350780409, 1350780369, 1350780290, 1350780413, 1350780341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8239951133728 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:10:32.246392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_46_10356.jpg', '/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_56_10366.jpg', '/home/pi/Desktop/images/09042025/12/23/image_09042025_12_24_06_9348.jpg', '/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_16_10415.jpg', '/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_25_9362.jpg', '/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_36_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_46_10356.jpg
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_23_56_10366.jpg
/home/pi/Desktop/images/09042025/12/23/image_09042025_12_24_06_9348.jpg
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_16_10415.jpg
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_25_9362.jpg
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_36_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350780439","1350780433","1350780432","1350780435","1350780464","1350780437"],"photo_ids_order":["1350780432","1350780433","1350780435","1350780437","1350780439","1350780464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64d910b98b819b9d31a9b909bb6b72f9.jpg","text":"TemporaryFile(/tmp/multipartBody3704780114571062625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200692677,"filename":"image_09042025_12_24_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/4/9/d97fe2e51da8195424321fbf6777900b.jpg","text":"TemporaryFile(/tmp/multipartBody3475879455173973590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200692677,"filename":"image_09042025_12_23_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/4/9/b6cf9dbf9ccfbf70a10f60dfc2acffcf.jpg","text":"TemporaryFile(/tmp/multipartBody5068950579165466719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200692677,"filename":"image_09042025_12_23_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/4/9/25cf807f3d06d568a02b5d04c4d2c216.jpg","text":"TemporaryFile(/tmp/multipartBody1910792996793365686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200692677,"filename":"image_09042025_12_24_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/4/9/195693dc2778edef899c7bb321ca6daf.jpg","text":"TemporaryFile(/tmp/multipartBody3903353888052099477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200692677,"filename":"image_09042025_12_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/4/9/8d580fbe529869f134a97175dd484fb5.jpg","text":"TemporaryFile(/tmp/multipartBody622253471364880976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200692677,"filename":"image_09042025_12_24_16_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350780435","file1":"1350780433","file0":"1350780432","file4":"1350780439","file5":"1350780464","file3":"1350780437"},"map_files_photo_id_array":[{"photo_id":"1350780464","filename":"file5"},{"photo_id":"1350780435","filename":"file2"},{"photo_id":"1350780439","filename":"file4"},{"photo_id":"1350780433","filename":"file1"},{"photo_id":"1350780432","filename":"file0"},{"photo_id":"1350780437","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350780439":["hashtag1","hashtag2"]},{"1350780433":["hashtag1","hashtag2"]},{"1350780432":["hashtag1","hashtag2"]},{"1350780435":["hashtag1","hashtag2"]},{"1350780464":["hashtag1","hashtag2"]},{"1350780437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350780439, 1350780433, 1350780432, 1350780435, 1350780464, 1350780437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67173504829407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:11:32.430698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_46_10512.jpg', '/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_56_9361.jpg', '/home/pi/Desktop/images/09042025/12/24/image_09042025_12_25_06_10447.jpg', '/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_15_9367.jpg', '/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_26_10358.jpg', '/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_36_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_46_10512.jpg
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_56_9361.jpg
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_25_06_10447.jpg
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_15_9367.jpg
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_26_10358.jpg
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_36_10378.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75435810>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 130.56584525108337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:13:52.972278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_46_10512.jpg', '/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_56_9361.jpg', '/home/pi/Desktop/images/09042025/12/24/image_09042025_12_25_06_10447.jpg', '/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_15_9367.jpg', '/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_26_10358.jpg', '/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_36_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_46_10512.jpg
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_24_56_9361.jpg
/home/pi/Desktop/images/09042025/12/24/image_09042025_12_25_06_10447.jpg
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_15_9367.jpg
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_26_10358.jpg
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_36_10378.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350781207","1350781215","1350781218","1350781211","1350781208","1350781205"],"photo_ids_order":["1350781205","1350781207","1350781208","1350781211","1350781215","1350781218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f68bf3dd668f674f19445fd40e8d88e9.jpg","text":"TemporaryFile(/tmp/multipartBody3222651946899319822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200893425,"filename":"image_09042025_12_24_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/845d4309cb77ff72dfe0d39c7dbbab2b.jpg","text":"TemporaryFile(/tmp/multipartBody7609858123291398318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200893425,"filename":"image_09042025_12_25_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/4/9/1c7e877b19756ad1b7e267f740cbeb5c.jpg","text":"TemporaryFile(/tmp/multipartBody5616017675619547156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200893425,"filename":"image_09042025_12_25_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/4/9/38faff37bd703648c020589ba0ba7612.jpg","text":"TemporaryFile(/tmp/multipartBody6505722318916744047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200893425,"filename":"image_09042025_12_25_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/4/9/9f7626a8b023d9b4d4fae55312110adb.jpg","text":"TemporaryFile(/tmp/multipartBody5299530762748884750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200893425,"filename":"image_09042025_12_25_06_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7edcfc7f2142f135e62eccb9e70d21b9.jpg","text":"TemporaryFile(/tmp/multipartBody245830365646234159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200893425,"filename":"image_09042025_12_24_46_10512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781208","file1":"1350781207","file0":"1350781205","file4":"1350781215","file5":"1350781218","file3":"1350781211"},"map_files_photo_id_array":[{"photo_id":"1350781218","filename":"file5"},{"photo_id":"1350781208","filename":"file2"},{"photo_id":"1350781215","filename":"file4"},{"photo_id":"1350781207","filename":"file1"},{"photo_id":"1350781205","filename":"file0"},{"photo_id":"1350781211","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781207":["hashtag1","hashtag2"]},{"1350781215":["hashtag1","hashtag2"]},{"1350781218":["hashtag1","hashtag2"]},{"1350781211":["hashtag1","hashtag2"]},{"1350781208":["hashtag1","hashtag2"]},{"1350781205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781207, 1350781215, 1350781218, 1350781211, 1350781208, 1350781205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1946280002594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:14:32.182859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_45_9254.jpg', '/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_56_10366.jpg', '/home/pi/Desktop/images/09042025/12/25/image_09042025_12_26_06_10343.jpg', '/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_16_9405.jpg', '/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_26_10098.jpg', '/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_36_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_45_9254.jpg
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_25_56_10366.jpg
/home/pi/Desktop/images/09042025/12/25/image_09042025_12_26_06_10343.jpg
/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_16_9405.jpg
/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_26_10098.jpg
/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_36_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":["1350781228","1350781233","1350781236","1350781230","1350781247","1350781241"],"photo_ids_order":["1350781228","1350781230","1350781233","1350781236","1350781241","1350781247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e10941dc4c80b0339d704371e56aff53.jpg","text":"TemporaryFile(/tmp/multipartBody5431876289969904892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200932624,"filename":"image_09042025_12_25_45_9254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f04e6f76b06904af840ddb1885dd3639.jpg","text":"TemporaryFile(/tmp/multipartBody7402519786602432657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200932624,"filename":"image_09042025_12_26_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/4/9/8a8b05b6e6ac818eaaebf42b72f4cb6c.jpg","text":"TemporaryFile(/tmp/multipartBody964185570224486859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200932624,"filename":"image_09042025_12_26_16_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f5791dc3c52b096df8f86357c6a792f.jpg","text":"TemporaryFile(/tmp/multipartBody3373798637669441444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200932624,"filename":"image_09042025_12_25_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/4/9/de331157afdc2d42db6c31c9c602a484.jpg","text":"TemporaryFile(/tmp/multipartBody7130098950512766778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200932624,"filename":"image_09042025_12_26_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec52b6b3b7c20743f0ea109e010d77b3.jpg","text":"TemporaryFile(/tmp/multipartBody1556939470909154399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200932624,"filename":"image_09042025_12_26_26_10098.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781233","file1":"1350781230","file0":"1350781228","file4":"1350781241","file5":"1350781247","file3":"1350781236"},"map_files_photo_id_array":[{"photo_id":"1350781247","filename":"file5"},{"photo_id":"1350781233","filename":"file2"},{"photo_id":"1350781241","filename":"file4"},{"photo_id":"1350781230","filename":"file1"},{"photo_id":"1350781228","filename":"file0"},{"photo_id":"1350781236","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781228":["hashtag1","hashtag2"]},{"1350781233":["hashtag1","hashtag2"]},{"1350781236":["hashtag1","hashtag2"]},{"1350781230":["hashtag1","hashtag2"]},{"1350781247":["hashtag1","hashtag2"]},{"1350781241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781228, 1350781233, 1350781236, 1350781230, 1350781247, 1350781241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.032310009002686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:15:32.523689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_45_9358.jpg', '/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_56_10359.jpg', '/home/pi/Desktop/images/09042025/12/26/image_09042025_12_27_06_10342.jpg', '/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_16_9622.jpg', '/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_26_10374.jpg', '/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_36_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_45_9358.jpg
/home/pi/Desktop/images/09042025/12/26/image_09042025_12_26_56_10359.jpg
/home/pi/Desktop/images/09042025/12/26/image_09042025_12_27_06_10342.jpg
/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_16_9622.jpg
/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_26_10374.jpg
/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_36_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350781272","1350781275","1350781280","1350781277","1350781270","1350781282"],"photo_ids_order":["1350781270","1350781272","1350781275","1350781277","1350781280","1350781282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b89ff70115930980e29983dcd14c2c2e.jpg","text":"TemporaryFile(/tmp/multipartBody747185317598642108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200992999,"filename":"image_09042025_12_26_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/588cd1a4b349141c742fd3eaf34b8e1c.jpg","text":"TemporaryFile(/tmp/multipartBody656277115519216046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200992999,"filename":"image_09042025_12_27_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/4/9/8987c6a31f915dc9b4c7c4a743c78a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5831347672745284391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200992999,"filename":"image_09042025_12_27_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a24f4b1c3130c969b37bfbe4a5c7b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5554446270344940807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200992999,"filename":"image_09042025_12_27_16_9622.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef2fe11ebb0235ac0b6eee964c435cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5790526201125667375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200992999,"filename":"image_09042025_12_26_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/4/9/89c50d2bfab3972ff1a2c81e956f3f39.jpg","text":"TemporaryFile(/tmp/multipartBody6816114818880859938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744200992999,"filename":"image_09042025_12_27_36_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781275","file1":"1350781272","file0":"1350781270","file4":"1350781280","file5":"1350781282","file3":"1350781277"},"map_files_photo_id_array":[{"photo_id":"1350781282","filename":"file5"},{"photo_id":"1350781275","filename":"file2"},{"photo_id":"1350781280","filename":"file4"},{"photo_id":"1350781272","filename":"file1"},{"photo_id":"1350781270","filename":"file0"},{"photo_id":"1350781277","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781272":["hashtag1","hashtag2"]},{"1350781275":["hashtag1","hashtag2"]},{"1350781280":["hashtag1","hashtag2"]},{"1350781277":["hashtag1","hashtag2"]},{"1350781270":["hashtag1","hashtag2"]},{"1350781282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781272, 1350781275, 1350781280, 1350781277, 1350781270, 1350781282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.803993225097656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:16:32.772074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_46_10395.jpg', '/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_55_9446.jpg', '/home/pi/Desktop/images/09042025/12/27/image_09042025_12_28_06_10359.jpg', '/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_16_10370.jpg', '/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_25_9351.jpg', '/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_36_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_46_10395.jpg
/home/pi/Desktop/images/09042025/12/27/image_09042025_12_27_55_9446.jpg
/home/pi/Desktop/images/09042025/12/27/image_09042025_12_28_06_10359.jpg
/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_16_10370.jpg
/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_25_9351.jpg
/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_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":["1350781330","1350781324","1350781327","1350781312","1350781311","1350781305"],"photo_ids_order":["1350781305","1350781311","1350781312","1350781324","1350781327","1350781330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5692b407a66e7e3109a6b6ff04333752.jpg","text":"TemporaryFile(/tmp/multipartBody280641601569651404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201053210,"filename":"image_09042025_12_28_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/4/9/5ef9fa4f4ae432a5ce791f4590ff4cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8876122357132408209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201053210,"filename":"image_09042025_12_28_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4d4fcf8a6babaeff38fe6bc64719de47.jpg","text":"TemporaryFile(/tmp/multipartBody1285979531666129194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201053210,"filename":"image_09042025_12_28_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/4/9/95dea87e3443d44184e5c41d29ef4821.jpg","text":"TemporaryFile(/tmp/multipartBody1198150912420882548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201053210,"filename":"image_09042025_12_28_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b8e521cf1e861b354459bf7dbafaa38.jpg","text":"TemporaryFile(/tmp/multipartBody4889930618713641391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201053210,"filename":"image_09042025_12_27_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/4/9/864c98cd6a4e38cae04f48874d13bcb7.jpg","text":"TemporaryFile(/tmp/multipartBody7326953984302901519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201053210,"filename":"image_09042025_12_27_46_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781312","file1":"1350781311","file0":"1350781305","file4":"1350781327","file5":"1350781330","file3":"1350781324"},"map_files_photo_id_array":[{"photo_id":"1350781330","filename":"file5"},{"photo_id":"1350781312","filename":"file2"},{"photo_id":"1350781327","filename":"file4"},{"photo_id":"1350781311","filename":"file1"},{"photo_id":"1350781305","filename":"file0"},{"photo_id":"1350781324","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781330":["hashtag1","hashtag2"]},{"1350781324":["hashtag1","hashtag2"]},{"1350781327":["hashtag1","hashtag2"]},{"1350781312":["hashtag1","hashtag2"]},{"1350781311":["hashtag1","hashtag2"]},{"1350781305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781330, 1350781324, 1350781327, 1350781312, 1350781311, 1350781305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59895730018616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:17:32.954587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_45_9414.jpg', '/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_56_10354.jpg', '/home/pi/Desktop/images/09042025/12/28/image_09042025_12_29_06_10410.jpg', '/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_15_9346.jpg', '/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_26_10420.jpg', '/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_36_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_45_9414.jpg
/home/pi/Desktop/images/09042025/12/28/image_09042025_12_28_56_10354.jpg
/home/pi/Desktop/images/09042025/12/28/image_09042025_12_29_06_10410.jpg
/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_15_9346.jpg
/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_26_10420.jpg
/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_36_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350781363","1350781395","1350781398","1350781403","1350781400","1350781381"],"photo_ids_order":["1350781363","1350781381","1350781395","1350781398","1350781400","1350781403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/424222c50502f50858f81d1cf7ace4af.jpg","text":"TemporaryFile(/tmp/multipartBody549942704876309177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201113398,"filename":"image_09042025_12_28_45_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3881957b89b7b0682186d8f31081de0.jpg","text":"TemporaryFile(/tmp/multipartBody8872391414345026054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201113398,"filename":"image_09042025_12_29_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/4/9/2fa6a039908c25f48920199effb13811.jpg","text":"TemporaryFile(/tmp/multipartBody5419829197281604432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201113398,"filename":"image_09042025_12_29_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/4/9/c8e49518cd8bbbfebe2b547aeb2fd5d8.jpg","text":"TemporaryFile(/tmp/multipartBody8168825617769490769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201113398,"filename":"image_09042025_12_29_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/4/9/79025547e05b1b43eb8f49f474a9fce7.jpg","text":"TemporaryFile(/tmp/multipartBody2900815879847703890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201113398,"filename":"image_09042025_12_29_26_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24dc45b61d3abe0bc5846d3b7cb7ae31.jpg","text":"TemporaryFile(/tmp/multipartBody8232024533366976108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201113398,"filename":"image_09042025_12_28_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781395","file1":"1350781381","file0":"1350781363","file4":"1350781400","file5":"1350781403","file3":"1350781398"},"map_files_photo_id_array":[{"photo_id":"1350781403","filename":"file5"},{"photo_id":"1350781395","filename":"file2"},{"photo_id":"1350781400","filename":"file4"},{"photo_id":"1350781381","filename":"file1"},{"photo_id":"1350781363","filename":"file0"},{"photo_id":"1350781398","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781363":["hashtag1","hashtag2"]},{"1350781395":["hashtag1","hashtag2"]},{"1350781398":["hashtag1","hashtag2"]},{"1350781403":["hashtag1","hashtag2"]},{"1350781400":["hashtag1","hashtag2"]},{"1350781381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781363, 1350781395, 1350781398, 1350781403, 1350781400, 1350781381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61330199241638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:18:32.215030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_46_9367.jpg', '/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_56_10370.jpg', '/home/pi/Desktop/images/09042025/12/29/image_09042025_12_30_05_9356.jpg', '/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_16_10351.jpg', '/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_26_10463.jpg', '/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_36_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_46_9367.jpg
/home/pi/Desktop/images/09042025/12/29/image_09042025_12_29_56_10370.jpg
/home/pi/Desktop/images/09042025/12/29/image_09042025_12_30_05_9356.jpg
/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_16_10351.jpg
/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_26_10463.jpg
/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_36_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":["1350781507","1350781515","1350781502","1350781511","1350781508","1350781498"],"photo_ids_order":["1350781498","1350781502","1350781507","1350781508","1350781511","1350781515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/842470d2d20dc8d25cb088997c7a74c8.jpg","text":"TemporaryFile(/tmp/multipartBody9073779458567052111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201172656,"filename":"image_09042025_12_30_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff8c3eb098471cc33b28f18b41e8cff0.jpg","text":"TemporaryFile(/tmp/multipartBody2500760489852189781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201172656,"filename":"image_09042025_12_30_36_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80a1c102484e3db002b142c4ac083f07.jpg","text":"TemporaryFile(/tmp/multipartBody1207022533276540068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201172656,"filename":"image_09042025_12_29_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/4/9/8cda75fbd8520362d004cecd02a6d006.jpg","text":"TemporaryFile(/tmp/multipartBody4892577000614360523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201172656,"filename":"image_09042025_12_30_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/4/9/9ee9dbc2d3a99d113c84efe614202102.jpg","text":"TemporaryFile(/tmp/multipartBody5490453692052863599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201172656,"filename":"image_09042025_12_30_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/4/9/8986a21edf53aaa94209cca327a68212.jpg","text":"TemporaryFile(/tmp/multipartBody1735770393107870070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201172656,"filename":"image_09042025_12_29_46_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781507","file1":"1350781502","file0":"1350781498","file4":"1350781511","file5":"1350781515","file3":"1350781508"},"map_files_photo_id_array":[{"photo_id":"1350781515","filename":"file5"},{"photo_id":"1350781507","filename":"file2"},{"photo_id":"1350781511","filename":"file4"},{"photo_id":"1350781502","filename":"file1"},{"photo_id":"1350781498","filename":"file0"},{"photo_id":"1350781508","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781507":["hashtag1","hashtag2"]},{"1350781515":["hashtag1","hashtag2"]},{"1350781502":["hashtag1","hashtag2"]},{"1350781511":["hashtag1","hashtag2"]},{"1350781508":["hashtag1","hashtag2"]},{"1350781498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781507, 1350781515, 1350781502, 1350781511, 1350781508, 1350781498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5196053981781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:19:32.445907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_46_10369.jpg', '/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_56_10365.jpg', '/home/pi/Desktop/images/09042025/12/30/image_09042025_12_31_06_9338.jpg', '/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_16_10337.jpg', '/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_25_9428.jpg', '/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_36_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_46_10369.jpg
/home/pi/Desktop/images/09042025/12/30/image_09042025_12_30_56_10365.jpg
/home/pi/Desktop/images/09042025/12/30/image_09042025_12_31_06_9338.jpg
/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_16_10337.jpg
/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_25_9428.jpg
/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_36_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350781609","1350781626","1350781640","1350781643","1350781619","1350781645"],"photo_ids_order":["1350781609","1350781619","1350781626","1350781640","1350781643","1350781645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7aadce8bd0a5d3192f9f945516111c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8362075985435084843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201232885,"filename":"image_09042025_12_30_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/4/9/e8f242ec3fe6ede0ae55c6520af4cbc1.jpg","text":"TemporaryFile(/tmp/multipartBody8491776337784455101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201232885,"filename":"image_09042025_12_31_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/4/9/7b8eddf10b9412553eba6535e94c1109.jpg","text":"TemporaryFile(/tmp/multipartBody4503014661372908984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201232885,"filename":"image_09042025_12_31_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37ef1097b54ac880fdae3675f3db4f33.jpg","text":"TemporaryFile(/tmp/multipartBody7087253229119216663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201232885,"filename":"image_09042025_12_31_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a3ef4ea04b82a6e8dfe7141a42f2b9e.jpg","text":"TemporaryFile(/tmp/multipartBody1136407215161035830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201232885,"filename":"image_09042025_12_30_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc1047e18217420939d3f5dc2019c784.jpg","text":"TemporaryFile(/tmp/multipartBody1085166577781504177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201232885,"filename":"image_09042025_12_31_36_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781626","file1":"1350781619","file0":"1350781609","file4":"1350781643","file5":"1350781645","file3":"1350781640"},"map_files_photo_id_array":[{"photo_id":"1350781645","filename":"file5"},{"photo_id":"1350781626","filename":"file2"},{"photo_id":"1350781643","filename":"file4"},{"photo_id":"1350781619","filename":"file1"},{"photo_id":"1350781609","filename":"file0"},{"photo_id":"1350781640","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781609":["hashtag1","hashtag2"]},{"1350781626":["hashtag1","hashtag2"]},{"1350781640":["hashtag1","hashtag2"]},{"1350781643":["hashtag1","hashtag2"]},{"1350781619":["hashtag1","hashtag2"]},{"1350781645":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781609, 1350781626, 1350781640, 1350781643, 1350781619, 1350781645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50870060920715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:20:32.717639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_46_10469.jpg', '/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_56_9371.jpg', '/home/pi/Desktop/images/09042025/12/31/image_09042025_12_32_06_10408.jpg', '/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_15_9344.jpg', '/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_26_10373.jpg', '/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_36_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_46_10469.jpg
/home/pi/Desktop/images/09042025/12/31/image_09042025_12_31_56_9371.jpg
/home/pi/Desktop/images/09042025/12/31/image_09042025_12_32_06_10408.jpg
/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_15_9344.jpg
/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_26_10373.jpg
/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_36_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350781747","1350781755","1350781758","1350781725","1350781766","1350781727"],"photo_ids_order":["1350781725","1350781727","1350781747","1350781755","1350781758","1350781766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0f5aa28fe0dd710e186ffea20d54ce2.jpg","text":"TemporaryFile(/tmp/multipartBody187808133167615724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201293171,"filename":"image_09042025_12_32_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/4/9/76cab08fa6191f5f5ce90785b633fb35.jpg","text":"TemporaryFile(/tmp/multipartBody3059878246148877213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201293171,"filename":"image_09042025_12_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/4/9/ead78021d4f7fb2464941d51ca56f37c.jpg","text":"TemporaryFile(/tmp/multipartBody4511250808681720335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201293171,"filename":"image_09042025_12_32_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/4/9/449513b501e7fe03e9f8a9a740d8405c.jpg","text":"TemporaryFile(/tmp/multipartBody2997739062438138836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201293171,"filename":"image_09042025_12_31_46_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c55e7fa0d03a41db862a09121a77cbc.jpg","text":"TemporaryFile(/tmp/multipartBody8208718803419643403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201293171,"filename":"image_09042025_12_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/4/9/5160cc3cbb1784093b55c0428ed2e1e8.jpg","text":"TemporaryFile(/tmp/multipartBody2258742545704115067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201293171,"filename":"image_09042025_12_31_56_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781747","file1":"1350781727","file0":"1350781725","file4":"1350781758","file5":"1350781766","file3":"1350781755"},"map_files_photo_id_array":[{"photo_id":"1350781766","filename":"file5"},{"photo_id":"1350781747","filename":"file2"},{"photo_id":"1350781758","filename":"file4"},{"photo_id":"1350781727","filename":"file1"},{"photo_id":"1350781725","filename":"file0"},{"photo_id":"1350781755","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781747":["hashtag1","hashtag2"]},{"1350781755":["hashtag1","hashtag2"]},{"1350781758":["hashtag1","hashtag2"]},{"1350781725":["hashtag1","hashtag2"]},{"1350781766":["hashtag1","hashtag2"]},{"1350781727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781747, 1350781755, 1350781758, 1350781725, 1350781766, 1350781727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18502140045166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:21:32.906994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_45_9362.jpg', '/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_56_10368.jpg', '/home/pi/Desktop/images/09042025/12/32/image_09042025_12_33_05_9435.jpg', '/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_16_10338.jpg', '/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_26_10419.jpg', '/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_35_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_45_9362.jpg
/home/pi/Desktop/images/09042025/12/32/image_09042025_12_32_56_10368.jpg
/home/pi/Desktop/images/09042025/12/32/image_09042025_12_33_05_9435.jpg
/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_16_10338.jpg
/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_26_10419.jpg
/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_35_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350781804","1350781801","1350781806","1350781796","1350781799","1350781793"],"photo_ids_order":["1350781793","1350781796","1350781799","1350781801","1350781804","1350781806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f6f0ac219d165056a2362d45e507d9f7.jpg","text":"TemporaryFile(/tmp/multipartBody5170378183716526409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201353364,"filename":"image_09042025_12_33_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/4/9/509eb028d9949e0b78bfd4e73db3db5e.jpg","text":"TemporaryFile(/tmp/multipartBody6502561861830471683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201353364,"filename":"image_09042025_12_33_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/4/9/1317de330049fdbf019ec1a50e93f1f6.jpg","text":"TemporaryFile(/tmp/multipartBody964206231109787463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201353364,"filename":"image_09042025_12_33_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88ee22b86cd90482ab0bc399efe27b97.jpg","text":"TemporaryFile(/tmp/multipartBody2036319622547116576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201353364,"filename":"image_09042025_12_32_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b434062fc26b3ce9abb6e0c5b7f7881b.jpg","text":"TemporaryFile(/tmp/multipartBody8708870965659607782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201353364,"filename":"image_09042025_12_33_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d3924984d94b0e635a9db2452db641a.jpg","text":"TemporaryFile(/tmp/multipartBody4148120169386267709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201353364,"filename":"image_09042025_12_32_45_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781799","file1":"1350781796","file0":"1350781793","file4":"1350781804","file5":"1350781806","file3":"1350781801"},"map_files_photo_id_array":[{"photo_id":"1350781806","filename":"file5"},{"photo_id":"1350781799","filename":"file2"},{"photo_id":"1350781804","filename":"file4"},{"photo_id":"1350781796","filename":"file1"},{"photo_id":"1350781793","filename":"file0"},{"photo_id":"1350781801","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781804":["hashtag1","hashtag2"]},{"1350781801":["hashtag1","hashtag2"]},{"1350781806":["hashtag1","hashtag2"]},{"1350781796":["hashtag1","hashtag2"]},{"1350781799":["hashtag1","hashtag2"]},{"1350781793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781804, 1350781801, 1350781806, 1350781796, 1350781799, 1350781793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.713557243347168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:22:33.003868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_46_10416.jpg', '/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_56_10360.jpg', '/home/pi/Desktop/images/09042025/12/33/image_09042025_12_34_05_9340.jpg', '/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_16_10341.jpg', '/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_26_10364.jpg', '/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_36_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_46_10416.jpg
/home/pi/Desktop/images/09042025/12/33/image_09042025_12_33_56_10360.jpg
/home/pi/Desktop/images/09042025/12/33/image_09042025_12_34_05_9340.jpg
/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_16_10341.jpg
/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_26_10364.jpg
/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_36_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350781828","1350781842","1350781836","1350781839","1350781830","1350781835"],"photo_ids_order":["1350781828","1350781830","1350781835","1350781836","1350781839","1350781842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5387b2b2980a1931c6921b3ee483e9ee.jpg","text":"TemporaryFile(/tmp/multipartBody7837251245883749038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201413442,"filename":"image_09042025_12_33_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/4/9/757ca04f8273b8a8ff7bf1009d5565d7.jpg","text":"TemporaryFile(/tmp/multipartBody2688219342511162965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201413442,"filename":"image_09042025_12_34_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3f8720f4e96672ecdab7dcc0d107f08.jpg","text":"TemporaryFile(/tmp/multipartBody8447745623665269755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201413442,"filename":"image_09042025_12_34_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/4/9/fcc2d2572a675adebc7e2f94b6f9998a.jpg","text":"TemporaryFile(/tmp/multipartBody4817385213534644942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201413442,"filename":"image_09042025_12_34_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/4/9/d63dd9cf3250ffb44e9c0b42e8b8ce38.jpg","text":"TemporaryFile(/tmp/multipartBody8829349351407317486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201413442,"filename":"image_09042025_12_33_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/4/9/8886309ffb9394c644512b1e0dfd979a.jpg","text":"TemporaryFile(/tmp/multipartBody6909002995998774292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201413442,"filename":"image_09042025_12_34_05_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781835","file1":"1350781830","file0":"1350781828","file4":"1350781839","file5":"1350781842","file3":"1350781836"},"map_files_photo_id_array":[{"photo_id":"1350781842","filename":"file5"},{"photo_id":"1350781835","filename":"file2"},{"photo_id":"1350781839","filename":"file4"},{"photo_id":"1350781830","filename":"file1"},{"photo_id":"1350781828","filename":"file0"},{"photo_id":"1350781836","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781828":["hashtag1","hashtag2"]},{"1350781842":["hashtag1","hashtag2"]},{"1350781836":["hashtag1","hashtag2"]},{"1350781839":["hashtag1","hashtag2"]},{"1350781830":["hashtag1","hashtag2"]},{"1350781835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781828, 1350781842, 1350781836, 1350781839, 1350781830, 1350781835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.568610429763794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:23:32.359195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_46_10415.jpg', '/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_55_9419.jpg', '/home/pi/Desktop/images/09042025/12/34/image_09042025_12_35_06_10361.jpg', '/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_16_10457.jpg', '/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_26_9343.jpg', '/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_36_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_46_10415.jpg
/home/pi/Desktop/images/09042025/12/34/image_09042025_12_34_55_9419.jpg
/home/pi/Desktop/images/09042025/12/34/image_09042025_12_35_06_10361.jpg
/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_16_10457.jpg
/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_26_9343.jpg
/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_36_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350781866","1350781869","1350781862","1350781873","1350781861","1350781864"],"photo_ids_order":["1350781861","1350781862","1350781864","1350781866","1350781869","1350781873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/886ffd5d1546d3bce4c24f71cef685c5.jpg","text":"TemporaryFile(/tmp/multipartBody117949418006133013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201472800,"filename":"image_09042025_12_35_16_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/54cb3dbae64be8ad0634b2327a39e811.jpg","text":"TemporaryFile(/tmp/multipartBody5421705662163789650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201472800,"filename":"image_09042025_12_35_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/4/9/e6dfc9dda7c4fdf60f8f420ba578b68e.jpg","text":"TemporaryFile(/tmp/multipartBody657191676476644209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201472800,"filename":"image_09042025_12_34_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/4/9/0bc63138433a684b5a3e259119792de3.jpg","text":"TemporaryFile(/tmp/multipartBody6336361578952560310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201472800,"filename":"image_09042025_12_35_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/4/9/3b704d8cec48e05779e3d09831328b80.jpg","text":"TemporaryFile(/tmp/multipartBody937089380174634015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201472800,"filename":"image_09042025_12_34_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/4/9/56ac7e507947c0a659c93b0aabb90543.jpg","text":"TemporaryFile(/tmp/multipartBody7538765200554949288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201472800,"filename":"image_09042025_12_35_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781864","file1":"1350781862","file0":"1350781861","file4":"1350781869","file5":"1350781873","file3":"1350781866"},"map_files_photo_id_array":[{"photo_id":"1350781873","filename":"file5"},{"photo_id":"1350781864","filename":"file2"},{"photo_id":"1350781869","filename":"file4"},{"photo_id":"1350781862","filename":"file1"},{"photo_id":"1350781861","filename":"file0"},{"photo_id":"1350781866","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781866":["hashtag1","hashtag2"]},{"1350781869":["hashtag1","hashtag2"]},{"1350781862":["hashtag1","hashtag2"]},{"1350781873":["hashtag1","hashtag2"]},{"1350781861":["hashtag1","hashtag2"]},{"1350781864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781866, 1350781869, 1350781862, 1350781873, 1350781861, 1350781864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.115588903427124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:24:32.463932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_45_9366.jpg', '/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_56_10430.jpg', '/home/pi/Desktop/images/09042025/12/35/image_09042025_12_36_06_10418.jpg', '/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_15_9338.jpg', '/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_26_10459.jpg', '/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_35_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_45_9366.jpg
/home/pi/Desktop/images/09042025/12/35/image_09042025_12_35_56_10430.jpg
/home/pi/Desktop/images/09042025/12/35/image_09042025_12_36_06_10418.jpg
/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_15_9338.jpg
/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_26_10459.jpg
/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_35_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":["1350781939","1350781915","1350781935","1350781926","1350781931","1350781922"],"photo_ids_order":["1350781915","1350781922","1350781926","1350781931","1350781935","1350781939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99e77f033c01c36f0f296ced7c1da98d.jpg","text":"TemporaryFile(/tmp/multipartBody4874425174520022233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201533000,"filename":"image_09042025_12_36_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/4/9/da88c914e44c57772c53b3793d0ba8ff.jpg","text":"TemporaryFile(/tmp/multipartBody4659962567129533801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201533000,"filename":"image_09042025_12_35_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/4/9/2035c9dbe80f1b6ae1cca6bdfac192fb.jpg","text":"TemporaryFile(/tmp/multipartBody5617157537360724048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201533000,"filename":"image_09042025_12_36_26_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4fb15f902ff8cf322499efb74f57e93f.jpg","text":"TemporaryFile(/tmp/multipartBody8031572004687718825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201533000,"filename":"image_09042025_12_36_06_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7248f43a2a18764d7e17c2dea5e7650c.jpg","text":"TemporaryFile(/tmp/multipartBody8732092029429822302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201533000,"filename":"image_09042025_12_36_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/4/9/0da34576c14b2253768c0759cdfd7e24.jpg","text":"TemporaryFile(/tmp/multipartBody3768282188060922172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201533000,"filename":"image_09042025_12_35_56_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350781926","file1":"1350781922","file0":"1350781915","file4":"1350781935","file5":"1350781939","file3":"1350781931"},"map_files_photo_id_array":[{"photo_id":"1350781939","filename":"file5"},{"photo_id":"1350781926","filename":"file2"},{"photo_id":"1350781935","filename":"file4"},{"photo_id":"1350781922","filename":"file1"},{"photo_id":"1350781915","filename":"file0"},{"photo_id":"1350781931","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781939":["hashtag1","hashtag2"]},{"1350781915":["hashtag1","hashtag2"]},{"1350781935":["hashtag1","hashtag2"]},{"1350781926":["hashtag1","hashtag2"]},{"1350781931":["hashtag1","hashtag2"]},{"1350781922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781939, 1350781915, 1350781935, 1350781926, 1350781931, 1350781922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54174733161926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:25:32.936198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_46_10398.jpg', '/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_56_10399.jpg', '/home/pi/Desktop/images/09042025/12/36/image_09042025_12_37_06_9361.jpg', '/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_16_10368.jpg', '/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_25_9429.jpg', '/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_36_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_46_10398.jpg
/home/pi/Desktop/images/09042025/12/36/image_09042025_12_36_56_10399.jpg
/home/pi/Desktop/images/09042025/12/36/image_09042025_12_37_06_9361.jpg
/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_16_10368.jpg
/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_25_9429.jpg
/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_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":["1350781983","1350782019","1350782024","1350782048","1350782002","1350781981"],"photo_ids_order":["1350781981","1350781983","1350782002","1350782019","1350782024","1350782048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c5b9a0f2c118973fd92645adc8eb5a6.jpg","text":"TemporaryFile(/tmp/multipartBody3885545578617530633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201593386,"filename":"image_09042025_12_36_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/4/9/a6e6a02b644f84763e9a282a2113b7e9.jpg","text":"TemporaryFile(/tmp/multipartBody2159393725657274705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201593386,"filename":"image_09042025_12_37_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/4/9/5357feee1749c3c2abce8fba73f26ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7064070122431262667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201593386,"filename":"image_09042025_12_37_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/4/9/835bc5a21fa3a9ae22567224ee74e1f9.jpg","text":"TemporaryFile(/tmp/multipartBody1766808747755927114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201593386,"filename":"image_09042025_12_37_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b8267069642b51634b6a46aa8d567cb.jpg","text":"TemporaryFile(/tmp/multipartBody3942944792934122024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201593386,"filename":"image_09042025_12_37_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/4/9/3c650564f95af83e8baadc104d057ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4938312444640362871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201593386,"filename":"image_09042025_12_36_46_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350782002","file1":"1350781983","file0":"1350781981","file4":"1350782024","file5":"1350782048","file3":"1350782019"},"map_files_photo_id_array":[{"photo_id":"1350782048","filename":"file5"},{"photo_id":"1350782002","filename":"file2"},{"photo_id":"1350782024","filename":"file4"},{"photo_id":"1350781983","filename":"file1"},{"photo_id":"1350781981","filename":"file0"},{"photo_id":"1350782019","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350781983":["hashtag1","hashtag2"]},{"1350782019":["hashtag1","hashtag2"]},{"1350782024":["hashtag1","hashtag2"]},{"1350782048":["hashtag1","hashtag2"]},{"1350782002":["hashtag1","hashtag2"]},{"1350781981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350781983, 1350782019, 1350782024, 1350782048, 1350782002, 1350781981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00554704666138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:26:32.913085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_46_10501.jpg', '/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_56_9356.jpg', '/home/pi/Desktop/images/09042025/12/37/image_09042025_12_38_06_10355.jpg', '/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_15_9439.jpg', '/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_26_10369.jpg', '/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_36_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_46_10501.jpg
/home/pi/Desktop/images/09042025/12/37/image_09042025_12_37_56_9356.jpg
/home/pi/Desktop/images/09042025/12/37/image_09042025_12_38_06_10355.jpg
/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_15_9439.jpg
/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_26_10369.jpg
/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_36_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":["1350782355","1350782319","1350782258","1350782320","1350782323","1350782317"],"photo_ids_order":["1350782258","1350782317","1350782319","1350782320","1350782323","1350782355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04c51136b1a1be7d24d1c3dbe72d9b27.jpg","text":"TemporaryFile(/tmp/multipartBody5762994164071748289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201653358,"filename":"image_09042025_12_38_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/4/9/5c28f702bfc77a46c157668e26ed36fb.jpg","text":"TemporaryFile(/tmp/multipartBody6339715416629466097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201653358,"filename":"image_09042025_12_38_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8c92f149682dec56d3bbbdd552d0220a.jpg","text":"TemporaryFile(/tmp/multipartBody5258516554212984374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201653358,"filename":"image_09042025_12_37_46_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28a6f177a1b86afd1f58dc446a27e2a0.jpg","text":"TemporaryFile(/tmp/multipartBody7890204741270409689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201653358,"filename":"image_09042025_12_38_15_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/392a98379276fdf48943573acf075b13.jpg","text":"TemporaryFile(/tmp/multipartBody7399493702383517390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201653358,"filename":"image_09042025_12_38_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/4/9/7f5ce136ed07dd73ec9b1364951e2bda.jpg","text":"TemporaryFile(/tmp/multipartBody194635364153781761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201653358,"filename":"image_09042025_12_37_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350782319","file1":"1350782317","file0":"1350782258","file4":"1350782323","file5":"1350782355","file3":"1350782320"},"map_files_photo_id_array":[{"photo_id":"1350782355","filename":"file5"},{"photo_id":"1350782319","filename":"file2"},{"photo_id":"1350782323","filename":"file4"},{"photo_id":"1350782317","filename":"file1"},{"photo_id":"1350782258","filename":"file0"},{"photo_id":"1350782320","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350782355":["hashtag1","hashtag2"]},{"1350782319":["hashtag1","hashtag2"]},{"1350782258":["hashtag1","hashtag2"]},{"1350782320":["hashtag1","hashtag2"]},{"1350782323":["hashtag1","hashtag2"]},{"1350782317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350782355, 1350782319, 1350782258, 1350782320, 1350782323, 1350782317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06560492515564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:27:32.175403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_45_9361.jpg', '/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_56_10369.jpg', '/home/pi/Desktop/images/09042025/12/38/image_09042025_12_39_06_10361.jpg', '/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_16_9344.jpg', '/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_26_10379.jpg', '/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_35_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_45_9361.jpg
/home/pi/Desktop/images/09042025/12/38/image_09042025_12_38_56_10369.jpg
/home/pi/Desktop/images/09042025/12/38/image_09042025_12_39_06_10361.jpg
/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_16_9344.jpg
/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_26_10379.jpg
/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_35_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350782745","1350782660","1350782684","1350782579","1350782572","1350782635"],"photo_ids_order":["1350782572","1350782579","1350782635","1350782660","1350782684","1350782745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6dfce51917743643437bcdd2396560b.jpg","text":"TemporaryFile(/tmp/multipartBody6923789810418625494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201712618,"filename":"image_09042025_12_39_35_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6709cd7fd822c6df2876b7b7edc5d367.jpg","text":"TemporaryFile(/tmp/multipartBody8660677547396305229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201712618,"filename":"image_09042025_12_39_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/4/9/ab71d686b53bbdbcc49049e30c96584e.jpg","text":"TemporaryFile(/tmp/multipartBody6661882696140178496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201712618,"filename":"image_09042025_12_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/4/9/24de7548a1d701dc72e10961f53c1bef.jpg","text":"TemporaryFile(/tmp/multipartBody4143518826588145806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201712618,"filename":"image_09042025_12_38_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e817ee525d747127413c9748be8ca278.jpg","text":"TemporaryFile(/tmp/multipartBody8955342219163717280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201712618,"filename":"image_09042025_12_38_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/4/9/4187dfd060528e1520a93d17c57b345d.jpg","text":"TemporaryFile(/tmp/multipartBody2824866969264106651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201712618,"filename":"image_09042025_12_39_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350782635","file1":"1350782579","file0":"1350782572","file4":"1350782684","file5":"1350782745","file3":"1350782660"},"map_files_photo_id_array":[{"photo_id":"1350782745","filename":"file5"},{"photo_id":"1350782635","filename":"file2"},{"photo_id":"1350782684","filename":"file4"},{"photo_id":"1350782579","filename":"file1"},{"photo_id":"1350782572","filename":"file0"},{"photo_id":"1350782660","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350782745":["hashtag1","hashtag2"]},{"1350782660":["hashtag1","hashtag2"]},{"1350782684":["hashtag1","hashtag2"]},{"1350782579":["hashtag1","hashtag2"]},{"1350782572":["hashtag1","hashtag2"]},{"1350782635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350782745, 1350782660, 1350782684, 1350782579, 1350782572, 1350782635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85252642631531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:28:32.448610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_46_10374.jpg', '/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_56_10391.jpg', '/home/pi/Desktop/images/09042025/12/40/image_09042025_12_40_16_10341.jpg', '/home/pi/Desktop/images/09042025/12/40/image_09042025_12_40_36_9339.jpg', '/home/pi/Desktop/images/09042025/12/40/image_09042025_12_40_46_10377.jpg', '/home/pi/Desktop/images/09042025/12/40/image_09042025_12_40_55_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_46_10374.jpg
/home/pi/Desktop/images/09042025/12/39/image_09042025_12_39_56_10391.jpg
/home/pi/Desktop/images/09042025/12/40/image_09042025_12_40_16_10341.jpg
/home/pi/Desktop/images/09042025/12/40/image_09042025_12_40_36_9339.jpg
/home/pi/Desktop/images/09042025/12/40/image_09042025_12_40_46_10377.jpg
/home/pi/Desktop/images/09042025/12/40/image_09042025_12_40_55_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":["1350783648","1350783627","1350783603","1350783569","1350783506","1350783453"],"photo_ids_order":["1350783453","1350783506","1350783569","1350783603","1350783627","1350783648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/534e55a4cd5077c1b66900a0189f9e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3202761545072989296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201772897,"filename":"image_09042025_12_40_55_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/911cc8c9c833e5d9a594f2c1170d32ee.jpg","text":"TemporaryFile(/tmp/multipartBody8396372701942801468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201772897,"filename":"image_09042025_12_40_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19682f164ec505cf7d6a020f9bafc781.jpg","text":"TemporaryFile(/tmp/multipartBody1866390739201723665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201772897,"filename":"image_09042025_12_40_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/4/9/c79635b72de0cf669953d990d96e06bc.jpg","text":"TemporaryFile(/tmp/multipartBody3196059667664777344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201772897,"filename":"image_09042025_12_40_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/4/9/2a97ab439f5202b1277d11efb05d4b55.jpg","text":"TemporaryFile(/tmp/multipartBody1340148070702702120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201772897,"filename":"image_09042025_12_39_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/4/9/80777b272bbf71a8fc638c53a10cb9b3.jpg","text":"TemporaryFile(/tmp/multipartBody2770481985554090782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201772897,"filename":"image_09042025_12_39_46_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350783569","file1":"1350783506","file0":"1350783453","file4":"1350783627","file5":"1350783648","file3":"1350783603"},"map_files_photo_id_array":[{"photo_id":"1350783648","filename":"file5"},{"photo_id":"1350783569","filename":"file2"},{"photo_id":"1350783627","filename":"file4"},{"photo_id":"1350783506","filename":"file1"},{"photo_id":"1350783453","filename":"file0"},{"photo_id":"1350783603","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350783648":["hashtag1","hashtag2"]},{"1350783627":["hashtag1","hashtag2"]},{"1350783603":["hashtag1","hashtag2"]},{"1350783569":["hashtag1","hashtag2"]},{"1350783506":["hashtag1","hashtag2"]},{"1350783453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350783648, 1350783627, 1350783603, 1350783569, 1350783506, 1350783453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13094711303711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:29:32.854809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/40/image_09042025_12_41_06_10331.jpg', '/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_16_10400.jpg', '/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_25_9345.jpg', '/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_36_10348.jpg', '/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_46_10422.jpg', '/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_56_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/40/image_09042025_12_41_06_10331.jpg
/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_16_10400.jpg
/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_25_9345.jpg
/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_36_10348.jpg
/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_46_10422.jpg
/home/pi/Desktop/images/09042025/12/41/image_09042025_12_41_56_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350783831","1350783819","1350783890","1350783824","1350783865","1350783885"],"photo_ids_order":["1350783819","1350783824","1350783831","1350783865","1350783885","1350783890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15dadd005e2f4fc1e768e38058176581.jpg","text":"TemporaryFile(/tmp/multipartBody2146949552196261523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201833298,"filename":"image_09042025_12_41_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/4/9/15784f44bd78d922176de888167251cb.jpg","text":"TemporaryFile(/tmp/multipartBody3833015582372775921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201833298,"filename":"image_09042025_12_41_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/4/9/6684b514f1a8af17c2af2af57d769e5e.jpg","text":"TemporaryFile(/tmp/multipartBody2118611409029033183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201833298,"filename":"image_09042025_12_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/4/9/45b87e4076ccf31ee453cc1baf55a8e0.jpg","text":"TemporaryFile(/tmp/multipartBody3635799426287517701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201833298,"filename":"image_09042025_12_41_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/4/9/17fcccf0735c7c49c0ee522c136d47b0.jpg","text":"TemporaryFile(/tmp/multipartBody6609858758059596174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201833298,"filename":"image_09042025_12_41_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/4/9/efb36fe6bad4f7abfb0d9caa7653cd8d.jpg","text":"TemporaryFile(/tmp/multipartBody8710270919537841936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201833298,"filename":"image_09042025_12_41_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350783831","file1":"1350783824","file0":"1350783819","file4":"1350783885","file5":"1350783890","file3":"1350783865"},"map_files_photo_id_array":[{"photo_id":"1350783890","filename":"file5"},{"photo_id":"1350783831","filename":"file2"},{"photo_id":"1350783885","filename":"file4"},{"photo_id":"1350783824","filename":"file1"},{"photo_id":"1350783819","filename":"file0"},{"photo_id":"1350783865","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350783831":["hashtag1","hashtag2"]},{"1350783819":["hashtag1","hashtag2"]},{"1350783890":["hashtag1","hashtag2"]},{"1350783824":["hashtag1","hashtag2"]},{"1350783865":["hashtag1","hashtag2"]},{"1350783885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350783831, 1350783819, 1350783890, 1350783824, 1350783865, 1350783885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.264973163604736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:30:33.153317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/41/image_09042025_12_42_06_10344.jpg', '/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_15_9435.jpg', '/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_26_10377.jpg', '/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_36_10412.jpg', '/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_45_9358.jpg', '/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/41/image_09042025_12_42_06_10344.jpg
/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_15_9435.jpg
/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_26_10377.jpg
/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_36_10412.jpg
/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_45_9358.jpg
/home/pi/Desktop/images/09042025/12/42/image_09042025_12_42_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350783918","1350783941","1350783935","1350783938","1350783923","1350783921"],"photo_ids_order":["1350783918","1350783921","1350783923","1350783935","1350783938","1350783941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ce1d239b2d46cd2c59586e15571f594e.jpg","text":"TemporaryFile(/tmp/multipartBody6392405548434033159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201893605,"filename":"image_09042025_12_42_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/4/9/c08e49a4791fc1976818a12bde780382.jpg","text":"TemporaryFile(/tmp/multipartBody5176804268763880051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201893605,"filename":"image_09042025_12_42_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/4/9/60bfd5bc444836e3c942547163b603fb.jpg","text":"TemporaryFile(/tmp/multipartBody1813065328747071399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201893605,"filename":"image_09042025_12_42_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/4/9/6c77c3db7d8bc958660c204ff20fb25a.jpg","text":"TemporaryFile(/tmp/multipartBody2527017518023419593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201893605,"filename":"image_09042025_12_42_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/4/9/75e37a1563602e4da112405e56031f2e.jpg","text":"TemporaryFile(/tmp/multipartBody3711613698071788970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201893605,"filename":"image_09042025_12_42_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/4/9/ac3e730580b6c783fed99f9bd5cc6e45.jpg","text":"TemporaryFile(/tmp/multipartBody8910919279203667209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201893605,"filename":"image_09042025_12_42_15_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350783923","file1":"1350783921","file0":"1350783918","file4":"1350783938","file5":"1350783941","file3":"1350783935"},"map_files_photo_id_array":[{"photo_id":"1350783941","filename":"file5"},{"photo_id":"1350783923","filename":"file2"},{"photo_id":"1350783938","filename":"file4"},{"photo_id":"1350783921","filename":"file1"},{"photo_id":"1350783918","filename":"file0"},{"photo_id":"1350783935","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350783918":["hashtag1","hashtag2"]},{"1350783941":["hashtag1","hashtag2"]},{"1350783935":["hashtag1","hashtag2"]},{"1350783938":["hashtag1","hashtag2"]},{"1350783923":["hashtag1","hashtag2"]},{"1350783921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350783918, 1350783941, 1350783935, 1350783938, 1350783923, 1350783921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38015007972717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:31:32.320724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/42/image_09042025_12_43_06_10430.jpg', '/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_16_9352.jpg', '/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_26_10464.jpg', '/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_35_9338.jpg', '/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_46_10362.jpg', '/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_56_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/42/image_09042025_12_43_06_10430.jpg
/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_16_9352.jpg
/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_26_10464.jpg
/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_35_9338.jpg
/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_46_10362.jpg
/home/pi/Desktop/images/09042025/12/43/image_09042025_12_43_56_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":["1350784040","1350783991","1350783994","1350784066","1350784012","1350783990"],"photo_ids_order":["1350783990","1350783991","1350783994","1350784012","1350784040","1350784066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7bbc3ed7bc48dc11c0c18fc17422d653.jpg","text":"TemporaryFile(/tmp/multipartBody142423178778654337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201952775,"filename":"image_09042025_12_43_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/4/9/a7034f68ad331a9936f94d9d3578a53f.jpg","text":"TemporaryFile(/tmp/multipartBody2737475558273086697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201952775,"filename":"image_09042025_12_43_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f2678669d35b79033f7fef89438a863.jpg","text":"TemporaryFile(/tmp/multipartBody6552617355744979845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201952775,"filename":"image_09042025_12_43_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/4/9/6cf1cad40626067d4d5a878450085492.jpg","text":"TemporaryFile(/tmp/multipartBody108733674070654226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201952775,"filename":"image_09042025_12_43_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/4/9/0e41c897218cd578aeff7710ea4d82b1.jpg","text":"TemporaryFile(/tmp/multipartBody9207044770562505061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201952775,"filename":"image_09042025_12_43_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/4/9/ef21c2f5f5738877a96a347d29c0ed93.jpg","text":"TemporaryFile(/tmp/multipartBody2689996940605740825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744201952775,"filename":"image_09042025_12_43_06_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350783994","file1":"1350783991","file0":"1350783990","file4":"1350784040","file5":"1350784066","file3":"1350784012"},"map_files_photo_id_array":[{"photo_id":"1350784066","filename":"file5"},{"photo_id":"1350783994","filename":"file2"},{"photo_id":"1350784040","filename":"file4"},{"photo_id":"1350783991","filename":"file1"},{"photo_id":"1350783990","filename":"file0"},{"photo_id":"1350784012","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350784040":["hashtag1","hashtag2"]},{"1350783991":["hashtag1","hashtag2"]},{"1350783994":["hashtag1","hashtag2"]},{"1350784066":["hashtag1","hashtag2"]},{"1350784012":["hashtag1","hashtag2"]},{"1350783990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350784040, 1350783991, 1350783994, 1350784066, 1350784012, 1350783990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.742918491363525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:32:32.706987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/43/image_09042025_12_44_06_9346.jpg', '/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_16_10361.jpg', '/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_25_9483.jpg', '/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_36_10362.jpg', '/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_46_10364.jpg', '/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_56_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/43/image_09042025_12_44_06_9346.jpg
/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_16_10361.jpg
/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_25_9483.jpg
/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_36_10362.jpg
/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_46_10364.jpg
/home/pi/Desktop/images/09042025/12/44/image_09042025_12_44_56_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350784364","1350784358","1350784360","1350784348","1350784371","1350784407"],"photo_ids_order":["1350784348","1350784358","1350784360","1350784364","1350784371","1350784407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd82075636060a3d47ad2cd74ea224d4.jpg","text":"TemporaryFile(/tmp/multipartBody8662708702389004791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202013186,"filename":"image_09042025_12_44_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f82ecc43907068680dd3dbfb2768ba4.jpg","text":"TemporaryFile(/tmp/multipartBody768641488562942388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202013186,"filename":"image_09042025_12_44_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82d8a2b118023e7ff98aab2abc81ec00.jpg","text":"TemporaryFile(/tmp/multipartBody2569541147939826841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202013186,"filename":"image_09042025_12_44_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/4/9/3081b754f6760480d7c60d208bb2b34e.jpg","text":"TemporaryFile(/tmp/multipartBody349013733492177996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202013186,"filename":"image_09042025_12_44_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/4/9/a3e7e7dc960d4ef4ceca4eff43fdf50c.jpg","text":"TemporaryFile(/tmp/multipartBody2740421744118255158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202013186,"filename":"image_09042025_12_44_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/4/9/fa50992963ef3dffa434bc7f10f68475.jpg","text":"TemporaryFile(/tmp/multipartBody4798616785355986939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202013186,"filename":"image_09042025_12_44_56_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350784360","file1":"1350784358","file0":"1350784348","file4":"1350784371","file5":"1350784407","file3":"1350784364"},"map_files_photo_id_array":[{"photo_id":"1350784407","filename":"file5"},{"photo_id":"1350784360","filename":"file2"},{"photo_id":"1350784371","filename":"file4"},{"photo_id":"1350784358","filename":"file1"},{"photo_id":"1350784348","filename":"file0"},{"photo_id":"1350784364","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350784364":["hashtag1","hashtag2"]},{"1350784358":["hashtag1","hashtag2"]},{"1350784360":["hashtag1","hashtag2"]},{"1350784348":["hashtag1","hashtag2"]},{"1350784371":["hashtag1","hashtag2"]},{"1350784407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350784364, 1350784358, 1350784360, 1350784348, 1350784371, 1350784407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71251821517944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:33:32.997619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/44/image_09042025_12_45_06_10475.jpg', '/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_15_9349.jpg', '/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_26_10374.jpg', '/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_36_10415.jpg', '/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_46_9369.jpg', '/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/44/image_09042025_12_45_06_10475.jpg
/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_15_9349.jpg
/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_26_10374.jpg
/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_36_10415.jpg
/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_46_9369.jpg
/home/pi/Desktop/images/09042025/12/45/image_09042025_12_45_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350784652","1350784649","1350784612","1350784647","1350784629","1350784623"],"photo_ids_order":["1350784612","1350784623","1350784629","1350784647","1350784649","1350784652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/328298ae4efe91eefb67c336f8693d80.jpg","text":"TemporaryFile(/tmp/multipartBody2914510734054855166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202073464,"filename":"image_09042025_12_45_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/4/9/54efc358b51240c8311ca3117099abb5.jpg","text":"TemporaryFile(/tmp/multipartBody6079953412037314930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202073464,"filename":"image_09042025_12_45_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/4/9/06fc0be9a7f1211488e08204ccd3e99b.jpg","text":"TemporaryFile(/tmp/multipartBody2000730297752606372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202073464,"filename":"image_09042025_12_45_06_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97c4732cf38b357a47148f87c7e3479a.jpg","text":"TemporaryFile(/tmp/multipartBody6107362809697242939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202073464,"filename":"image_09042025_12_45_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ff753adba8f444f1909882c7d4faf37.jpg","text":"TemporaryFile(/tmp/multipartBody4278846884442846148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202073464,"filename":"image_09042025_12_45_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db59675947c404bbbfe7a0d5a84d390b.jpg","text":"TemporaryFile(/tmp/multipartBody6075829494115115256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202073464,"filename":"image_09042025_12_45_15_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350784629","file1":"1350784623","file0":"1350784612","file4":"1350784649","file5":"1350784652","file3":"1350784647"},"map_files_photo_id_array":[{"photo_id":"1350784652","filename":"file5"},{"photo_id":"1350784629","filename":"file2"},{"photo_id":"1350784649","filename":"file4"},{"photo_id":"1350784623","filename":"file1"},{"photo_id":"1350784612","filename":"file0"},{"photo_id":"1350784647","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350784652":["hashtag1","hashtag2"]},{"1350784649":["hashtag1","hashtag2"]},{"1350784612":["hashtag1","hashtag2"]},{"1350784647":["hashtag1","hashtag2"]},{"1350784629":["hashtag1","hashtag2"]},{"1350784623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350784652, 1350784649, 1350784612, 1350784647, 1350784629, 1350784623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.448715925216675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:34:32.152896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/45/image_09042025_12_46_05_9426.jpg', '/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_16_10378.jpg', '/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_26_10452.jpg', '/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_36_9354.jpg', '/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_46_10370.jpg', '/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_56_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/45/image_09042025_12_46_05_9426.jpg
/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_16_10378.jpg
/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_26_10452.jpg
/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_36_9354.jpg
/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_46_10370.jpg
/home/pi/Desktop/images/09042025/12/46/image_09042025_12_46_56_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350784790","1350784786","1350784797","1350784801","1350784788","1350784793"],"photo_ids_order":["1350784786","1350784788","1350784790","1350784793","1350784797","1350784801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88bfa56e5d4e6cf7325639ba6825f9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7960847097419685140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202132744,"filename":"image_09042025_12_46_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/456eb632b34042f6fe9fc44f01f441fc.jpg","text":"TemporaryFile(/tmp/multipartBody3740002947561088239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202132744,"filename":"image_09042025_12_46_05_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdd05c2a9d45e900e2c6bd98df9821b9.jpg","text":"TemporaryFile(/tmp/multipartBody2543504409178785116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202132744,"filename":"image_09042025_12_46_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/4/9/ccd47c43636e4b797fbae7438794eba5.jpg","text":"TemporaryFile(/tmp/multipartBody5567947491512441308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202132744,"filename":"image_09042025_12_46_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/4/9/19e5c084fbf5c37d802aec44b6ab0905.jpg","text":"TemporaryFile(/tmp/multipartBody1219546039993111735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202132744,"filename":"image_09042025_12_46_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e4b91dc3bec4944103cf1087605dae9.jpg","text":"TemporaryFile(/tmp/multipartBody3661904861518621893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202132744,"filename":"image_09042025_12_46_36_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350784790","file1":"1350784788","file0":"1350784786","file4":"1350784797","file5":"1350784801","file3":"1350784793"},"map_files_photo_id_array":[{"photo_id":"1350784801","filename":"file5"},{"photo_id":"1350784790","filename":"file2"},{"photo_id":"1350784797","filename":"file4"},{"photo_id":"1350784788","filename":"file1"},{"photo_id":"1350784786","filename":"file0"},{"photo_id":"1350784793","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350784790":["hashtag1","hashtag2"]},{"1350784786":["hashtag1","hashtag2"]},{"1350784797":["hashtag1","hashtag2"]},{"1350784801":["hashtag1","hashtag2"]},{"1350784788":["hashtag1","hashtag2"]},{"1350784793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350784790, 1350784786, 1350784797, 1350784801, 1350784788, 1350784793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62466382980347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:35:32.391046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/46/image_09042025_12_47_06_9329.jpg', '/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_16_10365.jpg', '/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_25_9443.jpg', '/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_36_10354.jpg', '/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_46_10413.jpg', '/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_56_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/46/image_09042025_12_47_06_9329.jpg
/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_16_10365.jpg
/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_25_9443.jpg
/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_36_10354.jpg
/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_46_10413.jpg
/home/pi/Desktop/images/09042025/12/47/image_09042025_12_47_56_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":["1350784856","1350784844","1350784861","1350784872","1350784875","1350784830"],"photo_ids_order":["1350784830","1350784844","1350784856","1350784861","1350784872","1350784875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f3740bc379aefe344ec3f8f3ab4b6835.jpg","text":"TemporaryFile(/tmp/multipartBody3756335948177238952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202192854,"filename":"image_09042025_12_47_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ade95567d758bf68485d96efef0a2b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7526455723335328931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202192854,"filename":"image_09042025_12_47_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/4/9/f6647682cf1d5b2c173876aaba8a45a7.jpg","text":"TemporaryFile(/tmp/multipartBody5623968832030590981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202192854,"filename":"image_09042025_12_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/4/9/59bb1ab7f9cee0a82a2e1cdfeb084dc6.jpg","text":"TemporaryFile(/tmp/multipartBody7344149240415539677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202192854,"filename":"image_09042025_12_47_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/4/9/54ab50afd771758e4fe0aaa26c311b39.jpg","text":"TemporaryFile(/tmp/multipartBody3627062192714955383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202192854,"filename":"image_09042025_12_47_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/4/9/d99f691fcd2f5009e68becb5fb48e201.jpg","text":"TemporaryFile(/tmp/multipartBody8095083663307998748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202192854,"filename":"image_09042025_12_47_06_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350784856","file1":"1350784844","file0":"1350784830","file4":"1350784872","file5":"1350784875","file3":"1350784861"},"map_files_photo_id_array":[{"photo_id":"1350784875","filename":"file5"},{"photo_id":"1350784856","filename":"file2"},{"photo_id":"1350784872","filename":"file4"},{"photo_id":"1350784844","filename":"file1"},{"photo_id":"1350784830","filename":"file0"},{"photo_id":"1350784861","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350784856":["hashtag1","hashtag2"]},{"1350784844":["hashtag1","hashtag2"]},{"1350784861":["hashtag1","hashtag2"]},{"1350784872":["hashtag1","hashtag2"]},{"1350784875":["hashtag1","hashtag2"]},{"1350784830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350784856, 1350784844, 1350784861, 1350784872, 1350784875, 1350784830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40836977958679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:36:32.605049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/47/image_09042025_12_48_06_10366.jpg', '/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_15_9396.jpg', '/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_26_10409.jpg', '/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_36_10428.jpg', '/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_46_9359.jpg', '/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/47/image_09042025_12_48_06_10366.jpg
/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_15_9396.jpg
/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_26_10409.jpg
/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_36_10428.jpg
/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_46_9359.jpg
/home/pi/Desktop/images/09042025/12/48/image_09042025_12_48_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350784993","1350784951","1350784954","1350784983","1350784968","1350784973"],"photo_ids_order":["1350784951","1350784954","1350784968","1350784973","1350784983","1350784993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c2e9434fc31e4d971b3b7c20550d1cd.jpg","text":"TemporaryFile(/tmp/multipartBody7499755212440273149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202253038,"filename":"image_09042025_12_48_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/4/9/59c4ef86bea8940a99779a20afc85e66.jpg","text":"TemporaryFile(/tmp/multipartBody8884086949319813725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202253038,"filename":"image_09042025_12_48_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/58db4c6c822c08b7723803e8f3a23e09.jpg","text":"TemporaryFile(/tmp/multipartBody2008296806860763619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202253038,"filename":"image_09042025_12_48_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/4/9/abc397717012c1053c44b7a6a540770e.jpg","text":"TemporaryFile(/tmp/multipartBody2824294160424679211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202253038,"filename":"image_09042025_12_48_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8da233867b77b531bcbf53daa7206745.jpg","text":"TemporaryFile(/tmp/multipartBody5006978543547356866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202253038,"filename":"image_09042025_12_48_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/4/9/9d0ea09ad0705838438c493b4ce5a335.jpg","text":"TemporaryFile(/tmp/multipartBody8586887765388711215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202253038,"filename":"image_09042025_12_48_36_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350784968","file1":"1350784954","file0":"1350784951","file4":"1350784983","file5":"1350784993","file3":"1350784973"},"map_files_photo_id_array":[{"photo_id":"1350784993","filename":"file5"},{"photo_id":"1350784968","filename":"file2"},{"photo_id":"1350784983","filename":"file4"},{"photo_id":"1350784954","filename":"file1"},{"photo_id":"1350784951","filename":"file0"},{"photo_id":"1350784973","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350784993":["hashtag1","hashtag2"]},{"1350784951":["hashtag1","hashtag2"]},{"1350784954":["hashtag1","hashtag2"]},{"1350784983":["hashtag1","hashtag2"]},{"1350784968":["hashtag1","hashtag2"]},{"1350784973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350784993, 1350784951, 1350784954, 1350784983, 1350784968, 1350784973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56410002708435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:37:32.869274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/48/image_09042025_12_49_05_9403.jpg', '/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_16_10350.jpg', '/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_26_10428.jpg', '/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_35_9328.jpg', '/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_46_10369.jpg', '/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_56_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/48/image_09042025_12_49_05_9403.jpg
/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_16_10350.jpg
/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_26_10428.jpg
/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_35_9328.jpg
/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_46_10369.jpg
/home/pi/Desktop/images/09042025/12/49/image_09042025_12_49_56_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350785066","1350785074","1350785047","1350785087","1350785054","1350785057"],"photo_ids_order":["1350785047","1350785054","1350785057","1350785066","1350785074","1350785087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e552a9f7f7e558439ca678cfb847fcc.jpg","text":"TemporaryFile(/tmp/multipartBody5198760672281640022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202313308,"filename":"image_09042025_12_49_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/4/9/4609be9e36d17c92f4fc6e1efeaee513.jpg","text":"TemporaryFile(/tmp/multipartBody8202792773435863555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202313308,"filename":"image_09042025_12_49_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/4/9/590c9dc60d3552e54b03221afa842e84.jpg","text":"TemporaryFile(/tmp/multipartBody6307913664709180076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202313308,"filename":"image_09042025_12_49_05_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe9ba2fe8b1e055a836a4cae8ba992b7.jpg","text":"TemporaryFile(/tmp/multipartBody3482946939297053167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202313308,"filename":"image_09042025_12_49_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/4/9/189132a3c6ced6bef2e9936aa88b1b58.jpg","text":"TemporaryFile(/tmp/multipartBody4371456191501125921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202313308,"filename":"image_09042025_12_49_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/4/9/bb4ec92b0cccdaef656994d1e346e841.jpg","text":"TemporaryFile(/tmp/multipartBody5644411671652733884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202313308,"filename":"image_09042025_12_49_26_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350785057","file1":"1350785054","file0":"1350785047","file4":"1350785074","file5":"1350785087","file3":"1350785066"},"map_files_photo_id_array":[{"photo_id":"1350785087","filename":"file5"},{"photo_id":"1350785057","filename":"file2"},{"photo_id":"1350785074","filename":"file4"},{"photo_id":"1350785054","filename":"file1"},{"photo_id":"1350785047","filename":"file0"},{"photo_id":"1350785066","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350785066":["hashtag1","hashtag2"]},{"1350785074":["hashtag1","hashtag2"]},{"1350785047":["hashtag1","hashtag2"]},{"1350785087":["hashtag1","hashtag2"]},{"1350785054":["hashtag1","hashtag2"]},{"1350785057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350785066, 1350785074, 1350785047, 1350785087, 1350785054, 1350785057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.72406029701233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:38:33.078339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/49/image_09042025_12_50_05_9339.jpg', '/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_16_10347.jpg', '/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_26_10350.jpg', '/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_36_9344.jpg', '/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_46_10355.jpg', '/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_55_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/49/image_09042025_12_50_05_9339.jpg
/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_16_10347.jpg
/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_26_10350.jpg
/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_36_9344.jpg
/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_46_10355.jpg
/home/pi/Desktop/images/09042025/12/50/image_09042025_12_50_55_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":["1350785132","1350785128","1350785143","1350785124","1350785136","1350785121"],"photo_ids_order":["1350785121","1350785124","1350785128","1350785132","1350785136","1350785143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21712e7d14cc43e634e90370548b8550.jpg","text":"TemporaryFile(/tmp/multipartBody3009221089736024894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202373514,"filename":"image_09042025_12_50_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/4/9/6b60d4953c3b8f7182abe198474733e6.jpg","text":"TemporaryFile(/tmp/multipartBody7678106536235235739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202373514,"filename":"image_09042025_12_50_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/4/9/db902b5c6acb4a9b74d905ebdba5efc0.jpg","text":"TemporaryFile(/tmp/multipartBody8952011140107336131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202373514,"filename":"image_09042025_12_50_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/4/9/3ef946b6a8b2f88780ed327a746fbcc2.jpg","text":"TemporaryFile(/tmp/multipartBody6470246909906800032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202373514,"filename":"image_09042025_12_50_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/4/9/8b704d0d6479ae244cd6fd473f60d8f9.jpg","text":"TemporaryFile(/tmp/multipartBody9108181567025311250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202373514,"filename":"image_09042025_12_50_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/4/9/27635dc70db20044fb014ce987e6aa89.jpg","text":"TemporaryFile(/tmp/multipartBody1521818107114269357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202373514,"filename":"image_09042025_12_50_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350785128","file1":"1350785124","file0":"1350785121","file4":"1350785136","file5":"1350785143","file3":"1350785132"},"map_files_photo_id_array":[{"photo_id":"1350785143","filename":"file5"},{"photo_id":"1350785128","filename":"file2"},{"photo_id":"1350785136","filename":"file4"},{"photo_id":"1350785124","filename":"file1"},{"photo_id":"1350785121","filename":"file0"},{"photo_id":"1350785132","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350785132":["hashtag1","hashtag2"]},{"1350785128":["hashtag1","hashtag2"]},{"1350785143":["hashtag1","hashtag2"]},{"1350785124":["hashtag1","hashtag2"]},{"1350785136":["hashtag1","hashtag2"]},{"1350785121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350785132, 1350785128, 1350785143, 1350785124, 1350785136, 1350785121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4444055557251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:39:32.397566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/50/image_09042025_12_51_06_10349.jpg', '/home/pi/Desktop/images/09042025/12/51/image_09042025_12_51_16_10442.jpg', '/home/pi/Desktop/images/09042025/12/51/image_09042025_12_51_25_9358.jpg', '/home/pi/Desktop/images/09042025/12/51/image_09042025_12_51_36_10363.jpg', '/home/pi/Desktop/images/09042025/12/51/image_09042025_12_51_46_10422.jpg', '/home/pi/Desktop/images/09042025/12/51/image_09042025_12_52_06_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/50/image_09042025_12_51_06_10349.jpg
/home/pi/Desktop/images/09042025/12/51/image_09042025_12_51_16_10442.jpg
/home/pi/Desktop/images/09042025/12/51/image_09042025_12_51_25_9358.jpg
/home/pi/Desktop/images/09042025/12/51/image_09042025_12_51_36_10363.jpg
/home/pi/Desktop/images/09042025/12/51/image_09042025_12_51_46_10422.jpg
/home/pi/Desktop/images/09042025/12/51/image_09042025_12_52_06_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350785315","1350785296","1350785311","1350785292","1350785313","1350785294"],"photo_ids_order":["1350785292","1350785294","1350785296","1350785311","1350785313","1350785315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8144d580ae90e52d016c821b3992be0f.jpg","text":"TemporaryFile(/tmp/multipartBody1884780814619782674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202432844,"filename":"image_09042025_12_52_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/4/9/d3cba8a95a11c7410a395997914f5ab0.jpg","text":"TemporaryFile(/tmp/multipartBody7696164698672938532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202432844,"filename":"image_09042025_12_51_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/4/9/ee33106c1281b4a7d0e20251a9f44a39.jpg","text":"TemporaryFile(/tmp/multipartBody5184680811387223037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202432844,"filename":"image_09042025_12_51_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3af0be103c68c3ce7803f6a2af8649c5.jpg","text":"TemporaryFile(/tmp/multipartBody7727610059425157421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202432844,"filename":"image_09042025_12_51_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/4/9/809b5fa53a2336c613fe8e2ae2d048d9.jpg","text":"TemporaryFile(/tmp/multipartBody4101844532706168606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202432844,"filename":"image_09042025_12_51_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/4/9/7426f105dbc6f8c11f497a27002111de.jpg","text":"TemporaryFile(/tmp/multipartBody8430054871824012732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202432844,"filename":"image_09042025_12_51_16_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350785296","file1":"1350785294","file0":"1350785292","file4":"1350785313","file5":"1350785315","file3":"1350785311"},"map_files_photo_id_array":[{"photo_id":"1350785315","filename":"file5"},{"photo_id":"1350785296","filename":"file2"},{"photo_id":"1350785313","filename":"file4"},{"photo_id":"1350785294","filename":"file1"},{"photo_id":"1350785292","filename":"file0"},{"photo_id":"1350785311","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350785315":["hashtag1","hashtag2"]},{"1350785296":["hashtag1","hashtag2"]},{"1350785311":["hashtag1","hashtag2"]},{"1350785292":["hashtag1","hashtag2"]},{"1350785313":["hashtag1","hashtag2"]},{"1350785294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350785315, 1350785296, 1350785311, 1350785292, 1350785313, 1350785294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.007567405700684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:40:32.698620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_15_9383.jpg', '/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_26_10427.jpg', '/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_36_10444.jpg', '/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_46_9367.jpg', '/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_56_10381.jpg', '/home/pi/Desktop/images/09042025/12/52/image_09042025_12_53_05_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_15_9383.jpg
/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_26_10427.jpg
/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_36_10444.jpg
/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_46_9367.jpg
/home/pi/Desktop/images/09042025/12/52/image_09042025_12_52_56_10381.jpg
/home/pi/Desktop/images/09042025/12/52/image_09042025_12_53_05_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350785402","1350785362","1350785368","1350785397","1350785394","1350785372"],"photo_ids_order":["1350785362","1350785368","1350785372","1350785394","1350785397","1350785402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3292d3a2241e2df8f87a72e8c5078d59.jpg","text":"TemporaryFile(/tmp/multipartBody1972717213796858921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202493154,"filename":"image_09042025_12_53_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/4/9/598dbf9eae1f4ee633343ae719f68343.jpg","text":"TemporaryFile(/tmp/multipartBody5338598044505903981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202493154,"filename":"image_09042025_12_52_15_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dff190f50c4494804b1d0cb13077e3a9.jpg","text":"TemporaryFile(/tmp/multipartBody317466856696639783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202493154,"filename":"image_09042025_12_52_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d8502253645d69ac70cdb1e45701d0f.jpg","text":"TemporaryFile(/tmp/multipartBody609621976056116506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202493154,"filename":"image_09042025_12_52_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/4/9/2a70a45e96b348009845d289f11d3a18.jpg","text":"TemporaryFile(/tmp/multipartBody5418167676816631029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202493154,"filename":"image_09042025_12_52_46_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b41b2441abf98ddea26b53f0aea2b98.jpg","text":"TemporaryFile(/tmp/multipartBody4714984292561606261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202493154,"filename":"image_09042025_12_52_36_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350785372","file1":"1350785368","file0":"1350785362","file4":"1350785397","file5":"1350785402","file3":"1350785394"},"map_files_photo_id_array":[{"photo_id":"1350785402","filename":"file5"},{"photo_id":"1350785372","filename":"file2"},{"photo_id":"1350785397","filename":"file4"},{"photo_id":"1350785368","filename":"file1"},{"photo_id":"1350785362","filename":"file0"},{"photo_id":"1350785394","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350785402":["hashtag1","hashtag2"]},{"1350785362":["hashtag1","hashtag2"]},{"1350785368":["hashtag1","hashtag2"]},{"1350785397":["hashtag1","hashtag2"]},{"1350785394":["hashtag1","hashtag2"]},{"1350785372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350785402, 1350785362, 1350785368, 1350785397, 1350785394, 1350785372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4567437171936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:41:32.912427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_16_10350.jpg', '/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_26_10469.jpg', '/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_36_9375.jpg', '/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_46_10361.jpg', '/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_55_9438.jpg', '/home/pi/Desktop/images/09042025/12/53/image_09042025_12_54_06_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_16_10350.jpg
/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_26_10469.jpg
/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_36_9375.jpg
/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_46_10361.jpg
/home/pi/Desktop/images/09042025/12/53/image_09042025_12_53_55_9438.jpg
/home/pi/Desktop/images/09042025/12/53/image_09042025_12_54_06_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":["1350785555","1350785549","1350785537","1350785559","1350785483","1350785564"],"photo_ids_order":["1350785483","1350785537","1350785549","1350785555","1350785559","1350785564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8f653547a41eede61f150cae314f4c5e.jpg","text":"TemporaryFile(/tmp/multipartBody5026966115487034090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202553677,"filename":"image_09042025_12_53_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/4/9/5db9e9a6a8a427b99e541c5b716646a5.jpg","text":"TemporaryFile(/tmp/multipartBody8459095484471102854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202553677,"filename":"image_09042025_12_53_36_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f953cd13fd2a0b23d68363ca98ff4da6.jpg","text":"TemporaryFile(/tmp/multipartBody4505896324558449631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202553677,"filename":"image_09042025_12_53_26_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/587be70bebda8f1021daf1d5d9dee3e2.jpg","text":"TemporaryFile(/tmp/multipartBody429696146029681636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202553677,"filename":"image_09042025_12_53_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/4/9/a26108ef825a3115149be8b4cb1108a1.jpg","text":"TemporaryFile(/tmp/multipartBody554374178400457239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202553677,"filename":"image_09042025_12_53_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/4/9/a6f5305495558f197ff01d65e9e01f7d.jpg","text":"TemporaryFile(/tmp/multipartBody2126359162478553980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202553677,"filename":"image_09042025_12_54_06_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350785549","file1":"1350785537","file0":"1350785483","file4":"1350785559","file5":"1350785564","file3":"1350785555"},"map_files_photo_id_array":[{"photo_id":"1350785564","filename":"file5"},{"photo_id":"1350785549","filename":"file2"},{"photo_id":"1350785559","filename":"file4"},{"photo_id":"1350785537","filename":"file1"},{"photo_id":"1350785483","filename":"file0"},{"photo_id":"1350785555","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350785555":["hashtag1","hashtag2"]},{"1350785549":["hashtag1","hashtag2"]},{"1350785537":["hashtag1","hashtag2"]},{"1350785559":["hashtag1","hashtag2"]},{"1350785483":["hashtag1","hashtag2"]},{"1350785564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350785555, 1350785549, 1350785537, 1350785559, 1350785483, 1350785564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.14572048187256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:42:32.165326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_16_10421.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_26_9385.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_36_10355.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_45_9430.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_56_10359.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_55_06_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_16_10421.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_26_9385.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_36_10355.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_45_9430.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_56_10359.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_55_06_10543.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4537692070007324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 14:42:42.170382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_16_10421.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_26_9385.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_36_10355.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_45_9430.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_56_10359.jpg', '/home/pi/Desktop/images/09042025/12/54/image_09042025_12_55_06_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_16_10421.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_26_9385.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_36_10355.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_45_9430.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_54_56_10359.jpg
/home/pi/Desktop/images/09042025/12/54/image_09042025_12_55_06_10543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350785654","1350785674","1350785658","1350785667","1350785666","1350785651"],"photo_ids_order":["1350785651","1350785654","1350785658","1350785666","1350785667","1350785674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ecd611cf64a5af4cd24d8a59b7f6942.jpg","text":"TemporaryFile(/tmp/multipartBody5729853928370347674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202622942,"filename":"image_09042025_12_54_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/4/9/49e558675ada897a51b7cee8ea0fb368.jpg","text":"TemporaryFile(/tmp/multipartBody5997026583683538681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202622942,"filename":"image_09042025_12_55_06_10543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6f217a58731d6797b4ae12453222ed36.jpg","text":"TemporaryFile(/tmp/multipartBody9056601436144462022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202622942,"filename":"image_09042025_12_54_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/4/9/60ab29709c555fdce6d1d88bfbeaf117.jpg","text":"TemporaryFile(/tmp/multipartBody1472676847443559191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202622942,"filename":"image_09042025_12_54_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/4/9/187bb1e8bd59843299e6f9a39620845f.jpg","text":"TemporaryFile(/tmp/multipartBody1045900393017632755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202622942,"filename":"image_09042025_12_54_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/4/9/ec9fc2a3d7bd273866f0e3b95a46d6f5.jpg","text":"TemporaryFile(/tmp/multipartBody8656701125713879146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202622942,"filename":"image_09042025_12_54_16_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350785658","file1":"1350785654","file0":"1350785651","file4":"1350785667","file5":"1350785674","file3":"1350785666"},"map_files_photo_id_array":[{"photo_id":"1350785674","filename":"file5"},{"photo_id":"1350785658","filename":"file2"},{"photo_id":"1350785667","filename":"file4"},{"photo_id":"1350785654","filename":"file1"},{"photo_id":"1350785651","filename":"file0"},{"photo_id":"1350785666","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350785654":["hashtag1","hashtag2"]},{"1350785674":["hashtag1","hashtag2"]},{"1350785658":["hashtag1","hashtag2"]},{"1350785667":["hashtag1","hashtag2"]},{"1350785666":["hashtag1","hashtag2"]},{"1350785651":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350785654, 1350785674, 1350785658, 1350785667, 1350785666, 1350785651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84352684020996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:43:32.402502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_16_9401.jpg', '/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_26_10494.jpg', '/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_36_9408.jpg', '/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_46_10348.jpg', '/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_55_9455.jpg', '/home/pi/Desktop/images/09042025/12/55/image_09042025_12_56_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_16_9401.jpg
/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_26_10494.jpg
/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_36_9408.jpg
/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_46_10348.jpg
/home/pi/Desktop/images/09042025/12/55/image_09042025_12_55_55_9455.jpg
/home/pi/Desktop/images/09042025/12/55/image_09042025_12_56_06_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":["1350785903","1350785878","1350785815","1350785901","1350785849","1350785783"],"photo_ids_order":["1350785783","1350785815","1350785849","1350785878","1350785901","1350785903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21b76d900bfac674b3d1e65b5d188a13.jpg","text":"TemporaryFile(/tmp/multipartBody2549834460144829779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202673141,"filename":"image_09042025_12_56_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/744a0fa03e3e1da05204c8fc6116aa17.jpg","text":"TemporaryFile(/tmp/multipartBody2963359199273797696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202673141,"filename":"image_09042025_12_55_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/4/9/898c47d504cfbe0c041c1e4412c0d6a6.jpg","text":"TemporaryFile(/tmp/multipartBody5278807561735918466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202673141,"filename":"image_09042025_12_55_26_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51a5c4455e9903196effdfb78debe238.jpg","text":"TemporaryFile(/tmp/multipartBody7295893386538852014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202673141,"filename":"image_09042025_12_55_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/4/9/e60ee0ea7e8a27f64b7d7f3e8b155e00.jpg","text":"TemporaryFile(/tmp/multipartBody5121961080740127069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202673141,"filename":"image_09042025_12_55_36_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/786c861be17534e278f32329b8d4e488.jpg","text":"TemporaryFile(/tmp/multipartBody6598717670050992025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202673141,"filename":"image_09042025_12_55_16_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350785849","file1":"1350785815","file0":"1350785783","file4":"1350785901","file5":"1350785903","file3":"1350785878"},"map_files_photo_id_array":[{"photo_id":"1350785903","filename":"file5"},{"photo_id":"1350785849","filename":"file2"},{"photo_id":"1350785901","filename":"file4"},{"photo_id":"1350785815","filename":"file1"},{"photo_id":"1350785783","filename":"file0"},{"photo_id":"1350785878","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350785903":["hashtag1","hashtag2"]},{"1350785878":["hashtag1","hashtag2"]},{"1350785815":["hashtag1","hashtag2"]},{"1350785901":["hashtag1","hashtag2"]},{"1350785849":["hashtag1","hashtag2"]},{"1350785783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350785903, 1350785878, 1350785815, 1350785901, 1350785849, 1350785783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29685997962952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:44:32.602657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_16_10392.jpg', '/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_25_9357.jpg', '/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_36_10355.jpg', '/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_46_10358.jpg', '/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_56_9426.jpg', '/home/pi/Desktop/images/09042025/12/56/image_09042025_12_57_06_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_16_10392.jpg
/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_25_9357.jpg
/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_36_10355.jpg
/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_46_10358.jpg
/home/pi/Desktop/images/09042025/12/56/image_09042025_12_56_56_9426.jpg
/home/pi/Desktop/images/09042025/12/56/image_09042025_12_57_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":["1350786016","1350785985","1350785967","1350786006","1350786021","1350785972"],"photo_ids_order":["1350785967","1350785972","1350785985","1350786006","1350786016","1350786021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9beac8631c573f8749d7e386ab586ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8384562216746954140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202733400,"filename":"image_09042025_12_56_56_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc6d1828c937e2c0321c47f38a03cda1.jpg","text":"TemporaryFile(/tmp/multipartBody5593200624332056493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202733400,"filename":"image_09042025_12_56_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/4/9/b8ddf21f74fee49f16939b95e2a5536b.jpg","text":"TemporaryFile(/tmp/multipartBody5031773093946872102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202733400,"filename":"image_09042025_12_56_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/4/9/8be2d4cf07f0560e3e1606818690728d.jpg","text":"TemporaryFile(/tmp/multipartBody1266156355511021557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202733400,"filename":"image_09042025_12_56_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1235669bd61499c51dc0c9406395bb39.jpg","text":"TemporaryFile(/tmp/multipartBody7799522794769415290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202733400,"filename":"image_09042025_12_57_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/4/9/3b7e00704dcbc73773c73aee894f9578.jpg","text":"TemporaryFile(/tmp/multipartBody1088362634777339731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202733400,"filename":"image_09042025_12_56_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350785985","file1":"1350785972","file0":"1350785967","file4":"1350786016","file5":"1350786021","file3":"1350786006"},"map_files_photo_id_array":[{"photo_id":"1350786021","filename":"file5"},{"photo_id":"1350785985","filename":"file2"},{"photo_id":"1350786016","filename":"file4"},{"photo_id":"1350785972","filename":"file1"},{"photo_id":"1350785967","filename":"file0"},{"photo_id":"1350786006","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786016":["hashtag1","hashtag2"]},{"1350785985":["hashtag1","hashtag2"]},{"1350785967":["hashtag1","hashtag2"]},{"1350786006":["hashtag1","hashtag2"]},{"1350786021":["hashtag1","hashtag2"]},{"1350785972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786016, 1350785985, 1350785967, 1350786006, 1350786021, 1350785972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82776355743408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:45:32.753470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_15_9380.jpg', '/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_26_10394.jpg', '/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_36_10484.jpg', '/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_46_9346.jpg', '/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_56_10342.jpg', '/home/pi/Desktop/images/09042025/12/57/image_09042025_12_58_05_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_15_9380.jpg
/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_26_10394.jpg
/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_36_10484.jpg
/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_46_9346.jpg
/home/pi/Desktop/images/09042025/12/57/image_09042025_12_57_56_10342.jpg
/home/pi/Desktop/images/09042025/12/57/image_09042025_12_58_05_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":["1350786076","1350786058","1350786054","1350786063","1350786086","1350786065"],"photo_ids_order":["1350786054","1350786058","1350786063","1350786065","1350786076","1350786086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/734153522e11940d3e39075ab129de5f.jpg","text":"TemporaryFile(/tmp/multipartBody7662674337212341543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202793482,"filename":"image_09042025_12_57_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eac9d6e88936248677c41e637f7e2bb3.jpg","text":"TemporaryFile(/tmp/multipartBody6961735556340017483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202793482,"filename":"image_09042025_12_57_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/597c5dc1215d2885e0670f61d3e3091e.jpg","text":"TemporaryFile(/tmp/multipartBody1435788957498283761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202793482,"filename":"image_09042025_12_57_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/4/9/055e8a92e48c97d3bd6b88f72fb62437.jpg","text":"TemporaryFile(/tmp/multipartBody5108332489139816499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202793482,"filename":"image_09042025_12_57_36_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8123acccbb0840932f117bb5290a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody6733792316953320770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202793482,"filename":"image_09042025_12_58_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9819637848f9320f01d0368daf8c991.jpg","text":"TemporaryFile(/tmp/multipartBody3940903722117031050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202793482,"filename":"image_09042025_12_57_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786063","file1":"1350786058","file0":"1350786054","file4":"1350786076","file5":"1350786086","file3":"1350786065"},"map_files_photo_id_array":[{"photo_id":"1350786086","filename":"file5"},{"photo_id":"1350786063","filename":"file2"},{"photo_id":"1350786076","filename":"file4"},{"photo_id":"1350786058","filename":"file1"},{"photo_id":"1350786054","filename":"file0"},{"photo_id":"1350786065","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786076":["hashtag1","hashtag2"]},{"1350786058":["hashtag1","hashtag2"]},{"1350786054":["hashtag1","hashtag2"]},{"1350786063":["hashtag1","hashtag2"]},{"1350786086":["hashtag1","hashtag2"]},{"1350786065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786076, 1350786058, 1350786054, 1350786063, 1350786086, 1350786065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.39382457733154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:46:33.069640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_16_10343.jpg', '/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_26_10447.jpg', '/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_35_9341.jpg', '/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_46_10355.jpg', '/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_55_9482.jpg', '/home/pi/Desktop/images/09042025/12/58/image_09042025_12_59_06_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_16_10343.jpg
/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_26_10447.jpg
/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_35_9341.jpg
/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_46_10355.jpg
/home/pi/Desktop/images/09042025/12/58/image_09042025_12_58_55_9482.jpg
/home/pi/Desktop/images/09042025/12/58/image_09042025_12_59_06_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":["1350786142","1350786145","1350786130","1350786126","1350786140","1350786137"],"photo_ids_order":["1350786126","1350786130","1350786137","1350786140","1350786142","1350786145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae0ca86f1332b7eb8802f2eaf892284b.jpg","text":"TemporaryFile(/tmp/multipartBody9145358763322981554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202853699,"filename":"image_09042025_12_58_55_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5dab29858b90912c72342108a68519d4.jpg","text":"TemporaryFile(/tmp/multipartBody7006022881955776104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202853699,"filename":"image_09042025_12_59_06_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8009a7ab7ae00fc30db64acd1b32fda.jpg","text":"TemporaryFile(/tmp/multipartBody2254444591034601693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202853699,"filename":"image_09042025_12_58_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7904ec9d46c0a11012a58d270b302cb1.jpg","text":"TemporaryFile(/tmp/multipartBody6668571758630975524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202853699,"filename":"image_09042025_12_58_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/4/9/b7be8079c9a5a468fd1f56d62dc7f70a.jpg","text":"TemporaryFile(/tmp/multipartBody7939200801153340062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202853699,"filename":"image_09042025_12_58_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/4/9/5f3ed27d849f6b27735c581d073305c1.jpg","text":"TemporaryFile(/tmp/multipartBody4270373411444194867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202853699,"filename":"image_09042025_12_58_35_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786137","file1":"1350786130","file0":"1350786126","file4":"1350786142","file5":"1350786145","file3":"1350786140"},"map_files_photo_id_array":[{"photo_id":"1350786145","filename":"file5"},{"photo_id":"1350786137","filename":"file2"},{"photo_id":"1350786142","filename":"file4"},{"photo_id":"1350786130","filename":"file1"},{"photo_id":"1350786126","filename":"file0"},{"photo_id":"1350786140","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786142":["hashtag1","hashtag2"]},{"1350786145":["hashtag1","hashtag2"]},{"1350786130":["hashtag1","hashtag2"]},{"1350786126":["hashtag1","hashtag2"]},{"1350786140":["hashtag1","hashtag2"]},{"1350786137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786142, 1350786145, 1350786130, 1350786126, 1350786140, 1350786137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00543522834778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:47:32.313167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_16_10473.jpg', '/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_26_9393.jpg', '/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_36_10478.jpg', '/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_46_9441.jpg', '/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_56_10407.jpg', '/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_15_10072.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_16_10473.jpg
/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_26_9393.jpg
/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_36_10478.jpg
/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_46_9441.jpg
/home/pi/Desktop/images/09042025/12/59/image_09042025_12_59_56_10407.jpg
/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_15_10072.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350786247","1350786243","1350786182","1350786176","1350786245","1350786224"],"photo_ids_order":["1350786176","1350786182","1350786224","1350786243","1350786245","1350786247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57ab5e6b2601c67f39343859d8a4720a.jpg","text":"TemporaryFile(/tmp/multipartBody7184294093936876012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202912989,"filename":"image_09042025_13_01_15_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/385be2c9dc50ba499a49f8a3bfdb4a05.jpg","text":"TemporaryFile(/tmp/multipartBody345623678513773936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202912989,"filename":"image_09042025_12_59_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/4/9/7955492319160dbc90309eb188a5b520.jpg","text":"TemporaryFile(/tmp/multipartBody3400323731265778478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202912989,"filename":"image_09042025_12_59_26_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c0c996f9f51aa2016a0854c45b0e716.jpg","text":"TemporaryFile(/tmp/multipartBody7828115892611283528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202912989,"filename":"image_09042025_12_59_16_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a652d74326a3fabb7ec1656c05c3828e.jpg","text":"TemporaryFile(/tmp/multipartBody3646627965227736453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202912989,"filename":"image_09042025_12_59_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11ea6a8931fc95bb6f3172119423d5c2.jpg","text":"TemporaryFile(/tmp/multipartBody8272668460366648076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202912989,"filename":"image_09042025_12_59_36_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786224","file1":"1350786182","file0":"1350786176","file4":"1350786245","file5":"1350786247","file3":"1350786243"},"map_files_photo_id_array":[{"photo_id":"1350786247","filename":"file5"},{"photo_id":"1350786224","filename":"file2"},{"photo_id":"1350786245","filename":"file4"},{"photo_id":"1350786182","filename":"file1"},{"photo_id":"1350786176","filename":"file0"},{"photo_id":"1350786243","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786247":["hashtag1","hashtag2"]},{"1350786243":["hashtag1","hashtag2"]},{"1350786182":["hashtag1","hashtag2"]},{"1350786176":["hashtag1","hashtag2"]},{"1350786245":["hashtag1","hashtag2"]},{"1350786224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786247, 1350786243, 1350786182, 1350786176, 1350786245, 1350786224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7397358417511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:48:32.468140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_25_10370.jpg', '/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_35_10360.jpg', '/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_45_9419.jpg', '/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_55_10465.jpg', '/home/pi/Desktop/images/09042025/13/01/image_09042025_13_02_05_9356.jpg', '/home/pi/Desktop/images/09042025/13/02/image_09042025_13_02_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_25_10370.jpg
/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_35_10360.jpg
/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_45_9419.jpg
/home/pi/Desktop/images/09042025/13/01/image_09042025_13_01_55_10465.jpg
/home/pi/Desktop/images/09042025/13/01/image_09042025_13_02_05_9356.jpg
/home/pi/Desktop/images/09042025/13/02/image_09042025_13_02_15_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":["1350786394","1350786388","1350786274","1350786412","1350786279","1350786407"],"photo_ids_order":["1350786274","1350786279","1350786388","1350786394","1350786407","1350786412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a18ad8414510a2b218b6dffcc5f7e0d.jpg","text":"TemporaryFile(/tmp/multipartBody3774431638103951133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202972952,"filename":"image_09042025_13_01_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/4/9/46d8f38fa56f7861be2bb4a91ff1935b.jpg","text":"TemporaryFile(/tmp/multipartBody2224111001447755356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202972952,"filename":"image_09042025_13_01_45_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a22213a0eb0beb297df34b9cf0d6228.jpg","text":"TemporaryFile(/tmp/multipartBody4132985679414459637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202972952,"filename":"image_09042025_13_01_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/4/9/11c26b4a9f9bf35ea69a036d665a756f.jpg","text":"TemporaryFile(/tmp/multipartBody109741860488636703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202972952,"filename":"image_09042025_13_02_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/4/9/90681e3f597e355d48ca7018a98122db.jpg","text":"TemporaryFile(/tmp/multipartBody5669266287075815397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202972952,"filename":"image_09042025_13_01_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/4/9/e57cdfa0c5cdf370ab5f58ce5475b6ed.jpg","text":"TemporaryFile(/tmp/multipartBody3256453640982825435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744202972952,"filename":"image_09042025_13_02_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786388","file1":"1350786279","file0":"1350786274","file4":"1350786407","file5":"1350786412","file3":"1350786394"},"map_files_photo_id_array":[{"photo_id":"1350786412","filename":"file5"},{"photo_id":"1350786388","filename":"file2"},{"photo_id":"1350786407","filename":"file4"},{"photo_id":"1350786279","filename":"file1"},{"photo_id":"1350786274","filename":"file0"},{"photo_id":"1350786394","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786394":["hashtag1","hashtag2"]},{"1350786388":["hashtag1","hashtag2"]},{"1350786274":["hashtag1","hashtag2"]},{"1350786412":["hashtag1","hashtag2"]},{"1350786279":["hashtag1","hashtag2"]},{"1350786407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786394, 1350786388, 1350786274, 1350786412, 1350786279, 1350786407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.869582414627075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:49:32.704916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/02/image_09042025_13_02_25_10404.jpg', '/home/pi/Desktop/images/09042025/13/02/image_09042025_13_02_55_10378.jpg', '/home/pi/Desktop/images/09042025/13/02/image_09042025_13_03_05_9344.jpg', '/home/pi/Desktop/images/09042025/13/03/image_09042025_13_03_25_9365.jpg', '/home/pi/Desktop/images/09042025/13/03/image_09042025_13_03_35_10355.jpg', '/home/pi/Desktop/images/09042025/13/03/image_09042025_13_03_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/02/image_09042025_13_02_25_10404.jpg
/home/pi/Desktop/images/09042025/13/02/image_09042025_13_02_55_10378.jpg
/home/pi/Desktop/images/09042025/13/02/image_09042025_13_03_05_9344.jpg
/home/pi/Desktop/images/09042025/13/03/image_09042025_13_03_25_9365.jpg
/home/pi/Desktop/images/09042025/13/03/image_09042025_13_03_35_10355.jpg
/home/pi/Desktop/images/09042025/13/03/image_09042025_13_03_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350786574","1350786520","1350786514","1350786537","1350786567","1350786496"],"photo_ids_order":["1350786496","1350786514","1350786520","1350786537","1350786567","1350786574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f73d16fcd421c6454a4db3b0f84bb32c.jpg","text":"TemporaryFile(/tmp/multipartBody4017791904232116658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203033400,"filename":"image_09042025_13_03_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/4/9/ea45a5b2532a43199f7120103ef28e41.jpg","text":"TemporaryFile(/tmp/multipartBody650652735772830954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203033400,"filename":"image_09042025_13_03_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/4/9/291b53402f29b3392e3abb1252b553c2.jpg","text":"TemporaryFile(/tmp/multipartBody8102339838074350741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203033400,"filename":"image_09042025_13_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/4/9/43da06c093d62db303c209784c1e574b.jpg","text":"TemporaryFile(/tmp/multipartBody7392043758626296190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203033400,"filename":"image_09042025_13_03_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/4/9/2f8974d1981763a566cbc07b154764d2.jpg","text":"TemporaryFile(/tmp/multipartBody538925584721467131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203033400,"filename":"image_09042025_13_03_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/4/9/7f1e667a5e560772fecd4d00313d0fc6.jpg","text":"TemporaryFile(/tmp/multipartBody5086405381446657682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203033400,"filename":"image_09042025_13_02_25_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786520","file1":"1350786514","file0":"1350786496","file4":"1350786567","file5":"1350786574","file3":"1350786537"},"map_files_photo_id_array":[{"photo_id":"1350786574","filename":"file5"},{"photo_id":"1350786520","filename":"file2"},{"photo_id":"1350786567","filename":"file4"},{"photo_id":"1350786514","filename":"file1"},{"photo_id":"1350786496","filename":"file0"},{"photo_id":"1350786537","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786574":["hashtag1","hashtag2"]},{"1350786520":["hashtag1","hashtag2"]},{"1350786514":["hashtag1","hashtag2"]},{"1350786537":["hashtag1","hashtag2"]},{"1350786567":["hashtag1","hashtag2"]},{"1350786496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786574, 1350786520, 1350786514, 1350786537, 1350786567, 1350786496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90618538856506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:50:33.064603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/03/image_09042025_13_03_55_9344.jpg', '/home/pi/Desktop/images/09042025/13/03/image_09042025_13_04_05_10367.jpg', '/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_15_10405.jpg', '/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_25_9356.jpg', '/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_35_10414.jpg', '/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/03/image_09042025_13_03_55_9344.jpg
/home/pi/Desktop/images/09042025/13/03/image_09042025_13_04_05_10367.jpg
/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_15_10405.jpg
/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_25_9356.jpg
/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_35_10414.jpg
/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_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":["1350786594","1350786607","1350786615","1350786603","1350786611","1350786598"],"photo_ids_order":["1350786594","1350786598","1350786603","1350786607","1350786611","1350786615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7be5cb5f812261517743bea1fb159ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1969031308006139278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203093653,"filename":"image_09042025_13_03_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a664817d29cbb6c511c2d59b69cd7f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7508408759221198840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203093653,"filename":"image_09042025_13_04_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/4/9/b6b9fcdf81b9867cc3b81ec95671a4e4.jpg","text":"TemporaryFile(/tmp/multipartBody6784144722687226735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203093653,"filename":"image_09042025_13_04_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/4/9/d6728649d47f8f45845283462b0829ec.jpg","text":"TemporaryFile(/tmp/multipartBody5807341995662750575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203093653,"filename":"image_09042025_13_04_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/4/9/1d94eed30cd374b7bc70870d950c3d7a.jpg","text":"TemporaryFile(/tmp/multipartBody3142962798445859055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203093653,"filename":"image_09042025_13_04_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/4/9/18783fb5aff1cafecb74c609669d1453.jpg","text":"TemporaryFile(/tmp/multipartBody2851708785642300097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203093653,"filename":"image_09042025_13_04_05_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786603","file1":"1350786598","file0":"1350786594","file4":"1350786611","file5":"1350786615","file3":"1350786607"},"map_files_photo_id_array":[{"photo_id":"1350786615","filename":"file5"},{"photo_id":"1350786603","filename":"file2"},{"photo_id":"1350786611","filename":"file4"},{"photo_id":"1350786598","filename":"file1"},{"photo_id":"1350786594","filename":"file0"},{"photo_id":"1350786607","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786594":["hashtag1","hashtag2"]},{"1350786607":["hashtag1","hashtag2"]},{"1350786615":["hashtag1","hashtag2"]},{"1350786603":["hashtag1","hashtag2"]},{"1350786611":["hashtag1","hashtag2"]},{"1350786598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786594, 1350786607, 1350786615, 1350786603, 1350786611, 1350786598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.048624992370605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:51:32.245809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_55_9347.jpg', '/home/pi/Desktop/images/09042025/13/04/image_09042025_13_05_05_10356.jpg', '/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_15_9361.jpg', '/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_25_10368.jpg', '/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_35_10434.jpg', '/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_45_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/04/image_09042025_13_04_55_9347.jpg
/home/pi/Desktop/images/09042025/13/04/image_09042025_13_05_05_10356.jpg
/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_15_9361.jpg
/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_25_10368.jpg
/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_35_10434.jpg
/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_45_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350786679","1350786673","1350786652","1350786640","1350786669","1350786659"],"photo_ids_order":["1350786640","1350786652","1350786659","1350786669","1350786673","1350786679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b987c66674bb4ccb6a61cab965705c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3151954035025554061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203157542,"filename":"image_09042025_13_05_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/4/9/4d9fe7c4a87b846040e32a99b97b512f.jpg","text":"TemporaryFile(/tmp/multipartBody5872726301051558370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203157542,"filename":"image_09042025_13_05_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e43a64feb52615c20f343f5352cdc1c.jpg","text":"TemporaryFile(/tmp/multipartBody1690445972675594459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203157542,"filename":"image_09042025_13_05_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/4/9/b8bd8ebdfb7f3673ebf24f89c367b799.jpg","text":"TemporaryFile(/tmp/multipartBody8383991205135655654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203157542,"filename":"image_09042025_13_04_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8ad1f45043c90dc09c64edf4b67df50.jpg","text":"TemporaryFile(/tmp/multipartBody9142874604252908405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203157542,"filename":"image_09042025_13_05_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/4/9/79b78a84306e6df5ea8495f08828fc50.jpg","text":"TemporaryFile(/tmp/multipartBody3525201338372287611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203157542,"filename":"image_09042025_13_05_15_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786659","file1":"1350786652","file0":"1350786640","file4":"1350786673","file5":"1350786679","file3":"1350786669"},"map_files_photo_id_array":[{"photo_id":"1350786679","filename":"file5"},{"photo_id":"1350786659","filename":"file2"},{"photo_id":"1350786673","filename":"file4"},{"photo_id":"1350786652","filename":"file1"},{"photo_id":"1350786640","filename":"file0"},{"photo_id":"1350786669","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786679":["hashtag1","hashtag2"]},{"1350786673":["hashtag1","hashtag2"]},{"1350786652":["hashtag1","hashtag2"]},{"1350786640":["hashtag1","hashtag2"]},{"1350786669":["hashtag1","hashtag2"]},{"1350786659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786679, 1350786673, 1350786652, 1350786640, 1350786669, 1350786659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.02016472816467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:52:32.541714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_55_10449.jpg', '/home/pi/Desktop/images/09042025/13/05/image_09042025_13_06_05_10332.jpg', '/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_15_9351.jpg', '/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_25_10519.jpg', '/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_35_9338.jpg', '/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_45_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/05/image_09042025_13_05_55_10449.jpg
/home/pi/Desktop/images/09042025/13/05/image_09042025_13_06_05_10332.jpg
/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_15_9351.jpg
/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_25_10519.jpg
/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_35_9338.jpg
/home/pi/Desktop/images/09042025/13/06/image_09042025_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":["1350786745","1350786735","1350786744","1350786710","1350786704","1350786694"],"photo_ids_order":["1350786694","1350786704","1350786710","1350786735","1350786744","1350786745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3cc448d615d71f2cd8da49c4b1f514a3.jpg","text":"TemporaryFile(/tmp/multipartBody9074131803685091173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203213140,"filename":"image_09042025_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/4/9/0b1155ba812a3433733d227e4784fad0.jpg","text":"TemporaryFile(/tmp/multipartBody2255464913935285612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203213140,"filename":"image_09042025_13_06_25_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1aea84165ed69a49985b3fb827e39b3.jpg","text":"TemporaryFile(/tmp/multipartBody3380312462207719374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203213140,"filename":"image_09042025_13_06_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/4/9/e6e163f74eb1d2d85e5d8f3f3dfb692e.jpg","text":"TemporaryFile(/tmp/multipartBody7522881824920813805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203213140,"filename":"image_09042025_13_06_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1fa5b27b8e084c68091b216839da86a.jpg","text":"TemporaryFile(/tmp/multipartBody3771620518731527139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203213140,"filename":"image_09042025_13_06_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/4/9/71ee65e256c9cdc0ce01f83ec6a00895.jpg","text":"TemporaryFile(/tmp/multipartBody2341843169567333255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203213140,"filename":"image_09042025_13_05_55_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786710","file1":"1350786704","file0":"1350786694","file4":"1350786744","file5":"1350786745","file3":"1350786735"},"map_files_photo_id_array":[{"photo_id":"1350786745","filename":"file5"},{"photo_id":"1350786710","filename":"file2"},{"photo_id":"1350786744","filename":"file4"},{"photo_id":"1350786704","filename":"file1"},{"photo_id":"1350786694","filename":"file0"},{"photo_id":"1350786735","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786745":["hashtag1","hashtag2"]},{"1350786735":["hashtag1","hashtag2"]},{"1350786744":["hashtag1","hashtag2"]},{"1350786710":["hashtag1","hashtag2"]},{"1350786704":["hashtag1","hashtag2"]},{"1350786694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786745, 1350786735, 1350786744, 1350786710, 1350786704, 1350786694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18430542945862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:53:32.750129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_55_9439.jpg', '/home/pi/Desktop/images/09042025/13/06/image_09042025_13_07_05_10520.jpg', '/home/pi/Desktop/images/09042025/13/07/image_09042025_13_07_15_10391.jpg', '/home/pi/Desktop/images/09042025/13/07/image_09042025_13_07_25_9362.jpg', '/home/pi/Desktop/images/09042025/13/07/image_09042025_13_07_35_10351.jpg', '/home/pi/Desktop/images/09042025/13/07/image_09042025_13_07_45_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/06/image_09042025_13_06_55_9439.jpg
/home/pi/Desktop/images/09042025/13/06/image_09042025_13_07_05_10520.jpg
/home/pi/Desktop/images/09042025/13/07/image_09042025_13_07_15_10391.jpg
/home/pi/Desktop/images/09042025/13/07/image_09042025_13_07_25_9362.jpg
/home/pi/Desktop/images/09042025/13/07/image_09042025_13_07_35_10351.jpg
/home/pi/Desktop/images/09042025/13/07/image_09042025_13_07_45_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350786853","1350786912","1350786878","1350786932","1350786923","1350786818"],"photo_ids_order":["1350786818","1350786853","1350786878","1350786912","1350786923","1350786932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5939f2cd16dff3aafa5983f62be110eb.jpg","text":"TemporaryFile(/tmp/multipartBody1973506561578563942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203273459,"filename":"image_09042025_13_07_05_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a4ce8a471d6fac1836d8b4a3174e52c.jpg","text":"TemporaryFile(/tmp/multipartBody3729233188534671147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203273459,"filename":"image_09042025_13_07_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd87f270d351b6f0fd5ce87888f6896a.jpg","text":"TemporaryFile(/tmp/multipartBody1154474317554531874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203273459,"filename":"image_09042025_13_07_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/4/9/ecb8122015beb9dddde25a4145013be1.jpg","text":"TemporaryFile(/tmp/multipartBody8517589435893781194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203273459,"filename":"image_09042025_13_07_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/4/9/2c86e6280e2fa591fa1f3374abcf2a53.jpg","text":"TemporaryFile(/tmp/multipartBody3278341923672428769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203273459,"filename":"image_09042025_13_07_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/4/9/beeba0c5d977824256f54f1a742eeb05.jpg","text":"TemporaryFile(/tmp/multipartBody5237685586486547023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203273459,"filename":"image_09042025_13_06_55_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350786878","file1":"1350786853","file0":"1350786818","file4":"1350786923","file5":"1350786932","file3":"1350786912"},"map_files_photo_id_array":[{"photo_id":"1350786932","filename":"file5"},{"photo_id":"1350786878","filename":"file2"},{"photo_id":"1350786923","filename":"file4"},{"photo_id":"1350786853","filename":"file1"},{"photo_id":"1350786818","filename":"file0"},{"photo_id":"1350786912","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350786853":["hashtag1","hashtag2"]},{"1350786912":["hashtag1","hashtag2"]},{"1350786878":["hashtag1","hashtag2"]},{"1350786932":["hashtag1","hashtag2"]},{"1350786923":["hashtag1","hashtag2"]},{"1350786818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350786853, 1350786912, 1350786878, 1350786932, 1350786923, 1350786818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6518611907959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:54:33.026131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/08/image_09042025_13_08_15_9326.jpg', '/home/pi/Desktop/images/09042025/13/08/image_09042025_13_08_25_10465.jpg', '/home/pi/Desktop/images/09042025/13/08/image_09042025_13_08_45_9354.jpg', '/home/pi/Desktop/images/09042025/13/08/image_09042025_13_08_55_10447.jpg', '/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_15_10329.jpg', '/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_25_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/08/image_09042025_13_08_15_9326.jpg
/home/pi/Desktop/images/09042025/13/08/image_09042025_13_08_25_10465.jpg
/home/pi/Desktop/images/09042025/13/08/image_09042025_13_08_45_9354.jpg
/home/pi/Desktop/images/09042025/13/08/image_09042025_13_08_55_10447.jpg
/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_15_10329.jpg
/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_25_10481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350787012","1350787015","1350787017","1350787002","1350787008","1350786994"],"photo_ids_order":["1350786994","1350787002","1350787008","1350787012","1350787015","1350787017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f23d4b5db053b84b6cec7da9d034be2.jpg","text":"TemporaryFile(/tmp/multipartBody2305844310298272368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203333764,"filename":"image_09042025_13_08_55_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/133c96bd0e4343b31719e4f2635f041c.jpg","text":"TemporaryFile(/tmp/multipartBody7346303478738038454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203333764,"filename":"image_09042025_13_09_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/4/9/0937b777bad6a8fa07b21b084a7bf082.jpg","text":"TemporaryFile(/tmp/multipartBody8039949954740776378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203333764,"filename":"image_09042025_13_09_25_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c32c96f694d2fd114e14f25783d2505f.jpg","text":"TemporaryFile(/tmp/multipartBody5467703764317037655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203333764,"filename":"image_09042025_13_08_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/4/9/0c3582ab6b80297e3e4637d20b565141.jpg","text":"TemporaryFile(/tmp/multipartBody6376792067260934805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203333764,"filename":"image_09042025_13_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/4/9/1183e927accb6b9636db789672c1e8ae.jpg","text":"TemporaryFile(/tmp/multipartBody6441984718642497109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203333764,"filename":"image_09042025_13_08_15_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350787008","file1":"1350787002","file0":"1350786994","file4":"1350787015","file5":"1350787017","file3":"1350787012"},"map_files_photo_id_array":[{"photo_id":"1350787017","filename":"file5"},{"photo_id":"1350787008","filename":"file2"},{"photo_id":"1350787015","filename":"file4"},{"photo_id":"1350787002","filename":"file1"},{"photo_id":"1350786994","filename":"file0"},{"photo_id":"1350787012","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350787012":["hashtag1","hashtag2"]},{"1350787015":["hashtag1","hashtag2"]},{"1350787017":["hashtag1","hashtag2"]},{"1350787002":["hashtag1","hashtag2"]},{"1350787008":["hashtag1","hashtag2"]},{"1350786994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350787012, 1350787015, 1350787017, 1350787002, 1350787008, 1350786994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12510943412781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:55:32.276790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_35_9345.jpg', '/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_45_10408.jpg', '/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_55_9345.jpg', '/home/pi/Desktop/images/09042025/13/09/image_09042025_13_10_05_10399.jpg', '/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_15_10361.jpg', '/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_35_9345.jpg
/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_45_10408.jpg
/home/pi/Desktop/images/09042025/13/09/image_09042025_13_09_55_9345.jpg
/home/pi/Desktop/images/09042025/13/09/image_09042025_13_10_05_10399.jpg
/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_15_10361.jpg
/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_25_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":["1350787105","1350787119","1350787148","1350787049","1350787186","1350787078"],"photo_ids_order":["1350787049","1350787078","1350787105","1350787119","1350787148","1350787186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/044f91bdb96315a5685ff5b80168b78c.jpg","text":"TemporaryFile(/tmp/multipartBody5827000215315055901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203392711,"filename":"image_09042025_13_09_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/4/9/113f6ea237328528012b66569a770810.jpg","text":"TemporaryFile(/tmp/multipartBody4260119104347418775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203392711,"filename":"image_09042025_13_10_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/4/9/690365610d9baad76875484334a835dd.jpg","text":"TemporaryFile(/tmp/multipartBody8046658492459058361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203392711,"filename":"image_09042025_13_10_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/4/9/f5c05c98c737705823df81614dbd4a26.jpg","text":"TemporaryFile(/tmp/multipartBody4245981790184720236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203392711,"filename":"image_09042025_13_09_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/4/9/ffeab400927dfca92bd2317e49e423c7.jpg","text":"TemporaryFile(/tmp/multipartBody3092395384012353768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203392711,"filename":"image_09042025_13_10_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/4/9/7711176183b82cce1693655a46e5ba53.jpg","text":"TemporaryFile(/tmp/multipartBody1393974387827915791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203392711,"filename":"image_09042025_13_09_45_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350787105","file1":"1350787078","file0":"1350787049","file4":"1350787148","file5":"1350787186","file3":"1350787119"},"map_files_photo_id_array":[{"photo_id":"1350787186","filename":"file5"},{"photo_id":"1350787105","filename":"file2"},{"photo_id":"1350787148","filename":"file4"},{"photo_id":"1350787078","filename":"file1"},{"photo_id":"1350787049","filename":"file0"},{"photo_id":"1350787119","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350787105":["hashtag1","hashtag2"]},{"1350787119":["hashtag1","hashtag2"]},{"1350787148":["hashtag1","hashtag2"]},{"1350787049":["hashtag1","hashtag2"]},{"1350787186":["hashtag1","hashtag2"]},{"1350787078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350787105, 1350787119, 1350787148, 1350787049, 1350787186, 1350787078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45361018180847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:56:32.394969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_35_10404.jpg', '/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_45_10339.jpg', '/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_55_9354.jpg', '/home/pi/Desktop/images/09042025/13/10/image_09042025_13_11_05_10374.jpg', '/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_15_10343.jpg', '/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_25_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_35_10404.jpg
/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_45_10339.jpg
/home/pi/Desktop/images/09042025/13/10/image_09042025_13_10_55_9354.jpg
/home/pi/Desktop/images/09042025/13/10/image_09042025_13_11_05_10374.jpg
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_15_10343.jpg
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_25_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":["1350787593","1350787602","1350787556","1350787520","1350787597","1350787498"],"photo_ids_order":["1350787498","1350787520","1350787556","1350787593","1350787597","1350787602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44d00833bc1ae6884fe848d85855cb3e.jpg","text":"TemporaryFile(/tmp/multipartBody6999408579180548844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203452841,"filename":"image_09042025_13_11_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/4/9/6525ac6640a326601ba65c0d46cfd587.jpg","text":"TemporaryFile(/tmp/multipartBody8944532586386875821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203452841,"filename":"image_09042025_13_11_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88927be07e93425a802e97edf3f6911c.jpg","text":"TemporaryFile(/tmp/multipartBody6413420757503841533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203452841,"filename":"image_09042025_13_10_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/4/9/566ef509e597f2b7dcb77a736be13c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2578574574355983705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203452841,"filename":"image_09042025_13_10_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b3b60833a271c7a4a79ae1b5433336e4.jpg","text":"TemporaryFile(/tmp/multipartBody7698259067644376036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203452841,"filename":"image_09042025_13_11_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/4/9/0c88a6b225defecf888644f148f651f3.jpg","text":"TemporaryFile(/tmp/multipartBody4835061401372863034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203452841,"filename":"image_09042025_13_10_35_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350787556","file1":"1350787520","file0":"1350787498","file4":"1350787597","file5":"1350787602","file3":"1350787593"},"map_files_photo_id_array":[{"photo_id":"1350787602","filename":"file5"},{"photo_id":"1350787556","filename":"file2"},{"photo_id":"1350787597","filename":"file4"},{"photo_id":"1350787520","filename":"file1"},{"photo_id":"1350787498","filename":"file0"},{"photo_id":"1350787593","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350787593":["hashtag1","hashtag2"]},{"1350787602":["hashtag1","hashtag2"]},{"1350787556":["hashtag1","hashtag2"]},{"1350787520":["hashtag1","hashtag2"]},{"1350787597":["hashtag1","hashtag2"]},{"1350787498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350787593, 1350787602, 1350787556, 1350787520, 1350787597, 1350787498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.079895496368408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 14:57:32.654122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_35_10408.jpg', '/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_45_9347.jpg', '/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_55_10360.jpg', '/home/pi/Desktop/images/09042025/13/11/image_09042025_13_12_05_10466.jpg', '/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_15_9345.jpg', '/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_25_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_35_10408.jpg
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_45_9347.jpg
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_55_10360.jpg
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_12_05_10466.jpg
/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_15_9345.jpg
/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_25_10423.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 14:59:03.449897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_35_10408.jpg', '/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_45_9347.jpg', '/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_55_10360.jpg', '/home/pi/Desktop/images/09042025/13/11/image_09042025_13_12_05_10466.jpg', '/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_15_9345.jpg', '/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_25_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_35_10408.jpg
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_45_9347.jpg
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_11_55_10360.jpg
/home/pi/Desktop/images/09042025/13/11/image_09042025_13_12_05_10466.jpg
/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_15_9345.jpg
/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_25_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":["1350787746","1350787800","1350787737","1350787841","1350787730","1350787910"],"photo_ids_order":["1350787730","1350787737","1350787746","1350787800","1350787841","1350787910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a401ebdbd2c1fb62c9f2984f775437b.jpg","text":"TemporaryFile(/tmp/multipartBody29329609320300798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203605749,"filename":"image_09042025_13_11_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bb4e54e1622da58c3c7baf6045278c5d.jpg","text":"TemporaryFile(/tmp/multipartBody3326882589775917318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203605749,"filename":"image_09042025_13_12_05_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad103b1593d24ee1579c29778308a443.jpg","text":"TemporaryFile(/tmp/multipartBody1954347030966400608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203605749,"filename":"image_09042025_13_11_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/4/9/4163707241e8d1f9c6d947cd34c395ed.jpg","text":"TemporaryFile(/tmp/multipartBody3986916893044928755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203605749,"filename":"image_09042025_13_12_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/4/9/5c666c12d6526a3459bd42f3b1979941.jpg","text":"TemporaryFile(/tmp/multipartBody1429037031981850136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203605749,"filename":"image_09042025_13_11_35_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/436cdf5ef79c25b00aa354b40ab17a19.jpg","text":"TemporaryFile(/tmp/multipartBody6339065218906093198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203605749,"filename":"image_09042025_13_12_25_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350787746","file1":"1350787737","file0":"1350787730","file4":"1350787841","file5":"1350787910","file3":"1350787800"},"map_files_photo_id_array":[{"photo_id":"1350787910","filename":"file5"},{"photo_id":"1350787746","filename":"file2"},{"photo_id":"1350787841","filename":"file4"},{"photo_id":"1350787737","filename":"file1"},{"photo_id":"1350787730","filename":"file0"},{"photo_id":"1350787800","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350787746":["hashtag1","hashtag2"]},{"1350787800":["hashtag1","hashtag2"]},{"1350787737":["hashtag1","hashtag2"]},{"1350787841":["hashtag1","hashtag2"]},{"1350787730":["hashtag1","hashtag2"]},{"1350787910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350787746, 1350787800, 1350787737, 1350787841, 1350787730, 1350787910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.70978546142578 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 15:00:02.996945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_35_9355.jpg', '/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_45_10385.jpg', '/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_55_10416.jpg', '/home/pi/Desktop/images/09042025/13/12/image_09042025_13_13_05_9345.jpg', '/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_15_10436.jpg', '/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_24_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_35_9355.jpg
/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_45_10385.jpg
/home/pi/Desktop/images/09042025/13/12/image_09042025_13_12_55_10416.jpg
/home/pi/Desktop/images/09042025/13/12/image_09042025_13_13_05_9345.jpg
/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_15_10436.jpg
/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_24_9355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350788223","1350788202","1350788171","1350788194","1350788188","1350788164"],"photo_ids_order":["1350788164","1350788171","1350788188","1350788194","1350788202","1350788223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/163336a96428d05efb17055f9aa16a42.jpg","text":"TemporaryFile(/tmp/multipartBody6129238160728028138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203663525,"filename":"image_09042025_13_13_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/4/9/bc5e2774b9dc2f057fad8763cd44c993.jpg","text":"TemporaryFile(/tmp/multipartBody4110502079981134965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203663525,"filename":"image_09042025_13_13_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/4/9/bc97ac4dfafd81fb92dcc288507c9813.jpg","text":"TemporaryFile(/tmp/multipartBody4669284676042832423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203663525,"filename":"image_09042025_13_12_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/4/9/f516402565e90e52cbb5c280c00d8c50.jpg","text":"TemporaryFile(/tmp/multipartBody2471430103180317948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203663525,"filename":"image_09042025_13_13_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/4/9/5af1c16f1a3fb5f1c9ad91626a157922.jpg","text":"TemporaryFile(/tmp/multipartBody1503334230323657052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203663525,"filename":"image_09042025_13_12_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/4/9/35febcd130607f5ee94439e1468353c1.jpg","text":"TemporaryFile(/tmp/multipartBody5469144203909744643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203663525,"filename":"image_09042025_13_12_35_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350788188","file1":"1350788171","file0":"1350788164","file4":"1350788202","file5":"1350788223","file3":"1350788194"},"map_files_photo_id_array":[{"photo_id":"1350788223","filename":"file5"},{"photo_id":"1350788188","filename":"file2"},{"photo_id":"1350788202","filename":"file4"},{"photo_id":"1350788171","filename":"file1"},{"photo_id":"1350788164","filename":"file0"},{"photo_id":"1350788194","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350788223":["hashtag1","hashtag2"]},{"1350788202":["hashtag1","hashtag2"]},{"1350788171":["hashtag1","hashtag2"]},{"1350788194":["hashtag1","hashtag2"]},{"1350788188":["hashtag1","hashtag2"]},{"1350788164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350788223, 1350788202, 1350788171, 1350788194, 1350788188, 1350788164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23607921600342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 15:00:42.447498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_35_10368.jpg', '/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_45_10362.jpg', '/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_55_9352.jpg', '/home/pi/Desktop/images/09042025/13/13/image_09042025_13_14_05_10491.jpg', '/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_15_10348.jpg', '/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_25_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_35_10368.jpg
/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_45_10362.jpg
/home/pi/Desktop/images/09042025/13/13/image_09042025_13_13_55_9352.jpg
/home/pi/Desktop/images/09042025/13/13/image_09042025_13_14_05_10491.jpg
/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_15_10348.jpg
/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_25_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350788331","1350788247","1350788291","1350788321","1350788296","1350788242"],"photo_ids_order":["1350788242","1350788247","1350788291","1350788296","1350788321","1350788331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3319330a817fc6e7184cfdfe7e96beb9.jpg","text":"TemporaryFile(/tmp/multipartBody558943780047210671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203702897,"filename":"image_09042025_13_14_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/4/9/0dad8a357a084f5bfeefc822dd4ccb95.jpg","text":"TemporaryFile(/tmp/multipartBody1689665803650467950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203702897,"filename":"image_09042025_13_13_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/4/9/fbd32c19a65320c438ae73a2304acd90.jpg","text":"TemporaryFile(/tmp/multipartBody5095013358582122278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203702897,"filename":"image_09042025_13_13_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/4/9/5ee34f4b5ae7964884934b4e62a5d616.jpg","text":"TemporaryFile(/tmp/multipartBody4039104134766973293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203702897,"filename":"image_09042025_13_14_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/4/9/2bb835012852096799378d82bb0a0940.jpg","text":"TemporaryFile(/tmp/multipartBody5697160001652023550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203702897,"filename":"image_09042025_13_14_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/4/9/499b4909a057cbac091f5403de7f600a.jpg","text":"TemporaryFile(/tmp/multipartBody8397667247929869098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203702897,"filename":"image_09042025_13_13_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350788291","file1":"1350788247","file0":"1350788242","file4":"1350788321","file5":"1350788331","file3":"1350788296"},"map_files_photo_id_array":[{"photo_id":"1350788331","filename":"file5"},{"photo_id":"1350788291","filename":"file2"},{"photo_id":"1350788321","filename":"file4"},{"photo_id":"1350788247","filename":"file1"},{"photo_id":"1350788242","filename":"file0"},{"photo_id":"1350788296","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350788331":["hashtag1","hashtag2"]},{"1350788247":["hashtag1","hashtag2"]},{"1350788291":["hashtag1","hashtag2"]},{"1350788321":["hashtag1","hashtag2"]},{"1350788296":["hashtag1","hashtag2"]},{"1350788242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350788331, 1350788247, 1350788291, 1350788321, 1350788296, 1350788242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53809404373169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:01:32.763560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_35_10403.jpg', '/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_45_9341.jpg', '/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_55_10371.jpg', '/home/pi/Desktop/images/09042025/13/14/image_09042025_13_15_05_10361.jpg', '/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_15_9346.jpg', '/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_35_10403.jpg
/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_45_9341.jpg
/home/pi/Desktop/images/09042025/13/14/image_09042025_13_14_55_10371.jpg
/home/pi/Desktop/images/09042025/13/14/image_09042025_13_15_05_10361.jpg
/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_15_9346.jpg
/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_25_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350788460","1350788459","1350788408","1350788446","1350788404","1350788413"],"photo_ids_order":["1350788404","1350788408","1350788413","1350788446","1350788459","1350788460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b0736921c638004ac419f1e0c0a78de.jpg","text":"TemporaryFile(/tmp/multipartBody180982537109671078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203753219,"filename":"image_09042025_13_15_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/4/9/80eb63c5606ee2dc057b216530aa7594.jpg","text":"TemporaryFile(/tmp/multipartBody2974186202625792664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203753219,"filename":"image_09042025_13_15_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/4/9/c83c7c986d6d5d4d3c46e65c838b388a.jpg","text":"TemporaryFile(/tmp/multipartBody8617100450811592782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203753219,"filename":"image_09042025_13_14_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/4/9/5a2ea033455e8e154fba43b02ca2676f.jpg","text":"TemporaryFile(/tmp/multipartBody4950814786997502063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203753219,"filename":"image_09042025_13_15_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/4/9/cce2adb87a66eac361c4b32952581f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6841788857204698813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203753219,"filename":"image_09042025_13_14_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/4/9/528da66be5e41a1c281e3ad1215a5f61.jpg","text":"TemporaryFile(/tmp/multipartBody2170553668329504290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203753219,"filename":"image_09042025_13_14_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350788413","file1":"1350788408","file0":"1350788404","file4":"1350788459","file5":"1350788460","file3":"1350788446"},"map_files_photo_id_array":[{"photo_id":"1350788460","filename":"file5"},{"photo_id":"1350788413","filename":"file2"},{"photo_id":"1350788459","filename":"file4"},{"photo_id":"1350788408","filename":"file1"},{"photo_id":"1350788404","filename":"file0"},{"photo_id":"1350788446","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350788460":["hashtag1","hashtag2"]},{"1350788459":["hashtag1","hashtag2"]},{"1350788408":["hashtag1","hashtag2"]},{"1350788446":["hashtag1","hashtag2"]},{"1350788404":["hashtag1","hashtag2"]},{"1350788413":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350788460, 1350788459, 1350788408, 1350788446, 1350788404, 1350788413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.566750288009644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:02:32.989569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_35_10379.jpg', '/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_45_9370.jpg', '/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_55_10455.jpg', '/home/pi/Desktop/images/09042025/13/15/image_09042025_13_16_05_9339.jpg', '/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_15_10347.jpg', '/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_25_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_35_10379.jpg
/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_45_9370.jpg
/home/pi/Desktop/images/09042025/13/15/image_09042025_13_15_55_10455.jpg
/home/pi/Desktop/images/09042025/13/15/image_09042025_13_16_05_9339.jpg
/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_15_10347.jpg
/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_25_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350788571","1350788574","1350788570","1350788620","1350788623","1350788617"],"photo_ids_order":["1350788570","1350788571","1350788574","1350788617","1350788620","1350788623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/804823d5cbefe14602e167c54b2f04b2.jpg","text":"TemporaryFile(/tmp/multipartBody1592032243109699449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203813440,"filename":"image_09042025_13_15_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/4/9/484df8874071ef1f12dd042a6a21c6ec.jpg","text":"TemporaryFile(/tmp/multipartBody4779438157807061143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203813440,"filename":"image_09042025_13_15_55_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5e5345465de75f0c6d97de04d9abd8cc.jpg","text":"TemporaryFile(/tmp/multipartBody6037417455969340941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203813440,"filename":"image_09042025_13_15_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/4/9/74daebf0161f3178defe671ae5ebf980.jpg","text":"TemporaryFile(/tmp/multipartBody8108021486996410766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203813440,"filename":"image_09042025_13_16_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/4/9/8ce6974c1f5432204501dfd8caa217f9.jpg","text":"TemporaryFile(/tmp/multipartBody1964690894792425573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203813440,"filename":"image_09042025_13_16_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a49f4e943c15c7005671bd426e0cd4c.jpg","text":"TemporaryFile(/tmp/multipartBody3047047170449672739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203813440,"filename":"image_09042025_13_16_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350788574","file1":"1350788571","file0":"1350788570","file4":"1350788620","file5":"1350788623","file3":"1350788617"},"map_files_photo_id_array":[{"photo_id":"1350788623","filename":"file5"},{"photo_id":"1350788574","filename":"file2"},{"photo_id":"1350788620","filename":"file4"},{"photo_id":"1350788571","filename":"file1"},{"photo_id":"1350788570","filename":"file0"},{"photo_id":"1350788617","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350788571":["hashtag1","hashtag2"]},{"1350788574":["hashtag1","hashtag2"]},{"1350788570":["hashtag1","hashtag2"]},{"1350788620":["hashtag1","hashtag2"]},{"1350788623":["hashtag1","hashtag2"]},{"1350788617":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350788571, 1350788574, 1350788570, 1350788620, 1350788623, 1350788617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73378038406372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:03:33.179840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_35_9337.jpg', '/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_45_10466.jpg', '/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_55_10353.jpg', '/home/pi/Desktop/images/09042025/13/16/image_09042025_13_17_05_9329.jpg', '/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_15_10340.jpg', '/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_24_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_35_9337.jpg
/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_45_10466.jpg
/home/pi/Desktop/images/09042025/13/16/image_09042025_13_16_55_10353.jpg
/home/pi/Desktop/images/09042025/13/16/image_09042025_13_17_05_9329.jpg
/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_15_10340.jpg
/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_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":["1350788841","1350788865","1350788885","1350788776","1350788863","1350788803"],"photo_ids_order":["1350788776","1350788803","1350788841","1350788863","1350788865","1350788885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48630d635c7fea889978dcdb97c4c632.jpg","text":"TemporaryFile(/tmp/multipartBody8024527906043911799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203873643,"filename":"image_09042025_13_16_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/4/9/104a472c3cfeeb36ba661521d2b968e9.jpg","text":"TemporaryFile(/tmp/multipartBody4462696787958113230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203873643,"filename":"image_09042025_13_17_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/4/9/a88ef64b19be4700bd53b142583d13c7.jpg","text":"TemporaryFile(/tmp/multipartBody7816273016276000841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203873643,"filename":"image_09042025_13_17_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/4/9/fdf08451c4e10d1976bbf18df4a3bfef.jpg","text":"TemporaryFile(/tmp/multipartBody2261407969515859642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203873643,"filename":"image_09042025_13_16_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/4/9/4f484c559b9ecaa2baa578dca76b1075.jpg","text":"TemporaryFile(/tmp/multipartBody3449383529437781184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203873643,"filename":"image_09042025_13_17_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/4/9/e8d3171df532ee98d8a59b1ccb2cd693.jpg","text":"TemporaryFile(/tmp/multipartBody1448369142189350240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203873643,"filename":"image_09042025_13_16_45_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350788841","file1":"1350788803","file0":"1350788776","file4":"1350788865","file5":"1350788885","file3":"1350788863"},"map_files_photo_id_array":[{"photo_id":"1350788885","filename":"file5"},{"photo_id":"1350788841","filename":"file2"},{"photo_id":"1350788865","filename":"file4"},{"photo_id":"1350788803","filename":"file1"},{"photo_id":"1350788776","filename":"file0"},{"photo_id":"1350788863","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350788841":["hashtag1","hashtag2"]},{"1350788865":["hashtag1","hashtag2"]},{"1350788885":["hashtag1","hashtag2"]},{"1350788776":["hashtag1","hashtag2"]},{"1350788863":["hashtag1","hashtag2"]},{"1350788803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350788841, 1350788865, 1350788885, 1350788776, 1350788863, 1350788803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41558074951172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:04:32.343236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_35_10354.jpg', '/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_45_10336.jpg', '/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_55_9363.jpg', '/home/pi/Desktop/images/09042025/13/17/image_09042025_13_18_05_10411.jpg', '/home/pi/Desktop/images/09042025/13/18/image_09042025_13_18_15_10334.jpg', '/home/pi/Desktop/images/09042025/13/18/image_09042025_13_18_25_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_35_10354.jpg
/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_45_10336.jpg
/home/pi/Desktop/images/09042025/13/17/image_09042025_13_17_55_9363.jpg
/home/pi/Desktop/images/09042025/13/17/image_09042025_13_18_05_10411.jpg
/home/pi/Desktop/images/09042025/13/18/image_09042025_13_18_15_10334.jpg
/home/pi/Desktop/images/09042025/13/18/image_09042025_13_18_25_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350789210","1350789181","1350789097","1350789163","1350789151","1350789127"],"photo_ids_order":["1350789097","1350789127","1350789151","1350789163","1350789181","1350789210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/340518d3dbb68a6e57dba280fa8d0e37.jpg","text":"TemporaryFile(/tmp/multipartBody7718966963604861854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203932801,"filename":"image_09042025_13_18_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/4/9/fc181d93f193e4821550eec14f3f8576.jpg","text":"TemporaryFile(/tmp/multipartBody3255837354380959219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203932801,"filename":"image_09042025_13_18_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/4/9/12dd28275ffd31ac19a1143b851f3f67.jpg","text":"TemporaryFile(/tmp/multipartBody48380579412403332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203932801,"filename":"image_09042025_13_17_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/4/9/92d72b778c9a98ec48b697660abf1230.jpg","text":"TemporaryFile(/tmp/multipartBody363756313764355864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203932801,"filename":"image_09042025_13_18_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e034c543a739703899b9b4823838fe5d.jpg","text":"TemporaryFile(/tmp/multipartBody5893124613343770771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203932801,"filename":"image_09042025_13_17_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2cefee70c0b96fc2bfafcd1d9152fa49.jpg","text":"TemporaryFile(/tmp/multipartBody6622419975626973169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203932801,"filename":"image_09042025_13_17_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350789151","file1":"1350789127","file0":"1350789097","file4":"1350789181","file5":"1350789210","file3":"1350789163"},"map_files_photo_id_array":[{"photo_id":"1350789210","filename":"file5"},{"photo_id":"1350789151","filename":"file2"},{"photo_id":"1350789181","filename":"file4"},{"photo_id":"1350789127","filename":"file1"},{"photo_id":"1350789097","filename":"file0"},{"photo_id":"1350789163","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350789210":["hashtag1","hashtag2"]},{"1350789181":["hashtag1","hashtag2"]},{"1350789097":["hashtag1","hashtag2"]},{"1350789163":["hashtag1","hashtag2"]},{"1350789151":["hashtag1","hashtag2"]},{"1350789127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350789210, 1350789181, 1350789097, 1350789163, 1350789151, 1350789127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4292778968811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:05:32.649882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/18/image_09042025_13_18_35_10425.jpg', '/home/pi/Desktop/images/09042025/13/18/image_09042025_13_18_45_10338.jpg', '/home/pi/Desktop/images/09042025/13/18/image_09042025_13_19_05_10353.jpg', '/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_14_9370.jpg', '/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_25_10437.jpg', '/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_35_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/18/image_09042025_13_18_35_10425.jpg
/home/pi/Desktop/images/09042025/13/18/image_09042025_13_18_45_10338.jpg
/home/pi/Desktop/images/09042025/13/18/image_09042025_13_19_05_10353.jpg
/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_14_9370.jpg
/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_25_10437.jpg
/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_35_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350789429","1350789504","1350789527","1350789555","1350789471","1350789444"],"photo_ids_order":["1350789429","1350789444","1350789471","1350789504","1350789527","1350789555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad84763e66ec64adb5256aaa415958dc.jpg","text":"TemporaryFile(/tmp/multipartBody8052830908413615791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203993107,"filename":"image_09042025_13_18_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/4/9/98398c1868ce57a2809619fa59152ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3137695459366717410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203993107,"filename":"image_09042025_13_19_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/4/9/28f8465a067d89a1f15ee83001831df3.jpg","text":"TemporaryFile(/tmp/multipartBody1326473368798644694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203993107,"filename":"image_09042025_13_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/4/9/c79679be30ea77fd495eaede63578111.jpg","text":"TemporaryFile(/tmp/multipartBody3375378042782827927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203993107,"filename":"image_09042025_13_19_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6fbb4779aad35d0bea2106561c60d00f.jpg","text":"TemporaryFile(/tmp/multipartBody8061665361837379973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203993107,"filename":"image_09042025_13_19_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/4/9/5a3c77761732489b16c158b69f03bb18.jpg","text":"TemporaryFile(/tmp/multipartBody8067128221156726106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744203993107,"filename":"image_09042025_13_18_45_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350789471","file1":"1350789444","file0":"1350789429","file4":"1350789527","file5":"1350789555","file3":"1350789504"},"map_files_photo_id_array":[{"photo_id":"1350789555","filename":"file5"},{"photo_id":"1350789471","filename":"file2"},{"photo_id":"1350789527","filename":"file4"},{"photo_id":"1350789444","filename":"file1"},{"photo_id":"1350789429","filename":"file0"},{"photo_id":"1350789504","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350789429":["hashtag1","hashtag2"]},{"1350789504":["hashtag1","hashtag2"]},{"1350789527":["hashtag1","hashtag2"]},{"1350789555":["hashtag1","hashtag2"]},{"1350789471":["hashtag1","hashtag2"]},{"1350789444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350789429, 1350789504, 1350789527, 1350789555, 1350789471, 1350789444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10317873954773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:06:32.819447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_45_9412.jpg', '/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_55_10405.jpg', '/home/pi/Desktop/images/09042025/13/19/image_09042025_13_20_05_10345.jpg', '/home/pi/Desktop/images/09042025/13/20/image_09042025_13_20_25_10373.jpg', '/home/pi/Desktop/images/09042025/13/20/image_09042025_13_20_34_9357.jpg', '/home/pi/Desktop/images/09042025/13/20/image_09042025_13_20_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_45_9412.jpg
/home/pi/Desktop/images/09042025/13/19/image_09042025_13_19_55_10405.jpg
/home/pi/Desktop/images/09042025/13/19/image_09042025_13_20_05_10345.jpg
/home/pi/Desktop/images/09042025/13/20/image_09042025_13_20_25_10373.jpg
/home/pi/Desktop/images/09042025/13/20/image_09042025_13_20_34_9357.jpg
/home/pi/Desktop/images/09042025/13/20/image_09042025_13_20_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":["1350789713","1350789722","1350789716","1350789719","1350789706","1350789709"],"photo_ids_order":["1350789706","1350789709","1350789713","1350789716","1350789719","1350789722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b804fa0895518af18b02f9d09b07730.jpg","text":"TemporaryFile(/tmp/multipartBody5835786694224016756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204053285,"filename":"image_09042025_13_20_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/4/9/bbcb3df8d4eec1bac7a0e58c619d0ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1457854420955066735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204053285,"filename":"image_09042025_13_20_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/4/9/001d8be01a22e07ee8907b548ed9f549.jpg","text":"TemporaryFile(/tmp/multipartBody508161279515045740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204053285,"filename":"image_09042025_13_20_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7451d8cdcc9b20a574c3f362acb07efd.jpg","text":"TemporaryFile(/tmp/multipartBody8067967155462458909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204053285,"filename":"image_09042025_13_20_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/4/9/923853722df9107747a0f21f5b9c83f3.jpg","text":"TemporaryFile(/tmp/multipartBody73579448348064483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204053285,"filename":"image_09042025_13_19_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/4/9/29055df99b9cc0942912de61f0386e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4154912668834750490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204053285,"filename":"image_09042025_13_19_55_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350789713","file1":"1350789709","file0":"1350789706","file4":"1350789719","file5":"1350789722","file3":"1350789716"},"map_files_photo_id_array":[{"photo_id":"1350789722","filename":"file5"},{"photo_id":"1350789713","filename":"file2"},{"photo_id":"1350789719","filename":"file4"},{"photo_id":"1350789709","filename":"file1"},{"photo_id":"1350789706","filename":"file0"},{"photo_id":"1350789716","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350789713":["hashtag1","hashtag2"]},{"1350789722":["hashtag1","hashtag2"]},{"1350789716":["hashtag1","hashtag2"]},{"1350789719":["hashtag1","hashtag2"]},{"1350789706":["hashtag1","hashtag2"]},{"1350789709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350789713, 1350789722, 1350789716, 1350789719, 1350789706, 1350789709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.984110593795776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:07:33.051768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/20/image_09042025_13_20_55_10376.jpg', '/home/pi/Desktop/images/09042025/13/20/image_09042025_13_21_05_9364.jpg', '/home/pi/Desktop/images/09042025/13/21/image_09042025_13_21_15_10367.jpg', '/home/pi/Desktop/images/09042025/13/21/image_09042025_13_21_25_9542.jpg', '/home/pi/Desktop/images/09042025/13/21/image_09042025_13_21_35_10357.jpg', '/home/pi/Desktop/images/09042025/13/21/image_09042025_13_21_55_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/20/image_09042025_13_20_55_10376.jpg
/home/pi/Desktop/images/09042025/13/20/image_09042025_13_21_05_9364.jpg
/home/pi/Desktop/images/09042025/13/21/image_09042025_13_21_15_10367.jpg
/home/pi/Desktop/images/09042025/13/21/image_09042025_13_21_25_9542.jpg
/home/pi/Desktop/images/09042025/13/21/image_09042025_13_21_35_10357.jpg
/home/pi/Desktop/images/09042025/13/21/image_09042025_13_21_55_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350789939","1350789947","1350789949","1350789946","1350790036","1350789942"],"photo_ids_order":["1350789939","1350789942","1350789946","1350789947","1350789949","1350790036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9460624f1baef7d83a22a84eda7a0966.jpg","text":"TemporaryFile(/tmp/multipartBody5360331089501224317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204113518,"filename":"image_09042025_13_20_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/4/9/f005ec0050b408a5349ebc38a75dc4a5.jpg","text":"TemporaryFile(/tmp/multipartBody4564420118487457500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204113518,"filename":"image_09042025_13_21_25_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4fd97ed51db5a604af780b6b5222c332.jpg","text":"TemporaryFile(/tmp/multipartBody9161397669185785547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204113518,"filename":"image_09042025_13_21_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/4/9/c09fc8451ad94b15dfe9faef704cafa5.jpg","text":"TemporaryFile(/tmp/multipartBody307477279455533160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204113518,"filename":"image_09042025_13_21_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/4/9/c814909b86d96f7a30bd6a06b8cddff5.jpg","text":"TemporaryFile(/tmp/multipartBody8360986982248523880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204113518,"filename":"image_09042025_13_21_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/4/9/72ee037d2bf37bdb156bcad8afc058cc.jpg","text":"TemporaryFile(/tmp/multipartBody4814598794576121828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204113518,"filename":"image_09042025_13_21_05_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350789946","file1":"1350789942","file0":"1350789939","file4":"1350789949","file5":"1350790036","file3":"1350789947"},"map_files_photo_id_array":[{"photo_id":"1350790036","filename":"file5"},{"photo_id":"1350789946","filename":"file2"},{"photo_id":"1350789949","filename":"file4"},{"photo_id":"1350789942","filename":"file1"},{"photo_id":"1350789939","filename":"file0"},{"photo_id":"1350789947","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350789939":["hashtag1","hashtag2"]},{"1350789947":["hashtag1","hashtag2"]},{"1350789949":["hashtag1","hashtag2"]},{"1350789946":["hashtag1","hashtag2"]},{"1350790036":["hashtag1","hashtag2"]},{"1350789942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350789939, 1350789947, 1350789949, 1350789946, 1350790036, 1350789942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.49755549430847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:08:32.395456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/21/image_09042025_13_22_05_10354.jpg', '/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_15_10416.jpg', '/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_25_9346.jpg', '/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_35_10402.jpg', '/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_45_10368.jpg', '/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_55_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/21/image_09042025_13_22_05_10354.jpg
/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_15_10416.jpg
/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_25_9346.jpg
/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_35_10402.jpg
/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_45_10368.jpg
/home/pi/Desktop/images/09042025/13/22/image_09042025_13_22_55_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":["1350790461","1350790353","1350790308","1350790439","1350790387","1350790491"],"photo_ids_order":["1350790308","1350790353","1350790387","1350790439","1350790461","1350790491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/687a3af1d96b7b0429b1a8d69c612f53.jpg","text":"TemporaryFile(/tmp/multipartBody3126059695636075251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204172874,"filename":"image_09042025_13_22_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/4/9/b4cfe574bdf6a36dee6f0d4e792c59d0.jpg","text":"TemporaryFile(/tmp/multipartBody4736039590252525992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204172874,"filename":"image_09042025_13_22_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/4/9/4ec58f52551d40a9cff8bfd119970a66.jpg","text":"TemporaryFile(/tmp/multipartBody6935075503239553796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204172874,"filename":"image_09042025_13_22_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26e657ab6a25ef4885b5a174f32877f5.jpg","text":"TemporaryFile(/tmp/multipartBody3204877470805584271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204172874,"filename":"image_09042025_13_22_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/4/9/55cc2c337c86325b9f9a2954f468e89a.jpg","text":"TemporaryFile(/tmp/multipartBody1810837067981097114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204172874,"filename":"image_09042025_13_22_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/4/9/5e50df23ac5242c5ba9452a15fab713e.jpg","text":"TemporaryFile(/tmp/multipartBody1567023771712313625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204172874,"filename":"image_09042025_13_22_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350790387","file1":"1350790353","file0":"1350790308","file4":"1350790461","file5":"1350790491","file3":"1350790439"},"map_files_photo_id_array":[{"photo_id":"1350790491","filename":"file5"},{"photo_id":"1350790387","filename":"file2"},{"photo_id":"1350790461","filename":"file4"},{"photo_id":"1350790353","filename":"file1"},{"photo_id":"1350790308","filename":"file0"},{"photo_id":"1350790439","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350790461":["hashtag1","hashtag2"]},{"1350790353":["hashtag1","hashtag2"]},{"1350790308":["hashtag1","hashtag2"]},{"1350790439":["hashtag1","hashtag2"]},{"1350790387":["hashtag1","hashtag2"]},{"1350790491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350790461, 1350790353, 1350790308, 1350790439, 1350790387, 1350790491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.555611610412598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:09:32.596091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/22/image_09042025_13_23_05_10360.jpg', '/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_15_9338.jpg', '/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_25_10376.jpg', '/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_35_10442.jpg', '/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_45_9355.jpg', '/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_55_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/22/image_09042025_13_23_05_10360.jpg
/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_15_9338.jpg
/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_25_10376.jpg
/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_35_10442.jpg
/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_45_9355.jpg
/home/pi/Desktop/images/09042025/13/23/image_09042025_13_23_55_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":["1350790920","1350790842","1350791006","1350790798","1350790987","1350791031"],"photo_ids_order":["1350790798","1350790842","1350790920","1350790987","1350791006","1350791031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e8e1487bc154e6537acc4612bbb74dc.jpg","text":"TemporaryFile(/tmp/multipartBody266614911534510913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204233055,"filename":"image_09042025_13_23_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/4/9/de14cea7c1338777a64cdd299cff9e28.jpg","text":"TemporaryFile(/tmp/multipartBody6502952964565792231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204233055,"filename":"image_09042025_13_23_15_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/774e55c09b3052018817ef3647ae2794.jpg","text":"TemporaryFile(/tmp/multipartBody8016688538437649571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204233055,"filename":"image_09042025_13_23_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/4/9/a0c8d65618a8c9d21e2fbe10441fe4a4.jpg","text":"TemporaryFile(/tmp/multipartBody8007834633759939916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204233055,"filename":"image_09042025_13_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/4/9/c38279fbd1762df4d71fc143c9048620.jpg","text":"TemporaryFile(/tmp/multipartBody8479681134202891987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204233055,"filename":"image_09042025_13_23_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/4/9/bba8ff4c40c57727cbfd3c17197acc09.jpg","text":"TemporaryFile(/tmp/multipartBody7110445560353315719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204233055,"filename":"image_09042025_13_23_55_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350790920","file1":"1350790842","file0":"1350790798","file4":"1350791006","file5":"1350791031","file3":"1350790987"},"map_files_photo_id_array":[{"photo_id":"1350791031","filename":"file5"},{"photo_id":"1350790920","filename":"file2"},{"photo_id":"1350791006","filename":"file4"},{"photo_id":"1350790842","filename":"file1"},{"photo_id":"1350790798","filename":"file0"},{"photo_id":"1350790987","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350790920":["hashtag1","hashtag2"]},{"1350790842":["hashtag1","hashtag2"]},{"1350791006":["hashtag1","hashtag2"]},{"1350790798":["hashtag1","hashtag2"]},{"1350790987":["hashtag1","hashtag2"]},{"1350791031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350790920, 1350790842, 1350791006, 1350790798, 1350790987, 1350791031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36785101890564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:10:32.841322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/23/image_09042025_13_24_05_9417.jpg', '/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_15_10347.jpg', '/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_25_10418.jpg', '/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_35_9336.jpg', '/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_45_10488.jpg', '/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_55_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/23/image_09042025_13_24_05_9417.jpg
/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_15_10347.jpg
/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_25_10418.jpg
/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_35_9336.jpg
/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_45_10488.jpg
/home/pi/Desktop/images/09042025/13/24/image_09042025_13_24_55_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":["1350791115","1350791186","1350791092","1350791161","1350791137","1350791203"],"photo_ids_order":["1350791092","1350791115","1350791137","1350791161","1350791186","1350791203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2d1aba1580036d1e665677a671291f2.jpg","text":"TemporaryFile(/tmp/multipartBody6788543331843641475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204293383,"filename":"image_09042025_13_24_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/4/9/02fc1ebf063f25fb7e6c6ad8defdd69f.jpg","text":"TemporaryFile(/tmp/multipartBody945855146533835781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204293383,"filename":"image_09042025_13_24_45_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc8b001d54ae2e20b0442136c20b193a.jpg","text":"TemporaryFile(/tmp/multipartBody1863735887020845474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204293383,"filename":"image_09042025_13_24_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/448ee3cafb2294565a6f08641ade1db7.jpg","text":"TemporaryFile(/tmp/multipartBody6181882952458187581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204293383,"filename":"image_09042025_13_24_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/4/9/a7c5433e5983be49de5b27cb465e57f1.jpg","text":"TemporaryFile(/tmp/multipartBody4737643342782929096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204293383,"filename":"image_09042025_13_24_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/4/9/db40009aa329eb117b926daf4fc19854.jpg","text":"TemporaryFile(/tmp/multipartBody7043153384772264574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204293383,"filename":"image_09042025_13_24_55_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350791137","file1":"1350791115","file0":"1350791092","file4":"1350791186","file5":"1350791203","file3":"1350791161"},"map_files_photo_id_array":[{"photo_id":"1350791203","filename":"file5"},{"photo_id":"1350791137","filename":"file2"},{"photo_id":"1350791186","filename":"file4"},{"photo_id":"1350791115","filename":"file1"},{"photo_id":"1350791092","filename":"file0"},{"photo_id":"1350791161","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350791115":["hashtag1","hashtag2"]},{"1350791186":["hashtag1","hashtag2"]},{"1350791092":["hashtag1","hashtag2"]},{"1350791161":["hashtag1","hashtag2"]},{"1350791137":["hashtag1","hashtag2"]},{"1350791203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350791115, 1350791186, 1350791092, 1350791161, 1350791137, 1350791203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73746347427368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:11:33.080920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/24/image_09042025_13_25_05_10346.jpg', '/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_15_10402.jpg', '/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_25_9357.jpg', '/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_35_10453.jpg', '/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_45_10363.jpg', '/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_55_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/24/image_09042025_13_25_05_10346.jpg
/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_15_10402.jpg
/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_25_9357.jpg
/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_35_10453.jpg
/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_45_10363.jpg
/home/pi/Desktop/images/09042025/13/25/image_09042025_13_25_55_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":["1350791291","1350791294","1350791267","1350791287","1350791347","1350791316"],"photo_ids_order":["1350791267","1350791287","1350791291","1350791294","1350791316","1350791347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/664a3ae958e43e7d5e96ab738c24dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody8801499652778557960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204353557,"filename":"image_09042025_13_25_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/4/9/134faacf256db7b06c646f9e18dd3913.jpg","text":"TemporaryFile(/tmp/multipartBody1932575279576160617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204353557,"filename":"image_09042025_13_25_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/4/9/091cc99b5ae25a6f39c7bc0e0734850d.jpg","text":"TemporaryFile(/tmp/multipartBody897155231495090451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204353557,"filename":"image_09042025_13_25_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/4/9/0a4c312b9429c2b93039277d64415f84.jpg","text":"TemporaryFile(/tmp/multipartBody1110195329045722393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204353557,"filename":"image_09042025_13_25_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/4/9/e0d05396fbdc043b92adf4a78cef5da3.jpg","text":"TemporaryFile(/tmp/multipartBody3368665583630007080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204353557,"filename":"image_09042025_13_25_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b374f5ed6fc56b8fc483ea8904ccc782.jpg","text":"TemporaryFile(/tmp/multipartBody746172374072361144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204353557,"filename":"image_09042025_13_25_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350791291","file1":"1350791287","file0":"1350791267","file4":"1350791316","file5":"1350791347","file3":"1350791294"},"map_files_photo_id_array":[{"photo_id":"1350791347","filename":"file5"},{"photo_id":"1350791291","filename":"file2"},{"photo_id":"1350791316","filename":"file4"},{"photo_id":"1350791287","filename":"file1"},{"photo_id":"1350791267","filename":"file0"},{"photo_id":"1350791294","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350791291":["hashtag1","hashtag2"]},{"1350791294":["hashtag1","hashtag2"]},{"1350791267":["hashtag1","hashtag2"]},{"1350791287":["hashtag1","hashtag2"]},{"1350791347":["hashtag1","hashtag2"]},{"1350791316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350791291, 1350791294, 1350791267, 1350791287, 1350791347, 1350791316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.928369998931885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:12:32.349972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/25/image_09042025_13_26_05_10468.jpg', '/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_15_9352.jpg', '/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_25_10420.jpg', '/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_35_10344.jpg', '/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_45_9363.jpg', '/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/25/image_09042025_13_26_05_10468.jpg
/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_15_9352.jpg
/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_25_10420.jpg
/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_35_10344.jpg
/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_45_9363.jpg
/home/pi/Desktop/images/09042025/13/26/image_09042025_13_26_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":["1350791762","1350791684","1350791543","1350791593","1350791668","1350791716"],"photo_ids_order":["1350791543","1350791593","1350791668","1350791684","1350791716","1350791762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1315a70c3b54d59ce1862f4b6adb4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4115243953505774332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204412815,"filename":"image_09042025_13_26_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7828dbd3584492e01bd2df16337aa04f.jpg","text":"TemporaryFile(/tmp/multipartBody7028558540714329382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204412815,"filename":"image_09042025_13_26_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/4/9/c9382e8b3290e09a49cc8b3e97b0901f.jpg","text":"TemporaryFile(/tmp/multipartBody4795216737763292126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204412815,"filename":"image_09042025_13_26_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/084dba828984461edf2a809bfd1054e1.jpg","text":"TemporaryFile(/tmp/multipartBody1263694106013176551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204412815,"filename":"image_09042025_13_26_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/4/9/7354a3c161cc7c34c3be481056db6a3e.jpg","text":"TemporaryFile(/tmp/multipartBody9028811700403802039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204412815,"filename":"image_09042025_13_26_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/4/9/37ed4bff228d1a197d485abc25da1d42.jpg","text":"TemporaryFile(/tmp/multipartBody4399639073981529623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204412815,"filename":"image_09042025_13_26_45_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350791668","file1":"1350791593","file0":"1350791543","file4":"1350791716","file5":"1350791762","file3":"1350791684"},"map_files_photo_id_array":[{"photo_id":"1350791762","filename":"file5"},{"photo_id":"1350791668","filename":"file2"},{"photo_id":"1350791716","filename":"file4"},{"photo_id":"1350791593","filename":"file1"},{"photo_id":"1350791543","filename":"file0"},{"photo_id":"1350791684","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350791762":["hashtag1","hashtag2"]},{"1350791684":["hashtag1","hashtag2"]},{"1350791543":["hashtag1","hashtag2"]},{"1350791593":["hashtag1","hashtag2"]},{"1350791668":["hashtag1","hashtag2"]},{"1350791716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350791762, 1350791684, 1350791543, 1350791593, 1350791668, 1350791716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54246187210083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:13:32.527847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/26/image_09042025_13_27_04_9355.jpg', '/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_15_10406.jpg', '/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_25_10445.jpg', '/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_35_9348.jpg', '/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_45_10490.jpg', '/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_55_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/26/image_09042025_13_27_04_9355.jpg
/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_15_10406.jpg
/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_25_10445.jpg
/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_35_9348.jpg
/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_45_10490.jpg
/home/pi/Desktop/images/09042025/13/27/image_09042025_13_27_55_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350791984","1350791939","1350792070","1350791959","1350792081","1350792012"],"photo_ids_order":["1350791939","1350791959","1350791984","1350792012","1350792070","1350792081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/518295c5949a1e202a78b70214f948dd.jpg","text":"TemporaryFile(/tmp/multipartBody3999007871564053505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204473023,"filename":"image_09042025_13_27_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/4/9/bca2de15f1938cb8f3116dd3f1e809b2.jpg","text":"TemporaryFile(/tmp/multipartBody5530924831789180822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204473023,"filename":"image_09042025_13_27_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/4/9/810623c3feac9e0d2961e8e0077890b8.jpg","text":"TemporaryFile(/tmp/multipartBody6468007259526779553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204473023,"filename":"image_09042025_13_27_45_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2594f77a5d7c2587aacf971b7586e17f.jpg","text":"TemporaryFile(/tmp/multipartBody3588253935021476306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204473023,"filename":"image_09042025_13_27_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/4/9/bae7d4ef05cf81a57b9e7bdba90003c4.jpg","text":"TemporaryFile(/tmp/multipartBody2451847619201458809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204473023,"filename":"image_09042025_13_27_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/4/9/0706d04ba75af8a7dded37e26ee3d1fd.jpg","text":"TemporaryFile(/tmp/multipartBody7159243088516419115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204473023,"filename":"image_09042025_13_27_35_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350791984","file1":"1350791959","file0":"1350791939","file4":"1350792070","file5":"1350792081","file3":"1350792012"},"map_files_photo_id_array":[{"photo_id":"1350792081","filename":"file5"},{"photo_id":"1350791984","filename":"file2"},{"photo_id":"1350792070","filename":"file4"},{"photo_id":"1350791959","filename":"file1"},{"photo_id":"1350791939","filename":"file0"},{"photo_id":"1350792012","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350791984":["hashtag1","hashtag2"]},{"1350791939":["hashtag1","hashtag2"]},{"1350792070":["hashtag1","hashtag2"]},{"1350791959":["hashtag1","hashtag2"]},{"1350792081":["hashtag1","hashtag2"]},{"1350792012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350791984, 1350791939, 1350792070, 1350791959, 1350792081, 1350792012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.85481834411621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:14:32.699304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_15_10361.jpg', '/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_25_9441.jpg', '/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_35_10403.jpg', '/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_45_10351.jpg', '/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_55_9355.jpg', '/home/pi/Desktop/images/09042025/13/28/image_09042025_13_29_05_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_15_10361.jpg
/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_25_9441.jpg
/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_35_10403.jpg
/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_45_10351.jpg
/home/pi/Desktop/images/09042025/13/28/image_09042025_13_28_55_9355.jpg
/home/pi/Desktop/images/09042025/13/28/image_09042025_13_29_05_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":["1350792401","1350792460","1350792432","1350792369","1350792249","1350792293"],"photo_ids_order":["1350792249","1350792293","1350792369","1350792401","1350792432","1350792460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c77e3287e54c074b415ad2b61838346.jpg","text":"TemporaryFile(/tmp/multipartBody6724704085259675240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204533163,"filename":"image_09042025_13_28_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/4/9/7a0d1b51bc6270ac4892db30cd5ad351.jpg","text":"TemporaryFile(/tmp/multipartBody5682145346611615399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204533163,"filename":"image_09042025_13_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/4/9/71a8fc32ce30cf854cd2d8c30d4c3429.jpg","text":"TemporaryFile(/tmp/multipartBody6008611467366459728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204533163,"filename":"image_09042025_13_28_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/4/9/c22c534ce200ae7923ecb344ccad8ce0.jpg","text":"TemporaryFile(/tmp/multipartBody2801631648536522858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204533163,"filename":"image_09042025_13_28_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/4/9/87956f63083dbf6dc0ae00067046bc9f.jpg","text":"TemporaryFile(/tmp/multipartBody8062319614634444157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204533163,"filename":"image_09042025_13_28_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/4/9/10ca0520ec25321581d55cadd3a44c8a.jpg","text":"TemporaryFile(/tmp/multipartBody915062641096675354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204533163,"filename":"image_09042025_13_28_25_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350792369","file1":"1350792293","file0":"1350792249","file4":"1350792432","file5":"1350792460","file3":"1350792401"},"map_files_photo_id_array":[{"photo_id":"1350792460","filename":"file5"},{"photo_id":"1350792369","filename":"file2"},{"photo_id":"1350792432","filename":"file4"},{"photo_id":"1350792293","filename":"file1"},{"photo_id":"1350792249","filename":"file0"},{"photo_id":"1350792401","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350792401":["hashtag1","hashtag2"]},{"1350792460":["hashtag1","hashtag2"]},{"1350792432":["hashtag1","hashtag2"]},{"1350792369":["hashtag1","hashtag2"]},{"1350792249":["hashtag1","hashtag2"]},{"1350792293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350792401, 1350792460, 1350792432, 1350792369, 1350792249, 1350792293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46406531333923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:15:33.046320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_14_9337.jpg', '/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_25_10431.jpg', '/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_35_10421.jpg', '/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_45_9367.jpg', '/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_55_10402.jpg', '/home/pi/Desktop/images/09042025/13/29/image_09042025_13_30_05_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_14_9337.jpg
/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_25_10431.jpg
/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_35_10421.jpg
/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_45_9367.jpg
/home/pi/Desktop/images/09042025/13/29/image_09042025_13_29_55_10402.jpg
/home/pi/Desktop/images/09042025/13/29/image_09042025_13_30_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":["1350792620","1350792589","1350792598","1350792625","1350792570","1350792615"],"photo_ids_order":["1350792570","1350792589","1350792598","1350792615","1350792620","1350792625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa6bcbfc6360a5119f0b8c30aefcc946.jpg","text":"TemporaryFile(/tmp/multipartBody3073180465495235893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204593521,"filename":"image_09042025_13_29_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/782b92bcad41692b7d5b9e6b7953614f.jpg","text":"TemporaryFile(/tmp/multipartBody3353375895936213278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204593521,"filename":"image_09042025_13_29_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/4/9/e1afaf02d446b6a44fc01dac064d748b.jpg","text":"TemporaryFile(/tmp/multipartBody1959677263583456756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204593521,"filename":"image_09042025_13_29_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/4/9/e578e54c7d7948a72eb16899cecc68db.jpg","text":"TemporaryFile(/tmp/multipartBody3569879560074351584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204593521,"filename":"image_09042025_13_30_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad2ef71790b8f5a6168e685a81d9db46.jpg","text":"TemporaryFile(/tmp/multipartBody130829041277290129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204593521,"filename":"image_09042025_13_29_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/4/9/25887f632f31b6139e433238f2ba6b63.jpg","text":"TemporaryFile(/tmp/multipartBody3558671487473381562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204593521,"filename":"image_09042025_13_29_45_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350792598","file1":"1350792589","file0":"1350792570","file4":"1350792620","file5":"1350792625","file3":"1350792615"},"map_files_photo_id_array":[{"photo_id":"1350792625","filename":"file5"},{"photo_id":"1350792598","filename":"file2"},{"photo_id":"1350792620","filename":"file4"},{"photo_id":"1350792589","filename":"file1"},{"photo_id":"1350792570","filename":"file0"},{"photo_id":"1350792615","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350792620":["hashtag1","hashtag2"]},{"1350792589":["hashtag1","hashtag2"]},{"1350792598":["hashtag1","hashtag2"]},{"1350792625":["hashtag1","hashtag2"]},{"1350792570":["hashtag1","hashtag2"]},{"1350792615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350792620, 1350792589, 1350792598, 1350792625, 1350792570, 1350792615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28307294845581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:16:32.366756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/30/image_09042025_13_30_15_9320.jpg', '/home/pi/Desktop/images/09042025/13/30/image_09042025_13_30_25_10367.jpg', '/home/pi/Desktop/images/09042025/13/30/image_09042025_13_30_34_9348.jpg', '/home/pi/Desktop/images/09042025/13/30/image_09042025_13_30_55_10405.jpg', '/home/pi/Desktop/images/09042025/13/30/image_09042025_13_31_05_9407.jpg', '/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_15_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/30/image_09042025_13_30_15_9320.jpg
/home/pi/Desktop/images/09042025/13/30/image_09042025_13_30_25_10367.jpg
/home/pi/Desktop/images/09042025/13/30/image_09042025_13_30_34_9348.jpg
/home/pi/Desktop/images/09042025/13/30/image_09042025_13_30_55_10405.jpg
/home/pi/Desktop/images/09042025/13/30/image_09042025_13_31_05_9407.jpg
/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_15_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350792710","1350792682","1350792685","1350792693","1350792687","1350792717"],"photo_ids_order":["1350792682","1350792685","1350792687","1350792693","1350792710","1350792717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26022fbc242e839a391d6fd0bd286193.jpg","text":"TemporaryFile(/tmp/multipartBody2550566954357510761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204652839,"filename":"image_09042025_13_31_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/4/9/ff34ecd858a852e1bba63aee5d5a7c7a.jpg","text":"TemporaryFile(/tmp/multipartBody3601025404698914408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204652839,"filename":"image_09042025_13_30_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/4/9/7d53872c5311ef21b93f51d2d360cf53.jpg","text":"TemporaryFile(/tmp/multipartBody899660212920401786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204652839,"filename":"image_09042025_13_30_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/4/9/3974c7ab3f4b335445a11d861f9082fb.jpg","text":"TemporaryFile(/tmp/multipartBody1863509596920220254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204652839,"filename":"image_09042025_13_30_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/4/9/4c63aa97b6c3639b9a677af241e2cd02.jpg","text":"TemporaryFile(/tmp/multipartBody2243613530245345358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204652839,"filename":"image_09042025_13_30_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/4/9/75d5fbb65879e3092cd6fef43466f1f6.jpg","text":"TemporaryFile(/tmp/multipartBody1006254020171754856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204652839,"filename":"image_09042025_13_31_15_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350792687","file1":"1350792685","file0":"1350792682","file4":"1350792710","file5":"1350792717","file3":"1350792693"},"map_files_photo_id_array":[{"photo_id":"1350792717","filename":"file5"},{"photo_id":"1350792687","filename":"file2"},{"photo_id":"1350792710","filename":"file4"},{"photo_id":"1350792685","filename":"file1"},{"photo_id":"1350792682","filename":"file0"},{"photo_id":"1350792693","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350792710":["hashtag1","hashtag2"]},{"1350792682":["hashtag1","hashtag2"]},{"1350792685":["hashtag1","hashtag2"]},{"1350792693":["hashtag1","hashtag2"]},{"1350792687":["hashtag1","hashtag2"]},{"1350792717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350792710, 1350792682, 1350792685, 1350792693, 1350792687, 1350792717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76726579666138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:17:32.601031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_25_9400.jpg', '/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_35_10356.jpg', '/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_45_10442.jpg', '/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_55_9344.jpg', '/home/pi/Desktop/images/09042025/13/31/image_09042025_13_32_05_10423.jpg', '/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_15_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_25_9400.jpg
/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_35_10356.jpg
/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_45_10442.jpg
/home/pi/Desktop/images/09042025/13/31/image_09042025_13_31_55_9344.jpg
/home/pi/Desktop/images/09042025/13/31/image_09042025_13_32_05_10423.jpg
/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_15_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350792869","1350792898","1350792905","1350792891","1350792870","1350792873"],"photo_ids_order":["1350792869","1350792870","1350792873","1350792891","1350792898","1350792905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/86af8ed132291fb4c724e21e60ef3bcb.jpg","text":"TemporaryFile(/tmp/multipartBody673164699555696629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204713071,"filename":"image_09042025_13_31_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11a7233bc76cc1c0b4eb99c4652c326a.jpg","text":"TemporaryFile(/tmp/multipartBody6130520035706731125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204713071,"filename":"image_09042025_13_32_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/4/9/c8e81b8ac7ce24731dafa636494e5452.jpg","text":"TemporaryFile(/tmp/multipartBody5982494328857343458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204713071,"filename":"image_09042025_13_32_15_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8c45ee6bbba7c35c49ce7fcc3388538c.jpg","text":"TemporaryFile(/tmp/multipartBody2960817848759249067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204713071,"filename":"image_09042025_13_31_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/4/9/80b4a44c98da8b23c41574a42c556800.jpg","text":"TemporaryFile(/tmp/multipartBody6893409066982216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204713071,"filename":"image_09042025_13_31_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/be35e83c5147f910b5cbf97f1cc707a3.jpg","text":"TemporaryFile(/tmp/multipartBody3544450775927638213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204713071,"filename":"image_09042025_13_31_45_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350792873","file1":"1350792870","file0":"1350792869","file4":"1350792898","file5":"1350792905","file3":"1350792891"},"map_files_photo_id_array":[{"photo_id":"1350792905","filename":"file5"},{"photo_id":"1350792873","filename":"file2"},{"photo_id":"1350792898","filename":"file4"},{"photo_id":"1350792870","filename":"file1"},{"photo_id":"1350792869","filename":"file0"},{"photo_id":"1350792891","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350792869":["hashtag1","hashtag2"]},{"1350792898":["hashtag1","hashtag2"]},{"1350792905":["hashtag1","hashtag2"]},{"1350792891":["hashtag1","hashtag2"]},{"1350792870":["hashtag1","hashtag2"]},{"1350792873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350792869, 1350792898, 1350792905, 1350792891, 1350792870, 1350792873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96671724319458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:18:32.795338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_25_10361.jpg', '/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_35_10449.jpg', '/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_45_9349.jpg', '/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_55_10461.jpg', '/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_15_10344.jpg', '/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_25_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_25_10361.jpg
/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_35_10449.jpg
/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_45_9349.jpg
/home/pi/Desktop/images/09042025/13/32/image_09042025_13_32_55_10461.jpg
/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_15_10344.jpg
/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_25_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350793319","1350793294","1350793341","1350793146","1350793227","1350793271"],"photo_ids_order":["1350793146","1350793227","1350793271","1350793294","1350793319","1350793341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa522f2f9d1e32aeb21d74c65c24e7f8.jpg","text":"TemporaryFile(/tmp/multipartBody6832431700888852481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204773262,"filename":"image_09042025_13_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/4/9/567790fcdb52685dd38ca6f671cdd5f8.jpg","text":"TemporaryFile(/tmp/multipartBody6604523096718458951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204773262,"filename":"image_09042025_13_32_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/4/9/c25e1484b32d6efa9c5dc6403bde7cff.jpg","text":"TemporaryFile(/tmp/multipartBody8457595052708991153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204773262,"filename":"image_09042025_13_33_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1afb8f9d5f999100480114363e05fb51.jpg","text":"TemporaryFile(/tmp/multipartBody1951342287557145978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204773262,"filename":"image_09042025_13_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/4/9/0d25b1d19db6d8504ae04d5e468e119e.jpg","text":"TemporaryFile(/tmp/multipartBody2656000915873286402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204773262,"filename":"image_09042025_13_32_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/4/9/6116bef9531263de8526391c58b91b68.jpg","text":"TemporaryFile(/tmp/multipartBody469867128223389624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204773262,"filename":"image_09042025_13_32_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350793271","file1":"1350793227","file0":"1350793146","file4":"1350793319","file5":"1350793341","file3":"1350793294"},"map_files_photo_id_array":[{"photo_id":"1350793341","filename":"file5"},{"photo_id":"1350793271","filename":"file2"},{"photo_id":"1350793319","filename":"file4"},{"photo_id":"1350793227","filename":"file1"},{"photo_id":"1350793146","filename":"file0"},{"photo_id":"1350793294","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350793319":["hashtag1","hashtag2"]},{"1350793294":["hashtag1","hashtag2"]},{"1350793341":["hashtag1","hashtag2"]},{"1350793146":["hashtag1","hashtag2"]},{"1350793227":["hashtag1","hashtag2"]},{"1350793271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350793319, 1350793294, 1350793341, 1350793146, 1350793227, 1350793271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91696286201477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:19:32.965472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_35_9380.jpg', '/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_45_10387.jpg', '/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_55_10368.jpg', '/home/pi/Desktop/images/09042025/13/33/image_09042025_13_34_05_9348.jpg', '/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_15_10399.jpg', '/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_25_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_35_9380.jpg
/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_45_10387.jpg
/home/pi/Desktop/images/09042025/13/33/image_09042025_13_33_55_10368.jpg
/home/pi/Desktop/images/09042025/13/33/image_09042025_13_34_05_9348.jpg
/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_15_10399.jpg
/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_25_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":["1350793399","1350793392","1350793395","1350793425","1350793416","1350793421"],"photo_ids_order":["1350793392","1350793395","1350793399","1350793416","1350793421","1350793425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2590fa6b4b408e5d0b39e4c27c9c7a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3808287236206586446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204833444,"filename":"image_09042025_13_33_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/4/9/691669255efa242f8ec2e78ec5772cb2.jpg","text":"TemporaryFile(/tmp/multipartBody9032994041218985666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204833444,"filename":"image_09042025_13_33_35_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d0c5072ea4bbea4bcde9bd185b12ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4621683530831662251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204833444,"filename":"image_09042025_13_33_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8ac172acb45affa0cdbd54f57593d82.jpg","text":"TemporaryFile(/tmp/multipartBody1926617717325437934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204833444,"filename":"image_09042025_13_34_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/4/9/41cc1f4a46e8bf5c91d7d062e7c9bd7e.jpg","text":"TemporaryFile(/tmp/multipartBody7725035158061664362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204833444,"filename":"image_09042025_13_34_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/4/9/adb9c025203320c9240742597fc07ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7744936294503820518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204833444,"filename":"image_09042025_13_34_15_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350793399","file1":"1350793395","file0":"1350793392","file4":"1350793421","file5":"1350793425","file3":"1350793416"},"map_files_photo_id_array":[{"photo_id":"1350793425","filename":"file5"},{"photo_id":"1350793399","filename":"file2"},{"photo_id":"1350793421","filename":"file4"},{"photo_id":"1350793395","filename":"file1"},{"photo_id":"1350793392","filename":"file0"},{"photo_id":"1350793416","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350793399":["hashtag1","hashtag2"]},{"1350793392":["hashtag1","hashtag2"]},{"1350793395":["hashtag1","hashtag2"]},{"1350793425":["hashtag1","hashtag2"]},{"1350793416":["hashtag1","hashtag2"]},{"1350793421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350793399, 1350793392, 1350793395, 1350793425, 1350793416, 1350793421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.929535388946533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:20:32.221344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_35_10333.jpg', '/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_45_10431.jpg', '/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_55_9348.jpg', '/home/pi/Desktop/images/09042025/13/34/image_09042025_13_35_05_10436.jpg', '/home/pi/Desktop/images/09042025/13/35/image_09042025_13_35_15_10352.jpg', '/home/pi/Desktop/images/09042025/13/35/image_09042025_13_35_35_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_35_10333.jpg
/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_45_10431.jpg
/home/pi/Desktop/images/09042025/13/34/image_09042025_13_34_55_9348.jpg
/home/pi/Desktop/images/09042025/13/34/image_09042025_13_35_05_10436.jpg
/home/pi/Desktop/images/09042025/13/35/image_09042025_13_35_15_10352.jpg
/home/pi/Desktop/images/09042025/13/35/image_09042025_13_35_35_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":["1350793492","1350793462","1350793479","1350793484","1350793487","1350793466"],"photo_ids_order":["1350793462","1350793466","1350793479","1350793484","1350793487","1350793492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db9995a9ebb810465b6cf78b96ccd83e.jpg","text":"TemporaryFile(/tmp/multipartBody2827708621211456174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204892700,"filename":"image_09042025_13_35_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/4/9/4fd74e484d4199fc33fbfce89a33a6fd.jpg","text":"TemporaryFile(/tmp/multipartBody43967666482436099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204892700,"filename":"image_09042025_13_34_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/4/9/f35ae6e025d5d0893ebabb811da2285f.jpg","text":"TemporaryFile(/tmp/multipartBody411811938752857129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204892700,"filename":"image_09042025_13_34_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/4/9/cb66149e5b38f8937329d8a332f5193c.jpg","text":"TemporaryFile(/tmp/multipartBody5197757663099139683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204892700,"filename":"image_09042025_13_35_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/4/9/2f197621927a9c75759cb8f6f782b3c9.jpg","text":"TemporaryFile(/tmp/multipartBody7077299077429805235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204892700,"filename":"image_09042025_13_35_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/4/9/33c4753157992286933afc5b6e97290f.jpg","text":"TemporaryFile(/tmp/multipartBody6549755738644833457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204892700,"filename":"image_09042025_13_34_45_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350793479","file1":"1350793466","file0":"1350793462","file4":"1350793487","file5":"1350793492","file3":"1350793484"},"map_files_photo_id_array":[{"photo_id":"1350793492","filename":"file5"},{"photo_id":"1350793479","filename":"file2"},{"photo_id":"1350793487","filename":"file4"},{"photo_id":"1350793466","filename":"file1"},{"photo_id":"1350793462","filename":"file0"},{"photo_id":"1350793484","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350793492":["hashtag1","hashtag2"]},{"1350793462":["hashtag1","hashtag2"]},{"1350793479":["hashtag1","hashtag2"]},{"1350793484":["hashtag1","hashtag2"]},{"1350793487":["hashtag1","hashtag2"]},{"1350793466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350793492, 1350793462, 1350793479, 1350793484, 1350793487, 1350793466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23987317085266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:21:32.487793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/35/image_09042025_13_35_45_9366.jpg', '/home/pi/Desktop/images/09042025/13/35/image_09042025_13_35_55_10479.jpg', '/home/pi/Desktop/images/09042025/13/35/image_09042025_13_36_05_10353.jpg', '/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_15_9422.jpg', '/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_25_10349.jpg', '/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_35_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/35/image_09042025_13_35_45_9366.jpg
/home/pi/Desktop/images/09042025/13/35/image_09042025_13_35_55_10479.jpg
/home/pi/Desktop/images/09042025/13/35/image_09042025_13_36_05_10353.jpg
/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_15_9422.jpg
/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_25_10349.jpg
/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_35_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350793525","1350793521","1350793530","1350793550","1350793547","1350793535"],"photo_ids_order":["1350793521","1350793525","1350793530","1350793535","1350793547","1350793550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a2926074a78dc1c49790889f3aa45d0.jpg","text":"TemporaryFile(/tmp/multipartBody1030912554720737615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204952968,"filename":"image_09042025_13_35_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/4/9/3f51101f84ff490a433c0b267c365eb2.jpg","text":"TemporaryFile(/tmp/multipartBody3579513311782967970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204952968,"filename":"image_09042025_13_35_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/4/9/f8acc82815adb4040737343be1e1f3c8.jpg","text":"TemporaryFile(/tmp/multipartBody1360913583328275286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204952968,"filename":"image_09042025_13_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/4/9/a8bec31bba3cc02d34b7f650cb422252.jpg","text":"TemporaryFile(/tmp/multipartBody21845765187832788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204952968,"filename":"image_09042025_13_36_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b42d0bfe413181e40c01b3b9ed320eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8466990838812288142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204952968,"filename":"image_09042025_13_36_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/4/9/0793d2958830c80f72bb7e8640f758b5.jpg","text":"TemporaryFile(/tmp/multipartBody7036966137355854295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744204952968,"filename":"image_09042025_13_36_15_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350793530","file1":"1350793525","file0":"1350793521","file4":"1350793547","file5":"1350793550","file3":"1350793535"},"map_files_photo_id_array":[{"photo_id":"1350793550","filename":"file5"},{"photo_id":"1350793530","filename":"file2"},{"photo_id":"1350793547","filename":"file4"},{"photo_id":"1350793525","filename":"file1"},{"photo_id":"1350793521","filename":"file0"},{"photo_id":"1350793535","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350793525":["hashtag1","hashtag2"]},{"1350793521":["hashtag1","hashtag2"]},{"1350793530":["hashtag1","hashtag2"]},{"1350793550":["hashtag1","hashtag2"]},{"1350793547":["hashtag1","hashtag2"]},{"1350793535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350793525, 1350793521, 1350793530, 1350793550, 1350793547, 1350793535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26407551765442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:22:32.669665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_45_10348.jpg', '/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_55_10369.jpg', '/home/pi/Desktop/images/09042025/13/36/image_09042025_13_37_05_9327.jpg', '/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_15_10463.jpg', '/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_24_9359.jpg', '/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_35_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_45_10348.jpg
/home/pi/Desktop/images/09042025/13/36/image_09042025_13_36_55_10369.jpg
/home/pi/Desktop/images/09042025/13/36/image_09042025_13_37_05_9327.jpg
/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_15_10463.jpg
/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_24_9359.jpg
/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_35_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":["1350793645","1350793615","1350793680","1350793653","1350793662","1350793673"],"photo_ids_order":["1350793615","1350793645","1350793653","1350793662","1350793673","1350793680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/40920168af5aa5c1e299ca106bd86be7.jpg","text":"TemporaryFile(/tmp/multipartBody7626227310749497630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205013142,"filename":"image_09042025_13_36_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/4/9/2df9912c6de5704d1859e679b40addd8.jpg","text":"TemporaryFile(/tmp/multipartBody402715744725456695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205013142,"filename":"image_09042025_13_36_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/4/9/08debee8f54f4e8cdb886b0a6e42eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody8188028408080555240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205013142,"filename":"image_09042025_13_37_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/4/9/ade1400ceecd7fdf44a7373692cae0b3.jpg","text":"TemporaryFile(/tmp/multipartBody3607287483373914754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205013142,"filename":"image_09042025_13_37_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/4/9/d373ea834aaaa91828dec42bb96b75c5.jpg","text":"TemporaryFile(/tmp/multipartBody5636062182961937183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205013142,"filename":"image_09042025_13_37_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d83a31c488910ddc2f46fe645f09973.jpg","text":"TemporaryFile(/tmp/multipartBody3709864114905243857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205013142,"filename":"image_09042025_13_37_24_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350793653","file1":"1350793645","file0":"1350793615","file4":"1350793673","file5":"1350793680","file3":"1350793662"},"map_files_photo_id_array":[{"photo_id":"1350793680","filename":"file5"},{"photo_id":"1350793653","filename":"file2"},{"photo_id":"1350793673","filename":"file4"},{"photo_id":"1350793645","filename":"file1"},{"photo_id":"1350793615","filename":"file0"},{"photo_id":"1350793662","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350793645":["hashtag1","hashtag2"]},{"1350793615":["hashtag1","hashtag2"]},{"1350793680":["hashtag1","hashtag2"]},{"1350793653":["hashtag1","hashtag2"]},{"1350793662":["hashtag1","hashtag2"]},{"1350793673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350793645, 1350793615, 1350793680, 1350793653, 1350793662, 1350793673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00687599182129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:23:32.991579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_45_10358.jpg', '/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_55_9355.jpg', '/home/pi/Desktop/images/09042025/13/37/image_09042025_13_38_05_10359.jpg', '/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_15_10406.jpg', '/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_25_9427.jpg', '/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_35_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_45_10358.jpg
/home/pi/Desktop/images/09042025/13/37/image_09042025_13_37_55_9355.jpg
/home/pi/Desktop/images/09042025/13/37/image_09042025_13_38_05_10359.jpg
/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_15_10406.jpg
/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_25_9427.jpg
/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_35_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350793718","1350793714","1350793708","1350793722","1350793701","1350793704"],"photo_ids_order":["1350793701","1350793704","1350793708","1350793714","1350793718","1350793722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52a48a6d411095e6e7ce3cb3dfefacca.jpg","text":"TemporaryFile(/tmp/multipartBody1575906803273291711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205073470,"filename":"image_09042025_13_38_25_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9406ae2bb19ca4ed29de4ad89fa766bf.jpg","text":"TemporaryFile(/tmp/multipartBody8508882049504572631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205073470,"filename":"image_09042025_13_38_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/4/9/7e81382d28c54054d285b0e923232e87.jpg","text":"TemporaryFile(/tmp/multipartBody5724936793835699082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205073470,"filename":"image_09042025_13_38_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ca8cda138f94f69172668771612d8eb.jpg","text":"TemporaryFile(/tmp/multipartBody2307372541906346284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205073470,"filename":"image_09042025_13_38_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/4/9/3df0bc0d4affe8a5d8d010f16197b926.jpg","text":"TemporaryFile(/tmp/multipartBody5902315614766351961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205073470,"filename":"image_09042025_13_37_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/4/9/8d94962feda48318ba58fb0e5d02f126.jpg","text":"TemporaryFile(/tmp/multipartBody3837142239762681908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205073470,"filename":"image_09042025_13_37_55_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350793708","file1":"1350793704","file0":"1350793701","file4":"1350793718","file5":"1350793722","file3":"1350793714"},"map_files_photo_id_array":[{"photo_id":"1350793722","filename":"file5"},{"photo_id":"1350793708","filename":"file2"},{"photo_id":"1350793718","filename":"file4"},{"photo_id":"1350793704","filename":"file1"},{"photo_id":"1350793701","filename":"file0"},{"photo_id":"1350793714","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350793718":["hashtag1","hashtag2"]},{"1350793714":["hashtag1","hashtag2"]},{"1350793708":["hashtag1","hashtag2"]},{"1350793722":["hashtag1","hashtag2"]},{"1350793701":["hashtag1","hashtag2"]},{"1350793704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350793718, 1350793714, 1350793708, 1350793722, 1350793701, 1350793704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.552929639816284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:24:32.201221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_45_9386.jpg', '/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_55_10473.jpg', '/home/pi/Desktop/images/09042025/13/38/image_09042025_13_39_05_9436.jpg', '/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_15_10344.jpg', '/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_25_10398.jpg', '/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_35_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_45_9386.jpg
/home/pi/Desktop/images/09042025/13/38/image_09042025_13_38_55_10473.jpg
/home/pi/Desktop/images/09042025/13/38/image_09042025_13_39_05_9436.jpg
/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_15_10344.jpg
/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_25_10398.jpg
/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_35_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":["1350793829","1350793816","1350793801","1350793825","1350793809","1350793796"],"photo_ids_order":["1350793796","1350793801","1350793809","1350793816","1350793825","1350793829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/227ea07f1d3f3611a7822f3040a39998.jpg","text":"TemporaryFile(/tmp/multipartBody789440915048394255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205132678,"filename":"image_09042025_13_39_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/4/9/e7817a0ff6b11d7038ea906d9ecd35b3.jpg","text":"TemporaryFile(/tmp/multipartBody1300375933173038329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205132678,"filename":"image_09042025_13_39_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/4/9/2ec66a52468922fbe89afebc30b72b28.jpg","text":"TemporaryFile(/tmp/multipartBody7907895648370695225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205132678,"filename":"image_09042025_13_38_55_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb182d23968bccc0f98b1a4db19b89f0.jpg","text":"TemporaryFile(/tmp/multipartBody2955265335959488384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205132678,"filename":"image_09042025_13_39_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/4/9/e2056f4bd72acf550ea722e458d27db1.jpg","text":"TemporaryFile(/tmp/multipartBody8091078144087131961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205132678,"filename":"image_09042025_13_39_05_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a4985bf94af865b2112c079ae198153.jpg","text":"TemporaryFile(/tmp/multipartBody7886354796330286693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205132678,"filename":"image_09042025_13_38_45_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350793809","file1":"1350793801","file0":"1350793796","file4":"1350793825","file5":"1350793829","file3":"1350793816"},"map_files_photo_id_array":[{"photo_id":"1350793829","filename":"file5"},{"photo_id":"1350793809","filename":"file2"},{"photo_id":"1350793825","filename":"file4"},{"photo_id":"1350793801","filename":"file1"},{"photo_id":"1350793796","filename":"file0"},{"photo_id":"1350793816","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350793829":["hashtag1","hashtag2"]},{"1350793816":["hashtag1","hashtag2"]},{"1350793801":["hashtag1","hashtag2"]},{"1350793825":["hashtag1","hashtag2"]},{"1350793809":["hashtag1","hashtag2"]},{"1350793796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350793829, 1350793816, 1350793801, 1350793825, 1350793809, 1350793796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41579008102417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:25:32.307577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_45_10340.jpg', '/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_55_10429.jpg', '/home/pi/Desktop/images/09042025/13/40/image_09042025_13_40_25_9359.jpg', '/home/pi/Desktop/images/09042025/13/40/image_09042025_13_40_35_10338.jpg', '/home/pi/Desktop/images/09042025/13/40/image_09042025_13_40_45_10423.jpg', '/home/pi/Desktop/images/09042025/13/40/image_09042025_13_40_55_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_45_10340.jpg
/home/pi/Desktop/images/09042025/13/39/image_09042025_13_39_55_10429.jpg
/home/pi/Desktop/images/09042025/13/40/image_09042025_13_40_25_9359.jpg
/home/pi/Desktop/images/09042025/13/40/image_09042025_13_40_35_10338.jpg
/home/pi/Desktop/images/09042025/13/40/image_09042025_13_40_45_10423.jpg
/home/pi/Desktop/images/09042025/13/40/image_09042025_13_40_55_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":["1350793897","1350793900","1350793893","1350793908","1350793905","1350793889"],"photo_ids_order":["1350793889","1350793893","1350793897","1350793900","1350793905","1350793908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/101e6a4501323540db7d16ce3bb89ec7.jpg","text":"TemporaryFile(/tmp/multipartBody6410598202006159306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205192789,"filename":"image_09042025_13_40_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3300f8041fc7c3653e9a283b9e212b5.jpg","text":"TemporaryFile(/tmp/multipartBody6818649158306935423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205192789,"filename":"image_09042025_13_40_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb0847672cb540c34b5d219d034a8a5b.jpg","text":"TemporaryFile(/tmp/multipartBody6163854054500017051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205192789,"filename":"image_09042025_13_39_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/4/9/794483a8ccb5e76631a87e0d6f02c535.jpg","text":"TemporaryFile(/tmp/multipartBody3133135082318831252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205192789,"filename":"image_09042025_13_40_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/4/9/01c6340d6052482731e68dee31440fb8.jpg","text":"TemporaryFile(/tmp/multipartBody90363982052552947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205192789,"filename":"image_09042025_13_40_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/4/9/482154745e1baa7ec288863fbc99ac4d.jpg","text":"TemporaryFile(/tmp/multipartBody3750405332537550435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205192789,"filename":"image_09042025_13_39_45_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350793897","file1":"1350793893","file0":"1350793889","file4":"1350793905","file5":"1350793908","file3":"1350793900"},"map_files_photo_id_array":[{"photo_id":"1350793908","filename":"file5"},{"photo_id":"1350793897","filename":"file2"},{"photo_id":"1350793905","filename":"file4"},{"photo_id":"1350793893","filename":"file1"},{"photo_id":"1350793889","filename":"file0"},{"photo_id":"1350793900","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350793897":["hashtag1","hashtag2"]},{"1350793900":["hashtag1","hashtag2"]},{"1350793893":["hashtag1","hashtag2"]},{"1350793908":["hashtag1","hashtag2"]},{"1350793905":["hashtag1","hashtag2"]},{"1350793889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350793897, 1350793900, 1350793893, 1350793908, 1350793905, 1350793889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.768784046173096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:26:32.688912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/40/image_09042025_13_41_05_10524.jpg', '/home/pi/Desktop/images/09042025/13/41/image_09042025_13_41_15_9329.jpg', '/home/pi/Desktop/images/09042025/13/41/image_09042025_13_41_35_10394.jpg', '/home/pi/Desktop/images/09042025/13/41/image_09042025_13_41_45_9349.jpg', '/home/pi/Desktop/images/09042025/13/41/image_09042025_13_41_55_10498.jpg', '/home/pi/Desktop/images/09042025/13/41/image_09042025_13_42_05_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/40/image_09042025_13_41_05_10524.jpg
/home/pi/Desktop/images/09042025/13/41/image_09042025_13_41_15_9329.jpg
/home/pi/Desktop/images/09042025/13/41/image_09042025_13_41_35_10394.jpg
/home/pi/Desktop/images/09042025/13/41/image_09042025_13_41_45_9349.jpg
/home/pi/Desktop/images/09042025/13/41/image_09042025_13_41_55_10498.jpg
/home/pi/Desktop/images/09042025/13/41/image_09042025_13_42_05_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":["1350794041","1350794011","1350794070","1350794028","1350794075","1350794080"],"photo_ids_order":["1350794011","1350794028","1350794041","1350794070","1350794075","1350794080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80c9d3e0e03cf0c5fbf837343af49431.jpg","text":"TemporaryFile(/tmp/multipartBody7119468527312358847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205253153,"filename":"image_09042025_13_41_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/4/9/8665aa14d19009c2a6c327ac0dcc0052.jpg","text":"TemporaryFile(/tmp/multipartBody4382832310193560235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205253153,"filename":"image_09042025_13_41_05_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64bb88d76cf7d74a2ea856b09fce32de.jpg","text":"TemporaryFile(/tmp/multipartBody7563984455989775239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205253153,"filename":"image_09042025_13_41_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/4/9/dcb9985bc13b2d49231ccb0c4672b120.jpg","text":"TemporaryFile(/tmp/multipartBody2655001025404745908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205253153,"filename":"image_09042025_13_41_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/4/9/dd9442048fef1335c31271fe464747de.jpg","text":"TemporaryFile(/tmp/multipartBody7958898791545415290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205253153,"filename":"image_09042025_13_41_55_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1656d24d56841c01a167a4474a13eb8.jpg","text":"TemporaryFile(/tmp/multipartBody6174450351891946071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205253153,"filename":"image_09042025_13_42_05_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350794041","file1":"1350794028","file0":"1350794011","file4":"1350794075","file5":"1350794080","file3":"1350794070"},"map_files_photo_id_array":[{"photo_id":"1350794080","filename":"file5"},{"photo_id":"1350794041","filename":"file2"},{"photo_id":"1350794075","filename":"file4"},{"photo_id":"1350794028","filename":"file1"},{"photo_id":"1350794011","filename":"file0"},{"photo_id":"1350794070","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350794041":["hashtag1","hashtag2"]},{"1350794011":["hashtag1","hashtag2"]},{"1350794070":["hashtag1","hashtag2"]},{"1350794028":["hashtag1","hashtag2"]},{"1350794075":["hashtag1","hashtag2"]},{"1350794080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350794041, 1350794011, 1350794070, 1350794028, 1350794075, 1350794080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23630952835083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:27:32.888524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_15_10375.jpg', '/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_25_10415.jpg', '/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_35_9388.jpg', '/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_45_10363.jpg', '/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_54_9356.jpg', '/home/pi/Desktop/images/09042025/13/42/image_09042025_13_43_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_15_10375.jpg
/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_25_10415.jpg
/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_35_9388.jpg
/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_45_10363.jpg
/home/pi/Desktop/images/09042025/13/42/image_09042025_13_42_54_9356.jpg
/home/pi/Desktop/images/09042025/13/42/image_09042025_13_43_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":["1350794410","1350794370","1350794291","1350794372","1350794267","1350794300"],"photo_ids_order":["1350794267","1350794291","1350794300","1350794370","1350794372","1350794410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d77a08433c755cfbd24c57e15736561.jpg","text":"TemporaryFile(/tmp/multipartBody3561742996783486892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205313355,"filename":"image_09042025_13_43_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/4/9/5251d60fc7a21b5213b96612d800e1bc.jpg","text":"TemporaryFile(/tmp/multipartBody983256708825427439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205313355,"filename":"image_09042025_13_42_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/4/9/077ffdee9471ea38ecbd24d7b7e5e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody8152778320096801839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205313355,"filename":"image_09042025_13_42_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/4/9/bfa6f2fa772317bd1689d3860951cb04.jpg","text":"TemporaryFile(/tmp/multipartBody7021719250964896525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205313355,"filename":"image_09042025_13_42_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/4/9/5d3441b1570d00d7c7933bdad136ec4d.jpg","text":"TemporaryFile(/tmp/multipartBody6810043693104320607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205313355,"filename":"image_09042025_13_42_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/4/9/29ed1e11ecb5c9f092923f8fe3728ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4444401987653644537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205313355,"filename":"image_09042025_13_42_35_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350794300","file1":"1350794291","file0":"1350794267","file4":"1350794372","file5":"1350794410","file3":"1350794370"},"map_files_photo_id_array":[{"photo_id":"1350794410","filename":"file5"},{"photo_id":"1350794300","filename":"file2"},{"photo_id":"1350794372","filename":"file4"},{"photo_id":"1350794291","filename":"file1"},{"photo_id":"1350794267","filename":"file0"},{"photo_id":"1350794370","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350794410":["hashtag1","hashtag2"]},{"1350794370":["hashtag1","hashtag2"]},{"1350794291":["hashtag1","hashtag2"]},{"1350794372":["hashtag1","hashtag2"]},{"1350794267":["hashtag1","hashtag2"]},{"1350794300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350794410, 1350794370, 1350794291, 1350794372, 1350794267, 1350794300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1635377407074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:28:33.198974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_15_10584.jpg', '/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_25_9364.jpg', '/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_35_10415.jpg', '/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_45_9340.jpg', '/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_55_10371.jpg', '/home/pi/Desktop/images/09042025/13/43/image_09042025_13_44_05_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_15_10584.jpg
/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_25_9364.jpg
/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_35_10415.jpg
/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_45_9340.jpg
/home/pi/Desktop/images/09042025/13/43/image_09042025_13_43_55_10371.jpg
/home/pi/Desktop/images/09042025/13/43/image_09042025_13_44_05_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":["1350794592","1350794585","1350794604","1350794597","1350794677","1350794590"],"photo_ids_order":["1350794585","1350794590","1350794592","1350794597","1350794604","1350794677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eff24124b07ddf7d7e2a7fd603cb3785.jpg","text":"TemporaryFile(/tmp/multipartBody6520729370139723672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205373669,"filename":"image_09042025_13_43_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/4/9/fa020a5d532211ea2f2073197f5c9e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6833235250653560820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205373669,"filename":"image_09042025_13_43_15_10584.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97906d6bad6c966ed890ed5ae185fb99.jpg","text":"TemporaryFile(/tmp/multipartBody5953002100229726285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205373669,"filename":"image_09042025_13_43_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/4/9/0e57f1d2f7aaafd44bb60296cc9b9a96.jpg","text":"TemporaryFile(/tmp/multipartBody3003702466690028195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205373669,"filename":"image_09042025_13_43_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/4/9/e2c2bd68060751c27ece2d0c2d43ef57.jpg","text":"TemporaryFile(/tmp/multipartBody8433141324902442907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205373669,"filename":"image_09042025_13_44_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/4/9/c992ba845bb164cc3c6fb36a63aab057.jpg","text":"TemporaryFile(/tmp/multipartBody8162305847611772011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205373669,"filename":"image_09042025_13_43_25_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350794592","file1":"1350794590","file0":"1350794585","file4":"1350794604","file5":"1350794677","file3":"1350794597"},"map_files_photo_id_array":[{"photo_id":"1350794677","filename":"file5"},{"photo_id":"1350794592","filename":"file2"},{"photo_id":"1350794604","filename":"file4"},{"photo_id":"1350794590","filename":"file1"},{"photo_id":"1350794585","filename":"file0"},{"photo_id":"1350794597","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350794592":["hashtag1","hashtag2"]},{"1350794585":["hashtag1","hashtag2"]},{"1350794604":["hashtag1","hashtag2"]},{"1350794597":["hashtag1","hashtag2"]},{"1350794677":["hashtag1","hashtag2"]},{"1350794590":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350794592, 1350794585, 1350794604, 1350794597, 1350794677, 1350794590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97801375389099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:29:32.380061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_15_9341.jpg', '/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_25_10443.jpg', '/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_35_10410.jpg', '/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_45_9360.jpg', '/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_55_10431.jpg', '/home/pi/Desktop/images/09042025/13/44/image_09042025_13_45_05_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_15_9341.jpg
/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_25_10443.jpg
/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_35_10410.jpg
/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_45_9360.jpg
/home/pi/Desktop/images/09042025/13/44/image_09042025_13_44_55_10431.jpg
/home/pi/Desktop/images/09042025/13/44/image_09042025_13_45_05_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350794926","1350794772","1350794994","1350794868","1350794796","1350794778"],"photo_ids_order":["1350794772","1350794778","1350794796","1350794868","1350794926","1350794994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ddb452823ec442562e5afb485c60a699.jpg","text":"TemporaryFile(/tmp/multipartBody8815157657819502652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205432847,"filename":"image_09042025_13_44_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/4/9/bd18d732db0c70db941b714f7da5b75d.jpg","text":"TemporaryFile(/tmp/multipartBody6181129007043404071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205432847,"filename":"image_09042025_13_44_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3cc727ac4b0dadf9266d98909342edcd.jpg","text":"TemporaryFile(/tmp/multipartBody640058750827537267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205432847,"filename":"image_09042025_13_45_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f28f7869e00a4b3d7eac41ee1e1ca992.jpg","text":"TemporaryFile(/tmp/multipartBody5601560263822750012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205432847,"filename":"image_09042025_13_44_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/4/9/1790bbe7f291039479cd08d4cd78eee5.jpg","text":"TemporaryFile(/tmp/multipartBody6820271471154908627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205432847,"filename":"image_09042025_13_44_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ced8112ce8487f462bcc707114262b1.jpg","text":"TemporaryFile(/tmp/multipartBody3044250694712783726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205432847,"filename":"image_09042025_13_44_25_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350794796","file1":"1350794778","file0":"1350794772","file4":"1350794926","file5":"1350794994","file3":"1350794868"},"map_files_photo_id_array":[{"photo_id":"1350794994","filename":"file5"},{"photo_id":"1350794796","filename":"file2"},{"photo_id":"1350794926","filename":"file4"},{"photo_id":"1350794778","filename":"file1"},{"photo_id":"1350794772","filename":"file0"},{"photo_id":"1350794868","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350794926":["hashtag1","hashtag2"]},{"1350794772":["hashtag1","hashtag2"]},{"1350794994":["hashtag1","hashtag2"]},{"1350794868":["hashtag1","hashtag2"]},{"1350794796":["hashtag1","hashtag2"]},{"1350794778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350794926, 1350794772, 1350794994, 1350794868, 1350794796, 1350794778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23247218132019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:30:32.685869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/45/image_09042025_13_45_25_10364.jpg', '/home/pi/Desktop/images/09042025/13/45/image_09042025_13_45_35_9344.jpg', '/home/pi/Desktop/images/09042025/13/45/image_09042025_13_45_45_10402.jpg', '/home/pi/Desktop/images/09042025/13/45/image_09042025_13_45_55_10362.jpg', '/home/pi/Desktop/images/09042025/13/45/image_09042025_13_46_05_9348.jpg', '/home/pi/Desktop/images/09042025/13/46/image_09042025_13_46_35_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/45/image_09042025_13_45_25_10364.jpg
/home/pi/Desktop/images/09042025/13/45/image_09042025_13_45_35_9344.jpg
/home/pi/Desktop/images/09042025/13/45/image_09042025_13_45_45_10402.jpg
/home/pi/Desktop/images/09042025/13/45/image_09042025_13_45_55_10362.jpg
/home/pi/Desktop/images/09042025/13/45/image_09042025_13_46_05_9348.jpg
/home/pi/Desktop/images/09042025/13/46/image_09042025_13_46_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":["1350795264","1350795234","1350795296","1350795260","1350795229","1350795244"],"photo_ids_order":["1350795229","1350795234","1350795244","1350795260","1350795264","1350795296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b6b959049ef4ba9a4f9b4297826b6ae.jpg","text":"TemporaryFile(/tmp/multipartBody2724236861962500793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205493158,"filename":"image_09042025_13_46_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/4/9/3992fc6de79a032a94b030be59926afe.jpg","text":"TemporaryFile(/tmp/multipartBody83975516014417124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205493158,"filename":"image_09042025_13_45_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/4/9/5a4ea1e487db70b88ce3eba6cc1f0dc2.jpg","text":"TemporaryFile(/tmp/multipartBody6002239510264824272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205493158,"filename":"image_09042025_13_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/4/9/c91602500feb1d0e2ca05c8b9a2a2af3.jpg","text":"TemporaryFile(/tmp/multipartBody1015376073897468829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205493158,"filename":"image_09042025_13_45_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/4/9/ea7e96b26a9f5dd1c592a820e7719318.jpg","text":"TemporaryFile(/tmp/multipartBody6975501908582182588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205493158,"filename":"image_09042025_13_45_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/4/9/42ba6ec3569f68e86136e24306b6ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody6775855324389459972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205493158,"filename":"image_09042025_13_45_45_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350795244","file1":"1350795234","file0":"1350795229","file4":"1350795264","file5":"1350795296","file3":"1350795260"},"map_files_photo_id_array":[{"photo_id":"1350795296","filename":"file5"},{"photo_id":"1350795244","filename":"file2"},{"photo_id":"1350795264","filename":"file4"},{"photo_id":"1350795234","filename":"file1"},{"photo_id":"1350795229","filename":"file0"},{"photo_id":"1350795260","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350795264":["hashtag1","hashtag2"]},{"1350795234":["hashtag1","hashtag2"]},{"1350795296":["hashtag1","hashtag2"]},{"1350795260":["hashtag1","hashtag2"]},{"1350795229":["hashtag1","hashtag2"]},{"1350795244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350795264, 1350795234, 1350795296, 1350795260, 1350795229, 1350795244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.284139394760132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:31:32.772229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/46/image_09042025_13_46_45_10430.jpg', '/home/pi/Desktop/images/09042025/13/46/image_09042025_13_46_55_9413.jpg', '/home/pi/Desktop/images/09042025/13/46/image_09042025_13_47_05_10418.jpg', '/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_15_9333.jpg', '/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_25_10393.jpg', '/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/46/image_09042025_13_46_45_10430.jpg
/home/pi/Desktop/images/09042025/13/46/image_09042025_13_46_55_9413.jpg
/home/pi/Desktop/images/09042025/13/46/image_09042025_13_47_05_10418.jpg
/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_15_9333.jpg
/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_25_10393.jpg
/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350795438","1350795467","1350795452","1350795428","1350795472","1350795469"],"photo_ids_order":["1350795428","1350795438","1350795452","1350795467","1350795469","1350795472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c0757a8ea79cabc8c24523684e2135dc.jpg","text":"TemporaryFile(/tmp/multipartBody8511285060935196948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205553258,"filename":"image_09042025_13_46_55_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24edbb45ca1c44eb57fc65743250b48e.jpg","text":"TemporaryFile(/tmp/multipartBody5385796991633005950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205553258,"filename":"image_09042025_13_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/4/9/aa1a06bdde9f924ed70780bdbe2b725e.jpg","text":"TemporaryFile(/tmp/multipartBody8404932097138573075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205553258,"filename":"image_09042025_13_47_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/4/9/b45b454ca14de9dbad86204414cfb60d.jpg","text":"TemporaryFile(/tmp/multipartBody3051927526119931502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205553258,"filename":"image_09042025_13_46_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3249fdfb16bbd37080541765b236e9e.jpg","text":"TemporaryFile(/tmp/multipartBody860433218573361394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205553258,"filename":"image_09042025_13_47_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/4/9/5200d8210583dc57967ade9d0b635036.jpg","text":"TemporaryFile(/tmp/multipartBody2366524063865399690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205553258,"filename":"image_09042025_13_47_25_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350795452","file1":"1350795438","file0":"1350795428","file4":"1350795469","file5":"1350795472","file3":"1350795467"},"map_files_photo_id_array":[{"photo_id":"1350795472","filename":"file5"},{"photo_id":"1350795452","filename":"file2"},{"photo_id":"1350795469","filename":"file4"},{"photo_id":"1350795438","filename":"file1"},{"photo_id":"1350795428","filename":"file0"},{"photo_id":"1350795467","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350795438":["hashtag1","hashtag2"]},{"1350795467":["hashtag1","hashtag2"]},{"1350795452":["hashtag1","hashtag2"]},{"1350795428":["hashtag1","hashtag2"]},{"1350795472":["hashtag1","hashtag2"]},{"1350795469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350795438, 1350795467, 1350795452, 1350795428, 1350795472, 1350795469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96966099739075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:32:33.009875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_45_9441.jpg', '/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_55_10468.jpg', '/home/pi/Desktop/images/09042025/13/47/image_09042025_13_48_05_9353.jpg', '/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_15_10385.jpg', '/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_25_10367.jpg', '/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_35_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_45_9441.jpg
/home/pi/Desktop/images/09042025/13/47/image_09042025_13_47_55_10468.jpg
/home/pi/Desktop/images/09042025/13/47/image_09042025_13_48_05_9353.jpg
/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_15_10385.jpg
/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_25_10367.jpg
/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_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":["1350795523","1350795517","1350795533","1350795527","1350795529","1350795520"],"photo_ids_order":["1350795517","1350795520","1350795523","1350795527","1350795529","1350795533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8172967d88e0c5d668a580dc080dfa49.jpg","text":"TemporaryFile(/tmp/multipartBody7181147616381394833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205613476,"filename":"image_09042025_13_48_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/137f52874504c255ea7a49ae91987f6e.jpg","text":"TemporaryFile(/tmp/multipartBody1743477391306311372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205613476,"filename":"image_09042025_13_47_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/4/9/42463b7ba9b89287dfce3793465ef4f5.jpg","text":"TemporaryFile(/tmp/multipartBody6762954908444562072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205613476,"filename":"image_09042025_13_48_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/4/9/612c66112ed6c17d732027e97bc6f1fd.jpg","text":"TemporaryFile(/tmp/multipartBody2244407436947104717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205613476,"filename":"image_09042025_13_48_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/4/9/c65e2e54ce592f0c44170b5742fdd66c.jpg","text":"TemporaryFile(/tmp/multipartBody3202257079756281121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205613476,"filename":"image_09042025_13_48_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73c5f84a9b051c0f03a88e329b4313a6.jpg","text":"TemporaryFile(/tmp/multipartBody2772447997000315212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205613476,"filename":"image_09042025_13_47_55_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350795523","file1":"1350795520","file0":"1350795517","file4":"1350795529","file5":"1350795533","file3":"1350795527"},"map_files_photo_id_array":[{"photo_id":"1350795533","filename":"file5"},{"photo_id":"1350795523","filename":"file2"},{"photo_id":"1350795529","filename":"file4"},{"photo_id":"1350795520","filename":"file1"},{"photo_id":"1350795517","filename":"file0"},{"photo_id":"1350795527","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350795523":["hashtag1","hashtag2"]},{"1350795517":["hashtag1","hashtag2"]},{"1350795533":["hashtag1","hashtag2"]},{"1350795527":["hashtag1","hashtag2"]},{"1350795529":["hashtag1","hashtag2"]},{"1350795520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350795523, 1350795517, 1350795533, 1350795527, 1350795529, 1350795520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.044379949569702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:33:32.231377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_45_10419.jpg', '/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_55_10376.jpg', '/home/pi/Desktop/images/09042025/13/48/image_09042025_13_49_05_9348.jpg', '/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_15_10436.jpg', '/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_35_10348.jpg', '/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_45_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_45_10419.jpg
/home/pi/Desktop/images/09042025/13/48/image_09042025_13_48_55_10376.jpg
/home/pi/Desktop/images/09042025/13/48/image_09042025_13_49_05_9348.jpg
/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_15_10436.jpg
/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_35_10348.jpg
/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_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":["1350795684","1350795693","1350795686","1350795694","1350795688","1350795697"],"photo_ids_order":["1350795684","1350795686","1350795688","1350795693","1350795694","1350795697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a007184cde641e1a283429c02d40b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1662532936174007720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205672709,"filename":"image_09042025_13_48_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f81412bf9e517780776d90cdf353608a.jpg","text":"TemporaryFile(/tmp/multipartBody5747502859286596809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205672709,"filename":"image_09042025_13_49_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/4/9/439939dbef6ef2a06e5a5a2fdc460c63.jpg","text":"TemporaryFile(/tmp/multipartBody7240160719220659464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205672709,"filename":"image_09042025_13_48_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/4/9/b5fe4607f2bd7cb48a80db358dcac5aa.jpg","text":"TemporaryFile(/tmp/multipartBody5427354420629114106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205672709,"filename":"image_09042025_13_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/4/9/4ec7d058a3310b1ecefe3edc47967638.jpg","text":"TemporaryFile(/tmp/multipartBody7192555488884050090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205672709,"filename":"image_09042025_13_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/4/9/eacac0d182b05c9fc758d3930cd93f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6723922646229156953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205672709,"filename":"image_09042025_13_49_45_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350795688","file1":"1350795686","file0":"1350795684","file4":"1350795694","file5":"1350795697","file3":"1350795693"},"map_files_photo_id_array":[{"photo_id":"1350795697","filename":"file5"},{"photo_id":"1350795688","filename":"file2"},{"photo_id":"1350795694","filename":"file4"},{"photo_id":"1350795686","filename":"file1"},{"photo_id":"1350795684","filename":"file0"},{"photo_id":"1350795693","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350795684":["hashtag1","hashtag2"]},{"1350795693":["hashtag1","hashtag2"]},{"1350795686":["hashtag1","hashtag2"]},{"1350795694":["hashtag1","hashtag2"]},{"1350795688":["hashtag1","hashtag2"]},{"1350795697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350795684, 1350795693, 1350795686, 1350795694, 1350795688, 1350795697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92796754837036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:34:32.485438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_55_9360.jpg', '/home/pi/Desktop/images/09042025/13/49/image_09042025_13_50_05_10437.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_15_9398.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_25_10441.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_35_10356.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_45_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_55_9360.jpg
/home/pi/Desktop/images/09042025/13/49/image_09042025_13_50_05_10437.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_15_9398.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_25_10441.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_35_10356.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_45_9389.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3730947971343994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 15:34:42.424299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_55_9360.jpg', '/home/pi/Desktop/images/09042025/13/49/image_09042025_13_50_05_10437.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_15_9398.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_25_10441.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_35_10356.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_45_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/49/image_09042025_13_49_55_9360.jpg
/home/pi/Desktop/images/09042025/13/49/image_09042025_13_50_05_10437.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_15_9398.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_25_10441.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_35_10356.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_45_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350795867","1350795795","1350795780","1350795774","1350795869","1350795784"],"photo_ids_order":["1350795774","1350795780","1350795784","1350795795","1350795867","1350795869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81d7a34818d32a984c4ea71f8eb084cb.jpg","text":"TemporaryFile(/tmp/multipartBody3681505204320148914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205742902,"filename":"image_09042025_13_50_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/4/9/c257e7b21a32c6dae929c0d691b4b1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8522997394238868038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205742902,"filename":"image_09042025_13_50_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/4/9/f7592f6d811843a63fc8c14e56522aa0.jpg","text":"TemporaryFile(/tmp/multipartBody7869280085590181686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205742902,"filename":"image_09042025_13_50_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/4/9/ac52d9c0ab57bd8e083472879abebb46.jpg","text":"TemporaryFile(/tmp/multipartBody7797938489170013725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205742902,"filename":"image_09042025_13_49_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/4/9/a73c36eeaed6745f0408357ba03a056d.jpg","text":"TemporaryFile(/tmp/multipartBody2660666344541256520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205742902,"filename":"image_09042025_13_50_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bd99b6602dab5a08ccbd6134f68286ce.jpg","text":"TemporaryFile(/tmp/multipartBody8582074724973461685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205742902,"filename":"image_09042025_13_50_15_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350795784","file1":"1350795780","file0":"1350795774","file4":"1350795867","file5":"1350795869","file3":"1350795795"},"map_files_photo_id_array":[{"photo_id":"1350795869","filename":"file5"},{"photo_id":"1350795784","filename":"file2"},{"photo_id":"1350795867","filename":"file4"},{"photo_id":"1350795780","filename":"file1"},{"photo_id":"1350795774","filename":"file0"},{"photo_id":"1350795795","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350795867":["hashtag1","hashtag2"]},{"1350795795":["hashtag1","hashtag2"]},{"1350795780":["hashtag1","hashtag2"]},{"1350795774":["hashtag1","hashtag2"]},{"1350795869":["hashtag1","hashtag2"]},{"1350795784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350795867, 1350795795, 1350795780, 1350795774, 1350795869, 1350795784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.84625196456909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:35:32.593731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_55_10434.jpg', '/home/pi/Desktop/images/09042025/13/50/image_09042025_13_51_05_9337.jpg', '/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_15_10359.jpg', '/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_25_10398.jpg', '/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_35_9338.jpg', '/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_50_55_10434.jpg
/home/pi/Desktop/images/09042025/13/50/image_09042025_13_51_05_9337.jpg
/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_15_10359.jpg
/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_25_10398.jpg
/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_35_9338.jpg
/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_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":["1350795972","1350795995","1350795890","1350795920","1350795880","1350795946"],"photo_ids_order":["1350795880","1350795890","1350795920","1350795946","1350795972","1350795995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/977db8c477d884b3a491e307c0bbc5e4.jpg","text":"TemporaryFile(/tmp/multipartBody4528619304688459345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205793056,"filename":"image_09042025_13_51_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/4/9/ad2186169baa101ab7c7a3108b2d43c9.jpg","text":"TemporaryFile(/tmp/multipartBody3898631226004364452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205793056,"filename":"image_09042025_13_51_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/4/9/3b2ca26672cecede90fbd3ce15d3cc36.jpg","text":"TemporaryFile(/tmp/multipartBody8383309088249637719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205793056,"filename":"image_09042025_13_51_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4ccf0c09ec961deee89bb638432b4572.jpg","text":"TemporaryFile(/tmp/multipartBody3081014686959134632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205793056,"filename":"image_09042025_13_51_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/4/9/d1b712a025c96a0971af6334db41c0af.jpg","text":"TemporaryFile(/tmp/multipartBody5045089161988461079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205793056,"filename":"image_09042025_13_50_55_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/722ac84d2ff87d179ec495077a920ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5924652061748120680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205793056,"filename":"image_09042025_13_51_25_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350795920","file1":"1350795890","file0":"1350795880","file4":"1350795972","file5":"1350795995","file3":"1350795946"},"map_files_photo_id_array":[{"photo_id":"1350795995","filename":"file5"},{"photo_id":"1350795920","filename":"file2"},{"photo_id":"1350795972","filename":"file4"},{"photo_id":"1350795890","filename":"file1"},{"photo_id":"1350795880","filename":"file0"},{"photo_id":"1350795946","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350795972":["hashtag1","hashtag2"]},{"1350795995":["hashtag1","hashtag2"]},{"1350795890":["hashtag1","hashtag2"]},{"1350795920":["hashtag1","hashtag2"]},{"1350795880":["hashtag1","hashtag2"]},{"1350795946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350795972, 1350795995, 1350795890, 1350795920, 1350795880, 1350795946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.972135066986084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:36:32.890172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_55_10367.jpg', '/home/pi/Desktop/images/09042025/13/51/image_09042025_13_52_05_9342.jpg', '/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_15_10439.jpg', '/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_25_10348.jpg', '/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_35_9360.jpg', '/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_45_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/51/image_09042025_13_51_55_10367.jpg
/home/pi/Desktop/images/09042025/13/51/image_09042025_13_52_05_9342.jpg
/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_15_10439.jpg
/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_25_10348.jpg
/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_35_9360.jpg
/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_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":["1350796068","1350796110","1350796082","1350796087","1350796060","1350796077"],"photo_ids_order":["1350796060","1350796068","1350796077","1350796082","1350796087","1350796110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0049f53758d675f4f7ba25a6825c0afc.jpg","text":"TemporaryFile(/tmp/multipartBody1043997823106836725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205853355,"filename":"image_09042025_13_52_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/4/9/485c5062ec534ba82838ccd43a4d7c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6899093854922505822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205853355,"filename":"image_09042025_13_52_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/4/9/015e1adb7b1936bcd78e1301756a28fe.jpg","text":"TemporaryFile(/tmp/multipartBody8536838534340006168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205853355,"filename":"image_09042025_13_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/4/9/889efede1bfd35629fa2409e9b0ebf84.jpg","text":"TemporaryFile(/tmp/multipartBody5503519590408216890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205853355,"filename":"image_09042025_13_52_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/4/9/c90cddee084c1157b5a86464ca632ca4.jpg","text":"TemporaryFile(/tmp/multipartBody5423887315794302891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205853355,"filename":"image_09042025_13_51_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca0d9b2a0c09e8b6ba3ab645e67839f6.jpg","text":"TemporaryFile(/tmp/multipartBody8537095151423184982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205853355,"filename":"image_09042025_13_52_15_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350796077","file1":"1350796068","file0":"1350796060","file4":"1350796087","file5":"1350796110","file3":"1350796082"},"map_files_photo_id_array":[{"photo_id":"1350796110","filename":"file5"},{"photo_id":"1350796077","filename":"file2"},{"photo_id":"1350796087","filename":"file4"},{"photo_id":"1350796068","filename":"file1"},{"photo_id":"1350796060","filename":"file0"},{"photo_id":"1350796082","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350796068":["hashtag1","hashtag2"]},{"1350796110":["hashtag1","hashtag2"]},{"1350796082":["hashtag1","hashtag2"]},{"1350796087":["hashtag1","hashtag2"]},{"1350796060":["hashtag1","hashtag2"]},{"1350796077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350796068, 1350796110, 1350796082, 1350796087, 1350796060, 1350796077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8904914855957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:37:33.109030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_55_9408.jpg', '/home/pi/Desktop/images/09042025/13/52/image_09042025_13_53_05_10349.jpg', '/home/pi/Desktop/images/09042025/13/53/image_09042025_13_53_15_10452.jpg', '/home/pi/Desktop/images/09042025/13/53/image_09042025_13_53_25_9422.jpg', '/home/pi/Desktop/images/09042025/13/53/image_09042025_13_53_45_9354.jpg', '/home/pi/Desktop/images/09042025/13/53/image_09042025_13_53_55_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/52/image_09042025_13_52_55_9408.jpg
/home/pi/Desktop/images/09042025/13/52/image_09042025_13_53_05_10349.jpg
/home/pi/Desktop/images/09042025/13/53/image_09042025_13_53_15_10452.jpg
/home/pi/Desktop/images/09042025/13/53/image_09042025_13_53_25_9422.jpg
/home/pi/Desktop/images/09042025/13/53/image_09042025_13_53_45_9354.jpg
/home/pi/Desktop/images/09042025/13/53/image_09042025_13_53_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":["1350796239","1350796218","1350796283","1350796274","1350796279","1350796290"],"photo_ids_order":["1350796218","1350796239","1350796274","1350796279","1350796283","1350796290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e4fc43ac6d97401ba6327972e993d1c0.jpg","text":"TemporaryFile(/tmp/multipartBody5999128151626210893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205913594,"filename":"image_09042025_13_53_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/4/9/e10c433363f97c3df861704783db6bf7.jpg","text":"TemporaryFile(/tmp/multipartBody265132771453356131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205913594,"filename":"image_09042025_13_52_55_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aca406dff1e21dc11a9f77f0b57b6695.jpg","text":"TemporaryFile(/tmp/multipartBody2368368404902367618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205913594,"filename":"image_09042025_13_53_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/4/9/9fcf27f0868997370d7da2f07ad9dc09.jpg","text":"TemporaryFile(/tmp/multipartBody8646876240291033424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205913594,"filename":"image_09042025_13_53_15_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b6a67a1d3713e1aac7323158edbad31d.jpg","text":"TemporaryFile(/tmp/multipartBody5149169624699520475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205913594,"filename":"image_09042025_13_53_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/4/9/5d143cb28144cff8fd0b7dec2857557c.jpg","text":"TemporaryFile(/tmp/multipartBody2643700559421006081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205913594,"filename":"image_09042025_13_53_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350796274","file1":"1350796239","file0":"1350796218","file4":"1350796283","file5":"1350796290","file3":"1350796279"},"map_files_photo_id_array":[{"photo_id":"1350796290","filename":"file5"},{"photo_id":"1350796274","filename":"file2"},{"photo_id":"1350796283","filename":"file4"},{"photo_id":"1350796239","filename":"file1"},{"photo_id":"1350796218","filename":"file0"},{"photo_id":"1350796279","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350796239":["hashtag1","hashtag2"]},{"1350796218":["hashtag1","hashtag2"]},{"1350796283":["hashtag1","hashtag2"]},{"1350796274":["hashtag1","hashtag2"]},{"1350796279":["hashtag1","hashtag2"]},{"1350796290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350796239, 1350796218, 1350796283, 1350796274, 1350796279, 1350796290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10390281677246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:38:32.473709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/53/image_09042025_13_54_05_10420.jpg', '/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_15_9397.jpg', '/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_25_10418.jpg', '/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_35_9342.jpg', '/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_45_10342.jpg', '/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_55_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/53/image_09042025_13_54_05_10420.jpg
/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_15_9397.jpg
/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_25_10418.jpg
/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_35_9342.jpg
/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_45_10342.jpg
/home/pi/Desktop/images/09042025/13/54/image_09042025_13_54_55_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350796407","1350796439","1350796448","1350796399","1350796435","1350796386"],"photo_ids_order":["1350796386","1350796399","1350796407","1350796435","1350796439","1350796448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/387c017622a568416e9a7c9eda211ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1651157383333723906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205973001,"filename":"image_09042025_13_54_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/4/9/6f4a99822af4e85d27d727d44b524de7.jpg","text":"TemporaryFile(/tmp/multipartBody7896966027444647141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205973001,"filename":"image_09042025_13_54_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b5d89d858b0fb273aadb5fa486874b50.jpg","text":"TemporaryFile(/tmp/multipartBody8436847691365928377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205973001,"filename":"image_09042025_13_54_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/4/9/78c18bd98fe7c4e0be49764bd2e3e11c.jpg","text":"TemporaryFile(/tmp/multipartBody5905121895095520642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205973001,"filename":"image_09042025_13_54_15_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f005fe8e4bd38ff61c5152d2b368a09.jpg","text":"TemporaryFile(/tmp/multipartBody2836503816113873453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205973001,"filename":"image_09042025_13_54_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/4/9/5dbeab888301de52e3c698167cece496.jpg","text":"TemporaryFile(/tmp/multipartBody7075228534538584110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744205973001,"filename":"image_09042025_13_54_05_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350796407","file1":"1350796399","file0":"1350796386","file4":"1350796439","file5":"1350796448","file3":"1350796435"},"map_files_photo_id_array":[{"photo_id":"1350796448","filename":"file5"},{"photo_id":"1350796407","filename":"file2"},{"photo_id":"1350796439","filename":"file4"},{"photo_id":"1350796399","filename":"file1"},{"photo_id":"1350796386","filename":"file0"},{"photo_id":"1350796435","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350796407":["hashtag1","hashtag2"]},{"1350796439":["hashtag1","hashtag2"]},{"1350796448":["hashtag1","hashtag2"]},{"1350796399":["hashtag1","hashtag2"]},{"1350796435":["hashtag1","hashtag2"]},{"1350796386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350796407, 1350796439, 1350796448, 1350796399, 1350796435, 1350796386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49264192581177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:39:32.585526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/54/image_09042025_13_55_05_9360.jpg', '/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_15_10349.jpg', '/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_25_10443.jpg', '/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_35_9442.jpg', '/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_45_10359.jpg', '/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_55_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/54/image_09042025_13_55_05_9360.jpg
/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_15_10349.jpg
/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_25_10443.jpg
/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_35_9442.jpg
/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_45_10359.jpg
/home/pi/Desktop/images/09042025/13/55/image_09042025_13_55_55_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":["1350796668","1350796635","1350796602","1350796528","1350796659","1350796572"],"photo_ids_order":["1350796528","1350796572","1350796602","1350796635","1350796659","1350796668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d2b6347c724b46cc21423a88831fca0e.jpg","text":"TemporaryFile(/tmp/multipartBody7281104462179947365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206033043,"filename":"image_09042025_13_55_55_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57f70070abb7a00d2f0c38e85d161668.jpg","text":"TemporaryFile(/tmp/multipartBody9141805870146510353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206033043,"filename":"image_09042025_13_55_35_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/905b166b7883e9797f092081a03f7a70.jpg","text":"TemporaryFile(/tmp/multipartBody6261251202953295134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206033043,"filename":"image_09042025_13_55_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6db87da717bca5cf7b5548ed40d56d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4700491474805792534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206033043,"filename":"image_09042025_13_55_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80e829534f2efb267cf49594f3510f73.jpg","text":"TemporaryFile(/tmp/multipartBody620633050547191091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206033043,"filename":"image_09042025_13_55_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/4/9/e834cdcca50179468670c6501e2aa871.jpg","text":"TemporaryFile(/tmp/multipartBody7389678661258645323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206033043,"filename":"image_09042025_13_55_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350796602","file1":"1350796572","file0":"1350796528","file4":"1350796659","file5":"1350796668","file3":"1350796635"},"map_files_photo_id_array":[{"photo_id":"1350796668","filename":"file5"},{"photo_id":"1350796602","filename":"file2"},{"photo_id":"1350796659","filename":"file4"},{"photo_id":"1350796572","filename":"file1"},{"photo_id":"1350796528","filename":"file0"},{"photo_id":"1350796635","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350796668":["hashtag1","hashtag2"]},{"1350796635":["hashtag1","hashtag2"]},{"1350796602":["hashtag1","hashtag2"]},{"1350796528":["hashtag1","hashtag2"]},{"1350796659":["hashtag1","hashtag2"]},{"1350796572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350796668, 1350796635, 1350796602, 1350796528, 1350796659, 1350796572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91285991668701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:40:32.773017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/55/image_09042025_13_56_05_10350.jpg', '/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_15_10379.jpg', '/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_25_9352.jpg', '/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_35_10383.jpg', '/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_45_10346.jpg', '/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_55_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/55/image_09042025_13_56_05_10350.jpg
/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_15_10379.jpg
/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_25_9352.jpg
/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_35_10383.jpg
/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_45_10346.jpg
/home/pi/Desktop/images/09042025/13/56/image_09042025_13_56_55_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":["1350796787","1350796771","1350796762","1350796782","1350796776","1350796758"],"photo_ids_order":["1350796758","1350796762","1350796771","1350796776","1350796782","1350796787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/14e1305a6904bf090f72b2ef156d441d.jpg","text":"TemporaryFile(/tmp/multipartBody3873836895081805973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206093231,"filename":"image_09042025_13_56_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/4/9/70b5a116c488cfc2f0b799dc2d8ee970.jpg","text":"TemporaryFile(/tmp/multipartBody1391677000817980940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206093231,"filename":"image_09042025_13_56_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/4/9/c2f057483139a9926d12e2bdeb62481e.jpg","text":"TemporaryFile(/tmp/multipartBody7771975831471071528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206093231,"filename":"image_09042025_13_56_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/4/9/a9381b13617402dd4e675a1f7803c105.jpg","text":"TemporaryFile(/tmp/multipartBody2104718392320738824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206093231,"filename":"image_09042025_13_56_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52970fe3f3efc50568acb974a6dd34f5.jpg","text":"TemporaryFile(/tmp/multipartBody7733056350528098550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206093231,"filename":"image_09042025_13_56_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/4/9/05a26fd04e8e8f44d346109b1b67c13b.jpg","text":"TemporaryFile(/tmp/multipartBody6990219312344901990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206093231,"filename":"image_09042025_13_56_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350796771","file1":"1350796762","file0":"1350796758","file4":"1350796782","file5":"1350796787","file3":"1350796776"},"map_files_photo_id_array":[{"photo_id":"1350796787","filename":"file5"},{"photo_id":"1350796771","filename":"file2"},{"photo_id":"1350796782","filename":"file4"},{"photo_id":"1350796762","filename":"file1"},{"photo_id":"1350796758","filename":"file0"},{"photo_id":"1350796776","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350796787":["hashtag1","hashtag2"]},{"1350796771":["hashtag1","hashtag2"]},{"1350796762":["hashtag1","hashtag2"]},{"1350796782":["hashtag1","hashtag2"]},{"1350796776":["hashtag1","hashtag2"]},{"1350796758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350796787, 1350796771, 1350796762, 1350796782, 1350796776, 1350796758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4568772315979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:41:33.167157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/56/image_09042025_13_57_05_10417.jpg', '/home/pi/Desktop/images/09042025/13/57/image_09042025_13_57_15_10374.jpg', '/home/pi/Desktop/images/09042025/13/57/image_09042025_13_57_35_10441.jpg', '/home/pi/Desktop/images/09042025/13/57/image_09042025_13_57_45_9384.jpg', '/home/pi/Desktop/images/09042025/13/57/image_09042025_13_57_55_10448.jpg', '/home/pi/Desktop/images/09042025/13/57/image_09042025_13_58_05_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/56/image_09042025_13_57_05_10417.jpg
/home/pi/Desktop/images/09042025/13/57/image_09042025_13_57_15_10374.jpg
/home/pi/Desktop/images/09042025/13/57/image_09042025_13_57_35_10441.jpg
/home/pi/Desktop/images/09042025/13/57/image_09042025_13_57_45_9384.jpg
/home/pi/Desktop/images/09042025/13/57/image_09042025_13_57_55_10448.jpg
/home/pi/Desktop/images/09042025/13/57/image_09042025_13_58_05_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350796821","1350796871","1350796835","1350796844","1350796826","1350796840"],"photo_ids_order":["1350796821","1350796826","1350796835","1350796840","1350796844","1350796871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e1b5e1bc0b5e3b083db5f3138466c97.jpg","text":"TemporaryFile(/tmp/multipartBody7408421041520103784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206153624,"filename":"image_09042025_13_57_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e4927675b39d37ba035ea9f7539bbcb0.jpg","text":"TemporaryFile(/tmp/multipartBody580408074694495130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206153624,"filename":"image_09042025_13_58_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/209ce3a2e2149df4a55cec2111cd9799.jpg","text":"TemporaryFile(/tmp/multipartBody307910335407475966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206153624,"filename":"image_09042025_13_57_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/4/9/697d95ffe140f5f23abc5821a2b878bb.jpg","text":"TemporaryFile(/tmp/multipartBody616818630247249091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206153624,"filename":"image_09042025_13_57_55_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efd525cc7a06ef25452cd2a9f456986a.jpg","text":"TemporaryFile(/tmp/multipartBody7993305196104139386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206153624,"filename":"image_09042025_13_57_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f6ad9f8a5252f7984c3a32cf1a8746d.jpg","text":"TemporaryFile(/tmp/multipartBody4794264157733471966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206153624,"filename":"image_09042025_13_57_45_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350796835","file1":"1350796826","file0":"1350796821","file4":"1350796844","file5":"1350796871","file3":"1350796840"},"map_files_photo_id_array":[{"photo_id":"1350796871","filename":"file5"},{"photo_id":"1350796835","filename":"file2"},{"photo_id":"1350796844","filename":"file4"},{"photo_id":"1350796826","filename":"file1"},{"photo_id":"1350796821","filename":"file0"},{"photo_id":"1350796840","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350796821":["hashtag1","hashtag2"]},{"1350796871":["hashtag1","hashtag2"]},{"1350796835":["hashtag1","hashtag2"]},{"1350796844":["hashtag1","hashtag2"]},{"1350796826":["hashtag1","hashtag2"]},{"1350796840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350796821, 1350796871, 1350796835, 1350796844, 1350796826, 1350796840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.107789278030396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:42:33.173228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_15_10369.jpg', '/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_25_10366.jpg', '/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_35_9342.jpg', '/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_45_10341.jpg', '/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_55_10366.jpg', '/home/pi/Desktop/images/09042025/13/58/image_09042025_13_59_05_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_15_10369.jpg
/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_25_10366.jpg
/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_35_9342.jpg
/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_45_10341.jpg
/home/pi/Desktop/images/09042025/13/58/image_09042025_13_58_55_10366.jpg
/home/pi/Desktop/images/09042025/13/58/image_09042025_13_59_05_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350796905","1350796917","1350796930","1350796927","1350796912","1350796909"],"photo_ids_order":["1350796905","1350796909","1350796912","1350796917","1350796927","1350796930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/141bee928e16b431614b4638b6c3b8e6.jpg","text":"TemporaryFile(/tmp/multipartBody562578564667203530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206213635,"filename":"image_09042025_13_58_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/4/9/d7eaad44f730c240888b87274f005a65.jpg","text":"TemporaryFile(/tmp/multipartBody2035016992627502772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206213635,"filename":"image_09042025_13_58_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/4/9/2a7a604a846b91b1788bd9d5fd30b367.jpg","text":"TemporaryFile(/tmp/multipartBody6667252662504204307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206213635,"filename":"image_09042025_13_59_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/4/9/c19fb1b75785309e71e75e5b85b67b37.jpg","text":"TemporaryFile(/tmp/multipartBody8964726224575666073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206213635,"filename":"image_09042025_13_58_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/4/9/55827f37dea64c819b2b2f23489950fd.jpg","text":"TemporaryFile(/tmp/multipartBody5563851880722316543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206213635,"filename":"image_09042025_13_58_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/4/9/3ca2542cc2173ae740fb78cf161fe2fe.jpg","text":"TemporaryFile(/tmp/multipartBody6096497582843672998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206213635,"filename":"image_09042025_13_58_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350796912","file1":"1350796909","file0":"1350796905","file4":"1350796927","file5":"1350796930","file3":"1350796917"},"map_files_photo_id_array":[{"photo_id":"1350796930","filename":"file5"},{"photo_id":"1350796912","filename":"file2"},{"photo_id":"1350796927","filename":"file4"},{"photo_id":"1350796909","filename":"file1"},{"photo_id":"1350796905","filename":"file0"},{"photo_id":"1350796917","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350796905":["hashtag1","hashtag2"]},{"1350796917":["hashtag1","hashtag2"]},{"1350796930":["hashtag1","hashtag2"]},{"1350796927":["hashtag1","hashtag2"]},{"1350796912":["hashtag1","hashtag2"]},{"1350796909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350796905, 1350796917, 1350796930, 1350796927, 1350796912, 1350796909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56301164627075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:43:32.317666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_15_10354.jpg', '/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_25_10426.jpg', '/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_35_9381.jpg', '/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_45_10408.jpg', '/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_55_9422.jpg', '/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_16_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_15_10354.jpg
/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_25_10426.jpg
/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_35_9381.jpg
/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_45_10408.jpg
/home/pi/Desktop/images/09042025/13/59/image_09042025_13_59_55_9422.jpg
/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_16_10077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350796965","1350796994","1350796973","1350796999","1350797002","1350796969"],"photo_ids_order":["1350796965","1350796969","1350796973","1350796994","1350796999","1350797002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/479d864d9dabdea9bbb30bf50692a2b9.jpg","text":"TemporaryFile(/tmp/multipartBody6099838116896990903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206272778,"filename":"image_09042025_13_59_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/4/9/24860d91b4a430a7de97c0fc4a315fae.jpg","text":"TemporaryFile(/tmp/multipartBody2221069735366333963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206272778,"filename":"image_09042025_13_59_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/4/9/9aea9cd363eae0d1a384ba3b10779e12.jpg","text":"TemporaryFile(/tmp/multipartBody2426608269522097025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206272778,"filename":"image_09042025_13_59_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52fff899f94d824911815e644414b4c0.jpg","text":"TemporaryFile(/tmp/multipartBody7222352790741402823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206272778,"filename":"image_09042025_13_59_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04af1481026f33d2449ffa47c314a872.jpg","text":"TemporaryFile(/tmp/multipartBody372883349955099382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206272778,"filename":"image_09042025_14_00_16_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e922687337e4351b0bb188884b521dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6220766590738152801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206272778,"filename":"image_09042025_13_59_25_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350796973","file1":"1350796969","file0":"1350796965","file4":"1350796999","file5":"1350797002","file3":"1350796994"},"map_files_photo_id_array":[{"photo_id":"1350797002","filename":"file5"},{"photo_id":"1350796973","filename":"file2"},{"photo_id":"1350796999","filename":"file4"},{"photo_id":"1350796969","filename":"file1"},{"photo_id":"1350796965","filename":"file0"},{"photo_id":"1350796994","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350796965":["hashtag1","hashtag2"]},{"1350796994":["hashtag1","hashtag2"]},{"1350796973":["hashtag1","hashtag2"]},{"1350796999":["hashtag1","hashtag2"]},{"1350797002":["hashtag1","hashtag2"]},{"1350796969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350796965, 1350796994, 1350796973, 1350796999, 1350797002, 1350796969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.936086654663086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:44:32.635490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_26_10411.jpg', '/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_36_10346.jpg', '/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_46_9364.jpg', '/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_56_10427.jpg', '/home/pi/Desktop/images/09042025/14/00/image_09042025_14_01_07_10331.jpg', '/home/pi/Desktop/images/09042025/14/01/image_09042025_14_01_16_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_26_10411.jpg
/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_36_10346.jpg
/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_46_9364.jpg
/home/pi/Desktop/images/09042025/14/00/image_09042025_14_00_56_10427.jpg
/home/pi/Desktop/images/09042025/14/00/image_09042025_14_01_07_10331.jpg
/home/pi/Desktop/images/09042025/14/01/image_09042025_14_01_16_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":["1350797072","1350797033","1350797065","1350797053","1350797029","1350797031"],"photo_ids_order":["1350797029","1350797031","1350797033","1350797053","1350797065","1350797072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4af6d148869c6fdde6928a3bbf2a3b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3216903776529652594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206333093,"filename":"image_09042025_14_01_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/4/9/84a5b05b68663fb93a8e54df43fa5b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7094544025555784838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206333093,"filename":"image_09042025_14_00_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d52a1b3eea7828ea24272b92d8df0cb.jpg","text":"TemporaryFile(/tmp/multipartBody2497171358804608209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206333093,"filename":"image_09042025_14_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/4/9/0e6899f6dca007bfc61a0a2a094082f0.jpg","text":"TemporaryFile(/tmp/multipartBody7063841562978586620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206333093,"filename":"image_09042025_14_00_56_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b89403e114d9b22ecf578ec350e46558.jpg","text":"TemporaryFile(/tmp/multipartBody719392483739561697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206333093,"filename":"image_09042025_14_00_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/4/9/a923e91727b5f76368c48443598cab78.jpg","text":"TemporaryFile(/tmp/multipartBody9201026260024558635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206333093,"filename":"image_09042025_14_00_36_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797033","file1":"1350797031","file0":"1350797029","file4":"1350797065","file5":"1350797072","file3":"1350797053"},"map_files_photo_id_array":[{"photo_id":"1350797072","filename":"file5"},{"photo_id":"1350797033","filename":"file2"},{"photo_id":"1350797065","filename":"file4"},{"photo_id":"1350797031","filename":"file1"},{"photo_id":"1350797029","filename":"file0"},{"photo_id":"1350797053","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797072":["hashtag1","hashtag2"]},{"1350797033":["hashtag1","hashtag2"]},{"1350797065":["hashtag1","hashtag2"]},{"1350797053":["hashtag1","hashtag2"]},{"1350797029":["hashtag1","hashtag2"]},{"1350797031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797072, 1350797033, 1350797065, 1350797053, 1350797029, 1350797031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.611817598342896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:45:32.857591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/01/image_09042025_14_01_36_9342.jpg', '/home/pi/Desktop/images/09042025/14/01/image_09042025_14_01_46_10412.jpg', '/home/pi/Desktop/images/09042025/14/01/image_09042025_14_01_57_10373.jpg', '/home/pi/Desktop/images/09042025/14/01/image_09042025_14_02_06_9391.jpg', '/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_16_10449.jpg', '/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_26_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/01/image_09042025_14_01_36_9342.jpg
/home/pi/Desktop/images/09042025/14/01/image_09042025_14_01_46_10412.jpg
/home/pi/Desktop/images/09042025/14/01/image_09042025_14_01_57_10373.jpg
/home/pi/Desktop/images/09042025/14/01/image_09042025_14_02_06_9391.jpg
/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_16_10449.jpg
/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_26_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350797096","1350797243","1350797218","1350797113","1350797193","1350797157"],"photo_ids_order":["1350797096","1350797113","1350797157","1350797193","1350797218","1350797243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc003cc30d868d144c8a9d3b5edf11ec.jpg","text":"TemporaryFile(/tmp/multipartBody7157941024194813782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206393343,"filename":"image_09042025_14_01_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/4/9/8ce51343208db43c20b128307134a1af.jpg","text":"TemporaryFile(/tmp/multipartBody529853128667508185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206393343,"filename":"image_09042025_14_02_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/4/9/57b2f18e8de04dd199175c9444f13abd.jpg","text":"TemporaryFile(/tmp/multipartBody2814477022315062076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206393343,"filename":"image_09042025_14_02_16_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39b216863dbc90a2c52b2dd4b90612f3.jpg","text":"TemporaryFile(/tmp/multipartBody5607314251236314477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206393343,"filename":"image_09042025_14_01_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/4/9/12e3eb2b57399f5ac6982566ba107873.jpg","text":"TemporaryFile(/tmp/multipartBody5987341092351605964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206393343,"filename":"image_09042025_14_02_06_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9045f160c7e4be0d6bdc5a5145c65af.jpg","text":"TemporaryFile(/tmp/multipartBody3332031024172682054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206393343,"filename":"image_09042025_14_01_57_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797157","file1":"1350797113","file0":"1350797096","file4":"1350797218","file5":"1350797243","file3":"1350797193"},"map_files_photo_id_array":[{"photo_id":"1350797243","filename":"file5"},{"photo_id":"1350797157","filename":"file2"},{"photo_id":"1350797218","filename":"file4"},{"photo_id":"1350797113","filename":"file1"},{"photo_id":"1350797096","filename":"file0"},{"photo_id":"1350797193","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797096":["hashtag1","hashtag2"]},{"1350797243":["hashtag1","hashtag2"]},{"1350797218":["hashtag1","hashtag2"]},{"1350797113":["hashtag1","hashtag2"]},{"1350797193":["hashtag1","hashtag2"]},{"1350797157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797096, 1350797243, 1350797218, 1350797113, 1350797193, 1350797157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.738518714904785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:46:33.024714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_36_10445.jpg', '/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_47_10364.jpg', '/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_56_9350.jpg', '/home/pi/Desktop/images/09042025/14/02/image_09042025_14_03_06_10372.jpg', '/home/pi/Desktop/images/09042025/14/03/image_09042025_14_03_26_9472.jpg', '/home/pi/Desktop/images/09042025/14/03/image_09042025_14_03_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_36_10445.jpg
/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_47_10364.jpg
/home/pi/Desktop/images/09042025/14/02/image_09042025_14_02_56_9350.jpg
/home/pi/Desktop/images/09042025/14/02/image_09042025_14_03_06_10372.jpg
/home/pi/Desktop/images/09042025/14/03/image_09042025_14_03_26_9472.jpg
/home/pi/Desktop/images/09042025/14/03/image_09042025_14_03_36_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350797357","1350797352","1350797346","1350797355","1350797349","1350797340"],"photo_ids_order":["1350797340","1350797346","1350797349","1350797352","1350797355","1350797357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b53fc08de6785c4abe06c2800b19d2c4.jpg","text":"TemporaryFile(/tmp/multipartBody5683899473369430161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206453531,"filename":"image_09042025_14_03_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/413c6872263f65c182b77dd35632ab82.jpg","text":"TemporaryFile(/tmp/multipartBody7254867420400668434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206453531,"filename":"image_09042025_14_03_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/4/9/322663d094e5e8c28a1f22c85157e9ff.jpg","text":"TemporaryFile(/tmp/multipartBody6466252769120428639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206453531,"filename":"image_09042025_14_02_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6ed02ad0750e8dc938d9d0e982ef06a.jpg","text":"TemporaryFile(/tmp/multipartBody2366610023623378937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206453531,"filename":"image_09042025_14_03_26_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a4c832d6e51e56c7698d4c9096eeb06.jpg","text":"TemporaryFile(/tmp/multipartBody4443669681333816382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206453531,"filename":"image_09042025_14_02_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/4/9/48fd46629e343b7ffe2a438b009a820f.jpg","text":"TemporaryFile(/tmp/multipartBody922091103783582377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206453531,"filename":"image_09042025_14_02_36_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797349","file1":"1350797346","file0":"1350797340","file4":"1350797355","file5":"1350797357","file3":"1350797352"},"map_files_photo_id_array":[{"photo_id":"1350797357","filename":"file5"},{"photo_id":"1350797349","filename":"file2"},{"photo_id":"1350797355","filename":"file4"},{"photo_id":"1350797346","filename":"file1"},{"photo_id":"1350797340","filename":"file0"},{"photo_id":"1350797352","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797357":["hashtag1","hashtag2"]},{"1350797352":["hashtag1","hashtag2"]},{"1350797346":["hashtag1","hashtag2"]},{"1350797355":["hashtag1","hashtag2"]},{"1350797349":["hashtag1","hashtag2"]},{"1350797340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797357, 1350797352, 1350797346, 1350797355, 1350797349, 1350797340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42371845245361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:47:32.261635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/03/image_09042025_14_03_46_9464.jpg', '/home/pi/Desktop/images/09042025/14/03/image_09042025_14_03_56_10345.jpg', '/home/pi/Desktop/images/09042025/14/03/image_09042025_14_04_07_10377.jpg', '/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_16_9328.jpg', '/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_26_10458.jpg', '/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_36_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/03/image_09042025_14_03_46_9464.jpg
/home/pi/Desktop/images/09042025/14/03/image_09042025_14_03_56_10345.jpg
/home/pi/Desktop/images/09042025/14/03/image_09042025_14_04_07_10377.jpg
/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_16_9328.jpg
/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_26_10458.jpg
/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_36_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":["1350797480","1350797533","1350797455","1350797500","1350797430","1350797460"],"photo_ids_order":["1350797430","1350797455","1350797460","1350797480","1350797500","1350797533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26896c1591d9ade4d909c152ec22092c.jpg","text":"TemporaryFile(/tmp/multipartBody1410089290635118093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206512734,"filename":"image_09042025_14_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/4/9/6dde840b5de9c3ec62bdbc82bda9f507.jpg","text":"TemporaryFile(/tmp/multipartBody5799316317166602988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206512734,"filename":"image_09042025_14_04_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/4/9/4babd82d26750ea04d069184580c2a98.jpg","text":"TemporaryFile(/tmp/multipartBody6238919210994142659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206512734,"filename":"image_09042025_14_03_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c46dae0541e25dec1da4853c2f72c043.jpg","text":"TemporaryFile(/tmp/multipartBody2836279692484355871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206512734,"filename":"image_09042025_14_04_26_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/439fd42292c4fb3ad424cdb901d01523.jpg","text":"TemporaryFile(/tmp/multipartBody8875310979533168075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206512734,"filename":"image_09042025_14_03_46_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/302a4d07adbd75875908b95d0f3ae7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2353726402235431484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206512734,"filename":"image_09042025_14_04_07_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797460","file1":"1350797455","file0":"1350797430","file4":"1350797500","file5":"1350797533","file3":"1350797480"},"map_files_photo_id_array":[{"photo_id":"1350797533","filename":"file5"},{"photo_id":"1350797460","filename":"file2"},{"photo_id":"1350797500","filename":"file4"},{"photo_id":"1350797455","filename":"file1"},{"photo_id":"1350797430","filename":"file0"},{"photo_id":"1350797480","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797480":["hashtag1","hashtag2"]},{"1350797533":["hashtag1","hashtag2"]},{"1350797455":["hashtag1","hashtag2"]},{"1350797500":["hashtag1","hashtag2"]},{"1350797430":["hashtag1","hashtag2"]},{"1350797460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797480, 1350797533, 1350797455, 1350797500, 1350797430, 1350797460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19681525230408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:48:32.491556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_46_10454.jpg', '/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_57_10353.jpg', '/home/pi/Desktop/images/09042025/14/04/image_09042025_14_05_06_9336.jpg', '/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_16_10352.jpg', '/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_26_9361.jpg', '/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_36_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_46_10454.jpg
/home/pi/Desktop/images/09042025/14/04/image_09042025_14_04_57_10353.jpg
/home/pi/Desktop/images/09042025/14/04/image_09042025_14_05_06_9336.jpg
/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_16_10352.jpg
/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_26_9361.jpg
/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_36_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350797621","1350797618","1350797612","1350797578","1350797623","1350797583"],"photo_ids_order":["1350797578","1350797583","1350797612","1350797618","1350797621","1350797623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7239113b0b6eb5c43b0384b364e7538f.jpg","text":"TemporaryFile(/tmp/multipartBody7659763154953001647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206572945,"filename":"image_09042025_14_05_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/580f910fb142e419c3fda39c27725069.jpg","text":"TemporaryFile(/tmp/multipartBody6083273010180889858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206572945,"filename":"image_09042025_14_05_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/4/9/b92dafafcc77eb4b78262f1f37e000ac.jpg","text":"TemporaryFile(/tmp/multipartBody6346557939517690633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206572945,"filename":"image_09042025_14_05_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/4/9/274f686d6c5522a6fa03b1c0c7fcb582.jpg","text":"TemporaryFile(/tmp/multipartBody8468513037654904818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206572945,"filename":"image_09042025_14_04_46_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/35f1f105876f1b7eb0f7fe0b3986c4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4415581705366572140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206572945,"filename":"image_09042025_14_05_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa13bf66d1a988939d2edbd52bab90b8.jpg","text":"TemporaryFile(/tmp/multipartBody5384307298828066096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206572945,"filename":"image_09042025_14_04_57_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797612","file1":"1350797583","file0":"1350797578","file4":"1350797621","file5":"1350797623","file3":"1350797618"},"map_files_photo_id_array":[{"photo_id":"1350797623","filename":"file5"},{"photo_id":"1350797612","filename":"file2"},{"photo_id":"1350797621","filename":"file4"},{"photo_id":"1350797583","filename":"file1"},{"photo_id":"1350797578","filename":"file0"},{"photo_id":"1350797618","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797621":["hashtag1","hashtag2"]},{"1350797618":["hashtag1","hashtag2"]},{"1350797612":["hashtag1","hashtag2"]},{"1350797578":["hashtag1","hashtag2"]},{"1350797623":["hashtag1","hashtag2"]},{"1350797583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797621, 1350797618, 1350797612, 1350797578, 1350797623, 1350797583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53840732574463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:49:32.751026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_47_10386.jpg', '/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_56_9336.jpg', '/home/pi/Desktop/images/09042025/14/05/image_09042025_14_06_06_10364.jpg', '/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_17_10357.jpg', '/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_26_9361.jpg', '/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_36_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_47_10386.jpg
/home/pi/Desktop/images/09042025/14/05/image_09042025_14_05_56_9336.jpg
/home/pi/Desktop/images/09042025/14/05/image_09042025_14_06_06_10364.jpg
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_17_10357.jpg
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_26_9361.jpg
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_36_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350797663","1350797689","1350797668","1350797673","1350797682","1350797658"],"photo_ids_order":["1350797658","1350797663","1350797668","1350797673","1350797682","1350797689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e4f8c8a4a30467c2c52acddda876cedf.jpg","text":"TemporaryFile(/tmp/multipartBody4582890056757516401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206633204,"filename":"image_09042025_14_05_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c494dbc61a1b2400c40101a17804b0f8.jpg","text":"TemporaryFile(/tmp/multipartBody2629723918412533983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206633204,"filename":"image_09042025_14_06_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5131e13a53113b199308d02871c2c23.jpg","text":"TemporaryFile(/tmp/multipartBody7144314031439017908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206633204,"filename":"image_09042025_14_06_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/4/9/4693bbe61609354720271c31328ef7e8.jpg","text":"TemporaryFile(/tmp/multipartBody3062735420363602252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206633204,"filename":"image_09042025_14_06_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c2b111551babc7002ef8c04dda70de8.jpg","text":"TemporaryFile(/tmp/multipartBody6603338545085738329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206633204,"filename":"image_09042025_14_06_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/355a8d4e0221f20dc27d4102c12aef5b.jpg","text":"TemporaryFile(/tmp/multipartBody6689791851862526394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206633204,"filename":"image_09042025_14_05_47_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797668","file1":"1350797663","file0":"1350797658","file4":"1350797682","file5":"1350797689","file3":"1350797673"},"map_files_photo_id_array":[{"photo_id":"1350797689","filename":"file5"},{"photo_id":"1350797668","filename":"file2"},{"photo_id":"1350797682","filename":"file4"},{"photo_id":"1350797663","filename":"file1"},{"photo_id":"1350797658","filename":"file0"},{"photo_id":"1350797673","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797663":["hashtag1","hashtag2"]},{"1350797689":["hashtag1","hashtag2"]},{"1350797668":["hashtag1","hashtag2"]},{"1350797673":["hashtag1","hashtag2"]},{"1350797682":["hashtag1","hashtag2"]},{"1350797658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797663, 1350797689, 1350797668, 1350797673, 1350797682, 1350797658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.070289611816406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:50:33.035311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_46_9343.jpg', '/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_56_10448.jpg', '/home/pi/Desktop/images/09042025/14/06/image_09042025_14_07_06_10340.jpg', '/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_16_9334.jpg', '/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_26_10361.jpg', '/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_56_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_46_9343.jpg
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_56_10448.jpg
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_07_06_10340.jpg
/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_16_9334.jpg
/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_26_10361.jpg
/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_56_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37636494636535645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 15:50:43.032766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_46_9343.jpg', '/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_56_10448.jpg', '/home/pi/Desktop/images/09042025/14/06/image_09042025_14_07_06_10340.jpg', '/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_16_9334.jpg', '/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_26_10361.jpg', '/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_56_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_46_9343.jpg
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_06_56_10448.jpg
/home/pi/Desktop/images/09042025/14/06/image_09042025_14_07_06_10340.jpg
/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_16_9334.jpg
/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_26_10361.jpg
/home/pi/Desktop/images/09042025/14/07/image_09042025_14_07_56_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":["1350797782","1350797785","1350797773","1350797790","1350797787","1350797778"],"photo_ids_order":["1350797773","1350797778","1350797782","1350797785","1350797787","1350797790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10868b575aa9d3f283bc315ede6a81e6.jpg","text":"TemporaryFile(/tmp/multipartBody5854164755541493047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206703552,"filename":"image_09042025_14_07_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/080f3e59d015264e16ad8c2ef7615f39.jpg","text":"TemporaryFile(/tmp/multipartBody8938864379035505377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206703552,"filename":"image_09042025_14_07_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/4/9/f775f5f8059bc0883010df707bfeea5d.jpg","text":"TemporaryFile(/tmp/multipartBody576636335310974094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206703552,"filename":"image_09042025_14_06_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/4/9/0ab83ad52354528f50dafc5c7a69e338.jpg","text":"TemporaryFile(/tmp/multipartBody2110676777995288125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206703552,"filename":"image_09042025_14_07_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/4/9/c2ad96ecfc57950dc377de41ff5f6eea.jpg","text":"TemporaryFile(/tmp/multipartBody7057577303397197122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206703552,"filename":"image_09042025_14_07_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d620542f9f94fd3680ca19844b295cd4.jpg","text":"TemporaryFile(/tmp/multipartBody6722328434227490106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206703552,"filename":"image_09042025_14_06_56_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797782","file1":"1350797778","file0":"1350797773","file4":"1350797787","file5":"1350797790","file3":"1350797785"},"map_files_photo_id_array":[{"photo_id":"1350797790","filename":"file5"},{"photo_id":"1350797782","filename":"file2"},{"photo_id":"1350797787","filename":"file4"},{"photo_id":"1350797778","filename":"file1"},{"photo_id":"1350797773","filename":"file0"},{"photo_id":"1350797785","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797782":["hashtag1","hashtag2"]},{"1350797785":["hashtag1","hashtag2"]},{"1350797773":["hashtag1","hashtag2"]},{"1350797790":["hashtag1","hashtag2"]},{"1350797787":["hashtag1","hashtag2"]},{"1350797778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797782, 1350797785, 1350797773, 1350797790, 1350797787, 1350797778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.6940860748291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:51:32.190112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/07/image_09042025_14_08_06_9343.jpg', '/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_16_10401.jpg', '/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_26_10350.jpg', '/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_36_9405.jpg', '/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_46_10440.jpg', '/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_57_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/07/image_09042025_14_08_06_9343.jpg
/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_16_10401.jpg
/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_26_10350.jpg
/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_36_9405.jpg
/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_46_10440.jpg
/home/pi/Desktop/images/09042025/14/08/image_09042025_14_08_57_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350797822","1350797845","1350797824","1350797833","1350797836","1350797829"],"photo_ids_order":["1350797822","1350797824","1350797829","1350797833","1350797836","1350797845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b449034b9b0971345b3f3e558ccf7d46.jpg","text":"TemporaryFile(/tmp/multipartBody566394064748200210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206752646,"filename":"image_09042025_14_08_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/4/9/4c76d0ea59539dcb8ce97eb40930c9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7331930928478189480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206752646,"filename":"image_09042025_14_08_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/4/9/e543dc36fb531b13da40e3f01eb76673.jpg","text":"TemporaryFile(/tmp/multipartBody3529269115846777109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206752646,"filename":"image_09042025_14_08_16_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3942f1ea5e660e6b7b855e9a4f06ffc9.jpg","text":"TemporaryFile(/tmp/multipartBody4469478481730067979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206752646,"filename":"image_09042025_14_08_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/4/9/60a90f98b620a93a631adc793a30a9bc.jpg","text":"TemporaryFile(/tmp/multipartBody1610016459505113923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206752646,"filename":"image_09042025_14_08_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/4/9/46ebf8b886b0ff9eabf739cd8e09654b.jpg","text":"TemporaryFile(/tmp/multipartBody8464921162228949998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206752646,"filename":"image_09042025_14_08_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797829","file1":"1350797824","file0":"1350797822","file4":"1350797836","file5":"1350797845","file3":"1350797833"},"map_files_photo_id_array":[{"photo_id":"1350797845","filename":"file5"},{"photo_id":"1350797829","filename":"file2"},{"photo_id":"1350797836","filename":"file4"},{"photo_id":"1350797824","filename":"file1"},{"photo_id":"1350797822","filename":"file0"},{"photo_id":"1350797833","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797822":["hashtag1","hashtag2"]},{"1350797845":["hashtag1","hashtag2"]},{"1350797824":["hashtag1","hashtag2"]},{"1350797833":["hashtag1","hashtag2"]},{"1350797836":["hashtag1","hashtag2"]},{"1350797829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797822, 1350797845, 1350797824, 1350797833, 1350797836, 1350797829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.839195728302002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:52:32.523723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/08/image_09042025_14_09_06_9487.jpg', '/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_16_10341.jpg', '/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_26_9365.jpg', '/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_36_10373.jpg', '/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_47_10356.jpg', '/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_56_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/08/image_09042025_14_09_06_9487.jpg
/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_16_10341.jpg
/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_26_9365.jpg
/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_36_10373.jpg
/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_47_10356.jpg
/home/pi/Desktop/images/09042025/14/09/image_09042025_14_09_56_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":["1350797897","1350797890","1350797886","1350797871","1350797874","1350797868"],"photo_ids_order":["1350797868","1350797871","1350797874","1350797886","1350797890","1350797897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f65973f443a73f1da119d8cb75df326f.jpg","text":"TemporaryFile(/tmp/multipartBody7095798182663171892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206812975,"filename":"image_09042025_14_09_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/4/9/af69478e3e6ff2fba5a3a91476799aae.jpg","text":"TemporaryFile(/tmp/multipartBody4385404058801242222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206812975,"filename":"image_09042025_14_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/4/9/0a201e1648a5cf0ac379e3db859aa912.jpg","text":"TemporaryFile(/tmp/multipartBody1627366650694152527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206812975,"filename":"image_09042025_14_09_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b0ca863945127d9768b09e9c41b42f7.jpg","text":"TemporaryFile(/tmp/multipartBody2500247576582248340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206812975,"filename":"image_09042025_14_09_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/4/9/b5e19a5aea51c3380fc3d6cc7266aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody5639215084866829028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206812975,"filename":"image_09042025_14_09_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/4/9/673d9fcd42394368481eae88d0512200.jpg","text":"TemporaryFile(/tmp/multipartBody6056336030646988575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206812975,"filename":"image_09042025_14_09_06_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350797874","file1":"1350797871","file0":"1350797868","file4":"1350797890","file5":"1350797897","file3":"1350797886"},"map_files_photo_id_array":[{"photo_id":"1350797897","filename":"file5"},{"photo_id":"1350797874","filename":"file2"},{"photo_id":"1350797890","filename":"file4"},{"photo_id":"1350797871","filename":"file1"},{"photo_id":"1350797868","filename":"file0"},{"photo_id":"1350797886","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350797897":["hashtag1","hashtag2"]},{"1350797890":["hashtag1","hashtag2"]},{"1350797886":["hashtag1","hashtag2"]},{"1350797871":["hashtag1","hashtag2"]},{"1350797874":["hashtag1","hashtag2"]},{"1350797868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350797897, 1350797890, 1350797886, 1350797871, 1350797874, 1350797868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.037461280822754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:53:32.835287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/10/image_09042025_14_10_26_10453.jpg', '/home/pi/Desktop/images/09042025/14/10/image_09042025_14_10_37_10367.jpg', '/home/pi/Desktop/images/09042025/14/10/image_09042025_14_10_46_9390.jpg', '/home/pi/Desktop/images/09042025/14/10/image_09042025_14_10_56_10407.jpg', '/home/pi/Desktop/images/09042025/14/11/image_09042025_14_11_26_9933.jpg', '/home/pi/Desktop/images/09042025/14/11/image_09042025_14_11_37_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/10/image_09042025_14_10_26_10453.jpg
/home/pi/Desktop/images/09042025/14/10/image_09042025_14_10_37_10367.jpg
/home/pi/Desktop/images/09042025/14/10/image_09042025_14_10_46_9390.jpg
/home/pi/Desktop/images/09042025/14/10/image_09042025_14_10_56_10407.jpg
/home/pi/Desktop/images/09042025/14/11/image_09042025_14_11_26_9933.jpg
/home/pi/Desktop/images/09042025/14/11/image_09042025_14_11_37_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350798329","1350798298","1350798247","1350798325","1350798319","1350798294"],"photo_ids_order":["1350798247","1350798294","1350798298","1350798319","1350798325","1350798329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb744e6fd61c26fa0577f8c0b0772c50.jpg","text":"TemporaryFile(/tmp/multipartBody8706882525255849251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206873290,"filename":"image_09042025_14_11_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/4/9/4b5e6e11025b612444a9eb6f38533363.jpg","text":"TemporaryFile(/tmp/multipartBody3960106245044799388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206873290,"filename":"image_09042025_14_10_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/4/9/03ea08ec978de605e2e946a28ce3a140.jpg","text":"TemporaryFile(/tmp/multipartBody7149130226732084615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206873290,"filename":"image_09042025_14_10_26_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a12c1096901a9d673cb4cb034b43933.jpg","text":"TemporaryFile(/tmp/multipartBody3575826179274557365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206873290,"filename":"image_09042025_14_11_26_9933.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f2a6d18ec3d2b9800383a982bf33ec62.jpg","text":"TemporaryFile(/tmp/multipartBody2075784378726587044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206873290,"filename":"image_09042025_14_10_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e01a42b295095ac5b721361be7bb13e.jpg","text":"TemporaryFile(/tmp/multipartBody2371010991516241760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206873290,"filename":"image_09042025_14_10_37_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350798298","file1":"1350798294","file0":"1350798247","file4":"1350798325","file5":"1350798329","file3":"1350798319"},"map_files_photo_id_array":[{"photo_id":"1350798329","filename":"file5"},{"photo_id":"1350798298","filename":"file2"},{"photo_id":"1350798325","filename":"file4"},{"photo_id":"1350798294","filename":"file1"},{"photo_id":"1350798247","filename":"file0"},{"photo_id":"1350798319","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350798329":["hashtag1","hashtag2"]},{"1350798298":["hashtag1","hashtag2"]},{"1350798247":["hashtag1","hashtag2"]},{"1350798325":["hashtag1","hashtag2"]},{"1350798319":["hashtag1","hashtag2"]},{"1350798294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350798329, 1350798298, 1350798247, 1350798325, 1350798319, 1350798294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2929265499115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:54:33.013541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/11/image_09042025_14_11_46_9363.jpg', '/home/pi/Desktop/images/09042025/14/11/image_09042025_14_11_56_10584.jpg', '/home/pi/Desktop/images/09042025/14/12/image_09042025_14_12_17_10665.jpg', '/home/pi/Desktop/images/09042025/14/12/image_09042025_14_12_36_10357.jpg', '/home/pi/Desktop/images/09042025/14/12/image_09042025_14_12_46_9358.jpg', '/home/pi/Desktop/images/09042025/14/12/image_09042025_14_12_56_10488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/11/image_09042025_14_11_46_9363.jpg
/home/pi/Desktop/images/09042025/14/11/image_09042025_14_11_56_10584.jpg
/home/pi/Desktop/images/09042025/14/12/image_09042025_14_12_17_10665.jpg
/home/pi/Desktop/images/09042025/14/12/image_09042025_14_12_36_10357.jpg
/home/pi/Desktop/images/09042025/14/12/image_09042025_14_12_46_9358.jpg
/home/pi/Desktop/images/09042025/14/12/image_09042025_14_12_56_10488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350798428","1350798431","1350798397","1350798466","1350798393","1350798435"],"photo_ids_order":["1350798393","1350798397","1350798428","1350798431","1350798435","1350798466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3be6ed056e60e0380447ead5c69769a5.jpg","text":"TemporaryFile(/tmp/multipartBody3356794762997108979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206933471,"filename":"image_09042025_14_12_17_10665.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d11192599b5e9659285d2522dba5512.jpg","text":"TemporaryFile(/tmp/multipartBody447436811308153731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206933471,"filename":"image_09042025_14_12_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/4/9/8d08a7c3904f0633fcf4f14e941207ff.jpg","text":"TemporaryFile(/tmp/multipartBody2242887422920084057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206933471,"filename":"image_09042025_14_11_56_10584.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31a6a4be6d73c0a613981d914be12d38.jpg","text":"TemporaryFile(/tmp/multipartBody642818852116704540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206933471,"filename":"image_09042025_14_12_56_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0126a1b6f7b4d6f98afd986d26df2044.jpg","text":"TemporaryFile(/tmp/multipartBody3092376369275681350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206933471,"filename":"image_09042025_14_11_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/4/9/95e2baadb38d682baa9f30b9259aacfb.jpg","text":"TemporaryFile(/tmp/multipartBody4396292468075507916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206933471,"filename":"image_09042025_14_12_46_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350798428","file1":"1350798397","file0":"1350798393","file4":"1350798435","file5":"1350798466","file3":"1350798431"},"map_files_photo_id_array":[{"photo_id":"1350798466","filename":"file5"},{"photo_id":"1350798428","filename":"file2"},{"photo_id":"1350798435","filename":"file4"},{"photo_id":"1350798397","filename":"file1"},{"photo_id":"1350798393","filename":"file0"},{"photo_id":"1350798431","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350798428":["hashtag1","hashtag2"]},{"1350798431":["hashtag1","hashtag2"]},{"1350798397":["hashtag1","hashtag2"]},{"1350798466":["hashtag1","hashtag2"]},{"1350798393":["hashtag1","hashtag2"]},{"1350798435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350798428, 1350798431, 1350798397, 1350798466, 1350798393, 1350798435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.542551040649414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:55:32.200137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/12/image_09042025_14_13_07_10358.jpg', '/home/pi/Desktop/images/09042025/14/13/image_09042025_14_13_16_9350.jpg', '/home/pi/Desktop/images/09042025/14/13/image_09042025_14_13_26_10390.jpg', '/home/pi/Desktop/images/09042025/14/13/image_09042025_14_13_36_9345.jpg', '/home/pi/Desktop/images/09042025/14/13/image_09042025_14_13_57_10379.jpg', '/home/pi/Desktop/images/09042025/14/13/image_09042025_14_14_06_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/12/image_09042025_14_13_07_10358.jpg
/home/pi/Desktop/images/09042025/14/13/image_09042025_14_13_16_9350.jpg
/home/pi/Desktop/images/09042025/14/13/image_09042025_14_13_26_10390.jpg
/home/pi/Desktop/images/09042025/14/13/image_09042025_14_13_36_9345.jpg
/home/pi/Desktop/images/09042025/14/13/image_09042025_14_13_57_10379.jpg
/home/pi/Desktop/images/09042025/14/13/image_09042025_14_14_06_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350798509","1350798524","1350798555","1350798519","1350798534","1350798528"],"photo_ids_order":["1350798509","1350798519","1350798524","1350798528","1350798534","1350798555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/58193e996c8f13321cf32c6b085125b4.jpg","text":"TemporaryFile(/tmp/multipartBody6064743877354212741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206992662,"filename":"image_09042025_14_13_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/4/9/1cc34045557d2f712e7c5aadaf89def8.jpg","text":"TemporaryFile(/tmp/multipartBody1806558086440244429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206992662,"filename":"image_09042025_14_13_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8985f19d95201bbc80e8b35f285cf957.jpg","text":"TemporaryFile(/tmp/multipartBody2872954607524133908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206992662,"filename":"image_09042025_14_14_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/4/9/218168672b51eb8ca1761cf5415b479b.jpg","text":"TemporaryFile(/tmp/multipartBody5177479825458103582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206992662,"filename":"image_09042025_14_13_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/937473d89270dfc09b4cf665ced4b36a.jpg","text":"TemporaryFile(/tmp/multipartBody5472787322594320120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206992662,"filename":"image_09042025_14_13_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d26f0a264e52ba494272347bb0e58bc.jpg","text":"TemporaryFile(/tmp/multipartBody3326747811815755715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744206992662,"filename":"image_09042025_14_13_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350798524","file1":"1350798519","file0":"1350798509","file4":"1350798534","file5":"1350798555","file3":"1350798528"},"map_files_photo_id_array":[{"photo_id":"1350798555","filename":"file5"},{"photo_id":"1350798524","filename":"file2"},{"photo_id":"1350798534","filename":"file4"},{"photo_id":"1350798519","filename":"file1"},{"photo_id":"1350798509","filename":"file0"},{"photo_id":"1350798528","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350798509":["hashtag1","hashtag2"]},{"1350798524":["hashtag1","hashtag2"]},{"1350798555":["hashtag1","hashtag2"]},{"1350798519":["hashtag1","hashtag2"]},{"1350798534":["hashtag1","hashtag2"]},{"1350798528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350798509, 1350798524, 1350798555, 1350798519, 1350798534, 1350798528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00565814971924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:56:32.391130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/14/image_09042025_14_14_26_9350.jpg', '/home/pi/Desktop/images/09042025/14/14/image_09042025_14_14_36_10453.jpg', '/home/pi/Desktop/images/09042025/14/14/image_09042025_14_14_47_10385.jpg', '/home/pi/Desktop/images/09042025/14/14/image_09042025_14_14_56_9341.jpg', '/home/pi/Desktop/images/09042025/14/14/image_09042025_14_15_06_10385.jpg', '/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_26_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/14/image_09042025_14_14_26_9350.jpg
/home/pi/Desktop/images/09042025/14/14/image_09042025_14_14_36_10453.jpg
/home/pi/Desktop/images/09042025/14/14/image_09042025_14_14_47_10385.jpg
/home/pi/Desktop/images/09042025/14/14/image_09042025_14_14_56_9341.jpg
/home/pi/Desktop/images/09042025/14/14/image_09042025_14_15_06_10385.jpg
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_26_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350798763","1350798739","1350798747","1350798732","1350798756","1350798741"],"photo_ids_order":["1350798732","1350798739","1350798741","1350798747","1350798756","1350798763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/745f5a7df7adab19d3d8b2fcf76d1533.jpg","text":"TemporaryFile(/tmp/multipartBody1774151019826393795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207052851,"filename":"image_09042025_14_15_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/4/9/7a3c3a0c3794c2ea9ec8d6f6782093b6.jpg","text":"TemporaryFile(/tmp/multipartBody7815769587513392596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207052851,"filename":"image_09042025_14_14_36_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/423e10e44c2efc0bf987c22541a603da.jpg","text":"TemporaryFile(/tmp/multipartBody6914923838471140330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207052851,"filename":"image_09042025_14_14_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc9dadeaecd352d08dff0ef5fe29abd4.jpg","text":"TemporaryFile(/tmp/multipartBody2283025598019871607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207052851,"filename":"image_09042025_14_14_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f59cbc1cc73641ea5981e532a7ccb41.jpg","text":"TemporaryFile(/tmp/multipartBody4581056217067216879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207052851,"filename":"image_09042025_14_15_06_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52513eed5a4c544f7a8d2460c5af7c39.jpg","text":"TemporaryFile(/tmp/multipartBody6478874406439729223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207052851,"filename":"image_09042025_14_14_47_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350798741","file1":"1350798739","file0":"1350798732","file4":"1350798756","file5":"1350798763","file3":"1350798747"},"map_files_photo_id_array":[{"photo_id":"1350798763","filename":"file5"},{"photo_id":"1350798741","filename":"file2"},{"photo_id":"1350798756","filename":"file4"},{"photo_id":"1350798739","filename":"file1"},{"photo_id":"1350798732","filename":"file0"},{"photo_id":"1350798747","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350798763":["hashtag1","hashtag2"]},{"1350798739":["hashtag1","hashtag2"]},{"1350798747":["hashtag1","hashtag2"]},{"1350798732":["hashtag1","hashtag2"]},{"1350798756":["hashtag1","hashtag2"]},{"1350798741":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350798763, 1350798739, 1350798747, 1350798732, 1350798756, 1350798741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76737117767334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 15:57:32.658164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_36_10445.jpg', '/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_46_9365.jpg', '/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_56_10448.jpg', '/home/pi/Desktop/images/09042025/14/15/image_09042025_14_16_07_10340.jpg', '/home/pi/Desktop/images/09042025/14/16/image_09042025_14_16_16_9383.jpg', '/home/pi/Desktop/images/09042025/14/16/image_09042025_14_16_57_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_36_10445.jpg
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_46_9365.jpg
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_56_10448.jpg
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_16_07_10340.jpg
/home/pi/Desktop/images/09042025/14/16/image_09042025_14_16_16_9383.jpg
/home/pi/Desktop/images/09042025/14/16/image_09042025_14_16_57_10387.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 15:59:03.757473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_36_10445.jpg', '/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_46_9365.jpg', '/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_56_10448.jpg', '/home/pi/Desktop/images/09042025/14/15/image_09042025_14_16_07_10340.jpg', '/home/pi/Desktop/images/09042025/14/16/image_09042025_14_16_16_9383.jpg', '/home/pi/Desktop/images/09042025/14/16/image_09042025_14_16_57_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_36_10445.jpg
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_46_9365.jpg
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_15_56_10448.jpg
/home/pi/Desktop/images/09042025/14/15/image_09042025_14_16_07_10340.jpg
/home/pi/Desktop/images/09042025/14/16/image_09042025_14_16_16_9383.jpg
/home/pi/Desktop/images/09042025/14/16/image_09042025_14_16_57_10387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350799204","1350799197","1350799212","1350799229","1350799220","1350799238"],"photo_ids_order":["1350799197","1350799204","1350799212","1350799220","1350799229","1350799238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8a6b68cd790203a7c3f90a7bdeb411c.jpg","text":"TemporaryFile(/tmp/multipartBody7652882960069930113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207204399,"filename":"image_09042025_14_15_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/4/9/748583662b1fb3b637012b03d3d433b3.jpg","text":"TemporaryFile(/tmp/multipartBody3944770824060105178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207204399,"filename":"image_09042025_14_15_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3fef4d3c114667b101cf0019aefac61.jpg","text":"TemporaryFile(/tmp/multipartBody7063629114332376382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207204399,"filename":"image_09042025_14_15_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/4/9/38f1d592fe5c9bb81ac60c4c97260f53.jpg","text":"TemporaryFile(/tmp/multipartBody3402233246568537828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207204399,"filename":"image_09042025_14_16_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/4/9/151001bd5ee21262488593675f3a9700.jpg","text":"TemporaryFile(/tmp/multipartBody432555162176010317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207204399,"filename":"image_09042025_14_16_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ed8e01fad30e0ac8fddac280d53e847.jpg","text":"TemporaryFile(/tmp/multipartBody8776366336357807140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207204399,"filename":"image_09042025_14_16_57_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350799212","file1":"1350799204","file0":"1350799197","file4":"1350799229","file5":"1350799238","file3":"1350799220"},"map_files_photo_id_array":[{"photo_id":"1350799238","filename":"file5"},{"photo_id":"1350799212","filename":"file2"},{"photo_id":"1350799229","filename":"file4"},{"photo_id":"1350799204","filename":"file1"},{"photo_id":"1350799197","filename":"file0"},{"photo_id":"1350799220","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350799204":["hashtag1","hashtag2"]},{"1350799197":["hashtag1","hashtag2"]},{"1350799212":["hashtag1","hashtag2"]},{"1350799229":["hashtag1","hashtag2"]},{"1350799220":["hashtag1","hashtag2"]},{"1350799238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350799204, 1350799197, 1350799212, 1350799229, 1350799220, 1350799238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.852203369140625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 15:59:42.261322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/16/image_09042025_14_17_06_9475.jpg', '/home/pi/Desktop/images/09042025/14/17/image_09042025_14_17_17_10447.jpg', '/home/pi/Desktop/images/09042025/14/17/image_09042025_14_17_26_9367.jpg', '/home/pi/Desktop/images/09042025/14/18/image_09042025_14_18_17_10338.jpg', '/home/pi/Desktop/images/09042025/14/18/image_09042025_14_18_36_10432.jpg', '/home/pi/Desktop/images/09042025/14/18/image_09042025_14_18_46_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/16/image_09042025_14_17_06_9475.jpg
/home/pi/Desktop/images/09042025/14/17/image_09042025_14_17_17_10447.jpg
/home/pi/Desktop/images/09042025/14/17/image_09042025_14_17_26_9367.jpg
/home/pi/Desktop/images/09042025/14/18/image_09042025_14_18_17_10338.jpg
/home/pi/Desktop/images/09042025/14/18/image_09042025_14_18_36_10432.jpg
/home/pi/Desktop/images/09042025/14/18/image_09042025_14_18_46_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350799258","1350799266","1350799260","1350799254","1350799248","1350799295"],"photo_ids_order":["1350799248","1350799254","1350799258","1350799260","1350799266","1350799295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a540c76b0b5dd619f4db451bd7f755a6.jpg","text":"TemporaryFile(/tmp/multipartBody5562569266397648811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207242755,"filename":"image_09042025_14_17_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c9a7b176ef0dbcda76148a079c066f6.jpg","text":"TemporaryFile(/tmp/multipartBody5089147754266300868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207242755,"filename":"image_09042025_14_18_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/4/9/24cae0ee6d3dda7aead5647b1e7b619b.jpg","text":"TemporaryFile(/tmp/multipartBody65785949380801460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207242755,"filename":"image_09042025_14_18_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/4/9/efd84078ebf8954f48c41ba9c7a99828.jpg","text":"TemporaryFile(/tmp/multipartBody3549850691885695314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207242755,"filename":"image_09042025_14_17_17_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7847f45a41a5f850b6f5dba4583236e2.jpg","text":"TemporaryFile(/tmp/multipartBody2857469729025738583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207242755,"filename":"image_09042025_14_17_06_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6db834835b5fa86e18ce24e52f813fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1170897607306072265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207242755,"filename":"image_09042025_14_18_46_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350799258","file1":"1350799254","file0":"1350799248","file4":"1350799266","file5":"1350799295","file3":"1350799260"},"map_files_photo_id_array":[{"photo_id":"1350799295","filename":"file5"},{"photo_id":"1350799258","filename":"file2"},{"photo_id":"1350799266","filename":"file4"},{"photo_id":"1350799254","filename":"file1"},{"photo_id":"1350799248","filename":"file0"},{"photo_id":"1350799260","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350799258":["hashtag1","hashtag2"]},{"1350799266":["hashtag1","hashtag2"]},{"1350799260":["hashtag1","hashtag2"]},{"1350799254":["hashtag1","hashtag2"]},{"1350799248":["hashtag1","hashtag2"]},{"1350799295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350799258, 1350799266, 1350799260, 1350799254, 1350799248, 1350799295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49870753288269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:00:32.431804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/18/image_09042025_14_19_06_9345.jpg', '/home/pi/Desktop/images/09042025/14/19/image_09042025_14_19_16_10331.jpg', '/home/pi/Desktop/images/09042025/14/19/image_09042025_14_19_46_10424.jpg', '/home/pi/Desktop/images/09042025/14/20/image_09042025_14_20_16_10441.jpg', '/home/pi/Desktop/images/09042025/14/20/image_09042025_14_20_56_9365.jpg', '/home/pi/Desktop/images/09042025/14/20/image_09042025_14_21_06_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/18/image_09042025_14_19_06_9345.jpg
/home/pi/Desktop/images/09042025/14/19/image_09042025_14_19_16_10331.jpg
/home/pi/Desktop/images/09042025/14/19/image_09042025_14_19_46_10424.jpg
/home/pi/Desktop/images/09042025/14/20/image_09042025_14_20_16_10441.jpg
/home/pi/Desktop/images/09042025/14/20/image_09042025_14_20_56_9365.jpg
/home/pi/Desktop/images/09042025/14/20/image_09042025_14_21_06_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350799561","1350799530","1350799503","1350799484","1350799457","1350799597"],"photo_ids_order":["1350799457","1350799484","1350799503","1350799530","1350799561","1350799597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/060e71658296e07d34d6f59ac3d24fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4784274178407346364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207292908,"filename":"image_09042025_14_20_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67b4dfb93665c79baad613f70f86aa7f.jpg","text":"TemporaryFile(/tmp/multipartBody764788342952368877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207292908,"filename":"image_09042025_14_20_16_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1075ea46fa0f03675e900a89aa89bec.jpg","text":"TemporaryFile(/tmp/multipartBody6449514298426465156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207292908,"filename":"image_09042025_14_19_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/4/9/38bfa29cda3b2d338d6fc38cd51a9a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3014290685992786245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207292908,"filename":"image_09042025_14_19_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f627a2b0ee432f0358cbdb83d4be1fb.jpg","text":"TemporaryFile(/tmp/multipartBody2418411201161958300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207292908,"filename":"image_09042025_14_19_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/4/9/8d470e3764b15acc321e2315e7c407f1.jpg","text":"TemporaryFile(/tmp/multipartBody968360774957599632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207292908,"filename":"image_09042025_14_21_06_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350799503","file1":"1350799484","file0":"1350799457","file4":"1350799561","file5":"1350799597","file3":"1350799530"},"map_files_photo_id_array":[{"photo_id":"1350799597","filename":"file5"},{"photo_id":"1350799503","filename":"file2"},{"photo_id":"1350799561","filename":"file4"},{"photo_id":"1350799484","filename":"file1"},{"photo_id":"1350799457","filename":"file0"},{"photo_id":"1350799530","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350799561":["hashtag1","hashtag2"]},{"1350799530":["hashtag1","hashtag2"]},{"1350799503":["hashtag1","hashtag2"]},{"1350799484":["hashtag1","hashtag2"]},{"1350799457":["hashtag1","hashtag2"]},{"1350799597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350799561, 1350799530, 1350799503, 1350799484, 1350799457, 1350799597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81790566444397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:01:32.652721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/21/image_09042025_14_21_36_10338.jpg', '/home/pi/Desktop/images/09042025/14/21/image_09042025_14_21_46_9448.jpg', '/home/pi/Desktop/images/09042025/14/22/image_09042025_14_22_16_9356.jpg', '/home/pi/Desktop/images/09042025/14/23/image_09042025_14_23_56_9352.jpg', '/home/pi/Desktop/images/09042025/14/23/image_09042025_14_24_06_10438.jpg', '/home/pi/Desktop/images/09042025/14/24/image_09042025_14_24_46_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/21/image_09042025_14_21_36_10338.jpg
/home/pi/Desktop/images/09042025/14/21/image_09042025_14_21_46_9448.jpg
/home/pi/Desktop/images/09042025/14/22/image_09042025_14_22_16_9356.jpg
/home/pi/Desktop/images/09042025/14/23/image_09042025_14_23_56_9352.jpg
/home/pi/Desktop/images/09042025/14/23/image_09042025_14_24_06_10438.jpg
/home/pi/Desktop/images/09042025/14/24/image_09042025_14_24_46_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":["1350799798","1350799849","1350799836","1350799839","1350799827","1350799832"],"photo_ids_order":["1350799798","1350799827","1350799832","1350799836","1350799839","1350799849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23668566687f076de4e74de635b83f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5232255223608590082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207353113,"filename":"image_09042025_14_21_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/4/9/a7ce259e728f9afdf4a0194604bc4a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7398986467281785057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207353113,"filename":"image_09042025_14_24_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/4/9/1cd379dea849cf06dadd275782c3d75f.jpg","text":"TemporaryFile(/tmp/multipartBody2859282791305559942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207353113,"filename":"image_09042025_14_23_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/4/9/2f2bbf18bb2798abb16d18dd78a1a4fe.jpg","text":"TemporaryFile(/tmp/multipartBody1538220108647505801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207353113,"filename":"image_09042025_14_24_06_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/89aeb8fc330ddc3fc86362437f741ec4.jpg","text":"TemporaryFile(/tmp/multipartBody5098066374288069341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207353113,"filename":"image_09042025_14_21_46_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b06220a7246ccfb7ad82cfd4eac0f6b.jpg","text":"TemporaryFile(/tmp/multipartBody2384229004122052532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207353113,"filename":"image_09042025_14_22_16_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350799832","file1":"1350799827","file0":"1350799798","file4":"1350799839","file5":"1350799849","file3":"1350799836"},"map_files_photo_id_array":[{"photo_id":"1350799849","filename":"file5"},{"photo_id":"1350799832","filename":"file2"},{"photo_id":"1350799839","filename":"file4"},{"photo_id":"1350799827","filename":"file1"},{"photo_id":"1350799798","filename":"file0"},{"photo_id":"1350799836","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350799798":["hashtag1","hashtag2"]},{"1350799849":["hashtag1","hashtag2"]},{"1350799836":["hashtag1","hashtag2"]},{"1350799839":["hashtag1","hashtag2"]},{"1350799827":["hashtag1","hashtag2"]},{"1350799832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350799798, 1350799849, 1350799836, 1350799839, 1350799827, 1350799832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67361092567444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:02:32.946116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/24/image_09042025_14_25_06_9339.jpg', '/home/pi/Desktop/images/09042025/14/25/image_09042025_14_25_16_10435.jpg', '/home/pi/Desktop/images/09042025/14/25/image_09042025_14_25_27_10392.jpg', '/home/pi/Desktop/images/09042025/14/25/image_09042025_14_25_56_9420.jpg', '/home/pi/Desktop/images/09042025/14/25/image_09042025_14_26_06_10406.jpg', '/home/pi/Desktop/images/09042025/14/26/image_09042025_14_26_17_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/24/image_09042025_14_25_06_9339.jpg
/home/pi/Desktop/images/09042025/14/25/image_09042025_14_25_16_10435.jpg
/home/pi/Desktop/images/09042025/14/25/image_09042025_14_25_27_10392.jpg
/home/pi/Desktop/images/09042025/14/25/image_09042025_14_25_56_9420.jpg
/home/pi/Desktop/images/09042025/14/25/image_09042025_14_26_06_10406.jpg
/home/pi/Desktop/images/09042025/14/26/image_09042025_14_26_17_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":["1350800055","1350800063","1350800066","1350800030","1350800021","1350800080"],"photo_ids_order":["1350800021","1350800030","1350800055","1350800063","1350800066","1350800080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ac2a2357e6788daa084dc7ffbd38ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2429404294857087523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207413405,"filename":"image_09042025_14_25_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/4/9/bf52e65a19991abcd919d32fc921c21f.jpg","text":"TemporaryFile(/tmp/multipartBody1757270115922240644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207413405,"filename":"image_09042025_14_25_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/4/9/6d0782794b725c0bb8c6be6e2a3e25d1.jpg","text":"TemporaryFile(/tmp/multipartBody8816568757281379736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207413405,"filename":"image_09042025_14_26_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/4/9/7ed9c2f60e63acee40ed130608c739df.jpg","text":"TemporaryFile(/tmp/multipartBody3615923013840704524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207413405,"filename":"image_09042025_14_25_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/4/9/a05e30608cf9f771d0a892f27580b024.jpg","text":"TemporaryFile(/tmp/multipartBody1649857110499077162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207413405,"filename":"image_09042025_14_25_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/326a7616df7923b962cc7c60cd65a479.jpg","text":"TemporaryFile(/tmp/multipartBody336345817406543766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207413405,"filename":"image_09042025_14_26_17_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350800055","file1":"1350800030","file0":"1350800021","file4":"1350800066","file5":"1350800080","file3":"1350800063"},"map_files_photo_id_array":[{"photo_id":"1350800080","filename":"file5"},{"photo_id":"1350800055","filename":"file2"},{"photo_id":"1350800066","filename":"file4"},{"photo_id":"1350800030","filename":"file1"},{"photo_id":"1350800021","filename":"file0"},{"photo_id":"1350800063","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350800055":["hashtag1","hashtag2"]},{"1350800063":["hashtag1","hashtag2"]},{"1350800066":["hashtag1","hashtag2"]},{"1350800030":["hashtag1","hashtag2"]},{"1350800021":["hashtag1","hashtag2"]},{"1350800080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350800055, 1350800063, 1350800066, 1350800030, 1350800021, 1350800080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.191171169281006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:03:33.270728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/26/image_09042025_14_26_36_10357.jpg', '/home/pi/Desktop/images/09042025/14/26/image_09042025_14_26_47_10369.jpg', '/home/pi/Desktop/images/09042025/14/27/image_09042025_14_27_37_10422.jpg', '/home/pi/Desktop/images/09042025/14/27/image_09042025_14_27_46_9426.jpg', '/home/pi/Desktop/images/09042025/14/27/image_09042025_14_27_56_10442.jpg', '/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_36_9497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/26/image_09042025_14_26_36_10357.jpg
/home/pi/Desktop/images/09042025/14/26/image_09042025_14_26_47_10369.jpg
/home/pi/Desktop/images/09042025/14/27/image_09042025_14_27_37_10422.jpg
/home/pi/Desktop/images/09042025/14/27/image_09042025_14_27_46_9426.jpg
/home/pi/Desktop/images/09042025/14/27/image_09042025_14_27_56_10442.jpg
/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_36_9497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350800244","1350800291","1350800294","1350800297","1350800249","1350800246"],"photo_ids_order":["1350800244","1350800246","1350800249","1350800291","1350800294","1350800297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e487852c75cfdcd770f146ab3f49c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody5696823651725955549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207473725,"filename":"image_09042025_14_26_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/4/9/8b8b8d29e0785354899bd1a940c292f7.jpg","text":"TemporaryFile(/tmp/multipartBody1337818255810301812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207473725,"filename":"image_09042025_14_27_46_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1700cbf8d0cbbd03fa203dbf9f546eb.jpg","text":"TemporaryFile(/tmp/multipartBody2759947246827880472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207473725,"filename":"image_09042025_14_27_56_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e187a0a1b7fb0269a57dd963ad7d48c.jpg","text":"TemporaryFile(/tmp/multipartBody8456179841315974673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207473725,"filename":"image_09042025_14_28_36_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b152ccb54e4fe5bc13641136b76f9b36.jpg","text":"TemporaryFile(/tmp/multipartBody130390720172114671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207473725,"filename":"image_09042025_14_27_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/4/9/6ab68b0c4b268f72a08a4312400eeb6a.jpg","text":"TemporaryFile(/tmp/multipartBody4912213511875628571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207473725,"filename":"image_09042025_14_26_47_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350800249","file1":"1350800246","file0":"1350800244","file4":"1350800294","file5":"1350800297","file3":"1350800291"},"map_files_photo_id_array":[{"photo_id":"1350800297","filename":"file5"},{"photo_id":"1350800249","filename":"file2"},{"photo_id":"1350800294","filename":"file4"},{"photo_id":"1350800246","filename":"file1"},{"photo_id":"1350800244","filename":"file0"},{"photo_id":"1350800291","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350800244":["hashtag1","hashtag2"]},{"1350800291":["hashtag1","hashtag2"]},{"1350800294":["hashtag1","hashtag2"]},{"1350800297":["hashtag1","hashtag2"]},{"1350800249":["hashtag1","hashtag2"]},{"1350800246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350800244, 1350800291, 1350800294, 1350800297, 1350800249, 1350800246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31438136100769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:04:32.405461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_47_10446.jpg', '/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_56_9347.jpg', '/home/pi/Desktop/images/09042025/14/28/image_09042025_14_29_06_10362.jpg', '/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_17_10386.jpg', '/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_26_9354.jpg', '/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_36_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_47_10446.jpg
/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_56_9347.jpg
/home/pi/Desktop/images/09042025/14/28/image_09042025_14_29_06_10362.jpg
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_17_10386.jpg
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_26_9354.jpg
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_36_10432.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3798689842224121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 16:04:42.334967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_47_10446.jpg', '/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_56_9347.jpg', '/home/pi/Desktop/images/09042025/14/28/image_09042025_14_29_06_10362.jpg', '/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_17_10386.jpg', '/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_26_9354.jpg', '/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_36_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_47_10446.jpg
/home/pi/Desktop/images/09042025/14/28/image_09042025_14_28_56_9347.jpg
/home/pi/Desktop/images/09042025/14/28/image_09042025_14_29_06_10362.jpg
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_17_10386.jpg
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_26_9354.jpg
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_36_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":["1350800358","1350800340","1350800330","1350800344","1350800332","1350800335"],"photo_ids_order":["1350800330","1350800332","1350800335","1350800340","1350800344","1350800358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e453c3aa6e9e89f6952f11748b95e86c.jpg","text":"TemporaryFile(/tmp/multipartBody8411266831135484453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207542805,"filename":"image_09042025_14_29_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/4/9/9c336cc31837f2b54dd49feae02a9898.jpg","text":"TemporaryFile(/tmp/multipartBody6654968516408375629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207542805,"filename":"image_09042025_14_29_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c90a2d503216a71bd66681bf50b6ae12.jpg","text":"TemporaryFile(/tmp/multipartBody3828997864900641900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207542805,"filename":"image_09042025_14_28_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/4/9/41d3904059410978014e66b92923aa72.jpg","text":"TemporaryFile(/tmp/multipartBody2515579067220037903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207542805,"filename":"image_09042025_14_29_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/4/9/bf520b52dc01be38a5c98508d0cdcdad.jpg","text":"TemporaryFile(/tmp/multipartBody3947134957865639495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207542805,"filename":"image_09042025_14_28_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/4/9/d53f558ac17ae6bdecdc99074d80646b.jpg","text":"TemporaryFile(/tmp/multipartBody8473290434662927826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207542805,"filename":"image_09042025_14_29_06_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350800335","file1":"1350800332","file0":"1350800330","file4":"1350800344","file5":"1350800358","file3":"1350800340"},"map_files_photo_id_array":[{"photo_id":"1350800358","filename":"file5"},{"photo_id":"1350800335","filename":"file2"},{"photo_id":"1350800344","filename":"file4"},{"photo_id":"1350800332","filename":"file1"},{"photo_id":"1350800330","filename":"file0"},{"photo_id":"1350800340","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350800358":["hashtag1","hashtag2"]},{"1350800340":["hashtag1","hashtag2"]},{"1350800330":["hashtag1","hashtag2"]},{"1350800344":["hashtag1","hashtag2"]},{"1350800332":["hashtag1","hashtag2"]},{"1350800335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350800358, 1350800340, 1350800330, 1350800344, 1350800332, 1350800335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70216393470764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:05:32.601280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_46_9345.jpg', '/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_56_10377.jpg', '/home/pi/Desktop/images/09042025/14/29/image_09042025_14_30_07_10357.jpg', '/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_16_9437.jpg', '/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_26_10434.jpg', '/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_36_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_46_9345.jpg
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_29_56_10377.jpg
/home/pi/Desktop/images/09042025/14/29/image_09042025_14_30_07_10357.jpg
/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_16_9437.jpg
/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_26_10434.jpg
/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_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":["1350800418","1350800403","1350800411","1350800414","1350800408","1350800398"],"photo_ids_order":["1350800398","1350800403","1350800408","1350800411","1350800414","1350800418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80ec0f3f1cda70192cfbaccd60fa6939.jpg","text":"TemporaryFile(/tmp/multipartBody2087506837001096565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207593083,"filename":"image_09042025_14_30_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/4/9/95331dc223b8ef8e267948d3b07cd713.jpg","text":"TemporaryFile(/tmp/multipartBody2650385438998832151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207593083,"filename":"image_09042025_14_29_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/4/9/d410fef5c6d8158d55d57cb55cab0dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7313868431084364854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207593083,"filename":"image_09042025_14_30_16_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/50092ed19d8cb3ca33a274b4c9b01a08.jpg","text":"TemporaryFile(/tmp/multipartBody4903152381082537339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207593083,"filename":"image_09042025_14_30_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3649b61e5580619378be3c05ae9b8df.jpg","text":"TemporaryFile(/tmp/multipartBody1341071292063480420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207593083,"filename":"image_09042025_14_30_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/4/9/045b3ad2b65f218e6f4ce92f49e12b85.jpg","text":"TemporaryFile(/tmp/multipartBody4729832658171881494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207593083,"filename":"image_09042025_14_29_46_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350800408","file1":"1350800403","file0":"1350800398","file4":"1350800414","file5":"1350800418","file3":"1350800411"},"map_files_photo_id_array":[{"photo_id":"1350800418","filename":"file5"},{"photo_id":"1350800408","filename":"file2"},{"photo_id":"1350800414","filename":"file4"},{"photo_id":"1350800403","filename":"file1"},{"photo_id":"1350800398","filename":"file0"},{"photo_id":"1350800411","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350800418":["hashtag1","hashtag2"]},{"1350800403":["hashtag1","hashtag2"]},{"1350800411":["hashtag1","hashtag2"]},{"1350800414":["hashtag1","hashtag2"]},{"1350800408":["hashtag1","hashtag2"]},{"1350800398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350800418, 1350800403, 1350800411, 1350800414, 1350800408, 1350800398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88902544975281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:06:32.871404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_46_10419.jpg', '/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_57_10354.jpg', '/home/pi/Desktop/images/09042025/14/30/image_09042025_14_31_06_9331.jpg', '/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_16_10398.jpg', '/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_26_9478.jpg', '/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_36_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_46_10419.jpg
/home/pi/Desktop/images/09042025/14/30/image_09042025_14_30_57_10354.jpg
/home/pi/Desktop/images/09042025/14/30/image_09042025_14_31_06_9331.jpg
/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_16_10398.jpg
/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_26_9478.jpg
/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_36_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":["1350800568","1350800520","1350800593","1350800596","1350800599","1350800548"],"photo_ids_order":["1350800520","1350800548","1350800568","1350800593","1350800596","1350800599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/89b80dcc911f0d2b852eadeefa5284ff.jpg","text":"TemporaryFile(/tmp/multipartBody6799772866898024463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207653419,"filename":"image_09042025_14_31_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24bac0ec9ab0d952fcdfc660a7870374.jpg","text":"TemporaryFile(/tmp/multipartBody5021183202591326237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207653419,"filename":"image_09042025_14_30_46_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1fa535ece366b5d9e9073d6a658becb.jpg","text":"TemporaryFile(/tmp/multipartBody2903371507742558511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207653419,"filename":"image_09042025_14_31_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/4/9/8ddb783f27c75d40c93dbe45b24d302f.jpg","text":"TemporaryFile(/tmp/multipartBody5976766077934525981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207653419,"filename":"image_09042025_14_31_26_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55d3a719432a161a87b5e0da6bff8eca.jpg","text":"TemporaryFile(/tmp/multipartBody3316124143302325125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207653419,"filename":"image_09042025_14_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/4/9/a4fea74562c38dbf59cfbe4620279a90.jpg","text":"TemporaryFile(/tmp/multipartBody667145758833961277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207653419,"filename":"image_09042025_14_30_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350800568","file1":"1350800548","file0":"1350800520","file4":"1350800596","file5":"1350800599","file3":"1350800593"},"map_files_photo_id_array":[{"photo_id":"1350800599","filename":"file5"},{"photo_id":"1350800568","filename":"file2"},{"photo_id":"1350800596","filename":"file4"},{"photo_id":"1350800548","filename":"file1"},{"photo_id":"1350800520","filename":"file0"},{"photo_id":"1350800593","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350800568":["hashtag1","hashtag2"]},{"1350800520":["hashtag1","hashtag2"]},{"1350800593":["hashtag1","hashtag2"]},{"1350800596":["hashtag1","hashtag2"]},{"1350800599":["hashtag1","hashtag2"]},{"1350800548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350800568, 1350800520, 1350800593, 1350800596, 1350800599, 1350800548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.596569776535034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:07:32.999667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_47_10366.jpg', '/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_56_9343.jpg', '/home/pi/Desktop/images/09042025/14/31/image_09042025_14_32_06_10353.jpg', '/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_17_10366.jpg', '/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_26_9385.jpg', '/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_36_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_47_10366.jpg
/home/pi/Desktop/images/09042025/14/31/image_09042025_14_31_56_9343.jpg
/home/pi/Desktop/images/09042025/14/31/image_09042025_14_32_06_10353.jpg
/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_17_10366.jpg
/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_26_9385.jpg
/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_36_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350800625","1350800651","1350800630","1350800648","1350800627","1350800621"],"photo_ids_order":["1350800621","1350800625","1350800627","1350800630","1350800648","1350800651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7cde3fc5d3c37a2e7f856ff41698897e.jpg","text":"TemporaryFile(/tmp/multipartBody6904662428514895718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207713459,"filename":"image_09042025_14_31_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/4/9/21e952ece9df4f5e46f5ea37c339b6e9.jpg","text":"TemporaryFile(/tmp/multipartBody2585889012240916351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207713459,"filename":"image_09042025_14_32_36_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b1e88f9c1f3226f611cd28612824ba1.jpg","text":"TemporaryFile(/tmp/multipartBody7902773647072708909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207713459,"filename":"image_09042025_14_32_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/4/9/2c7899c9fb95bf69d87cca661f58a48c.jpg","text":"TemporaryFile(/tmp/multipartBody6495859474676650707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207713459,"filename":"image_09042025_14_32_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/4/9/894d87a6f10a0c779755368b68ca2285.jpg","text":"TemporaryFile(/tmp/multipartBody8622832978980115397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207713459,"filename":"image_09042025_14_32_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/4/9/d3a301c6eb94518e85f9955c6dc79579.jpg","text":"TemporaryFile(/tmp/multipartBody2784495809500996489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207713459,"filename":"image_09042025_14_31_47_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350800627","file1":"1350800625","file0":"1350800621","file4":"1350800648","file5":"1350800651","file3":"1350800630"},"map_files_photo_id_array":[{"photo_id":"1350800651","filename":"file5"},{"photo_id":"1350800627","filename":"file2"},{"photo_id":"1350800648","filename":"file4"},{"photo_id":"1350800625","filename":"file1"},{"photo_id":"1350800621","filename":"file0"},{"photo_id":"1350800630","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350800625":["hashtag1","hashtag2"]},{"1350800651":["hashtag1","hashtag2"]},{"1350800630":["hashtag1","hashtag2"]},{"1350800648":["hashtag1","hashtag2"]},{"1350800627":["hashtag1","hashtag2"]},{"1350800621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350800625, 1350800651, 1350800630, 1350800648, 1350800627, 1350800621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70060181617737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:08:32.310635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_46_9347.jpg', '/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_56_10458.jpg', '/home/pi/Desktop/images/09042025/14/32/image_09042025_14_33_07_10340.jpg', '/home/pi/Desktop/images/09042025/14/33/image_09042025_14_33_26_10427.jpg', '/home/pi/Desktop/images/09042025/14/33/image_09042025_14_33_36_9337.jpg', '/home/pi/Desktop/images/09042025/14/33/image_09042025_14_33_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_46_9347.jpg
/home/pi/Desktop/images/09042025/14/32/image_09042025_14_32_56_10458.jpg
/home/pi/Desktop/images/09042025/14/32/image_09042025_14_33_07_10340.jpg
/home/pi/Desktop/images/09042025/14/33/image_09042025_14_33_26_10427.jpg
/home/pi/Desktop/images/09042025/14/33/image_09042025_14_33_36_9337.jpg
/home/pi/Desktop/images/09042025/14/33/image_09042025_14_33_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":["1350800685","1350800688","1350800676","1350800681","1350800695","1350800704"],"photo_ids_order":["1350800676","1350800681","1350800685","1350800688","1350800695","1350800704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8b9e1a4e1133860a35504dda224cd66.jpg","text":"TemporaryFile(/tmp/multipartBody7574604531835438729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207772774,"filename":"image_09042025_14_33_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9045b4e117ae3524733e297e32ecc1a8.jpg","text":"TemporaryFile(/tmp/multipartBody1013890120748699653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207772774,"filename":"image_09042025_14_33_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7cbb165d807ca53cf045a93c8ee116ab.jpg","text":"TemporaryFile(/tmp/multipartBody1792220251493652637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207772774,"filename":"image_09042025_14_32_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/4/9/401ac7e2370ee35151d3200733fe8f93.jpg","text":"TemporaryFile(/tmp/multipartBody6960313317141857996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207772774,"filename":"image_09042025_14_32_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/4/9/8a7d3fbb1cdf9e1980a0c80e20aa4f59.jpg","text":"TemporaryFile(/tmp/multipartBody4095796649716603625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207772774,"filename":"image_09042025_14_33_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c3bcebff851eff8c18ff539e94f90db.jpg","text":"TemporaryFile(/tmp/multipartBody6845420628028025855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207772774,"filename":"image_09042025_14_33_46_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350800685","file1":"1350800681","file0":"1350800676","file4":"1350800695","file5":"1350800704","file3":"1350800688"},"map_files_photo_id_array":[{"photo_id":"1350800704","filename":"file5"},{"photo_id":"1350800685","filename":"file2"},{"photo_id":"1350800695","filename":"file4"},{"photo_id":"1350800681","filename":"file1"},{"photo_id":"1350800676","filename":"file0"},{"photo_id":"1350800688","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350800685":["hashtag1","hashtag2"]},{"1350800688":["hashtag1","hashtag2"]},{"1350800676":["hashtag1","hashtag2"]},{"1350800681":["hashtag1","hashtag2"]},{"1350800695":["hashtag1","hashtag2"]},{"1350800704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350800685, 1350800688, 1350800676, 1350800681, 1350800695, 1350800704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.383004903793335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:09:32.449774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/33/image_09042025_14_33_56_10472.jpg', '/home/pi/Desktop/images/09042025/14/33/image_09042025_14_34_06_9330.jpg', '/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_16_10336.jpg', '/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_27_10457.jpg', '/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_36_9333.jpg', '/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_46_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/33/image_09042025_14_33_56_10472.jpg
/home/pi/Desktop/images/09042025/14/33/image_09042025_14_34_06_9330.jpg
/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_16_10336.jpg
/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_27_10457.jpg
/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_36_9333.jpg
/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_46_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350800911","1350800940","1350800792","1350800786","1350800797","1350801004"],"photo_ids_order":["1350800786","1350800792","1350800797","1350800911","1350800940","1350801004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f396ee77d49f3ddac63846cd06d5411d.jpg","text":"TemporaryFile(/tmp/multipartBody493577431094980128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207832918,"filename":"image_09042025_14_34_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/4/9/27235637e8b28410ce4af235ff4930ef.jpg","text":"TemporaryFile(/tmp/multipartBody2361188623716750477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207832918,"filename":"image_09042025_14_34_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/4/9/2caad2c3a902029bb981f917548e5bbd.jpg","text":"TemporaryFile(/tmp/multipartBody112207310111215519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207832918,"filename":"image_09042025_14_34_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/4/9/19dfcb02474c87ecbf8ced2cb3f186b0.jpg","text":"TemporaryFile(/tmp/multipartBody1863501323049040857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207832918,"filename":"image_09042025_14_33_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/4/9/f93d09971abfcfa2e57aaf4a3b9bf15b.jpg","text":"TemporaryFile(/tmp/multipartBody8239913978469484164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207832918,"filename":"image_09042025_14_34_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/4/9/a3472e2fa8ad67acb33f7136e2da5f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2517829711043633551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207832918,"filename":"image_09042025_14_34_46_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350800797","file1":"1350800792","file0":"1350800786","file4":"1350800940","file5":"1350801004","file3":"1350800911"},"map_files_photo_id_array":[{"photo_id":"1350801004","filename":"file5"},{"photo_id":"1350800797","filename":"file2"},{"photo_id":"1350800940","filename":"file4"},{"photo_id":"1350800792","filename":"file1"},{"photo_id":"1350800786","filename":"file0"},{"photo_id":"1350800911","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350800911":["hashtag1","hashtag2"]},{"1350800940":["hashtag1","hashtag2"]},{"1350800792":["hashtag1","hashtag2"]},{"1350800786":["hashtag1","hashtag2"]},{"1350800797":["hashtag1","hashtag2"]},{"1350801004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350800911, 1350800940, 1350800792, 1350800786, 1350800797, 1350801004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43067646026611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:10:32.762681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_56_9350.jpg', '/home/pi/Desktop/images/09042025/14/34/image_09042025_14_35_06_10398.jpg', '/home/pi/Desktop/images/09042025/14/35/image_09042025_14_35_16_9650.jpg', '/home/pi/Desktop/images/09042025/14/35/image_09042025_14_35_36_9390.jpg', '/home/pi/Desktop/images/09042025/14/35/image_09042025_14_35_46_10415.jpg', '/home/pi/Desktop/images/09042025/14/35/image_09042025_14_35_57_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/34/image_09042025_14_34_56_9350.jpg
/home/pi/Desktop/images/09042025/14/34/image_09042025_14_35_06_10398.jpg
/home/pi/Desktop/images/09042025/14/35/image_09042025_14_35_16_9650.jpg
/home/pi/Desktop/images/09042025/14/35/image_09042025_14_35_36_9390.jpg
/home/pi/Desktop/images/09042025/14/35/image_09042025_14_35_46_10415.jpg
/home/pi/Desktop/images/09042025/14/35/image_09042025_14_35_57_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":["1350801098","1350801194","1350801154","1350801055","1350801124","1350801180"],"photo_ids_order":["1350801055","1350801098","1350801124","1350801154","1350801180","1350801194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/29cd35b9621695b4d88161727e451868.jpg","text":"TemporaryFile(/tmp/multipartBody4822388531482884586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207893223,"filename":"image_09042025_14_35_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/4/9/be196001c014caca87e95abdf3a9483e.jpg","text":"TemporaryFile(/tmp/multipartBody223539486639654435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207893223,"filename":"image_09042025_14_35_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/4/9/27c70f83759e65b337f7bc7c2aa50148.jpg","text":"TemporaryFile(/tmp/multipartBody7616218450567277036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207893223,"filename":"image_09042025_14_35_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/4/9/a93d309450366d930d77789bf3fc82b4.jpg","text":"TemporaryFile(/tmp/multipartBody6474641838934663420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207893223,"filename":"image_09042025_14_34_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6e239cb8eef6cf012157876d5d016ec.jpg","text":"TemporaryFile(/tmp/multipartBody7321093289198800352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207893223,"filename":"image_09042025_14_35_16_9650.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c26cefa8683728512a3111d386b8bf68.jpg","text":"TemporaryFile(/tmp/multipartBody6586181393270408751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207893223,"filename":"image_09042025_14_35_46_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350801124","file1":"1350801098","file0":"1350801055","file4":"1350801180","file5":"1350801194","file3":"1350801154"},"map_files_photo_id_array":[{"photo_id":"1350801194","filename":"file5"},{"photo_id":"1350801124","filename":"file2"},{"photo_id":"1350801180","filename":"file4"},{"photo_id":"1350801098","filename":"file1"},{"photo_id":"1350801055","filename":"file0"},{"photo_id":"1350801154","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350801098":["hashtag1","hashtag2"]},{"1350801194":["hashtag1","hashtag2"]},{"1350801154":["hashtag1","hashtag2"]},{"1350801055":["hashtag1","hashtag2"]},{"1350801124":["hashtag1","hashtag2"]},{"1350801180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350801098, 1350801194, 1350801154, 1350801055, 1350801124, 1350801180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.290849924087524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:11:33.144864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/35/image_09042025_14_36_06_9404.jpg', '/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_16_10422.jpg', '/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_26_9357.jpg', '/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_36_10444.jpg', '/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_47_10356.jpg', '/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/35/image_09042025_14_36_06_9404.jpg
/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_16_10422.jpg
/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_26_9357.jpg
/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_36_10444.jpg
/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_47_10356.jpg
/home/pi/Desktop/images/09042025/14/36/image_09042025_14_36_56_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":["1350801432","1350801462","1350801504","1350801475","1350801463","1350801523"],"photo_ids_order":["1350801432","1350801462","1350801463","1350801475","1350801504","1350801523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51144543c17ca126e6c344873ae94351.jpg","text":"TemporaryFile(/tmp/multipartBody545768902665134907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207953617,"filename":"image_09042025_14_36_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/4/9/8c98c8e90b45cf1ec207d27d18358a57.jpg","text":"TemporaryFile(/tmp/multipartBody7049435685877188276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207953617,"filename":"image_09042025_14_36_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/4/9/4c312e95edcd8bc6771701ee786b628d.jpg","text":"TemporaryFile(/tmp/multipartBody3956948923540021482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207953617,"filename":"image_09042025_14_36_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/4/9/a6c7032b7a5f4e180a849edd8c2cd150.jpg","text":"TemporaryFile(/tmp/multipartBody7062899342544376062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207953617,"filename":"image_09042025_14_36_36_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/293e32cef8d3367982b4e735ad8b779c.jpg","text":"TemporaryFile(/tmp/multipartBody3353430205703932510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207953617,"filename":"image_09042025_14_36_26_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9af9225ce1c5efd884b7d9d8c65253ac.jpg","text":"TemporaryFile(/tmp/multipartBody7150920693797564371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744207953617,"filename":"image_09042025_14_36_56_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350801463","file1":"1350801462","file0":"1350801432","file4":"1350801504","file5":"1350801523","file3":"1350801475"},"map_files_photo_id_array":[{"photo_id":"1350801523","filename":"file5"},{"photo_id":"1350801463","filename":"file2"},{"photo_id":"1350801504","filename":"file4"},{"photo_id":"1350801462","filename":"file1"},{"photo_id":"1350801432","filename":"file0"},{"photo_id":"1350801475","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350801432":["hashtag1","hashtag2"]},{"1350801462":["hashtag1","hashtag2"]},{"1350801504":["hashtag1","hashtag2"]},{"1350801475":["hashtag1","hashtag2"]},{"1350801463":["hashtag1","hashtag2"]},{"1350801523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350801432, 1350801462, 1350801504, 1350801475, 1350801463, 1350801523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54298114776611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:12:32.180586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/36/image_09042025_14_37_06_10404.jpg', '/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_17_10366.jpg', '/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_26_9361.jpg', '/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_36_10427.jpg', '/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_46_9348.jpg', '/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_56_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/36/image_09042025_14_37_06_10404.jpg
/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_17_10366.jpg
/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_26_9361.jpg
/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_36_10427.jpg
/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_46_9348.jpg
/home/pi/Desktop/images/09042025/14/37/image_09042025_14_37_56_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350801669","1350801653","1350801673","1350801676","1350801625","1350801675"],"photo_ids_order":["1350801625","1350801653","1350801669","1350801673","1350801675","1350801676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/007ba02856e67cc9a57dc220bf01c04f.jpg","text":"TemporaryFile(/tmp/multipartBody2026932907717155111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208012658,"filename":"image_09042025_14_37_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/60e3853739613c9b42a07691060f42b3.jpg","text":"TemporaryFile(/tmp/multipartBody6909702394615275490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208012658,"filename":"image_09042025_14_37_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/4/9/5f78f8048df0015dff3d3ebde0609c82.jpg","text":"TemporaryFile(/tmp/multipartBody900766370702274392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208012658,"filename":"image_09042025_14_37_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da7e4e0185d82566a5298b6182f31b92.jpg","text":"TemporaryFile(/tmp/multipartBody6925793247644874267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208012658,"filename":"image_09042025_14_37_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/4/9/25ff84f42baf371c083066cb44adf675.jpg","text":"TemporaryFile(/tmp/multipartBody2750830754931348383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208012658,"filename":"image_09042025_14_37_06_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d85154344b4dcf6f399ecc7c12b1b2b.jpg","text":"TemporaryFile(/tmp/multipartBody8261114818789550956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208012658,"filename":"image_09042025_14_37_46_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350801669","file1":"1350801653","file0":"1350801625","file4":"1350801675","file5":"1350801676","file3":"1350801673"},"map_files_photo_id_array":[{"photo_id":"1350801676","filename":"file5"},{"photo_id":"1350801669","filename":"file2"},{"photo_id":"1350801675","filename":"file4"},{"photo_id":"1350801653","filename":"file1"},{"photo_id":"1350801625","filename":"file0"},{"photo_id":"1350801673","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350801669":["hashtag1","hashtag2"]},{"1350801653":["hashtag1","hashtag2"]},{"1350801673":["hashtag1","hashtag2"]},{"1350801676":["hashtag1","hashtag2"]},{"1350801625":["hashtag1","hashtag2"]},{"1350801675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350801669, 1350801653, 1350801673, 1350801676, 1350801625, 1350801675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23708391189575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:13:32.412879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/37/image_09042025_14_38_06_9438.jpg', '/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_16_10347.jpg', '/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_26_10426.jpg', '/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_36_9334.jpg', '/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_46_10397.jpg', '/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_57_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/37/image_09042025_14_38_06_9438.jpg
/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_16_10347.jpg
/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_26_10426.jpg
/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_36_9334.jpg
/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_46_10397.jpg
/home/pi/Desktop/images/09042025/14/38/image_09042025_14_38_57_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350801750","1350801744","1350801747","1350801735","1350801740","1350801751"],"photo_ids_order":["1350801735","1350801740","1350801744","1350801747","1350801750","1350801751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ea32af05b6f50b2db42ed81d96cac96.jpg","text":"TemporaryFile(/tmp/multipartBody287093975030500999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208072894,"filename":"image_09042025_14_38_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/4/9/c29cced0277264926ff3d3e493a38d45.jpg","text":"TemporaryFile(/tmp/multipartBody7293952056504892890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208072894,"filename":"image_09042025_14_38_26_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/50b2e161ccd6493557e29035ac47b317.jpg","text":"TemporaryFile(/tmp/multipartBody7348227036850341503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208072894,"filename":"image_09042025_14_38_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfc4e727dc898ed0860b07978241d0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8931617048751388079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208072894,"filename":"image_09042025_14_38_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/4/9/2788417dff1cdc285ed1273f5e9a58c5.jpg","text":"TemporaryFile(/tmp/multipartBody8293029200790100489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208072894,"filename":"image_09042025_14_38_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b2ced022ea80e95dfcc121eacd932a87.jpg","text":"TemporaryFile(/tmp/multipartBody7172403056176506982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208072894,"filename":"image_09042025_14_38_57_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350801744","file1":"1350801740","file0":"1350801735","file4":"1350801750","file5":"1350801751","file3":"1350801747"},"map_files_photo_id_array":[{"photo_id":"1350801751","filename":"file5"},{"photo_id":"1350801744","filename":"file2"},{"photo_id":"1350801750","filename":"file4"},{"photo_id":"1350801740","filename":"file1"},{"photo_id":"1350801735","filename":"file0"},{"photo_id":"1350801747","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350801750":["hashtag1","hashtag2"]},{"1350801744":["hashtag1","hashtag2"]},{"1350801747":["hashtag1","hashtag2"]},{"1350801735":["hashtag1","hashtag2"]},{"1350801740":["hashtag1","hashtag2"]},{"1350801751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350801750, 1350801744, 1350801747, 1350801735, 1350801740, 1350801751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63779044151306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:14:32.524362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/38/image_09042025_14_39_06_9402.jpg', '/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_16_10339.jpg', '/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_27_10363.jpg', '/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_36_9341.jpg', '/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_46_10430.jpg', '/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_56_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/38/image_09042025_14_39_06_9402.jpg
/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_16_10339.jpg
/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_27_10363.jpg
/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_36_9341.jpg
/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_46_10430.jpg
/home/pi/Desktop/images/09042025/14/39/image_09042025_14_39_56_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":["1350801801","1350801800","1350801793","1350801795","1350801789","1350801798"],"photo_ids_order":["1350801789","1350801793","1350801795","1350801798","1350801800","1350801801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba706ee880798ac31055d779b94e5247.jpg","text":"TemporaryFile(/tmp/multipartBody4578962870179749018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208132988,"filename":"image_09042025_14_39_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bbf1972952544f569d943c33dbe6a94f.jpg","text":"TemporaryFile(/tmp/multipartBody3378848326290281930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208132988,"filename":"image_09042025_14_39_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/4/9/a04ee12955b7bd16117c436506f0f320.jpg","text":"TemporaryFile(/tmp/multipartBody1878480257760291388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208132988,"filename":"image_09042025_14_39_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06f4cf4951833a5a371ff8225e5366fa.jpg","text":"TemporaryFile(/tmp/multipartBody7936552338564733337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208132988,"filename":"image_09042025_14_39_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/4/9/3d0e94cfc0bf7f1cef5574a44b0ea968.jpg","text":"TemporaryFile(/tmp/multipartBody2448022256438871366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208132988,"filename":"image_09042025_14_39_06_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4476821d8cfc88f8b19a147c0ffcf90d.jpg","text":"TemporaryFile(/tmp/multipartBody8817968471995594944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208132988,"filename":"image_09042025_14_39_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350801795","file1":"1350801793","file0":"1350801789","file4":"1350801800","file5":"1350801801","file3":"1350801798"},"map_files_photo_id_array":[{"photo_id":"1350801801","filename":"file5"},{"photo_id":"1350801795","filename":"file2"},{"photo_id":"1350801800","filename":"file4"},{"photo_id":"1350801793","filename":"file1"},{"photo_id":"1350801789","filename":"file0"},{"photo_id":"1350801798","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350801801":["hashtag1","hashtag2"]},{"1350801800":["hashtag1","hashtag2"]},{"1350801793":["hashtag1","hashtag2"]},{"1350801795":["hashtag1","hashtag2"]},{"1350801789":["hashtag1","hashtag2"]},{"1350801798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350801801, 1350801800, 1350801793, 1350801795, 1350801789, 1350801798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79052925109863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:15:32.977367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/39/image_09042025_14_40_06_10458.jpg', '/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_17_10334.jpg', '/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_26_9372.jpg', '/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_36_10370.jpg', '/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_47_10359.jpg', '/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_56_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/39/image_09042025_14_40_06_10458.jpg
/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_17_10334.jpg
/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_26_9372.jpg
/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_36_10370.jpg
/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_47_10359.jpg
/home/pi/Desktop/images/09042025/14/40/image_09042025_14_40_56_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350801930","1350801927","1350801923","1350801859","1350801916","1350801919"],"photo_ids_order":["1350801859","1350801916","1350801919","1350801923","1350801927","1350801930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/acf6192ddab807c5537d5660e2ca15f9.jpg","text":"TemporaryFile(/tmp/multipartBody8209948141026565547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208193444,"filename":"image_09042025_14_40_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/4/9/f7574ad5defad06b2730a0327f9334a7.jpg","text":"TemporaryFile(/tmp/multipartBody1730363463175088966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208193444,"filename":"image_09042025_14_40_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc0efc06b4aeb70096c0befa114f6975.jpg","text":"TemporaryFile(/tmp/multipartBody5507225733667607982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208193444,"filename":"image_09042025_14_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/4/9/086dff8ffc078ee64063e7bc345f7ad1.jpg","text":"TemporaryFile(/tmp/multipartBody4304450304886482880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208193444,"filename":"image_09042025_14_40_06_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/17a483fce1d40d4d091acdfc8ef641da.jpg","text":"TemporaryFile(/tmp/multipartBody4555743194243811540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208193444,"filename":"image_09042025_14_40_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/4/9/ef916721e7da8b8df8971a2cf8830453.jpg","text":"TemporaryFile(/tmp/multipartBody4758590396344124886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208193444,"filename":"image_09042025_14_40_26_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350801919","file1":"1350801916","file0":"1350801859","file4":"1350801927","file5":"1350801930","file3":"1350801923"},"map_files_photo_id_array":[{"photo_id":"1350801930","filename":"file5"},{"photo_id":"1350801919","filename":"file2"},{"photo_id":"1350801927","filename":"file4"},{"photo_id":"1350801916","filename":"file1"},{"photo_id":"1350801859","filename":"file0"},{"photo_id":"1350801923","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350801930":["hashtag1","hashtag2"]},{"1350801927":["hashtag1","hashtag2"]},{"1350801923":["hashtag1","hashtag2"]},{"1350801859":["hashtag1","hashtag2"]},{"1350801916":["hashtag1","hashtag2"]},{"1350801919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350801930, 1350801927, 1350801923, 1350801859, 1350801916, 1350801919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.9331955909729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:16:32.538359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/40/image_09042025_14_41_06_10355.jpg', '/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_16_9394.jpg', '/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_26_10355.jpg', '/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_37_10344.jpg', '/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_46_9352.jpg', '/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_56_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/40/image_09042025_14_41_06_10355.jpg
/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_16_9394.jpg
/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_26_10355.jpg
/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_37_10344.jpg
/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_46_9352.jpg
/home/pi/Desktop/images/09042025/14/41/image_09042025_14_41_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":["1350802085","1350802063","1350802083","1350802071","1350802074","1350802059"],"photo_ids_order":["1350802059","1350802063","1350802071","1350802074","1350802083","1350802085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/272aa2d7462a1612add1581607cda6ee.jpg","text":"TemporaryFile(/tmp/multipartBody8501032163177111523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208253035,"filename":"image_09042025_14_41_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/4/9/9013567671302b794ec3bb5f5b15aadf.jpg","text":"TemporaryFile(/tmp/multipartBody582816468120638649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208253035,"filename":"image_09042025_14_41_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/4/9/9b79833db2721d1abaf1907bded40a5a.jpg","text":"TemporaryFile(/tmp/multipartBody9214487440750127238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208253035,"filename":"image_09042025_14_41_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/4/9/3aededace9c18b2704fc99967a59b024.jpg","text":"TemporaryFile(/tmp/multipartBody4945672000394756588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208253035,"filename":"image_09042025_14_41_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/4/9/16c1e9c1183089c10ebd2247399fe11d.jpg","text":"TemporaryFile(/tmp/multipartBody863369900681499259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208253035,"filename":"image_09042025_14_41_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/4/9/85f8df550e76d8cd7c6e208289f45ea4.jpg","text":"TemporaryFile(/tmp/multipartBody528989936641396805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208253035,"filename":"image_09042025_14_41_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802071","file1":"1350802063","file0":"1350802059","file4":"1350802083","file5":"1350802085","file3":"1350802074"},"map_files_photo_id_array":[{"photo_id":"1350802085","filename":"file5"},{"photo_id":"1350802071","filename":"file2"},{"photo_id":"1350802083","filename":"file4"},{"photo_id":"1350802063","filename":"file1"},{"photo_id":"1350802059","filename":"file0"},{"photo_id":"1350802074","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802085":["hashtag1","hashtag2"]},{"1350802063":["hashtag1","hashtag2"]},{"1350802083":["hashtag1","hashtag2"]},{"1350802071":["hashtag1","hashtag2"]},{"1350802074":["hashtag1","hashtag2"]},{"1350802059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802085, 1350802063, 1350802083, 1350802071, 1350802074, 1350802059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41038227081299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:17:32.722391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/41/image_09042025_14_42_06_9318.jpg', '/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_16_10464.jpg', '/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_27_10439.jpg', '/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_36_9353.jpg', '/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_46_10469.jpg', '/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_56_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/41/image_09042025_14_42_06_9318.jpg
/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_16_10464.jpg
/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_27_10439.jpg
/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_36_9353.jpg
/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_46_10469.jpg
/home/pi/Desktop/images/09042025/14/42/image_09042025_14_42_56_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350802136","1350802195","1350802138","1350802135","1350802161","1350802134"],"photo_ids_order":["1350802134","1350802135","1350802136","1350802138","1350802161","1350802195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0bb3881f89654f37c4ad9f5454813f35.jpg","text":"TemporaryFile(/tmp/multipartBody7568615795341438387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208313194,"filename":"image_09042025_14_42_27_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6238f6317c9106b51ca4bb76b7d3ef93.jpg","text":"TemporaryFile(/tmp/multipartBody2214199655195723709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208313194,"filename":"image_09042025_14_42_56_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d8cea2343fa5c6d8fb2a58134d607d4.jpg","text":"TemporaryFile(/tmp/multipartBody8742831591400347222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208313194,"filename":"image_09042025_14_42_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/4/9/11d455da85086b6554dc47f3208f68f8.jpg","text":"TemporaryFile(/tmp/multipartBody4113882332261364457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208313194,"filename":"image_09042025_14_42_16_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a785b6e45ef4d90fd43b9f40dd19dbf5.jpg","text":"TemporaryFile(/tmp/multipartBody9182253914012377777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208313194,"filename":"image_09042025_14_42_46_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aaf3c85e6d2ac8e6b3fafa68115b364b.jpg","text":"TemporaryFile(/tmp/multipartBody363888466045249170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208313194,"filename":"image_09042025_14_42_06_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802136","file1":"1350802135","file0":"1350802134","file4":"1350802161","file5":"1350802195","file3":"1350802138"},"map_files_photo_id_array":[{"photo_id":"1350802195","filename":"file5"},{"photo_id":"1350802136","filename":"file2"},{"photo_id":"1350802161","filename":"file4"},{"photo_id":"1350802135","filename":"file1"},{"photo_id":"1350802134","filename":"file0"},{"photo_id":"1350802138","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802136":["hashtag1","hashtag2"]},{"1350802195":["hashtag1","hashtag2"]},{"1350802138":["hashtag1","hashtag2"]},{"1350802135":["hashtag1","hashtag2"]},{"1350802161":["hashtag1","hashtag2"]},{"1350802134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802136, 1350802195, 1350802138, 1350802135, 1350802161, 1350802134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.499515533447266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:18:33.076149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/42/image_09042025_14_43_06_10348.jpg', '/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_17_10410.jpg', '/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_26_9359.jpg', '/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_36_10382.jpg', '/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_46_9373.jpg', '/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_56_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/42/image_09042025_14_43_06_10348.jpg
/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_17_10410.jpg
/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_26_9359.jpg
/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_36_10382.jpg
/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_46_9373.jpg
/home/pi/Desktop/images/09042025/14/43/image_09042025_14_43_56_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":["1350802289","1350802270","1350802273","1350802261","1350802278","1350802263"],"photo_ids_order":["1350802261","1350802263","1350802270","1350802273","1350802278","1350802289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/282521553065294e6403e5813fc9185e.jpg","text":"TemporaryFile(/tmp/multipartBody3084034096870391842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208373544,"filename":"image_09042025_14_43_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4ac42cf0e65dd36159bde01419ab0ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3081741324569148918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208373544,"filename":"image_09042025_14_43_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c22fffa0301013c2e5da2c6260ef3f1.jpg","text":"TemporaryFile(/tmp/multipartBody837729734471414473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208373544,"filename":"image_09042025_14_43_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0dc0075bf48fa9116da3599d6306a745.jpg","text":"TemporaryFile(/tmp/multipartBody7578591536950448112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208373544,"filename":"image_09042025_14_43_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/4/9/c69340b40dc4d1c23b0192ec422e115f.jpg","text":"TemporaryFile(/tmp/multipartBody4475057275182177116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208373544,"filename":"image_09042025_14_43_46_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc2c3440514fa3ff467974978f4c1b49.jpg","text":"TemporaryFile(/tmp/multipartBody6583148556629001347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208373544,"filename":"image_09042025_14_43_17_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802270","file1":"1350802263","file0":"1350802261","file4":"1350802278","file5":"1350802289","file3":"1350802273"},"map_files_photo_id_array":[{"photo_id":"1350802289","filename":"file5"},{"photo_id":"1350802270","filename":"file2"},{"photo_id":"1350802278","filename":"file4"},{"photo_id":"1350802263","filename":"file1"},{"photo_id":"1350802261","filename":"file0"},{"photo_id":"1350802273","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802289":["hashtag1","hashtag2"]},{"1350802270":["hashtag1","hashtag2"]},{"1350802273":["hashtag1","hashtag2"]},{"1350802261":["hashtag1","hashtag2"]},{"1350802278":["hashtag1","hashtag2"]},{"1350802263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802289, 1350802270, 1350802273, 1350802261, 1350802278, 1350802263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00587058067322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:19:33.163950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/43/image_09042025_14_44_06_10354.jpg', '/home/pi/Desktop/images/09042025/14/44/image_09042025_14_44_16_9636.jpg', '/home/pi/Desktop/images/09042025/14/44/image_09042025_14_44_27_10472.jpg', '/home/pi/Desktop/images/09042025/14/44/image_09042025_14_44_36_9400.jpg', '/home/pi/Desktop/images/09042025/14/44/image_09042025_14_44_46_10453.jpg', '/home/pi/Desktop/images/09042025/14/44/image_09042025_14_45_06_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/43/image_09042025_14_44_06_10354.jpg
/home/pi/Desktop/images/09042025/14/44/image_09042025_14_44_16_9636.jpg
/home/pi/Desktop/images/09042025/14/44/image_09042025_14_44_27_10472.jpg
/home/pi/Desktop/images/09042025/14/44/image_09042025_14_44_36_9400.jpg
/home/pi/Desktop/images/09042025/14/44/image_09042025_14_44_46_10453.jpg
/home/pi/Desktop/images/09042025/14/44/image_09042025_14_45_06_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":["1350802358","1350802378","1350802360","1350802380","1350802359","1350802374"],"photo_ids_order":["1350802358","1350802359","1350802360","1350802374","1350802378","1350802380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b91b534031d6e74816663a226897f7ce.jpg","text":"TemporaryFile(/tmp/multipartBody5638505292931029309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208433628,"filename":"image_09042025_14_44_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/4/9/689966d99734e02261ba0cee0472c084.jpg","text":"TemporaryFile(/tmp/multipartBody6426473333319954059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208433628,"filename":"image_09042025_14_44_46_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ceb41c29356069ace6d1fbfacfb88be6.jpg","text":"TemporaryFile(/tmp/multipartBody3068734958241829027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208433628,"filename":"image_09042025_14_44_27_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8dda39615ab85b0913e6c4dee001eec.jpg","text":"TemporaryFile(/tmp/multipartBody9005951274219056629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208433628,"filename":"image_09042025_14_45_06_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08be58f8e1ea0ca665b5a07c485052f8.jpg","text":"TemporaryFile(/tmp/multipartBody3213017088836198876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208433628,"filename":"image_09042025_14_44_16_9636.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/030580103a10997e668d63ff8e540880.jpg","text":"TemporaryFile(/tmp/multipartBody2104915562714322128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208433628,"filename":"image_09042025_14_44_36_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802360","file1":"1350802359","file0":"1350802358","file4":"1350802378","file5":"1350802380","file3":"1350802374"},"map_files_photo_id_array":[{"photo_id":"1350802380","filename":"file5"},{"photo_id":"1350802360","filename":"file2"},{"photo_id":"1350802378","filename":"file4"},{"photo_id":"1350802359","filename":"file1"},{"photo_id":"1350802358","filename":"file0"},{"photo_id":"1350802374","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802358":["hashtag1","hashtag2"]},{"1350802378":["hashtag1","hashtag2"]},{"1350802360":["hashtag1","hashtag2"]},{"1350802380":["hashtag1","hashtag2"]},{"1350802359":["hashtag1","hashtag2"]},{"1350802374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802358, 1350802378, 1350802360, 1350802380, 1350802359, 1350802374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75240659713745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:20:32.351205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_17_10354.jpg', '/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_26_9358.jpg', '/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_36_10336.jpg', '/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_46_9338.jpg', '/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_56_10510.jpg', '/home/pi/Desktop/images/09042025/14/45/image_09042025_14_46_07_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_17_10354.jpg
/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_26_9358.jpg
/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_36_10336.jpg
/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_46_9338.jpg
/home/pi/Desktop/images/09042025/14/45/image_09042025_14_45_56_10510.jpg
/home/pi/Desktop/images/09042025/14/45/image_09042025_14_46_07_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":["1350802437","1350802439","1350802477","1350802479","1350802443","1350802473"],"photo_ids_order":["1350802437","1350802439","1350802443","1350802473","1350802477","1350802479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ec20de06061f677b8513da3d11af727.jpg","text":"TemporaryFile(/tmp/multipartBody5477604066269005307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208492814,"filename":"image_09042025_14_45_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/4/9/baf9b5c17e59108365de2bf3bee0e420.jpg","text":"TemporaryFile(/tmp/multipartBody1491168730717447733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208492814,"filename":"image_09042025_14_45_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf2d30690dd507eb1154ea872fabb475.jpg","text":"TemporaryFile(/tmp/multipartBody4564984041451944303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208492814,"filename":"image_09042025_14_45_56_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d5c9b8af14dd3e87d555d83b28e68889.jpg","text":"TemporaryFile(/tmp/multipartBody647490079203170911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208492814,"filename":"image_09042025_14_46_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/4/9/06edcf9288d65d56c65219e35478f97b.jpg","text":"TemporaryFile(/tmp/multipartBody7115873710438410038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208492814,"filename":"image_09042025_14_45_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/4/9/4a09d3c7897ee21385ee3af67da311be.jpg","text":"TemporaryFile(/tmp/multipartBody4854089617928375242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208492814,"filename":"image_09042025_14_45_46_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802443","file1":"1350802439","file0":"1350802437","file4":"1350802477","file5":"1350802479","file3":"1350802473"},"map_files_photo_id_array":[{"photo_id":"1350802479","filename":"file5"},{"photo_id":"1350802443","filename":"file2"},{"photo_id":"1350802477","filename":"file4"},{"photo_id":"1350802439","filename":"file1"},{"photo_id":"1350802437","filename":"file0"},{"photo_id":"1350802473","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802437":["hashtag1","hashtag2"]},{"1350802439":["hashtag1","hashtag2"]},{"1350802477":["hashtag1","hashtag2"]},{"1350802479":["hashtag1","hashtag2"]},{"1350802443":["hashtag1","hashtag2"]},{"1350802473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802437, 1350802439, 1350802477, 1350802479, 1350802443, 1350802473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.685243368148804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:21:32.640897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_16_9341.jpg', '/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_26_10435.jpg', '/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_37_10347.jpg', '/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_46_9354.jpg', '/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_56_10455.jpg', '/home/pi/Desktop/images/09042025/14/46/image_09042025_14_47_06_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_16_9341.jpg
/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_26_10435.jpg
/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_37_10347.jpg
/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_46_9354.jpg
/home/pi/Desktop/images/09042025/14/46/image_09042025_14_46_56_10455.jpg
/home/pi/Desktop/images/09042025/14/46/image_09042025_14_47_06_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350802520","1350802523","1350802517","1350802526","1350802514","1350802537"],"photo_ids_order":["1350802514","1350802517","1350802520","1350802523","1350802526","1350802537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9862414bb0db339d94d5fa49b8ffd30e.jpg","text":"TemporaryFile(/tmp/multipartBody4107989322449395055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208553109,"filename":"image_09042025_14_46_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/4/9/adf99fb42c7a1f8189d9a90b5c735dde.jpg","text":"TemporaryFile(/tmp/multipartBody2894809193922343340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208553109,"filename":"image_09042025_14_46_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/4/9/bf44b33b6d5961e79b4e1bf21ffe380a.jpg","text":"TemporaryFile(/tmp/multipartBody3612507560761281509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208553109,"filename":"image_09042025_14_46_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f4b86386fc8becff501a6813f89aad6.jpg","text":"TemporaryFile(/tmp/multipartBody5468073193302642485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208553109,"filename":"image_09042025_14_46_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/4/9/19e9d796a95f4d6cb575eedc380dc701.jpg","text":"TemporaryFile(/tmp/multipartBody4494079603559230128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208553109,"filename":"image_09042025_14_46_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/612f1322b4f8fb111ebc531f48e28271.jpg","text":"TemporaryFile(/tmp/multipartBody2611629566221334794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208553109,"filename":"image_09042025_14_47_06_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802520","file1":"1350802517","file0":"1350802514","file4":"1350802526","file5":"1350802537","file3":"1350802523"},"map_files_photo_id_array":[{"photo_id":"1350802537","filename":"file5"},{"photo_id":"1350802520","filename":"file2"},{"photo_id":"1350802526","filename":"file4"},{"photo_id":"1350802517","filename":"file1"},{"photo_id":"1350802514","filename":"file0"},{"photo_id":"1350802523","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802520":["hashtag1","hashtag2"]},{"1350802523":["hashtag1","hashtag2"]},{"1350802517":["hashtag1","hashtag2"]},{"1350802526":["hashtag1","hashtag2"]},{"1350802514":["hashtag1","hashtag2"]},{"1350802537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802520, 1350802523, 1350802517, 1350802526, 1350802514, 1350802537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36709141731262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:22:32.918985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_16_10390.jpg', '/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_27_10363.jpg', '/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_36_9368.jpg', '/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_46_10446.jpg', '/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_56_9341.jpg', '/home/pi/Desktop/images/09042025/14/47/image_09042025_14_48_06_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_16_10390.jpg
/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_27_10363.jpg
/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_36_9368.jpg
/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_46_10446.jpg
/home/pi/Desktop/images/09042025/14/47/image_09042025_14_47_56_9341.jpg
/home/pi/Desktop/images/09042025/14/47/image_09042025_14_48_06_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350802583","1350802580","1350802570","1350802587","1350802575","1350802566"],"photo_ids_order":["1350802566","1350802570","1350802575","1350802580","1350802583","1350802587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/716a3b99faad49c2c6a0ad2889a00cd7.jpg","text":"TemporaryFile(/tmp/multipartBody5731238679970573975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208613392,"filename":"image_09042025_14_47_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3845e152f571268a8cec358c13ef0050.jpg","text":"TemporaryFile(/tmp/multipartBody3748042261472238702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208613392,"filename":"image_09042025_14_47_46_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee40b9fc726a9ed8f78bed0a53a61172.jpg","text":"TemporaryFile(/tmp/multipartBody4456094461922123723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208613392,"filename":"image_09042025_14_47_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/4/9/f2295543fabf6488a87fa443b90beb6f.jpg","text":"TemporaryFile(/tmp/multipartBody9213619298242669615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208613392,"filename":"image_09042025_14_48_06_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bb8732f1d02630be2c6880ebad60192f.jpg","text":"TemporaryFile(/tmp/multipartBody1373645863821927557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208613392,"filename":"image_09042025_14_47_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/4/9/4a30f59001a88cb84b2a64dfcabfbdec.jpg","text":"TemporaryFile(/tmp/multipartBody8766689797856170553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208613392,"filename":"image_09042025_14_47_16_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802575","file1":"1350802570","file0":"1350802566","file4":"1350802583","file5":"1350802587","file3":"1350802580"},"map_files_photo_id_array":[{"photo_id":"1350802587","filename":"file5"},{"photo_id":"1350802575","filename":"file2"},{"photo_id":"1350802583","filename":"file4"},{"photo_id":"1350802570","filename":"file1"},{"photo_id":"1350802566","filename":"file0"},{"photo_id":"1350802580","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802583":["hashtag1","hashtag2"]},{"1350802580":["hashtag1","hashtag2"]},{"1350802570":["hashtag1","hashtag2"]},{"1350802587":["hashtag1","hashtag2"]},{"1350802575":["hashtag1","hashtag2"]},{"1350802566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802583, 1350802580, 1350802570, 1350802587, 1350802575, 1350802566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50176548957825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:23:32.192589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_16_10332.jpg', '/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_26_9357.jpg', '/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_36_10371.jpg', '/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_47_10358.jpg', '/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_56_9345.jpg', '/home/pi/Desktop/images/09042025/14/48/image_09042025_14_49_06_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_16_10332.jpg
/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_26_9357.jpg
/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_36_10371.jpg
/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_47_10358.jpg
/home/pi/Desktop/images/09042025/14/48/image_09042025_14_48_56_9345.jpg
/home/pi/Desktop/images/09042025/14/48/image_09042025_14_49_06_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":["1350802640","1350802658","1350802672","1350802660","1350802653","1350802644"],"photo_ids_order":["1350802640","1350802644","1350802653","1350802658","1350802660","1350802672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e4d1854dccd40f8db74e687a98466f7.jpg","text":"TemporaryFile(/tmp/multipartBody4996841501031017975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208672677,"filename":"image_09042025_14_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/4/9/9a2f47ed2a1e3f31fcead04a085ba035.jpg","text":"TemporaryFile(/tmp/multipartBody630565935658932056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208672677,"filename":"image_09042025_14_48_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/4/9/6098b57649de465a29649f2d0d19ce75.jpg","text":"TemporaryFile(/tmp/multipartBody4301958805155061071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208672677,"filename":"image_09042025_14_49_06_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dbba57c41287aee4edf193db61741490.jpg","text":"TemporaryFile(/tmp/multipartBody4642908255460087600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208672677,"filename":"image_09042025_14_48_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/4/9/1f99da6d81e59d3eca49fe1829ef263c.jpg","text":"TemporaryFile(/tmp/multipartBody1143755649452427636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208672677,"filename":"image_09042025_14_48_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/4/9/ec94d850b550e8f80c08748f9e32af02.jpg","text":"TemporaryFile(/tmp/multipartBody8919768703884357828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208672677,"filename":"image_09042025_14_48_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802653","file1":"1350802644","file0":"1350802640","file4":"1350802660","file5":"1350802672","file3":"1350802658"},"map_files_photo_id_array":[{"photo_id":"1350802672","filename":"file5"},{"photo_id":"1350802653","filename":"file2"},{"photo_id":"1350802660","filename":"file4"},{"photo_id":"1350802644","filename":"file1"},{"photo_id":"1350802640","filename":"file0"},{"photo_id":"1350802658","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802640":["hashtag1","hashtag2"]},{"1350802658":["hashtag1","hashtag2"]},{"1350802672":["hashtag1","hashtag2"]},{"1350802660":["hashtag1","hashtag2"]},{"1350802653":["hashtag1","hashtag2"]},{"1350802644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802640, 1350802658, 1350802672, 1350802660, 1350802653, 1350802644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.400466442108154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:24:32.462111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_16_9417.jpg', '/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_26_10462.jpg', '/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_37_10382.jpg', '/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_46_9357.jpg', '/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_56_10426.jpg', '/home/pi/Desktop/images/09042025/14/49/image_09042025_14_50_06_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_16_9417.jpg
/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_26_10462.jpg
/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_37_10382.jpg
/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_46_9357.jpg
/home/pi/Desktop/images/09042025/14/49/image_09042025_14_49_56_10426.jpg
/home/pi/Desktop/images/09042025/14/49/image_09042025_14_50_06_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":["1350802784","1350802780","1350802810","1350802755","1350802749","1350802737"],"photo_ids_order":["1350802737","1350802749","1350802755","1350802780","1350802784","1350802810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/516e536c457269dfb3d751c356ce6197.jpg","text":"TemporaryFile(/tmp/multipartBody4087991039080033890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208732932,"filename":"image_09042025_14_49_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/4/9/40454f158307693b89c5ca55adfdc7f9.jpg","text":"TemporaryFile(/tmp/multipartBody7822815296732271884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208732932,"filename":"image_09042025_14_49_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dcf4b74f95c8743ea87b82c4c9a1b3b1.jpg","text":"TemporaryFile(/tmp/multipartBody5785070953236627722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208732932,"filename":"image_09042025_14_50_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/4/9/2ac68e5abcb576e14845cd46a028c1d0.jpg","text":"TemporaryFile(/tmp/multipartBody1274477132464043086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208732932,"filename":"image_09042025_14_49_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da569a55fe41beb938ef29077672927e.jpg","text":"TemporaryFile(/tmp/multipartBody5378827175840358788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208732932,"filename":"image_09042025_14_49_26_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/812162547d93da4ff001cdd4b9cbe98e.jpg","text":"TemporaryFile(/tmp/multipartBody7809710887757158735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208732932,"filename":"image_09042025_14_49_16_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802755","file1":"1350802749","file0":"1350802737","file4":"1350802784","file5":"1350802810","file3":"1350802780"},"map_files_photo_id_array":[{"photo_id":"1350802810","filename":"file5"},{"photo_id":"1350802755","filename":"file2"},{"photo_id":"1350802784","filename":"file4"},{"photo_id":"1350802749","filename":"file1"},{"photo_id":"1350802737","filename":"file0"},{"photo_id":"1350802780","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802784":["hashtag1","hashtag2"]},{"1350802780":["hashtag1","hashtag2"]},{"1350802810":["hashtag1","hashtag2"]},{"1350802755":["hashtag1","hashtag2"]},{"1350802749":["hashtag1","hashtag2"]},{"1350802737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802784, 1350802780, 1350802810, 1350802755, 1350802749, 1350802737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59201002120972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:25:32.604161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_16_10457.jpg', '/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_27_10370.jpg', '/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_36_9388.jpg', '/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_46_10413.jpg', '/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_56_9344.jpg', '/home/pi/Desktop/images/09042025/14/50/image_09042025_14_51_06_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_16_10457.jpg
/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_27_10370.jpg
/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_36_9388.jpg
/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_46_10413.jpg
/home/pi/Desktop/images/09042025/14/50/image_09042025_14_50_56_9344.jpg
/home/pi/Desktop/images/09042025/14/50/image_09042025_14_51_06_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":["1350802871","1350802868","1350802878","1350802875","1350802860","1350802863"],"photo_ids_order":["1350802860","1350802863","1350802868","1350802871","1350802875","1350802878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eb3c05dfa532f6eb0e68a29e76f6cc93.jpg","text":"TemporaryFile(/tmp/multipartBody5250244689009120061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208793076,"filename":"image_09042025_14_50_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/4/9/70bd892691a7c0a5a0dc98a0bc04f4b9.jpg","text":"TemporaryFile(/tmp/multipartBody6848386356719590963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208793076,"filename":"image_09042025_14_50_36_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c62a8a33f2d87dc25900d234674917dc.jpg","text":"TemporaryFile(/tmp/multipartBody8494359698328754792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208793076,"filename":"image_09042025_14_51_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/4/9/044d384cd69251e55e90a012558e9f48.jpg","text":"TemporaryFile(/tmp/multipartBody6205586612072747311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208793076,"filename":"image_09042025_14_50_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/4/9/eacb686f94be36014a962fc0753b5737.jpg","text":"TemporaryFile(/tmp/multipartBody329041114612785843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208793076,"filename":"image_09042025_14_50_16_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44c18fc8d8d0237edeaa97599666835a.jpg","text":"TemporaryFile(/tmp/multipartBody501847146702183423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208793076,"filename":"image_09042025_14_50_27_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802868","file1":"1350802863","file0":"1350802860","file4":"1350802875","file5":"1350802878","file3":"1350802871"},"map_files_photo_id_array":[{"photo_id":"1350802878","filename":"file5"},{"photo_id":"1350802868","filename":"file2"},{"photo_id":"1350802875","filename":"file4"},{"photo_id":"1350802863","filename":"file1"},{"photo_id":"1350802860","filename":"file0"},{"photo_id":"1350802871","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802871":["hashtag1","hashtag2"]},{"1350802868":["hashtag1","hashtag2"]},{"1350802878":["hashtag1","hashtag2"]},{"1350802875":["hashtag1","hashtag2"]},{"1350802860":["hashtag1","hashtag2"]},{"1350802863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802871, 1350802868, 1350802878, 1350802875, 1350802860, 1350802863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.992348432540894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:26:32.865828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_16_10345.jpg', '/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_26_9383.jpg', '/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_36_10334.jpg', '/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_47_10418.jpg', '/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_56_9343.jpg', '/home/pi/Desktop/images/09042025/14/51/image_09042025_14_52_06_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_16_10345.jpg
/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_26_9383.jpg
/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_36_10334.jpg
/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_47_10418.jpg
/home/pi/Desktop/images/09042025/14/51/image_09042025_14_51_56_9343.jpg
/home/pi/Desktop/images/09042025/14/51/image_09042025_14_52_06_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":["1350802911","1350802905","1350802903","1350802909","1350802914","1350802917"],"photo_ids_order":["1350802903","1350802905","1350802909","1350802911","1350802914","1350802917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81c44f179d581b4be2a0bd210dde7f37.jpg","text":"TemporaryFile(/tmp/multipartBody6591967140233371099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208853334,"filename":"image_09042025_14_51_47_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e10e07cf3abe72ac6f73fea611dcd27.jpg","text":"TemporaryFile(/tmp/multipartBody6928712944130990374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208853334,"filename":"image_09042025_14_51_26_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efac51ac6ad6c56bca8a5ddffd22f2c1.jpg","text":"TemporaryFile(/tmp/multipartBody7435033659211433161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208853334,"filename":"image_09042025_14_51_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/4/9/8452887fcf2797e0388b9a0bcc3e6b17.jpg","text":"TemporaryFile(/tmp/multipartBody2484971901373063528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208853334,"filename":"image_09042025_14_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/4/9/1137c2d26a29802baa0dcfd924238d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6292240336447349597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208853334,"filename":"image_09042025_14_51_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/4/9/3ea9ed80f33a773503d3b4f6cce1ae52.jpg","text":"TemporaryFile(/tmp/multipartBody7908049961954019395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208853334,"filename":"image_09042025_14_52_06_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802909","file1":"1350802905","file0":"1350802903","file4":"1350802914","file5":"1350802917","file3":"1350802911"},"map_files_photo_id_array":[{"photo_id":"1350802917","filename":"file5"},{"photo_id":"1350802909","filename":"file2"},{"photo_id":"1350802914","filename":"file4"},{"photo_id":"1350802905","filename":"file1"},{"photo_id":"1350802903","filename":"file0"},{"photo_id":"1350802911","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802911":["hashtag1","hashtag2"]},{"1350802905":["hashtag1","hashtag2"]},{"1350802903":["hashtag1","hashtag2"]},{"1350802909":["hashtag1","hashtag2"]},{"1350802914":["hashtag1","hashtag2"]},{"1350802917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802911, 1350802905, 1350802903, 1350802909, 1350802914, 1350802917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.000669956207275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:27:33.010127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/52/image_09042025_14_52_16_9340.jpg', '/home/pi/Desktop/images/09042025/14/52/image_09042025_14_52_26_10527.jpg', '/home/pi/Desktop/images/09042025/14/52/image_09042025_14_52_37_10388.jpg', '/home/pi/Desktop/images/09042025/14/52/image_09042025_14_52_46_9474.jpg', '/home/pi/Desktop/images/09042025/14/53/image_09042025_14_53_16_10355.jpg', '/home/pi/Desktop/images/09042025/14/53/image_09042025_14_53_27_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/52/image_09042025_14_52_16_9340.jpg
/home/pi/Desktop/images/09042025/14/52/image_09042025_14_52_26_10527.jpg
/home/pi/Desktop/images/09042025/14/52/image_09042025_14_52_37_10388.jpg
/home/pi/Desktop/images/09042025/14/52/image_09042025_14_52_46_9474.jpg
/home/pi/Desktop/images/09042025/14/53/image_09042025_14_53_16_10355.jpg
/home/pi/Desktop/images/09042025/14/53/image_09042025_14_53_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":["1350802976","1350802984","1350802966","1350802969","1350802989","1350802971"],"photo_ids_order":["1350802966","1350802969","1350802971","1350802976","1350802984","1350802989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e25d54f15dd562f39bba3f66ec6a0e82.jpg","text":"TemporaryFile(/tmp/multipartBody57503905301075680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208913479,"filename":"image_09042025_14_52_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/4/9/9533a9aece195b98bf962690d8124089.jpg","text":"TemporaryFile(/tmp/multipartBody2026577528514353020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208913479,"filename":"image_09042025_14_53_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc238ea058f7a2da9fe5160d15b5191c.jpg","text":"TemporaryFile(/tmp/multipartBody6649770958088054707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208913479,"filename":"image_09042025_14_52_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff86a6c3f3626db600f907e472f3fad5.jpg","text":"TemporaryFile(/tmp/multipartBody7423637271282718429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208913479,"filename":"image_09042025_14_52_26_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/40b04ba516b6f49be35597f08a7ce04b.jpg","text":"TemporaryFile(/tmp/multipartBody3036647779779285456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208913479,"filename":"image_09042025_14_53_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/4/9/d7e671364ef1aa8099bab4124fee3334.jpg","text":"TemporaryFile(/tmp/multipartBody7542522215335986348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208913479,"filename":"image_09042025_14_52_37_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350802971","file1":"1350802969","file0":"1350802966","file4":"1350802984","file5":"1350802989","file3":"1350802976"},"map_files_photo_id_array":[{"photo_id":"1350802989","filename":"file5"},{"photo_id":"1350802971","filename":"file2"},{"photo_id":"1350802984","filename":"file4"},{"photo_id":"1350802969","filename":"file1"},{"photo_id":"1350802966","filename":"file0"},{"photo_id":"1350802976","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350802976":["hashtag1","hashtag2"]},{"1350802984":["hashtag1","hashtag2"]},{"1350802966":["hashtag1","hashtag2"]},{"1350802969":["hashtag1","hashtag2"]},{"1350802989":["hashtag1","hashtag2"]},{"1350802971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350802976, 1350802984, 1350802966, 1350802969, 1350802989, 1350802971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35526251792908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:28:32.246060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/53/image_09042025_14_53_36_9415.jpg', '/home/pi/Desktop/images/09042025/14/54/image_09042025_14_54_17_10356.jpg', '/home/pi/Desktop/images/09042025/14/54/image_09042025_14_54_26_9350.jpg', '/home/pi/Desktop/images/09042025/14/54/image_09042025_14_54_46_9354.jpg', '/home/pi/Desktop/images/09042025/14/54/image_09042025_14_54_56_10413.jpg', '/home/pi/Desktop/images/09042025/14/54/image_09042025_14_55_07_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/53/image_09042025_14_53_36_9415.jpg
/home/pi/Desktop/images/09042025/14/54/image_09042025_14_54_17_10356.jpg
/home/pi/Desktop/images/09042025/14/54/image_09042025_14_54_26_9350.jpg
/home/pi/Desktop/images/09042025/14/54/image_09042025_14_54_46_9354.jpg
/home/pi/Desktop/images/09042025/14/54/image_09042025_14_54_56_10413.jpg
/home/pi/Desktop/images/09042025/14/54/image_09042025_14_55_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":["1350803068","1350803034","1350803043","1350803016","1350803025","1350803054"],"photo_ids_order":["1350803016","1350803025","1350803034","1350803043","1350803054","1350803068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5eca2c0602eeb3e0f18d83902fb29e40.jpg","text":"TemporaryFile(/tmp/multipartBody7296867255732249097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208972715,"filename":"image_09042025_14_55_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/4/9/11262138394ece870de696afb1d4a102.jpg","text":"TemporaryFile(/tmp/multipartBody7963180964920073825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208972715,"filename":"image_09042025_14_54_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bff560a666a49affe5713d518efb7ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6293352695062041390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208972715,"filename":"image_09042025_14_54_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/4/9/5474e925a0056df04031b0227a3a4312.jpg","text":"TemporaryFile(/tmp/multipartBody5667131627581433951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208972715,"filename":"image_09042025_14_53_36_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e37f4ce279160008c248e02d9a8c6b7.jpg","text":"TemporaryFile(/tmp/multipartBody875033809920688301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208972715,"filename":"image_09042025_14_54_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e82d0df8536d29a3c1ea8431b8abca17.jpg","text":"TemporaryFile(/tmp/multipartBody2458607903265098379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744208972715,"filename":"image_09042025_14_54_56_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803034","file1":"1350803025","file0":"1350803016","file4":"1350803054","file5":"1350803068","file3":"1350803043"},"map_files_photo_id_array":[{"photo_id":"1350803068","filename":"file5"},{"photo_id":"1350803034","filename":"file2"},{"photo_id":"1350803054","filename":"file4"},{"photo_id":"1350803025","filename":"file1"},{"photo_id":"1350803016","filename":"file0"},{"photo_id":"1350803043","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803068":["hashtag1","hashtag2"]},{"1350803034":["hashtag1","hashtag2"]},{"1350803043":["hashtag1","hashtag2"]},{"1350803016":["hashtag1","hashtag2"]},{"1350803025":["hashtag1","hashtag2"]},{"1350803054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803068, 1350803034, 1350803043, 1350803016, 1350803025, 1350803054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.299702405929565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:29:32.554865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/55/image_09042025_14_55_26_10443.jpg', '/home/pi/Desktop/images/09042025/14/55/image_09042025_14_55_37_10371.jpg', '/home/pi/Desktop/images/09042025/14/55/image_09042025_14_55_46_9347.jpg', '/home/pi/Desktop/images/09042025/14/55/image_09042025_14_55_56_10438.jpg', '/home/pi/Desktop/images/09042025/14/56/image_09042025_14_56_27_10361.jpg', '/home/pi/Desktop/images/09042025/14/56/image_09042025_14_56_36_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/55/image_09042025_14_55_26_10443.jpg
/home/pi/Desktop/images/09042025/14/55/image_09042025_14_55_37_10371.jpg
/home/pi/Desktop/images/09042025/14/55/image_09042025_14_55_46_9347.jpg
/home/pi/Desktop/images/09042025/14/55/image_09042025_14_55_56_10438.jpg
/home/pi/Desktop/images/09042025/14/56/image_09042025_14_56_27_10361.jpg
/home/pi/Desktop/images/09042025/14/56/image_09042025_14_56_36_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":["1350803128","1350803122","1350803125","1350803119","1350803110","1350803115"],"photo_ids_order":["1350803110","1350803115","1350803119","1350803122","1350803125","1350803128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56c199170a3825cfae5c533a42905ae9.jpg","text":"TemporaryFile(/tmp/multipartBody809853407430474594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209033021,"filename":"image_09042025_14_56_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5add382581a5b50f1821823e3f8391bc.jpg","text":"TemporaryFile(/tmp/multipartBody4847670421163896809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209033021,"filename":"image_09042025_14_55_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/4/9/4316fa7794101c471363c0a13a88929b.jpg","text":"TemporaryFile(/tmp/multipartBody8666241213709174457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209033021,"filename":"image_09042025_14_56_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/4/9/9fe6a9641c0714eec328e3c1faa698c3.jpg","text":"TemporaryFile(/tmp/multipartBody5981464391810097421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209033021,"filename":"image_09042025_14_55_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/4/9/43aa3003d3d4f09997329d906c9b5192.jpg","text":"TemporaryFile(/tmp/multipartBody7449647345860532503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209033021,"filename":"image_09042025_14_55_26_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/645fbd7efb9b39e82dfcee502c2844c8.jpg","text":"TemporaryFile(/tmp/multipartBody647950498962071212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209033021,"filename":"image_09042025_14_55_37_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803119","file1":"1350803115","file0":"1350803110","file4":"1350803125","file5":"1350803128","file3":"1350803122"},"map_files_photo_id_array":[{"photo_id":"1350803128","filename":"file5"},{"photo_id":"1350803119","filename":"file2"},{"photo_id":"1350803125","filename":"file4"},{"photo_id":"1350803115","filename":"file1"},{"photo_id":"1350803110","filename":"file0"},{"photo_id":"1350803122","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803128":["hashtag1","hashtag2"]},{"1350803122":["hashtag1","hashtag2"]},{"1350803125":["hashtag1","hashtag2"]},{"1350803119":["hashtag1","hashtag2"]},{"1350803110":["hashtag1","hashtag2"]},{"1350803115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803128, 1350803122, 1350803125, 1350803119, 1350803110, 1350803115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.74129343032837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:30:32.763324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/56/image_09042025_14_56_46_10348.jpg', '/home/pi/Desktop/images/09042025/14/56/image_09042025_14_57_06_9337.jpg', '/home/pi/Desktop/images/09042025/14/57/image_09042025_14_57_26_9373.jpg', '/home/pi/Desktop/images/09042025/14/57/image_09042025_14_57_36_10451.jpg', '/home/pi/Desktop/images/09042025/14/57/image_09042025_14_57_47_10361.jpg', '/home/pi/Desktop/images/09042025/14/57/image_09042025_14_57_56_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/56/image_09042025_14_56_46_10348.jpg
/home/pi/Desktop/images/09042025/14/56/image_09042025_14_57_06_9337.jpg
/home/pi/Desktop/images/09042025/14/57/image_09042025_14_57_26_9373.jpg
/home/pi/Desktop/images/09042025/14/57/image_09042025_14_57_36_10451.jpg
/home/pi/Desktop/images/09042025/14/57/image_09042025_14_57_47_10361.jpg
/home/pi/Desktop/images/09042025/14/57/image_09042025_14_57_56_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":["1350803179","1350803164","1350803188","1350803200","1350803158","1350803154"],"photo_ids_order":["1350803154","1350803158","1350803164","1350803179","1350803188","1350803200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75af24cc31164baff8890ea82ad104b9.jpg","text":"TemporaryFile(/tmp/multipartBody6774488259028592202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209093297,"filename":"image_09042025_14_57_36_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d021c274055da534103d1edf8618293.jpg","text":"TemporaryFile(/tmp/multipartBody7589626056727262924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209093297,"filename":"image_09042025_14_57_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/4/9/aa8591d1dada5a8d3cea7a0b4aa99922.jpg","text":"TemporaryFile(/tmp/multipartBody4333848953646877629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209093297,"filename":"image_09042025_14_57_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/4/9/7ce4da6a7db1619123282d935cb26ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6333570396407183875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209093297,"filename":"image_09042025_14_57_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/4/9/e7e2b1a3fbeca272d1dc9e2ba5f2ea52.jpg","text":"TemporaryFile(/tmp/multipartBody1878593073021938534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209093297,"filename":"image_09042025_14_57_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/4/9/00b9caf56c9a589000dd0643b4fa5aa8.jpg","text":"TemporaryFile(/tmp/multipartBody8559345609007150775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209093297,"filename":"image_09042025_14_56_46_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803164","file1":"1350803158","file0":"1350803154","file4":"1350803188","file5":"1350803200","file3":"1350803179"},"map_files_photo_id_array":[{"photo_id":"1350803200","filename":"file5"},{"photo_id":"1350803164","filename":"file2"},{"photo_id":"1350803188","filename":"file4"},{"photo_id":"1350803158","filename":"file1"},{"photo_id":"1350803154","filename":"file0"},{"photo_id":"1350803179","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803179":["hashtag1","hashtag2"]},{"1350803164":["hashtag1","hashtag2"]},{"1350803188":["hashtag1","hashtag2"]},{"1350803200":["hashtag1","hashtag2"]},{"1350803158":["hashtag1","hashtag2"]},{"1350803154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803179, 1350803164, 1350803188, 1350803200, 1350803158, 1350803154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81216216087341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:31:33.160856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/58/image_09042025_14_58_26_9352.jpg', '/home/pi/Desktop/images/09042025/14/58/image_09042025_14_58_36_10395.jpg', '/home/pi/Desktop/images/09042025/14/58/image_09042025_14_58_46_9333.jpg', '/home/pi/Desktop/images/09042025/14/58/image_09042025_14_58_56_10428.jpg', '/home/pi/Desktop/images/09042025/14/58/image_09042025_14_59_07_10390.jpg', '/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_16_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/58/image_09042025_14_58_26_9352.jpg
/home/pi/Desktop/images/09042025/14/58/image_09042025_14_58_36_10395.jpg
/home/pi/Desktop/images/09042025/14/58/image_09042025_14_58_46_9333.jpg
/home/pi/Desktop/images/09042025/14/58/image_09042025_14_58_56_10428.jpg
/home/pi/Desktop/images/09042025/14/58/image_09042025_14_59_07_10390.jpg
/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_16_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350803249","1350803260","1350803254","1350803242","1350803256","1350803259"],"photo_ids_order":["1350803242","1350803249","1350803254","1350803256","1350803259","1350803260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a26cb3b4cef7dcc79ee09f99e15828e7.jpg","text":"TemporaryFile(/tmp/multipartBody4345968198465765610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209153630,"filename":"image_09042025_14_58_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/4/9/ea07416c2b66823f73c080d4adca1134.jpg","text":"TemporaryFile(/tmp/multipartBody7721316410592081330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209153630,"filename":"image_09042025_14_59_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/4/9/3cb6b123b84856be4f6d2754c5c56af8.jpg","text":"TemporaryFile(/tmp/multipartBody755556408248910420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209153630,"filename":"image_09042025_14_58_46_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec03d345e43dedcd9df9067fa1d2832f.jpg","text":"TemporaryFile(/tmp/multipartBody1862492763724280847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209153630,"filename":"image_09042025_14_58_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23b66b42d1f8fffad8cbfdb6444ccf68.jpg","text":"TemporaryFile(/tmp/multipartBody3377783408478474702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209153630,"filename":"image_09042025_14_58_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/00fc324cca1cfe2322e3c24adb3be131.jpg","text":"TemporaryFile(/tmp/multipartBody4007542859930826930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209153630,"filename":"image_09042025_14_59_07_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803254","file1":"1350803249","file0":"1350803242","file4":"1350803259","file5":"1350803260","file3":"1350803256"},"map_files_photo_id_array":[{"photo_id":"1350803260","filename":"file5"},{"photo_id":"1350803254","filename":"file2"},{"photo_id":"1350803259","filename":"file4"},{"photo_id":"1350803249","filename":"file1"},{"photo_id":"1350803242","filename":"file0"},{"photo_id":"1350803256","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803249":["hashtag1","hashtag2"]},{"1350803260":["hashtag1","hashtag2"]},{"1350803254":["hashtag1","hashtag2"]},{"1350803242":["hashtag1","hashtag2"]},{"1350803256":["hashtag1","hashtag2"]},{"1350803259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803249, 1350803260, 1350803254, 1350803242, 1350803256, 1350803259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.9739089012146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:32:32.276172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_26_10366.jpg', '/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_37_10365.jpg', '/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_46_9353.jpg', '/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_56_10368.jpg', '/home/pi/Desktop/images/09042025/15/01/image_09042025_15_01_14_10078.jpg', '/home/pi/Desktop/images/09042025/15/01/image_09042025_15_01_25_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_26_10366.jpg
/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_37_10365.jpg
/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_46_9353.jpg
/home/pi/Desktop/images/09042025/14/59/image_09042025_14_59_56_10368.jpg
/home/pi/Desktop/images/09042025/15/01/image_09042025_15_01_14_10078.jpg
/home/pi/Desktop/images/09042025/15/01/image_09042025_15_01_25_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350803321","1350803315","1350803306","1350803300","1350803310","1350803304"],"photo_ids_order":["1350803300","1350803304","1350803306","1350803310","1350803315","1350803321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/accda1850a9062b13786e2b556c05b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4824953224213147240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209212741,"filename":"image_09042025_15_01_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5815474aa0c3759a3af267c72fddb4c3.jpg","text":"TemporaryFile(/tmp/multipartBody1572231291803346548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209212741,"filename":"image_09042025_15_01_14_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3db914202310dcb765848ee42dd3bf10.jpg","text":"TemporaryFile(/tmp/multipartBody3773221114569125205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209212741,"filename":"image_09042025_14_59_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/4/9/0fed6d9e48c2f65503fcdcf59812b637.jpg","text":"TemporaryFile(/tmp/multipartBody8039087627109327057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209212741,"filename":"image_09042025_14_59_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/4/9/d97594d5ea9f66d710963215fc350d86.jpg","text":"TemporaryFile(/tmp/multipartBody4552372403591158533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209212741,"filename":"image_09042025_14_59_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88853c7ba6dd07f9811ccea5a466b0f0.jpg","text":"TemporaryFile(/tmp/multipartBody8705552448584270523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209212741,"filename":"image_09042025_14_59_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803306","file1":"1350803304","file0":"1350803300","file4":"1350803315","file5":"1350803321","file3":"1350803310"},"map_files_photo_id_array":[{"photo_id":"1350803321","filename":"file5"},{"photo_id":"1350803306","filename":"file2"},{"photo_id":"1350803315","filename":"file4"},{"photo_id":"1350803304","filename":"file1"},{"photo_id":"1350803300","filename":"file0"},{"photo_id":"1350803310","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803321":["hashtag1","hashtag2"]},{"1350803315":["hashtag1","hashtag2"]},{"1350803306":["hashtag1","hashtag2"]},{"1350803300":["hashtag1","hashtag2"]},{"1350803310":["hashtag1","hashtag2"]},{"1350803304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803321, 1350803315, 1350803306, 1350803300, 1350803310, 1350803304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.745409965515137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:33:32.473618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/01/image_09042025_15_01_35_10432.jpg', '/home/pi/Desktop/images/09042025/15/01/image_09042025_15_01_55_10447.jpg', '/home/pi/Desktop/images/09042025/15/01/image_09042025_15_02_05_10337.jpg', '/home/pi/Desktop/images/09042025/15/02/image_09042025_15_02_15_9332.jpg', '/home/pi/Desktop/images/09042025/15/02/image_09042025_15_02_25_10504.jpg', '/home/pi/Desktop/images/09042025/15/02/image_09042025_15_02_45_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/01/image_09042025_15_01_35_10432.jpg
/home/pi/Desktop/images/09042025/15/01/image_09042025_15_01_55_10447.jpg
/home/pi/Desktop/images/09042025/15/01/image_09042025_15_02_05_10337.jpg
/home/pi/Desktop/images/09042025/15/02/image_09042025_15_02_15_9332.jpg
/home/pi/Desktop/images/09042025/15/02/image_09042025_15_02_25_10504.jpg
/home/pi/Desktop/images/09042025/15/02/image_09042025_15_02_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":["1350803381","1350803375","1350803363","1350803390","1350803387","1350803372"],"photo_ids_order":["1350803363","1350803372","1350803375","1350803381","1350803387","1350803390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/76b1d89f32397f0b2f6eeabf261ff9fd.jpg","text":"TemporaryFile(/tmp/multipartBody3507015867316215481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209272943,"filename":"image_09042025_15_02_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/4/9/889f3a8a339df377590087e25361810b.jpg","text":"TemporaryFile(/tmp/multipartBody2717353788334187308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209272943,"filename":"image_09042025_15_02_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/4/9/854151a83b74e5c9a2dbd452f082396c.jpg","text":"TemporaryFile(/tmp/multipartBody862543301919893664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209272943,"filename":"image_09042025_15_01_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/4/9/c80e1bee1867044f84ea16711688d14a.jpg","text":"TemporaryFile(/tmp/multipartBody431847901241427649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209272943,"filename":"image_09042025_15_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/4/9/1c710a42b514e7d47533b885fdf08370.jpg","text":"TemporaryFile(/tmp/multipartBody1088063168196438614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209272943,"filename":"image_09042025_15_02_25_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6ba5e0b9ab6422cf837e3d47621e917f.jpg","text":"TemporaryFile(/tmp/multipartBody3110033999722387310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209272943,"filename":"image_09042025_15_01_55_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803375","file1":"1350803372","file0":"1350803363","file4":"1350803387","file5":"1350803390","file3":"1350803381"},"map_files_photo_id_array":[{"photo_id":"1350803390","filename":"file5"},{"photo_id":"1350803375","filename":"file2"},{"photo_id":"1350803387","filename":"file4"},{"photo_id":"1350803372","filename":"file1"},{"photo_id":"1350803363","filename":"file0"},{"photo_id":"1350803381","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803381":["hashtag1","hashtag2"]},{"1350803375":["hashtag1","hashtag2"]},{"1350803363":["hashtag1","hashtag2"]},{"1350803390":["hashtag1","hashtag2"]},{"1350803387":["hashtag1","hashtag2"]},{"1350803372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803381, 1350803375, 1350803363, 1350803390, 1350803387, 1350803372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98915123939514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:34:32.709360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/02/image_09042025_15_02_55_10355.jpg', '/home/pi/Desktop/images/09042025/15/02/image_09042025_15_03_05_9341.jpg', '/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_15_10330.jpg', '/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_25_10452.jpg', '/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_35_9361.jpg', '/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_45_10504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/02/image_09042025_15_02_55_10355.jpg
/home/pi/Desktop/images/09042025/15/02/image_09042025_15_03_05_9341.jpg
/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_15_10330.jpg
/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_25_10452.jpg
/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_35_9361.jpg
/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_45_10504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350803510","1350803524","1350803506","1350803454","1350803448","1350803514"],"photo_ids_order":["1350803448","1350803454","1350803506","1350803510","1350803514","1350803524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65c8c4a10e43fe1fc76cc8bef6ffc8ff.jpg","text":"TemporaryFile(/tmp/multipartBody6895338394452438875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209333185,"filename":"image_09042025_15_03_25_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/34253b1b6a15cc8d6c5fb810bfeaa1a5.jpg","text":"TemporaryFile(/tmp/multipartBody177813250902199343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209333185,"filename":"image_09042025_15_03_45_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6fbf744530db1012dbb2c813ceaee346.jpg","text":"TemporaryFile(/tmp/multipartBody1191530962196539021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209333185,"filename":"image_09042025_15_03_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/4/9/7341f89a064bf93ccc22e5e97d142b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2853257915969142233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209333185,"filename":"image_09042025_15_03_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/4/9/7bd410445f3aaf9867ac5ceef65afb1e.jpg","text":"TemporaryFile(/tmp/multipartBody2197174561096434381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209333185,"filename":"image_09042025_15_02_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/4/9/e352d7b836998c90b3f571594f088efd.jpg","text":"TemporaryFile(/tmp/multipartBody6093863391135798473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209333185,"filename":"image_09042025_15_03_35_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803506","file1":"1350803454","file0":"1350803448","file4":"1350803514","file5":"1350803524","file3":"1350803510"},"map_files_photo_id_array":[{"photo_id":"1350803524","filename":"file5"},{"photo_id":"1350803506","filename":"file2"},{"photo_id":"1350803514","filename":"file4"},{"photo_id":"1350803454","filename":"file1"},{"photo_id":"1350803448","filename":"file0"},{"photo_id":"1350803510","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803510":["hashtag1","hashtag2"]},{"1350803524":["hashtag1","hashtag2"]},{"1350803506":["hashtag1","hashtag2"]},{"1350803454":["hashtag1","hashtag2"]},{"1350803448":["hashtag1","hashtag2"]},{"1350803514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803510, 1350803524, 1350803506, 1350803454, 1350803448, 1350803514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.485137701034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:35:32.893538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_55_9438.jpg', '/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_14_9418.jpg', '/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_25_10355.jpg', '/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_35_10386.jpg', '/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_45_9356.jpg', '/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_55_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/03/image_09042025_15_03_55_9438.jpg
/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_14_9418.jpg
/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_25_10355.jpg
/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_35_10386.jpg
/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_45_9356.jpg
/home/pi/Desktop/images/09042025/15/04/image_09042025_15_04_55_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350803569","1350803560","1350803574","1350803556","1350803579","1350803564"],"photo_ids_order":["1350803556","1350803560","1350803564","1350803569","1350803574","1350803579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/90823aa53f9b464e459509005ba2a831.jpg","text":"TemporaryFile(/tmp/multipartBody8047381783664055410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209393382,"filename":"image_09042025_15_04_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04c09443b63882e22ddcaddf29ffe090.jpg","text":"TemporaryFile(/tmp/multipartBody3064093211626788525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209393382,"filename":"image_09042025_15_04_14_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed547e1fe55f1900315cf296e83f59d1.jpg","text":"TemporaryFile(/tmp/multipartBody3773383826835843417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209393382,"filename":"image_09042025_15_04_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/4/9/b2ab2f840572f449c740ce25ab40c089.jpg","text":"TemporaryFile(/tmp/multipartBody1829655798082245008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209393382,"filename":"image_09042025_15_03_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/4/9/f9aec5c005a420effbe1c5b0e20865ba.jpg","text":"TemporaryFile(/tmp/multipartBody4078648871536520143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209393382,"filename":"image_09042025_15_04_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/4/9/a731f65dd5c78960de492bb189580b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4727486903775678436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209393382,"filename":"image_09042025_15_04_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803564","file1":"1350803560","file0":"1350803556","file4":"1350803574","file5":"1350803579","file3":"1350803569"},"map_files_photo_id_array":[{"photo_id":"1350803579","filename":"file5"},{"photo_id":"1350803564","filename":"file2"},{"photo_id":"1350803574","filename":"file4"},{"photo_id":"1350803560","filename":"file1"},{"photo_id":"1350803556","filename":"file0"},{"photo_id":"1350803569","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803569":["hashtag1","hashtag2"]},{"1350803560":["hashtag1","hashtag2"]},{"1350803574":["hashtag1","hashtag2"]},{"1350803556":["hashtag1","hashtag2"]},{"1350803579":["hashtag1","hashtag2"]},{"1350803564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803569, 1350803560, 1350803574, 1350803556, 1350803579, 1350803564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.244951963424683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:36:33.039188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/04/image_09042025_15_05_04_9428.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_15_10348.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_25_10443.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_35_9344.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_45_10349.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/04/image_09042025_15_05_04_9428.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_15_10348.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_25_10443.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_35_9344.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_45_10349.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_55_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3741180896759033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 16:36:43.105258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/04/image_09042025_15_05_04_9428.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_15_10348.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_25_10443.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_35_9344.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_45_10349.jpg', '/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/04/image_09042025_15_05_04_9428.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_15_10348.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_25_10443.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_35_9344.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_45_10349.jpg
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_05_55_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":["1350803648","1350803653","1350803656","1350803655","1350803658","1350803642"],"photo_ids_order":["1350803642","1350803648","1350803653","1350803655","1350803656","1350803658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdc7834179af2eb42721abe187a97c51.jpg","text":"TemporaryFile(/tmp/multipartBody3586257922940309166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209463582,"filename":"image_09042025_15_05_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2bb85f2ea94d0202f6f77f5ef9407e9.jpg","text":"TemporaryFile(/tmp/multipartBody3053544449113866840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209463582,"filename":"image_09042025_15_05_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23dc2c20211efcf001cd9a3733aabef7.jpg","text":"TemporaryFile(/tmp/multipartBody2384090333702668378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209463582,"filename":"image_09042025_15_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/4/9/5227c1d07fc40da261afe36ebcb1463a.jpg","text":"TemporaryFile(/tmp/multipartBody3765975689340457773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209463582,"filename":"image_09042025_15_05_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/4/9/a953b457c4fee46ac6df781a9d0a06c9.jpg","text":"TemporaryFile(/tmp/multipartBody7433983902982948126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209463582,"filename":"image_09042025_15_05_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/4/9/8750db48dbb688680dfeded8877aabb2.jpg","text":"TemporaryFile(/tmp/multipartBody639707140844132808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209463582,"filename":"image_09042025_15_05_04_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803653","file1":"1350803648","file0":"1350803642","file4":"1350803656","file5":"1350803658","file3":"1350803655"},"map_files_photo_id_array":[{"photo_id":"1350803658","filename":"file5"},{"photo_id":"1350803653","filename":"file2"},{"photo_id":"1350803656","filename":"file4"},{"photo_id":"1350803648","filename":"file1"},{"photo_id":"1350803642","filename":"file0"},{"photo_id":"1350803655","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803648":["hashtag1","hashtag2"]},{"1350803653":["hashtag1","hashtag2"]},{"1350803656":["hashtag1","hashtag2"]},{"1350803655":["hashtag1","hashtag2"]},{"1350803658":["hashtag1","hashtag2"]},{"1350803642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803648, 1350803653, 1350803656, 1350803655, 1350803658, 1350803642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.104476928710938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:37:32.271159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/05/image_09042025_15_06_05_9351.jpg', '/home/pi/Desktop/images/09042025/15/06/image_09042025_15_06_15_10327.jpg', '/home/pi/Desktop/images/09042025/15/06/image_09042025_15_06_25_10362.jpg', '/home/pi/Desktop/images/09042025/15/06/image_09042025_15_06_35_9342.jpg', '/home/pi/Desktop/images/09042025/15/06/image_09042025_15_06_45_10466.jpg', '/home/pi/Desktop/images/09042025/15/06/image_09042025_15_07_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/05/image_09042025_15_06_05_9351.jpg
/home/pi/Desktop/images/09042025/15/06/image_09042025_15_06_15_10327.jpg
/home/pi/Desktop/images/09042025/15/06/image_09042025_15_06_25_10362.jpg
/home/pi/Desktop/images/09042025/15/06/image_09042025_15_06_35_9342.jpg
/home/pi/Desktop/images/09042025/15/06/image_09042025_15_06_45_10466.jpg
/home/pi/Desktop/images/09042025/15/06/image_09042025_15_07_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":["1350803714","1350803702","1350803719","1350803685","1350803676","1350803724"],"photo_ids_order":["1350803676","1350803685","1350803702","1350803714","1350803719","1350803724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa788c8e94907e55bde2d6ea4a9c1934.jpg","text":"TemporaryFile(/tmp/multipartBody5416453308064451359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209512740,"filename":"image_09042025_15_06_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/4/9/28e26cce0b0de1942207e33caedc98cf.jpg","text":"TemporaryFile(/tmp/multipartBody6614611770298285373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209512740,"filename":"image_09042025_15_06_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/4/9/3652fd9d73f92d813b08fcec81388a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4921352026512297791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209512740,"filename":"image_09042025_15_06_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/4/9/b9c8a797d1ed22fb39e41aab1fa20c76.jpg","text":"TemporaryFile(/tmp/multipartBody5690054394197621603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209512740,"filename":"image_09042025_15_06_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/4/9/f65817a9f47f98ce5616b80dbb3b0b04.jpg","text":"TemporaryFile(/tmp/multipartBody5164103275256833853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209512740,"filename":"image_09042025_15_06_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a94c09b0c0b90282dd7ce368278eba4f.jpg","text":"TemporaryFile(/tmp/multipartBody5192610456516963185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209512740,"filename":"image_09042025_15_07_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803702","file1":"1350803685","file0":"1350803676","file4":"1350803719","file5":"1350803724","file3":"1350803714"},"map_files_photo_id_array":[{"photo_id":"1350803724","filename":"file5"},{"photo_id":"1350803702","filename":"file2"},{"photo_id":"1350803719","filename":"file4"},{"photo_id":"1350803685","filename":"file1"},{"photo_id":"1350803676","filename":"file0"},{"photo_id":"1350803714","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803714":["hashtag1","hashtag2"]},{"1350803702":["hashtag1","hashtag2"]},{"1350803719":["hashtag1","hashtag2"]},{"1350803685":["hashtag1","hashtag2"]},{"1350803676":["hashtag1","hashtag2"]},{"1350803724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803714, 1350803702, 1350803719, 1350803685, 1350803676, 1350803724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.211115837097168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:38:32.583174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_15_10416.jpg', '/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_25_9386.jpg', '/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_35_10513.jpg', '/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_45_9329.jpg', '/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_55_10359.jpg', '/home/pi/Desktop/images/09042025/15/07/image_09042025_15_08_05_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_15_10416.jpg
/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_25_9386.jpg
/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_35_10513.jpg
/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_45_9329.jpg
/home/pi/Desktop/images/09042025/15/07/image_09042025_15_07_55_10359.jpg
/home/pi/Desktop/images/09042025/15/07/image_09042025_15_08_05_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350803864","1350803825","1350803941","1350803907","1350803795","1350803969"],"photo_ids_order":["1350803795","1350803825","1350803864","1350803907","1350803941","1350803969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/744535f38b49fc83241ab452b671cdf5.jpg","text":"TemporaryFile(/tmp/multipartBody2440702900138245786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209573063,"filename":"image_09042025_15_07_35_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b550b66513fe0b2634d5cacf04514d4.jpg","text":"TemporaryFile(/tmp/multipartBody7468064165598400786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209573063,"filename":"image_09042025_15_07_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d2f7bc15a982acc886105fa7e6b631e9.jpg","text":"TemporaryFile(/tmp/multipartBody4770512557712547434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209573063,"filename":"image_09042025_15_07_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/4/9/78aa18d3e66b8ee4258746126580a363.jpg","text":"TemporaryFile(/tmp/multipartBody5147498939124759775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209573063,"filename":"image_09042025_15_07_45_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d2c4cc84ad1b7dd48dd4b5161cec821b.jpg","text":"TemporaryFile(/tmp/multipartBody9188799994648654747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209573063,"filename":"image_09042025_15_07_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/4/9/e172ddd8af1fa9efa2f9b7742ef68379.jpg","text":"TemporaryFile(/tmp/multipartBody2573216717049526229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209573063,"filename":"image_09042025_15_08_05_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350803864","file1":"1350803825","file0":"1350803795","file4":"1350803941","file5":"1350803969","file3":"1350803907"},"map_files_photo_id_array":[{"photo_id":"1350803969","filename":"file5"},{"photo_id":"1350803864","filename":"file2"},{"photo_id":"1350803941","filename":"file4"},{"photo_id":"1350803825","filename":"file1"},{"photo_id":"1350803795","filename":"file0"},{"photo_id":"1350803907","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350803864":["hashtag1","hashtag2"]},{"1350803825":["hashtag1","hashtag2"]},{"1350803941":["hashtag1","hashtag2"]},{"1350803907":["hashtag1","hashtag2"]},{"1350803795":["hashtag1","hashtag2"]},{"1350803969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350803864, 1350803825, 1350803941, 1350803907, 1350803795, 1350803969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79457116127014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:39:32.688228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_15_9342.jpg', '/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_25_10360.jpg', '/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_34_9446.jpg', '/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_45_10349.jpg', '/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_55_10382.jpg', '/home/pi/Desktop/images/09042025/15/08/image_09042025_15_09_05_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_15_9342.jpg
/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_25_10360.jpg
/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_34_9446.jpg
/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_45_10349.jpg
/home/pi/Desktop/images/09042025/15/08/image_09042025_15_08_55_10382.jpg
/home/pi/Desktop/images/09042025/15/08/image_09042025_15_09_05_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350804142","1350804091","1350804079","1350804165","1350804051","1350804114"],"photo_ids_order":["1350804051","1350804079","1350804091","1350804114","1350804142","1350804165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81890b5cbc2512732afde79beabf99fc.jpg","text":"TemporaryFile(/tmp/multipartBody1046019784498828361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209633172,"filename":"image_09042025_15_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/4/9/58248327ae5c8a2055b0773db2abdac4.jpg","text":"TemporaryFile(/tmp/multipartBody6823038306754217950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209633172,"filename":"image_09042025_15_08_34_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b17a64de09796a486a106f2a8a0fff7.jpg","text":"TemporaryFile(/tmp/multipartBody8365736672237537013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209633172,"filename":"image_09042025_15_08_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/4/9/e4c7ccf660de2e6227324dafe499e13a.jpg","text":"TemporaryFile(/tmp/multipartBody6046144662570631559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209633172,"filename":"image_09042025_15_09_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/4/9/e100fade6647aec46e9b75a413d8c683.jpg","text":"TemporaryFile(/tmp/multipartBody889266653685012517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209633172,"filename":"image_09042025_15_08_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/4/9/ee81733042465d744e57455219dac71a.jpg","text":"TemporaryFile(/tmp/multipartBody4583208215162543973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209633172,"filename":"image_09042025_15_08_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350804091","file1":"1350804079","file0":"1350804051","file4":"1350804142","file5":"1350804165","file3":"1350804114"},"map_files_photo_id_array":[{"photo_id":"1350804165","filename":"file5"},{"photo_id":"1350804091","filename":"file2"},{"photo_id":"1350804142","filename":"file4"},{"photo_id":"1350804079","filename":"file1"},{"photo_id":"1350804051","filename":"file0"},{"photo_id":"1350804114","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350804142":["hashtag1","hashtag2"]},{"1350804091":["hashtag1","hashtag2"]},{"1350804079":["hashtag1","hashtag2"]},{"1350804165":["hashtag1","hashtag2"]},{"1350804051":["hashtag1","hashtag2"]},{"1350804114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350804142, 1350804091, 1350804079, 1350804165, 1350804051, 1350804114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88531541824341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:40:32.938296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_15_10365.jpg', '/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_25_10405.jpg', '/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_35_9382.jpg', '/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_45_10464.jpg', '/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_55_9431.jpg', '/home/pi/Desktop/images/09042025/15/09/image_09042025_15_10_05_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_15_10365.jpg
/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_25_10405.jpg
/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_35_9382.jpg
/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_45_10464.jpg
/home/pi/Desktop/images/09042025/15/09/image_09042025_15_09_55_9431.jpg
/home/pi/Desktop/images/09042025/15/09/image_09042025_15_10_05_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":["1350804280","1350804274","1350804277","1350804315","1350804243","1350804306"],"photo_ids_order":["1350804243","1350804274","1350804277","1350804280","1350804306","1350804315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0296dc5375033ef434e4965c817e4ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5694584037741986256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209693408,"filename":"image_09042025_15_09_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbd4512e83ac7b772f7029d39322e166.jpg","text":"TemporaryFile(/tmp/multipartBody3676199181277304494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209693408,"filename":"image_09042025_15_09_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08170dcf1de873249e5239c0a3550a79.jpg","text":"TemporaryFile(/tmp/multipartBody7250613409144352420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209693408,"filename":"image_09042025_15_09_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/4/9/56256c47f5af2d3e7e14cba7b2998645.jpg","text":"TemporaryFile(/tmp/multipartBody4503102181742166132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209693408,"filename":"image_09042025_15_10_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/4/9/c253701e0a3611623d7e60c6a0f53620.jpg","text":"TemporaryFile(/tmp/multipartBody4396826388016394611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209693408,"filename":"image_09042025_15_09_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/4/9/07eed6fcd0bcb9a7bfab7a330cc9f8e1.jpg","text":"TemporaryFile(/tmp/multipartBody6813977943573761440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209693408,"filename":"image_09042025_15_09_55_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350804277","file1":"1350804274","file0":"1350804243","file4":"1350804306","file5":"1350804315","file3":"1350804280"},"map_files_photo_id_array":[{"photo_id":"1350804315","filename":"file5"},{"photo_id":"1350804277","filename":"file2"},{"photo_id":"1350804306","filename":"file4"},{"photo_id":"1350804274","filename":"file1"},{"photo_id":"1350804243","filename":"file0"},{"photo_id":"1350804280","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350804280":["hashtag1","hashtag2"]},{"1350804274":["hashtag1","hashtag2"]},{"1350804277":["hashtag1","hashtag2"]},{"1350804315":["hashtag1","hashtag2"]},{"1350804243":["hashtag1","hashtag2"]},{"1350804306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350804280, 1350804274, 1350804277, 1350804315, 1350804243, 1350804306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.08939480781555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:41:32.222199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/10/image_09042025_15_10_15_10360.jpg', '/home/pi/Desktop/images/09042025/15/10/image_09042025_15_10_25_9364.jpg', '/home/pi/Desktop/images/09042025/15/10/image_09042025_15_10_35_10403.jpg', '/home/pi/Desktop/images/09042025/15/10/image_09042025_15_10_55_10360.jpg', '/home/pi/Desktop/images/09042025/15/10/image_09042025_15_11_05_10356.jpg', '/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_15_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/10/image_09042025_15_10_15_10360.jpg
/home/pi/Desktop/images/09042025/15/10/image_09042025_15_10_25_9364.jpg
/home/pi/Desktop/images/09042025/15/10/image_09042025_15_10_35_10403.jpg
/home/pi/Desktop/images/09042025/15/10/image_09042025_15_10_55_10360.jpg
/home/pi/Desktop/images/09042025/15/10/image_09042025_15_11_05_10356.jpg
/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_15_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350804385","1350804382","1350804355","1350804349","1350804364","1350804353"],"photo_ids_order":["1350804349","1350804353","1350804355","1350804364","1350804382","1350804385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21051bf897ab7894ce1d70e96cd3a333.jpg","text":"TemporaryFile(/tmp/multipartBody2824255122876798446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209752691,"filename":"image_09042025_15_11_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/4/9/10b6c019ca7ee6d061d75d315f2e3fec.jpg","text":"TemporaryFile(/tmp/multipartBody5348239296901017549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209752691,"filename":"image_09042025_15_11_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cbc73f162010f91b31d5e5a8501046b1.jpg","text":"TemporaryFile(/tmp/multipartBody8234372284618613144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209752691,"filename":"image_09042025_15_10_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/4/9/39dbbd790d7f3ba1add52d0e9b8e1143.jpg","text":"TemporaryFile(/tmp/multipartBody31853481311133886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209752691,"filename":"image_09042025_15_10_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52b406b4fee4b7714cbeaf4e7278f63b.jpg","text":"TemporaryFile(/tmp/multipartBody5663182797393106086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209752691,"filename":"image_09042025_15_10_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/4/9/88a5781dd4dcedbef71cd98afe2c0c33.jpg","text":"TemporaryFile(/tmp/multipartBody1380256067720057276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209752691,"filename":"image_09042025_15_10_25_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350804355","file1":"1350804353","file0":"1350804349","file4":"1350804382","file5":"1350804385","file3":"1350804364"},"map_files_photo_id_array":[{"photo_id":"1350804385","filename":"file5"},{"photo_id":"1350804355","filename":"file2"},{"photo_id":"1350804382","filename":"file4"},{"photo_id":"1350804353","filename":"file1"},{"photo_id":"1350804349","filename":"file0"},{"photo_id":"1350804364","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350804385":["hashtag1","hashtag2"]},{"1350804382":["hashtag1","hashtag2"]},{"1350804355":["hashtag1","hashtag2"]},{"1350804349":["hashtag1","hashtag2"]},{"1350804364":["hashtag1","hashtag2"]},{"1350804353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350804385, 1350804382, 1350804355, 1350804349, 1350804364, 1350804353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.983766078948975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:42:32.437313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_25_10377.jpg', '/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_35_10387.jpg', '/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_45_9408.jpg', '/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_55_10424.jpg', '/home/pi/Desktop/images/09042025/15/12/image_09042025_15_12_15_10342.jpg', '/home/pi/Desktop/images/09042025/15/12/image_09042025_15_12_35_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_25_10377.jpg
/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_35_10387.jpg
/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_45_9408.jpg
/home/pi/Desktop/images/09042025/15/11/image_09042025_15_11_55_10424.jpg
/home/pi/Desktop/images/09042025/15/12/image_09042025_15_12_15_10342.jpg
/home/pi/Desktop/images/09042025/15/12/image_09042025_15_12_35_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350804415","1350804432","1350804435","1350804420","1350804423","1350804428"],"photo_ids_order":["1350804415","1350804420","1350804423","1350804428","1350804432","1350804435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/906626dcc9d2f21060f1639d705cf87a.jpg","text":"TemporaryFile(/tmp/multipartBody4749631982599088266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209812920,"filename":"image_09042025_15_11_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/4/9/4eb41f0b83b9acedb4f92e2c5bb36ab3.jpg","text":"TemporaryFile(/tmp/multipartBody5660913432965772357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209812920,"filename":"image_09042025_15_12_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/4/9/08153a575dedb704bc1ac92ed561b404.jpg","text":"TemporaryFile(/tmp/multipartBody3715497981535713946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209812920,"filename":"image_09042025_15_12_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/4/9/8931d5d01ae3fc28e37331d0ab616f13.jpg","text":"TemporaryFile(/tmp/multipartBody890597224056306184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209812920,"filename":"image_09042025_15_11_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/275a44ab2c0f265f5d95f4bc4c380f7d.jpg","text":"TemporaryFile(/tmp/multipartBody8143354189445602603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209812920,"filename":"image_09042025_15_11_45_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0226a23ce03db636f8a305f70d6d6ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7773510701798760915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209812920,"filename":"image_09042025_15_11_55_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350804423","file1":"1350804420","file0":"1350804415","file4":"1350804432","file5":"1350804435","file3":"1350804428"},"map_files_photo_id_array":[{"photo_id":"1350804435","filename":"file5"},{"photo_id":"1350804423","filename":"file2"},{"photo_id":"1350804432","filename":"file4"},{"photo_id":"1350804420","filename":"file1"},{"photo_id":"1350804415","filename":"file0"},{"photo_id":"1350804428","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350804415":["hashtag1","hashtag2"]},{"1350804432":["hashtag1","hashtag2"]},{"1350804435":["hashtag1","hashtag2"]},{"1350804420":["hashtag1","hashtag2"]},{"1350804423":["hashtag1","hashtag2"]},{"1350804428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350804415, 1350804432, 1350804435, 1350804420, 1350804423, 1350804428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.562845468521118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:43:32.654615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/12/image_09042025_15_12_45_10332.jpg', '/home/pi/Desktop/images/09042025/15/12/image_09042025_15_12_55_10346.jpg', '/home/pi/Desktop/images/09042025/15/12/image_09042025_15_13_05_9375.jpg', '/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_15_10346.jpg', '/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_25_9935.jpg', '/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_34_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/12/image_09042025_15_12_45_10332.jpg
/home/pi/Desktop/images/09042025/15/12/image_09042025_15_12_55_10346.jpg
/home/pi/Desktop/images/09042025/15/12/image_09042025_15_13_05_9375.jpg
/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_15_10346.jpg
/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_25_9935.jpg
/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_34_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350804559","1350804487","1350804568","1350804544","1350804564","1350804519"],"photo_ids_order":["1350804487","1350804519","1350804544","1350804559","1350804564","1350804568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c74bc33e33d765f936ba9c8263b326aa.jpg","text":"TemporaryFile(/tmp/multipartBody179235402930948472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209873135,"filename":"image_09042025_15_13_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/4/9/5a5a139692e142abe04f6911316e94e5.jpg","text":"TemporaryFile(/tmp/multipartBody6320225082807223731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209873135,"filename":"image_09042025_15_12_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77e81170bf544f90d4bcb951ef960aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2847199572952918858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209873135,"filename":"image_09042025_15_13_34_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/83e19ad40d1450da9a07d8b81f7780e4.jpg","text":"TemporaryFile(/tmp/multipartBody3673629573065895985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209873135,"filename":"image_09042025_15_13_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6ac916d16643acfbb4d7c080b574900.jpg","text":"TemporaryFile(/tmp/multipartBody6342324764752795131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209873135,"filename":"image_09042025_15_13_25_9935.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b5217ceec8049b2ae08d50d20a9ece4.jpg","text":"TemporaryFile(/tmp/multipartBody6722880317555422586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209873135,"filename":"image_09042025_15_12_55_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350804544","file1":"1350804519","file0":"1350804487","file4":"1350804564","file5":"1350804568","file3":"1350804559"},"map_files_photo_id_array":[{"photo_id":"1350804568","filename":"file5"},{"photo_id":"1350804544","filename":"file2"},{"photo_id":"1350804564","filename":"file4"},{"photo_id":"1350804519","filename":"file1"},{"photo_id":"1350804487","filename":"file0"},{"photo_id":"1350804559","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350804559":["hashtag1","hashtag2"]},{"1350804487":["hashtag1","hashtag2"]},{"1350804568":["hashtag1","hashtag2"]},{"1350804544":["hashtag1","hashtag2"]},{"1350804564":["hashtag1","hashtag2"]},{"1350804519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350804559, 1350804487, 1350804568, 1350804544, 1350804564, 1350804519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.913848638534546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:44:32.973242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_45_10943.jpg', '/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_55_9354.jpg', '/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_14_9337.jpg', '/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_25_10365.jpg', '/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_35_10465.jpg', '/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_45_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_45_10943.jpg
/home/pi/Desktop/images/09042025/15/13/image_09042025_15_13_55_9354.jpg
/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_14_9337.jpg
/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_25_10365.jpg
/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_35_10465.jpg
/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_45_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350804676","1350804861","1350804642","1350804831","1350804747","1350804714"],"photo_ids_order":["1350804642","1350804676","1350804714","1350804747","1350804831","1350804861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59edb5d89aaa0951516f8e6d2b57b32e.jpg","text":"TemporaryFile(/tmp/multipartBody5609727313799872538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209933444,"filename":"image_09042025_15_13_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/4/9/e53daf9d9103c2fb4e1a0d5be02b0c35.jpg","text":"TemporaryFile(/tmp/multipartBody2662026203249490741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209933444,"filename":"image_09042025_15_14_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/4/9/309e5ec1f3e67bd0f4e3e78b461b14ca.jpg","text":"TemporaryFile(/tmp/multipartBody4170144776632484429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209933444,"filename":"image_09042025_15_13_45_10943.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4d188d6296453902970755ccfa9d0b3.jpg","text":"TemporaryFile(/tmp/multipartBody2900739135387476682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209933444,"filename":"image_09042025_15_14_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/4/9/21c4fefbb6fa92edd0928b92de13d3db.jpg","text":"TemporaryFile(/tmp/multipartBody7959599639937793621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209933444,"filename":"image_09042025_15_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/4/9/875a9638e4728ea5e36bf2416c52e025.jpg","text":"TemporaryFile(/tmp/multipartBody482507026849127648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209933444,"filename":"image_09042025_15_14_14_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350804714","file1":"1350804676","file0":"1350804642","file4":"1350804831","file5":"1350804861","file3":"1350804747"},"map_files_photo_id_array":[{"photo_id":"1350804861","filename":"file5"},{"photo_id":"1350804714","filename":"file2"},{"photo_id":"1350804831","filename":"file4"},{"photo_id":"1350804676","filename":"file1"},{"photo_id":"1350804642","filename":"file0"},{"photo_id":"1350804747","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350804676":["hashtag1","hashtag2"]},{"1350804861":["hashtag1","hashtag2"]},{"1350804642":["hashtag1","hashtag2"]},{"1350804831":["hashtag1","hashtag2"]},{"1350804747":["hashtag1","hashtag2"]},{"1350804714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350804676, 1350804861, 1350804642, 1350804831, 1350804747, 1350804714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.04173016548157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:45:32.290178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_55_10427.jpg', '/home/pi/Desktop/images/09042025/15/14/image_09042025_15_15_04_9357.jpg', '/home/pi/Desktop/images/09042025/15/15/image_09042025_15_15_15_10356.jpg', '/home/pi/Desktop/images/09042025/15/15/image_09042025_15_15_45_10345.jpg', '/home/pi/Desktop/images/09042025/15/15/image_09042025_15_15_55_10363.jpg', '/home/pi/Desktop/images/09042025/15/15/image_09042025_15_16_05_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/14/image_09042025_15_14_55_10427.jpg
/home/pi/Desktop/images/09042025/15/14/image_09042025_15_15_04_9357.jpg
/home/pi/Desktop/images/09042025/15/15/image_09042025_15_15_15_10356.jpg
/home/pi/Desktop/images/09042025/15/15/image_09042025_15_15_45_10345.jpg
/home/pi/Desktop/images/09042025/15/15/image_09042025_15_15_55_10363.jpg
/home/pi/Desktop/images/09042025/15/15/image_09042025_15_16_05_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":["1350805078","1350805044","1350805097","1350805145","1350805121","1350805168"],"photo_ids_order":["1350805044","1350805078","1350805097","1350805121","1350805145","1350805168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/95f6432790ec9b9c7d2eeae5b98618ad.jpg","text":"TemporaryFile(/tmp/multipartBody7558837154107109214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209992764,"filename":"image_09042025_15_15_04_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa01b2242227a150fc9f7ab2469f45b7.jpg","text":"TemporaryFile(/tmp/multipartBody4724891977333518204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209992764,"filename":"image_09042025_15_14_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/4/9/41e22c3e967d4dfe2d7a1d2d6ab86035.jpg","text":"TemporaryFile(/tmp/multipartBody7088188957654195027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209992764,"filename":"image_09042025_15_15_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/4/9/d27117cbdcd405ad0709589bd240b038.jpg","text":"TemporaryFile(/tmp/multipartBody2634962254757098613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209992764,"filename":"image_09042025_15_15_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/4/9/facc3f34099d586ea2552d57c6d162b8.jpg","text":"TemporaryFile(/tmp/multipartBody4999832626556393275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209992764,"filename":"image_09042025_15_15_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/4/9/3a2e4995827f87250fa235b6915cdc08.jpg","text":"TemporaryFile(/tmp/multipartBody2244325056622978306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744209992764,"filename":"image_09042025_15_16_05_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350805097","file1":"1350805078","file0":"1350805044","file4":"1350805145","file5":"1350805168","file3":"1350805121"},"map_files_photo_id_array":[{"photo_id":"1350805168","filename":"file5"},{"photo_id":"1350805097","filename":"file2"},{"photo_id":"1350805145","filename":"file4"},{"photo_id":"1350805078","filename":"file1"},{"photo_id":"1350805044","filename":"file0"},{"photo_id":"1350805121","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350805078":["hashtag1","hashtag2"]},{"1350805044":["hashtag1","hashtag2"]},{"1350805097":["hashtag1","hashtag2"]},{"1350805145":["hashtag1","hashtag2"]},{"1350805121":["hashtag1","hashtag2"]},{"1350805168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350805078, 1350805044, 1350805097, 1350805145, 1350805121, 1350805168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.840630292892456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:46:32.526840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/16/image_09042025_15_16_35_10361.jpg', '/home/pi/Desktop/images/09042025/15/16/image_09042025_15_16_54_9339.jpg', '/home/pi/Desktop/images/09042025/15/17/image_09042025_15_17_15_10339.jpg', '/home/pi/Desktop/images/09042025/15/17/image_09042025_15_17_25_9350.jpg', '/home/pi/Desktop/images/09042025/15/17/image_09042025_15_17_35_10368.jpg', '/home/pi/Desktop/images/09042025/15/17/image_09042025_15_17_45_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/16/image_09042025_15_16_35_10361.jpg
/home/pi/Desktop/images/09042025/15/16/image_09042025_15_16_54_9339.jpg
/home/pi/Desktop/images/09042025/15/17/image_09042025_15_17_15_10339.jpg
/home/pi/Desktop/images/09042025/15/17/image_09042025_15_17_25_9350.jpg
/home/pi/Desktop/images/09042025/15/17/image_09042025_15_17_35_10368.jpg
/home/pi/Desktop/images/09042025/15/17/image_09042025_15_17_45_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350805255","1350805341","1350805262","1350805343","1350805253","1350805279"],"photo_ids_order":["1350805253","1350805255","1350805262","1350805279","1350805341","1350805343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6aa9a7a2c12d9a2c65a824e6a36024ab.jpg","text":"TemporaryFile(/tmp/multipartBody7776165666639324094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210053004,"filename":"image_09042025_15_16_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/4/9/5772298cef121adf85328f40e8db0da3.jpg","text":"TemporaryFile(/tmp/multipartBody5499397906830550545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210053004,"filename":"image_09042025_15_17_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/4/9/dbee8c4cb9208605af6e8a9beef4378e.jpg","text":"TemporaryFile(/tmp/multipartBody8987213755743532494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210053004,"filename":"image_09042025_15_17_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/4/9/fd660ccb199d693c91771a84402de246.jpg","text":"TemporaryFile(/tmp/multipartBody965885604984354942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210053004,"filename":"image_09042025_15_17_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/589cfd6d8188e594837af3d50dfdf53c.jpg","text":"TemporaryFile(/tmp/multipartBody5200146818043930646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210053004,"filename":"image_09042025_15_16_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/4/9/ae63fc4b2e65e7f5587f8db7c51d5f70.jpg","text":"TemporaryFile(/tmp/multipartBody3959818749301437787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210053004,"filename":"image_09042025_15_17_25_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350805262","file1":"1350805255","file0":"1350805253","file4":"1350805341","file5":"1350805343","file3":"1350805279"},"map_files_photo_id_array":[{"photo_id":"1350805343","filename":"file5"},{"photo_id":"1350805262","filename":"file2"},{"photo_id":"1350805341","filename":"file4"},{"photo_id":"1350805255","filename":"file1"},{"photo_id":"1350805253","filename":"file0"},{"photo_id":"1350805279","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350805255":["hashtag1","hashtag2"]},{"1350805341":["hashtag1","hashtag2"]},{"1350805262":["hashtag1","hashtag2"]},{"1350805343":["hashtag1","hashtag2"]},{"1350805253":["hashtag1","hashtag2"]},{"1350805279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350805255, 1350805341, 1350805262, 1350805343, 1350805253, 1350805279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.259803771972656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:47:32.744953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/17/image_09042025_15_18_05_10357.jpg', '/home/pi/Desktop/images/09042025/15/18/image_09042025_15_18_14_9359.jpg', '/home/pi/Desktop/images/09042025/15/18/image_09042025_15_18_35_10442.jpg', '/home/pi/Desktop/images/09042025/15/18/image_09042025_15_18_45_9344.jpg', '/home/pi/Desktop/images/09042025/15/18/image_09042025_15_18_55_10343.jpg', '/home/pi/Desktop/images/09042025/15/18/image_09042025_15_19_05_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/17/image_09042025_15_18_05_10357.jpg
/home/pi/Desktop/images/09042025/15/18/image_09042025_15_18_14_9359.jpg
/home/pi/Desktop/images/09042025/15/18/image_09042025_15_18_35_10442.jpg
/home/pi/Desktop/images/09042025/15/18/image_09042025_15_18_45_9344.jpg
/home/pi/Desktop/images/09042025/15/18/image_09042025_15_18_55_10343.jpg
/home/pi/Desktop/images/09042025/15/18/image_09042025_15_19_05_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350805380","1350805367","1350805376","1350805361","1350805364","1350805358"],"photo_ids_order":["1350805358","1350805361","1350805364","1350805367","1350805376","1350805380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f65fe71832343b572495b368832a1cdc.jpg","text":"TemporaryFile(/tmp/multipartBody9187261540775305172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210113224,"filename":"image_09042025_15_19_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/4/9/927df81fd3820dd5f8ff7b4f21ae5b47.jpg","text":"TemporaryFile(/tmp/multipartBody6188669858664341001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210113224,"filename":"image_09042025_15_18_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/4/9/6de2b59e845540c972477c1a3c2c29ab.jpg","text":"TemporaryFile(/tmp/multipartBody815718880024860558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210113224,"filename":"image_09042025_15_18_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/4/9/843bb53f4425c41f0c7354b9c91900c0.jpg","text":"TemporaryFile(/tmp/multipartBody2920635183302400615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210113224,"filename":"image_09042025_15_18_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/4/9/7c813aa1fea8d86cc34576dc7cff82c5.jpg","text":"TemporaryFile(/tmp/multipartBody6632293482245459497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210113224,"filename":"image_09042025_15_18_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/4/9/d3ba0e8d3412365eb16391c3edd701d4.jpg","text":"TemporaryFile(/tmp/multipartBody4359404692258899798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210113224,"filename":"image_09042025_15_18_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350805364","file1":"1350805361","file0":"1350805358","file4":"1350805376","file5":"1350805380","file3":"1350805367"},"map_files_photo_id_array":[{"photo_id":"1350805380","filename":"file5"},{"photo_id":"1350805364","filename":"file2"},{"photo_id":"1350805376","filename":"file4"},{"photo_id":"1350805361","filename":"file1"},{"photo_id":"1350805358","filename":"file0"},{"photo_id":"1350805367","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350805380":["hashtag1","hashtag2"]},{"1350805367":["hashtag1","hashtag2"]},{"1350805376":["hashtag1","hashtag2"]},{"1350805361":["hashtag1","hashtag2"]},{"1350805364":["hashtag1","hashtag2"]},{"1350805358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350805380, 1350805367, 1350805376, 1350805361, 1350805364, 1350805358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.894293546676636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:48:32.959053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/19/image_09042025_15_19_15_9326.jpg', '/home/pi/Desktop/images/09042025/15/19/image_09042025_15_19_34_9360.jpg', '/home/pi/Desktop/images/09042025/15/19/image_09042025_15_19_45_10358.jpg', '/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_15_10371.jpg', '/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_25_10453.jpg', '/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_35_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/19/image_09042025_15_19_15_9326.jpg
/home/pi/Desktop/images/09042025/15/19/image_09042025_15_19_34_9360.jpg
/home/pi/Desktop/images/09042025/15/19/image_09042025_15_19_45_10358.jpg
/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_15_10371.jpg
/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_25_10453.jpg
/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_35_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":["1350805552","1350805560","1350805563","1350805545","1350805487","1350805514"],"photo_ids_order":["1350805487","1350805514","1350805545","1350805552","1350805560","1350805563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4d24e0d2059e33df5759e8750b726dbd.jpg","text":"TemporaryFile(/tmp/multipartBody6740014955319453408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210173460,"filename":"image_09042025_15_20_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/4/9/5bda5081347f7d6e1615ef023764cf3e.jpg","text":"TemporaryFile(/tmp/multipartBody6448981252004601887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210173460,"filename":"image_09042025_15_20_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d3e2331018d63f2ca1e97f4d4d04c1e.jpg","text":"TemporaryFile(/tmp/multipartBody3159015043046690156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210173460,"filename":"image_09042025_15_20_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/4/9/eca25471eb32eee00a5ae31f321c78c2.jpg","text":"TemporaryFile(/tmp/multipartBody126659061991817414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210173460,"filename":"image_09042025_15_19_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69ee342373616e455bf02fe6f3521052.jpg","text":"TemporaryFile(/tmp/multipartBody5683411505045046045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210173460,"filename":"image_09042025_15_19_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/4/9/d735216355630ec823f28699737f6838.jpg","text":"TemporaryFile(/tmp/multipartBody7727269210155683293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210173460,"filename":"image_09042025_15_19_34_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350805545","file1":"1350805514","file0":"1350805487","file4":"1350805560","file5":"1350805563","file3":"1350805552"},"map_files_photo_id_array":[{"photo_id":"1350805563","filename":"file5"},{"photo_id":"1350805545","filename":"file2"},{"photo_id":"1350805560","filename":"file4"},{"photo_id":"1350805514","filename":"file1"},{"photo_id":"1350805487","filename":"file0"},{"photo_id":"1350805552","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350805552":["hashtag1","hashtag2"]},{"1350805560":["hashtag1","hashtag2"]},{"1350805563":["hashtag1","hashtag2"]},{"1350805545":["hashtag1","hashtag2"]},{"1350805487":["hashtag1","hashtag2"]},{"1350805514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350805552, 1350805560, 1350805563, 1350805545, 1350805487, 1350805514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.870108127593994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:49:32.173453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_45_10342.jpg', '/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_54_9383.jpg', '/home/pi/Desktop/images/09042025/15/20/image_09042025_15_21_05_10349.jpg', '/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_15_10392.jpg', '/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_25_9456.jpg', '/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_45_10342.jpg
/home/pi/Desktop/images/09042025/15/20/image_09042025_15_20_54_9383.jpg
/home/pi/Desktop/images/09042025/15/20/image_09042025_15_21_05_10349.jpg
/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_15_10392.jpg
/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_25_9456.jpg
/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_35_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":["1350805633","1350805623","1350805611","1350805640","1350805637","1350805619"],"photo_ids_order":["1350805611","1350805619","1350805623","1350805633","1350805637","1350805640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b3eff62827d41d1f79354e7abaf2c602.jpg","text":"TemporaryFile(/tmp/multipartBody1677326525779692803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210232652,"filename":"image_09042025_15_21_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/4/9/a2be42394f0f5574449cddb218009504.jpg","text":"TemporaryFile(/tmp/multipartBody2310722663417598692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210232652,"filename":"image_09042025_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/4/9/9ba29f3624a30c209eea00ad4448d6ad.jpg","text":"TemporaryFile(/tmp/multipartBody3162779143736089904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210232652,"filename":"image_09042025_15_20_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/4/9/b1d0d3b3f32f3365dfa69fefd1f08c27.jpg","text":"TemporaryFile(/tmp/multipartBody2938205549031792467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210232652,"filename":"image_09042025_15_21_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/4/9/ce4143cbfb9f9dc81d56c06ceed2d6c4.jpg","text":"TemporaryFile(/tmp/multipartBody4647173341182799050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210232652,"filename":"image_09042025_15_21_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/4/9/66e322df74f3046e6c11a04280a5520a.jpg","text":"TemporaryFile(/tmp/multipartBody5137060447569266640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210232652,"filename":"image_09042025_15_20_54_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350805623","file1":"1350805619","file0":"1350805611","file4":"1350805637","file5":"1350805640","file3":"1350805633"},"map_files_photo_id_array":[{"photo_id":"1350805640","filename":"file5"},{"photo_id":"1350805623","filename":"file2"},{"photo_id":"1350805637","filename":"file4"},{"photo_id":"1350805619","filename":"file1"},{"photo_id":"1350805611","filename":"file0"},{"photo_id":"1350805633","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350805633":["hashtag1","hashtag2"]},{"1350805623":["hashtag1","hashtag2"]},{"1350805611":["hashtag1","hashtag2"]},{"1350805640":["hashtag1","hashtag2"]},{"1350805637":["hashtag1","hashtag2"]},{"1350805619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350805633, 1350805623, 1350805611, 1350805640, 1350805637, 1350805619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9239776134491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:50:32.447693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_44_9450.jpg', '/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_55_10361.jpg', '/home/pi/Desktop/images/09042025/15/21/image_09042025_15_22_05_10510.jpg', '/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_15_9317.jpg', '/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_25_10377.jpg', '/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_35_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_44_9450.jpg
/home/pi/Desktop/images/09042025/15/21/image_09042025_15_21_55_10361.jpg
/home/pi/Desktop/images/09042025/15/21/image_09042025_15_22_05_10510.jpg
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_15_9317.jpg
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_25_10377.jpg
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_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":["1350805753","1350805717","1350805746","1350805740","1350805731","1350805727"],"photo_ids_order":["1350805717","1350805727","1350805731","1350805740","1350805746","1350805753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a89b5d0b23742d6ee35f6c6c0788578.jpg","text":"TemporaryFile(/tmp/multipartBody3140238537753528236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210292955,"filename":"image_09042025_15_22_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/4/9/1acd21c424f76306789eca650bad926b.jpg","text":"TemporaryFile(/tmp/multipartBody1642353202544853848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210292955,"filename":"image_09042025_15_21_44_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64fc0f595099d0af27ddc1939a695b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5467234314366812842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210292955,"filename":"image_09042025_15_22_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/4/9/a9f366575c952dfdb100cd4115c831d2.jpg","text":"TemporaryFile(/tmp/multipartBody430068538699250480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210292955,"filename":"image_09042025_15_22_15_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b1372255dcd644dc0a77680762a8306.jpg","text":"TemporaryFile(/tmp/multipartBody3349893086207630855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210292955,"filename":"image_09042025_15_22_05_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/78c727491a9b15bc8e74b489fa4c9167.jpg","text":"TemporaryFile(/tmp/multipartBody1304666315268782651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210292955,"filename":"image_09042025_15_21_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350805731","file1":"1350805727","file0":"1350805717","file4":"1350805746","file5":"1350805753","file3":"1350805740"},"map_files_photo_id_array":[{"photo_id":"1350805753","filename":"file5"},{"photo_id":"1350805731","filename":"file2"},{"photo_id":"1350805746","filename":"file4"},{"photo_id":"1350805727","filename":"file1"},{"photo_id":"1350805717","filename":"file0"},{"photo_id":"1350805740","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350805753":["hashtag1","hashtag2"]},{"1350805717":["hashtag1","hashtag2"]},{"1350805746":["hashtag1","hashtag2"]},{"1350805740":["hashtag1","hashtag2"]},{"1350805731":["hashtag1","hashtag2"]},{"1350805727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350805753, 1350805717, 1350805746, 1350805740, 1350805731, 1350805727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20377159118652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:51:32.628943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_45_9406.jpg', '/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_55_10401.jpg', '/home/pi/Desktop/images/09042025/15/22/image_09042025_15_23_04_9341.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_15_10353.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_25_10399.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_35_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_45_9406.jpg
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_55_10401.jpg
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_23_04_9341.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_15_10353.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_25_10399.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_35_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38997721672058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 16:51:42.637992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_45_9406.jpg', '/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_55_10401.jpg', '/home/pi/Desktop/images/09042025/15/22/image_09042025_15_23_04_9341.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_15_10353.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_25_10399.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_35_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_45_9406.jpg
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_22_55_10401.jpg
/home/pi/Desktop/images/09042025/15/22/image_09042025_15_23_04_9341.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_15_10353.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_25_10399.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_35_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":["1350805813","1350805816","1350805824","1350805806","1350805820","1350805808"],"photo_ids_order":["1350805806","1350805808","1350805813","1350805816","1350805820","1350805824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d12c43ab26923cd49235634a305cdbe2.jpg","text":"TemporaryFile(/tmp/multipartBody7484898048332669836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210363114,"filename":"image_09042025_15_23_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/4/9/590abb26ba936dad944a3ce52de53841.jpg","text":"TemporaryFile(/tmp/multipartBody4769648987407623009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210363114,"filename":"image_09042025_15_23_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/4/9/eebe47accd656e8f9bb099710f68b9e0.jpg","text":"TemporaryFile(/tmp/multipartBody1418665805339872158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210363114,"filename":"image_09042025_15_23_35_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb196d91fef67c1d97ec1f7149416a76.jpg","text":"TemporaryFile(/tmp/multipartBody4969893535845172919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210363114,"filename":"image_09042025_15_22_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/4/9/29211ee341331ca2361fa1f4f36fa62a.jpg","text":"TemporaryFile(/tmp/multipartBody7641253113461281616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210363114,"filename":"image_09042025_15_23_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/4/9/d29c29f946a099e9cea4886de334ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody4631322542710582440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210363114,"filename":"image_09042025_15_22_55_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350805813","file1":"1350805808","file0":"1350805806","file4":"1350805820","file5":"1350805824","file3":"1350805816"},"map_files_photo_id_array":[{"photo_id":"1350805824","filename":"file5"},{"photo_id":"1350805813","filename":"file2"},{"photo_id":"1350805820","filename":"file4"},{"photo_id":"1350805808","filename":"file1"},{"photo_id":"1350805806","filename":"file0"},{"photo_id":"1350805816","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350805813":["hashtag1","hashtag2"]},{"1350805816":["hashtag1","hashtag2"]},{"1350805824":["hashtag1","hashtag2"]},{"1350805806":["hashtag1","hashtag2"]},{"1350805820":["hashtag1","hashtag2"]},{"1350805808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350805813, 1350805816, 1350805824, 1350805806, 1350805820, 1350805808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80442690849304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:52:32.915860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_45_10329.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_55_10363.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_24_05_9409.jpg', '/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_15_10429.jpg', '/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_25_9469.jpg', '/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_35_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_45_10329.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_55_10363.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_24_05_9409.jpg
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_15_10429.jpg
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_25_9469.jpg
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_35_10334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3908669948577881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 16:52:42.879054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_45_10329.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_55_10363.jpg', '/home/pi/Desktop/images/09042025/15/23/image_09042025_15_24_05_9409.jpg', '/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_15_10429.jpg', '/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_25_9469.jpg', '/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_35_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_45_10329.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_23_55_10363.jpg
/home/pi/Desktop/images/09042025/15/23/image_09042025_15_24_05_9409.jpg
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_15_10429.jpg
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_25_9469.jpg
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_35_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350806268","1350806238","1350806147","1350806176","1350806120","1350806209"],"photo_ids_order":["1350806120","1350806147","1350806176","1350806209","1350806238","1350806268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30eccd62c77bfe4a4bcf1e183c99fbe5.jpg","text":"TemporaryFile(/tmp/multipartBody4977383027979910401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210423345,"filename":"image_09042025_15_24_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/4/9/ea3b5fc979ad625306bdaa64c714eaf6.jpg","text":"TemporaryFile(/tmp/multipartBody4972189861763090600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210423345,"filename":"image_09042025_15_24_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/4/9/5a6e3a3ba250a2bd7e5bd59b10c6748b.jpg","text":"TemporaryFile(/tmp/multipartBody4888686763693860829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210423345,"filename":"image_09042025_15_23_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2508ba1e5571a86ac2837826c97895ba.jpg","text":"TemporaryFile(/tmp/multipartBody5687695264237593943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210423345,"filename":"image_09042025_15_24_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/4/9/f3789ae12e20eb7c943abc6e55b8ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody5418365967094925978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210423345,"filename":"image_09042025_15_23_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/4/9/c32cd150f6c08fb826cd2c92f9e5a003.jpg","text":"TemporaryFile(/tmp/multipartBody1487869358932147944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210423345,"filename":"image_09042025_15_24_15_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350806176","file1":"1350806147","file0":"1350806120","file4":"1350806238","file5":"1350806268","file3":"1350806209"},"map_files_photo_id_array":[{"photo_id":"1350806268","filename":"file5"},{"photo_id":"1350806176","filename":"file2"},{"photo_id":"1350806238","filename":"file4"},{"photo_id":"1350806147","filename":"file1"},{"photo_id":"1350806120","filename":"file0"},{"photo_id":"1350806209","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350806268":["hashtag1","hashtag2"]},{"1350806238":["hashtag1","hashtag2"]},{"1350806147":["hashtag1","hashtag2"]},{"1350806176":["hashtag1","hashtag2"]},{"1350806120":["hashtag1","hashtag2"]},{"1350806209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350806268, 1350806238, 1350806147, 1350806176, 1350806120, 1350806209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.43559980392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:53:33.002706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_45_10357.jpg', '/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_55_9358.jpg', '/home/pi/Desktop/images/09042025/15/24/image_09042025_15_25_05_10341.jpg', '/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_14_9410.jpg', '/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_25_10346.jpg', '/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_35_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_45_10357.jpg
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_24_55_9358.jpg
/home/pi/Desktop/images/09042025/15/24/image_09042025_15_25_05_10341.jpg
/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_14_9410.jpg
/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_25_10346.jpg
/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_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":["1350806493","1350806466","1350806526","1350806480","1350806453","1350806512"],"photo_ids_order":["1350806453","1350806466","1350806480","1350806493","1350806512","1350806526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfa29bfbbdec3e12fad33b09c7e9d666.jpg","text":"TemporaryFile(/tmp/multipartBody2304933499191039839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210473467,"filename":"image_09042025_15_25_14_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/400fc503a89631aae60513447a37c2f7.jpg","text":"TemporaryFile(/tmp/multipartBody816847298145331495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210473467,"filename":"image_09042025_15_24_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/14a99e446c81d351649b4c0b5d4d8380.jpg","text":"TemporaryFile(/tmp/multipartBody5201001495975280728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210473467,"filename":"image_09042025_15_25_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/4/9/18836b594efb0644e19ce0b351b3c0a1.jpg","text":"TemporaryFile(/tmp/multipartBody5885961050674038140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210473467,"filename":"image_09042025_15_25_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22cd62172f83d6006301e474bb8febad.jpg","text":"TemporaryFile(/tmp/multipartBody9078889667546609088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210473467,"filename":"image_09042025_15_24_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/4/9/c6d57562348682a10d5fff49f758bda4.jpg","text":"TemporaryFile(/tmp/multipartBody5266142731223674917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210473467,"filename":"image_09042025_15_25_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350806480","file1":"1350806466","file0":"1350806453","file4":"1350806512","file5":"1350806526","file3":"1350806493"},"map_files_photo_id_array":[{"photo_id":"1350806526","filename":"file5"},{"photo_id":"1350806480","filename":"file2"},{"photo_id":"1350806512","filename":"file4"},{"photo_id":"1350806466","filename":"file1"},{"photo_id":"1350806453","filename":"file0"},{"photo_id":"1350806493","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350806493":["hashtag1","hashtag2"]},{"1350806466":["hashtag1","hashtag2"]},{"1350806526":["hashtag1","hashtag2"]},{"1350806480":["hashtag1","hashtag2"]},{"1350806453":["hashtag1","hashtag2"]},{"1350806512":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350806493, 1350806466, 1350806526, 1350806480, 1350806453, 1350806512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.534183979034424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:54:32.225422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_44_9340.jpg', '/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_55_10372.jpg', '/home/pi/Desktop/images/09042025/15/25/image_09042025_15_26_05_10344.jpg', '/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_15_9355.jpg', '/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_25_10371.jpg', '/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_35_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_44_9340.jpg
/home/pi/Desktop/images/09042025/15/25/image_09042025_15_25_55_10372.jpg
/home/pi/Desktop/images/09042025/15/25/image_09042025_15_26_05_10344.jpg
/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_15_9355.jpg
/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_25_10371.jpg
/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_35_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350806614","1350806610","1350806604","1350806594","1350806621","1350806617"],"photo_ids_order":["1350806594","1350806604","1350806610","1350806614","1350806617","1350806621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f9484132cf35442fb17b96686e2d45c.jpg","text":"TemporaryFile(/tmp/multipartBody971838517064783084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210532687,"filename":"image_09042025_15_26_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/811ac85f72883e885368465bc7502923.jpg","text":"TemporaryFile(/tmp/multipartBody5473041359762949540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210532687,"filename":"image_09042025_15_26_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/4/9/28b8f9def1dbdd096761494307774782.jpg","text":"TemporaryFile(/tmp/multipartBody2327766348019611473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210532687,"filename":"image_09042025_15_25_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df672dfe9b7f967f6f1f11a58a2ebbe7.jpg","text":"TemporaryFile(/tmp/multipartBody771947951908676685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210532687,"filename":"image_09042025_15_25_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e72c00958396fb11f48efeada7204ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2040146408018368759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210532687,"filename":"image_09042025_15_26_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/4/9/ffd9be5bba676552736192ddd0910c5b.jpg","text":"TemporaryFile(/tmp/multipartBody3708434857228542698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210532687,"filename":"image_09042025_15_26_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350806610","file1":"1350806604","file0":"1350806594","file4":"1350806617","file5":"1350806621","file3":"1350806614"},"map_files_photo_id_array":[{"photo_id":"1350806621","filename":"file5"},{"photo_id":"1350806610","filename":"file2"},{"photo_id":"1350806617","filename":"file4"},{"photo_id":"1350806604","filename":"file1"},{"photo_id":"1350806594","filename":"file0"},{"photo_id":"1350806614","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350806614":["hashtag1","hashtag2"]},{"1350806610":["hashtag1","hashtag2"]},{"1350806604":["hashtag1","hashtag2"]},{"1350806594":["hashtag1","hashtag2"]},{"1350806621":["hashtag1","hashtag2"]},{"1350806617":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350806614, 1350806610, 1350806604, 1350806594, 1350806621, 1350806617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.94873285293579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:55:32.454975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_45_9334.jpg', '/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_55_10363.jpg', '/home/pi/Desktop/images/09042025/15/26/image_09042025_15_27_04_9412.jpg', '/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_15_10347.jpg', '/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_25_10474.jpg', '/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_35_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_45_9334.jpg
/home/pi/Desktop/images/09042025/15/26/image_09042025_15_26_55_10363.jpg
/home/pi/Desktop/images/09042025/15/26/image_09042025_15_27_04_9412.jpg
/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_15_10347.jpg
/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_25_10474.jpg
/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_35_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350806664","1350806649","1350806657","1350806666","1350806647","1350806644"],"photo_ids_order":["1350806644","1350806647","1350806649","1350806657","1350806664","1350806666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fad5afcc3c5005e398e1afa638a6dfc6.jpg","text":"TemporaryFile(/tmp/multipartBody5676367085514250220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210592919,"filename":"image_09042025_15_27_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/4/9/9cfb8dd785fcdd87664f1a88c27ad6d3.jpg","text":"TemporaryFile(/tmp/multipartBody2354167388914278762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210592919,"filename":"image_09042025_15_27_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/4/9/960b2433457b5046f0fa7bcd40706cbb.jpg","text":"TemporaryFile(/tmp/multipartBody4650831289092273128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210592919,"filename":"image_09042025_15_27_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/4/9/3f8692f2d67b7d2973c9bf0e3c95d0b9.jpg","text":"TemporaryFile(/tmp/multipartBody234110714137541492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210592919,"filename":"image_09042025_15_27_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/4/9/9a9c076a23348446dc3c0d6081f956b5.jpg","text":"TemporaryFile(/tmp/multipartBody574534507167225939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210592919,"filename":"image_09042025_15_26_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/4/9/87bf2a45070f4f6a82bc62ca4e1da533.jpg","text":"TemporaryFile(/tmp/multipartBody6907640490731684152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210592919,"filename":"image_09042025_15_26_45_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350806649","file1":"1350806647","file0":"1350806644","file4":"1350806664","file5":"1350806666","file3":"1350806657"},"map_files_photo_id_array":[{"photo_id":"1350806666","filename":"file5"},{"photo_id":"1350806649","filename":"file2"},{"photo_id":"1350806664","filename":"file4"},{"photo_id":"1350806647","filename":"file1"},{"photo_id":"1350806644","filename":"file0"},{"photo_id":"1350806657","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350806664":["hashtag1","hashtag2"]},{"1350806649":["hashtag1","hashtag2"]},{"1350806657":["hashtag1","hashtag2"]},{"1350806666":["hashtag1","hashtag2"]},{"1350806647":["hashtag1","hashtag2"]},{"1350806644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350806664, 1350806649, 1350806657, 1350806666, 1350806647, 1350806644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90987682342529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:56:32.663047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_45_10400.jpg', '/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_54_9467.jpg', '/home/pi/Desktop/images/09042025/15/27/image_09042025_15_28_05_10368.jpg', '/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_15_10358.jpg', '/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_25_9352.jpg', '/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_35_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_45_10400.jpg
/home/pi/Desktop/images/09042025/15/27/image_09042025_15_27_54_9467.jpg
/home/pi/Desktop/images/09042025/15/27/image_09042025_15_28_05_10368.jpg
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_15_10358.jpg
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_25_9352.jpg
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_35_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350806707","1350806715","1350806726","1350806711","1350806720","1350806704"],"photo_ids_order":["1350806704","1350806707","1350806711","1350806715","1350806720","1350806726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd243e6805ba7d01dad10f6a653d9b22.jpg","text":"TemporaryFile(/tmp/multipartBody247087732877375590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210653131,"filename":"image_09042025_15_27_54_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9ad8279757749c10bd086d2f082a5dfc.jpg","text":"TemporaryFile(/tmp/multipartBody5217335849077509650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210653131,"filename":"image_09042025_15_28_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/4/9/f72339a84cfeed295476ac01d970b38f.jpg","text":"TemporaryFile(/tmp/multipartBody4396522748853375588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210653131,"filename":"image_09042025_15_28_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51a02bc457bc883a22b8fd84891f2198.jpg","text":"TemporaryFile(/tmp/multipartBody8619150413492722246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210653131,"filename":"image_09042025_15_28_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/4/9/ddfacaf6c6e22746c2a98bf7c479be68.jpg","text":"TemporaryFile(/tmp/multipartBody8341842743909725654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210653131,"filename":"image_09042025_15_28_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/4/9/eb0d1ce3579183ee5f22233be99dc0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5865045475583996196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210653131,"filename":"image_09042025_15_27_45_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350806711","file1":"1350806707","file0":"1350806704","file4":"1350806720","file5":"1350806726","file3":"1350806715"},"map_files_photo_id_array":[{"photo_id":"1350806726","filename":"file5"},{"photo_id":"1350806711","filename":"file2"},{"photo_id":"1350806720","filename":"file4"},{"photo_id":"1350806707","filename":"file1"},{"photo_id":"1350806704","filename":"file0"},{"photo_id":"1350806715","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350806707":["hashtag1","hashtag2"]},{"1350806715":["hashtag1","hashtag2"]},{"1350806726":["hashtag1","hashtag2"]},{"1350806711":["hashtag1","hashtag2"]},{"1350806720":["hashtag1","hashtag2"]},{"1350806704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350806707, 1350806715, 1350806726, 1350806711, 1350806720, 1350806704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.096845865249634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 16:57:32.952376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_45_10333.jpg', '/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_55_9391.jpg', '/home/pi/Desktop/images/09042025/15/28/image_09042025_15_29_05_10337.jpg', '/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_15_10414.jpg', '/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_25_9342.jpg', '/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_35_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_45_10333.jpg
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_55_9391.jpg
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_29_05_10337.jpg
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_15_10414.jpg
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_25_9342.jpg
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_35_10387.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 16:59:03.818791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_45_10333.jpg', '/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_55_9391.jpg', '/home/pi/Desktop/images/09042025/15/28/image_09042025_15_29_05_10337.jpg', '/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_15_10414.jpg', '/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_25_9342.jpg', '/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_35_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_45_10333.jpg
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_28_55_9391.jpg
/home/pi/Desktop/images/09042025/15/28/image_09042025_15_29_05_10337.jpg
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_15_10414.jpg
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_25_9342.jpg
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_35_10387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350806994","1350806952","1350807026","1350806957","1350807099","1350807060"],"photo_ids_order":["1350806952","1350806957","1350806994","1350807026","1350807060","1350807099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0da812bc1934af9dd805b4db5b9436fd.jpg","text":"TemporaryFile(/tmp/multipartBody4546930279306367520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210804402,"filename":"image_09042025_15_29_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/4/9/3cba0f0c85cddc522a2046e3e76d080c.jpg","text":"TemporaryFile(/tmp/multipartBody6929191394562661483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210804402,"filename":"image_09042025_15_28_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/4/9/71d105772582382d5a84893b156138cd.jpg","text":"TemporaryFile(/tmp/multipartBody5372005606778812014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210804402,"filename":"image_09042025_15_29_15_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ac13f94941b0d7536856777e55f9bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2133657482577751312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210804402,"filename":"image_09042025_15_28_55_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e0f5d1920a62e2cc649d24f09282d2a7.jpg","text":"TemporaryFile(/tmp/multipartBody2971663189995165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210804402,"filename":"image_09042025_15_29_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15549ca7f9696898e488c7890cf60eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7476256778125390051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210804402,"filename":"image_09042025_15_29_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350806994","file1":"1350806957","file0":"1350806952","file4":"1350807060","file5":"1350807099","file3":"1350807026"},"map_files_photo_id_array":[{"photo_id":"1350807099","filename":"file5"},{"photo_id":"1350806994","filename":"file2"},{"photo_id":"1350807060","filename":"file4"},{"photo_id":"1350806957","filename":"file1"},{"photo_id":"1350806952","filename":"file0"},{"photo_id":"1350807026","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350806994":["hashtag1","hashtag2"]},{"1350806952":["hashtag1","hashtag2"]},{"1350807026":["hashtag1","hashtag2"]},{"1350806957":["hashtag1","hashtag2"]},{"1350807099":["hashtag1","hashtag2"]},{"1350807060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350806994, 1350806952, 1350807026, 1350806957, 1350807099, 1350807060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68698334693909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 16:59:42.738708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_44_9332.jpg', '/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_55_10331.jpg', '/home/pi/Desktop/images/09042025/15/29/image_09042025_15_30_05_10463.jpg', '/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_15_9330.jpg', '/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_25_10369.jpg', '/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_35_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_44_9332.jpg
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_29_55_10331.jpg
/home/pi/Desktop/images/09042025/15/29/image_09042025_15_30_05_10463.jpg
/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_15_9330.jpg
/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_25_10369.jpg
/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_35_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350807228","1350807324","1350807377","1350807404","1350807352","1350807279"],"photo_ids_order":["1350807228","1350807279","1350807324","1350807352","1350807377","1350807404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f37882166d09ffc605e92f5b04a6a41.jpg","text":"TemporaryFile(/tmp/multipartBody8628148060566240354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210843211,"filename":"image_09042025_15_29_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/4/9/5a645991ec5b555a2c5de7ca3f30d041.jpg","text":"TemporaryFile(/tmp/multipartBody7735438723758630954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210843211,"filename":"image_09042025_15_30_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/4/9/68c06ce804eee9ef84325a8f6e38cc2c.jpg","text":"TemporaryFile(/tmp/multipartBody72624239219977959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210843211,"filename":"image_09042025_15_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/4/9/032f55bb365e84ae09fb87d4578b1f03.jpg","text":"TemporaryFile(/tmp/multipartBody8735240671578931505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210843211,"filename":"image_09042025_15_30_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d0fca7e5831cc48191d615c275c94aa.jpg","text":"TemporaryFile(/tmp/multipartBody8327362545473493119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210843211,"filename":"image_09042025_15_30_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/4/9/a82fe0b0ce766c606ca50ac8661e8a9e.jpg","text":"TemporaryFile(/tmp/multipartBody77310477713556301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210843211,"filename":"image_09042025_15_29_55_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350807324","file1":"1350807279","file0":"1350807228","file4":"1350807377","file5":"1350807404","file3":"1350807352"},"map_files_photo_id_array":[{"photo_id":"1350807404","filename":"file5"},{"photo_id":"1350807324","filename":"file2"},{"photo_id":"1350807377","filename":"file4"},{"photo_id":"1350807279","filename":"file1"},{"photo_id":"1350807228","filename":"file0"},{"photo_id":"1350807352","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350807228":["hashtag1","hashtag2"]},{"1350807324":["hashtag1","hashtag2"]},{"1350807377":["hashtag1","hashtag2"]},{"1350807404":["hashtag1","hashtag2"]},{"1350807352":["hashtag1","hashtag2"]},{"1350807279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350807228, 1350807324, 1350807377, 1350807404, 1350807352, 1350807279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06098699569702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:00:32.695954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_45_9359.jpg', '/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_55_10355.jpg', '/home/pi/Desktop/images/09042025/15/30/image_09042025_15_31_04_9415.jpg', '/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_15_10406.jpg', '/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_25_10365.jpg', '/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_35_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_45_9359.jpg
/home/pi/Desktop/images/09042025/15/30/image_09042025_15_30_55_10355.jpg
/home/pi/Desktop/images/09042025/15/30/image_09042025_15_31_04_9415.jpg
/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_15_10406.jpg
/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_25_10365.jpg
/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_35_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350807633","1350807734","1350807682","1350807763","1350807601","1350807789"],"photo_ids_order":["1350807601","1350807633","1350807682","1350807734","1350807763","1350807789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d0ac81efa98afb44abdfcbc9a2775cf.jpg","text":"TemporaryFile(/tmp/multipartBody1412001654301155177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210893160,"filename":"image_09042025_15_30_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/4/9/1b50e9df55af84ee2ae677742da88ff2.jpg","text":"TemporaryFile(/tmp/multipartBody5032169965876173173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210893160,"filename":"image_09042025_15_31_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/4/9/17af256fe1d72c7c422e68a5e2a2696f.jpg","text":"TemporaryFile(/tmp/multipartBody1229081895696133907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210893160,"filename":"image_09042025_15_31_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f9f5b6209e98a0c6d96cbda9e95d172.jpg","text":"TemporaryFile(/tmp/multipartBody164720173553535620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210893160,"filename":"image_09042025_15_31_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/4/9/3bd6862bdec21efb7858e7887a349e01.jpg","text":"TemporaryFile(/tmp/multipartBody5895862505500372270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210893160,"filename":"image_09042025_15_30_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/4/9/50b4f0fb90f0f9dadb262f5ce31f2713.jpg","text":"TemporaryFile(/tmp/multipartBody6480541101165308234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210893160,"filename":"image_09042025_15_31_35_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350807682","file1":"1350807633","file0":"1350807601","file4":"1350807763","file5":"1350807789","file3":"1350807734"},"map_files_photo_id_array":[{"photo_id":"1350807789","filename":"file5"},{"photo_id":"1350807682","filename":"file2"},{"photo_id":"1350807763","filename":"file4"},{"photo_id":"1350807633","filename":"file1"},{"photo_id":"1350807601","filename":"file0"},{"photo_id":"1350807734","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350807633":["hashtag1","hashtag2"]},{"1350807734":["hashtag1","hashtag2"]},{"1350807682":["hashtag1","hashtag2"]},{"1350807763":["hashtag1","hashtag2"]},{"1350807601":["hashtag1","hashtag2"]},{"1350807789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350807633, 1350807734, 1350807682, 1350807763, 1350807601, 1350807789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18939280509949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:01:32.977305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_45_10334.jpg', '/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_55_10357.jpg', '/home/pi/Desktop/images/09042025/15/31/image_09042025_15_32_05_9348.jpg', '/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_15_10343.jpg', '/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_25_10431.jpg', '/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_35_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_45_10334.jpg
/home/pi/Desktop/images/09042025/15/31/image_09042025_15_31_55_10357.jpg
/home/pi/Desktop/images/09042025/15/31/image_09042025_15_32_05_9348.jpg
/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_15_10343.jpg
/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_25_10431.jpg
/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_35_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":["1350808157","1350808133","1350808273","1350808476","1350808359","1350808212"],"photo_ids_order":["1350808133","1350808157","1350808212","1350808273","1350808359","1350808476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b26b85a96fbaf13381cb869fcdbfa87.jpg","text":"TemporaryFile(/tmp/multipartBody8230489901252671447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210953443,"filename":"image_09042025_15_31_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/512b16271cd69633e9fd51d57aa5196f.jpg","text":"TemporaryFile(/tmp/multipartBody47774011683240444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210953443,"filename":"image_09042025_15_31_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/4/9/33491695b039b7e470f3ce5466a3687b.jpg","text":"TemporaryFile(/tmp/multipartBody6997442631069280949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210953443,"filename":"image_09042025_15_32_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/363b41da6d3efc917dc5efd9cb65e87a.jpg","text":"TemporaryFile(/tmp/multipartBody4599158963709918438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210953443,"filename":"image_09042025_15_32_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c53dee8d9d9972f732722c9783ef2bcb.jpg","text":"TemporaryFile(/tmp/multipartBody751417475144974093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210953443,"filename":"image_09042025_15_32_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/4/9/fc934736b3f86d22230d6d410d4b3e53.jpg","text":"TemporaryFile(/tmp/multipartBody6988434853095891381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744210953443,"filename":"image_09042025_15_32_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350808212","file1":"1350808157","file0":"1350808133","file4":"1350808359","file5":"1350808476","file3":"1350808273"},"map_files_photo_id_array":[{"photo_id":"1350808476","filename":"file5"},{"photo_id":"1350808212","filename":"file2"},{"photo_id":"1350808359","filename":"file4"},{"photo_id":"1350808157","filename":"file1"},{"photo_id":"1350808133","filename":"file0"},{"photo_id":"1350808273","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350808157":["hashtag1","hashtag2"]},{"1350808133":["hashtag1","hashtag2"]},{"1350808273":["hashtag1","hashtag2"]},{"1350808476":["hashtag1","hashtag2"]},{"1350808359":["hashtag1","hashtag2"]},{"1350808212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350808157, 1350808133, 1350808273, 1350808476, 1350808359, 1350808212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13674712181091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:02:32.301700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_45_10457.jpg', '/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_55_9425.jpg', '/home/pi/Desktop/images/09042025/15/32/image_09042025_15_33_05_10362.jpg', '/home/pi/Desktop/images/09042025/15/33/image_09042025_15_33_15_10332.jpg', '/home/pi/Desktop/images/09042025/15/33/image_09042025_15_33_25_9421.jpg', '/home/pi/Desktop/images/09042025/15/33/image_09042025_15_33_35_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_45_10457.jpg
/home/pi/Desktop/images/09042025/15/32/image_09042025_15_32_55_9425.jpg
/home/pi/Desktop/images/09042025/15/32/image_09042025_15_33_05_10362.jpg
/home/pi/Desktop/images/09042025/15/33/image_09042025_15_33_15_10332.jpg
/home/pi/Desktop/images/09042025/15/33/image_09042025_15_33_25_9421.jpg
/home/pi/Desktop/images/09042025/15/33/image_09042025_15_33_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":["1350809015","1350809398","1350809326","1350809140","1350809454","1350809093"],"photo_ids_order":["1350809015","1350809093","1350809140","1350809326","1350809398","1350809454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f05979b22cfcf04f8e1b873ff6f588e.jpg","text":"TemporaryFile(/tmp/multipartBody4356498126711015864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211012880,"filename":"image_09042025_15_32_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f68ea7e12a48ec8343aa8f048ad877f6.jpg","text":"TemporaryFile(/tmp/multipartBody5353395092599790496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211012880,"filename":"image_09042025_15_33_25_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3ab8d3dfee92c7775da68ecf8722299.jpg","text":"TemporaryFile(/tmp/multipartBody5213874130176326052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211012880,"filename":"image_09042025_15_33_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/4/9/85dea8aec7958b13e1db3b9877e61bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7471579212920628359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211012880,"filename":"image_09042025_15_33_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/4/9/ea5ce61aaf9b5a4fd0cb472c5ef7613b.jpg","text":"TemporaryFile(/tmp/multipartBody210918778349372001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211012880,"filename":"image_09042025_15_33_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/4/9/6e6cc072d05fc35b4774e329d1fee5b5.jpg","text":"TemporaryFile(/tmp/multipartBody1598317464589181869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211012880,"filename":"image_09042025_15_32_55_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350809140","file1":"1350809093","file0":"1350809015","file4":"1350809398","file5":"1350809454","file3":"1350809326"},"map_files_photo_id_array":[{"photo_id":"1350809454","filename":"file5"},{"photo_id":"1350809140","filename":"file2"},{"photo_id":"1350809398","filename":"file4"},{"photo_id":"1350809093","filename":"file1"},{"photo_id":"1350809015","filename":"file0"},{"photo_id":"1350809326","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350809015":["hashtag1","hashtag2"]},{"1350809398":["hashtag1","hashtag2"]},{"1350809326":["hashtag1","hashtag2"]},{"1350809140":["hashtag1","hashtag2"]},{"1350809454":["hashtag1","hashtag2"]},{"1350809093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350809015, 1350809398, 1350809326, 1350809140, 1350809454, 1350809093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.30997562408447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:03:32.477889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/33/image_09042025_15_33_55_10380.jpg', '/home/pi/Desktop/images/09042025/15/33/image_09042025_15_34_05_10427.jpg', '/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_15_9420.jpg', '/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_25_10420.jpg', '/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_34_9362.jpg', '/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/33/image_09042025_15_33_55_10380.jpg
/home/pi/Desktop/images/09042025/15/33/image_09042025_15_34_05_10427.jpg
/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_15_9420.jpg
/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_25_10420.jpg
/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_34_9362.jpg
/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_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":["1350809750","1350809704","1350809605","1350809724","1350809637","1350809678"],"photo_ids_order":["1350809605","1350809637","1350809678","1350809704","1350809724","1350809750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5cf0b4b2dfa10acac1fa1c4ee6f10f5d.jpg","text":"TemporaryFile(/tmp/multipartBody2735721537966966588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211072950,"filename":"image_09042025_15_34_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/4/9/b9378d462f1f11a320c4e1ea87632a43.jpg","text":"TemporaryFile(/tmp/multipartBody6604703388674651129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211072950,"filename":"image_09042025_15_34_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/4/9/f8f292410c93745bd6af9b4a8f5a1dbd.jpg","text":"TemporaryFile(/tmp/multipartBody331228629375184436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211072950,"filename":"image_09042025_15_33_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/4/9/5acd096ef00c43daa8fc044c25a1817c.jpg","text":"TemporaryFile(/tmp/multipartBody1254341948989771764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211072950,"filename":"image_09042025_15_34_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82596f45f816fa272d993453a5646618.jpg","text":"TemporaryFile(/tmp/multipartBody6520207231001294710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211072950,"filename":"image_09042025_15_34_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/4/9/9b893b07977dbf8ce94ce496d6e146ce.jpg","text":"TemporaryFile(/tmp/multipartBody572788018619203620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211072950,"filename":"image_09042025_15_34_15_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350809678","file1":"1350809637","file0":"1350809605","file4":"1350809724","file5":"1350809750","file3":"1350809704"},"map_files_photo_id_array":[{"photo_id":"1350809750","filename":"file5"},{"photo_id":"1350809678","filename":"file2"},{"photo_id":"1350809724","filename":"file4"},{"photo_id":"1350809637","filename":"file1"},{"photo_id":"1350809605","filename":"file0"},{"photo_id":"1350809704","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350809750":["hashtag1","hashtag2"]},{"1350809704":["hashtag1","hashtag2"]},{"1350809605":["hashtag1","hashtag2"]},{"1350809724":["hashtag1","hashtag2"]},{"1350809637":["hashtag1","hashtag2"]},{"1350809678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350809750, 1350809704, 1350809605, 1350809724, 1350809637, 1350809678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.353713035583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:04:32.766328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_55_10362.jpg', '/home/pi/Desktop/images/09042025/15/34/image_09042025_15_35_05_9354.jpg', '/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_15_10398.jpg', '/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_25_10411.jpg', '/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_35_9344.jpg', '/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_45_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/34/image_09042025_15_34_55_10362.jpg
/home/pi/Desktop/images/09042025/15/34/image_09042025_15_35_05_9354.jpg
/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_15_10398.jpg
/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_25_10411.jpg
/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_35_9344.jpg
/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_45_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350810101","1350810262","1350810133","1350810183","1350810075","1350810156"],"photo_ids_order":["1350810075","1350810101","1350810133","1350810156","1350810183","1350810262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/02af388d0a59edb253bed857c9fdca27.jpg","text":"TemporaryFile(/tmp/multipartBody2995308384042352906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211133297,"filename":"image_09042025_15_35_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42d628b1a414c43850a7cdd50c00503d.jpg","text":"TemporaryFile(/tmp/multipartBody1572954459749797436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211133297,"filename":"image_09042025_15_35_45_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c3357ab06d11c404d20c6f716833adb.jpg","text":"TemporaryFile(/tmp/multipartBody7316583377176841394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211133297,"filename":"image_09042025_15_35_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/4/9/077be16c1a1ee9b1202d0d0800b7e08f.jpg","text":"TemporaryFile(/tmp/multipartBody4570297138153085225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211133297,"filename":"image_09042025_15_35_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/4/9/15a9ddf6215c6f05255943ab1cc5b131.jpg","text":"TemporaryFile(/tmp/multipartBody4389209995658372069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211133297,"filename":"image_09042025_15_34_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/4/9/bfa738c89c821fb2a8fb8b5127467594.jpg","text":"TemporaryFile(/tmp/multipartBody3416253165699466791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211133297,"filename":"image_09042025_15_35_25_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350810133","file1":"1350810101","file0":"1350810075","file4":"1350810183","file5":"1350810262","file3":"1350810156"},"map_files_photo_id_array":[{"photo_id":"1350810262","filename":"file5"},{"photo_id":"1350810133","filename":"file2"},{"photo_id":"1350810183","filename":"file4"},{"photo_id":"1350810101","filename":"file1"},{"photo_id":"1350810075","filename":"file0"},{"photo_id":"1350810156","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350810101":["hashtag1","hashtag2"]},{"1350810262":["hashtag1","hashtag2"]},{"1350810133":["hashtag1","hashtag2"]},{"1350810183":["hashtag1","hashtag2"]},{"1350810075":["hashtag1","hashtag2"]},{"1350810156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350810101, 1350810262, 1350810133, 1350810183, 1350810075, 1350810156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.784756898880005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:05:33.002721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_55_9438.jpg', '/home/pi/Desktop/images/09042025/15/35/image_09042025_15_36_05_10367.jpg', '/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_15_10428.jpg', '/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_25_9378.jpg', '/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_35_10460.jpg', '/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_45_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/35/image_09042025_15_35_55_9438.jpg
/home/pi/Desktop/images/09042025/15/35/image_09042025_15_36_05_10367.jpg
/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_15_10428.jpg
/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_25_9378.jpg
/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_35_10460.jpg
/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_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":["1350810482","1350810536","1350810650","1350810431","1350810594","1350810681"],"photo_ids_order":["1350810431","1350810482","1350810536","1350810594","1350810650","1350810681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8fc2c1a117d88ce930b76bab4f9f463e.jpg","text":"TemporaryFile(/tmp/multipartBody8504078849196506217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211193471,"filename":"image_09042025_15_36_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/4/9/39bfbe526d95a6f0a16b0780e70e4b7d.jpg","text":"TemporaryFile(/tmp/multipartBody2792747429915070515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211193471,"filename":"image_09042025_15_36_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e289453519fcb4fb9205d7671cbd9ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5987440468621813809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211193471,"filename":"image_09042025_15_36_35_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/116734e642a837522f9fc7a320dc147f.jpg","text":"TemporaryFile(/tmp/multipartBody5699239731195777695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211193471,"filename":"image_09042025_15_35_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/4/9/9f979bb2b5c8e770f238baa42c50bad3.jpg","text":"TemporaryFile(/tmp/multipartBody8256879106912605394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211193471,"filename":"image_09042025_15_36_25_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a2826a95c320da50f4d2d5af4239507.jpg","text":"TemporaryFile(/tmp/multipartBody1624804267200644279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211193471,"filename":"image_09042025_15_36_45_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350810536","file1":"1350810482","file0":"1350810431","file4":"1350810650","file5":"1350810681","file3":"1350810594"},"map_files_photo_id_array":[{"photo_id":"1350810681","filename":"file5"},{"photo_id":"1350810536","filename":"file2"},{"photo_id":"1350810650","filename":"file4"},{"photo_id":"1350810482","filename":"file1"},{"photo_id":"1350810431","filename":"file0"},{"photo_id":"1350810594","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350810482":["hashtag1","hashtag2"]},{"1350810536":["hashtag1","hashtag2"]},{"1350810650":["hashtag1","hashtag2"]},{"1350810431":["hashtag1","hashtag2"]},{"1350810594":["hashtag1","hashtag2"]},{"1350810681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350810482, 1350810536, 1350810650, 1350810431, 1350810594, 1350810681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01605820655823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:06:33.090899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_55_10350.jpg', '/home/pi/Desktop/images/09042025/15/36/image_09042025_15_37_05_10351.jpg', '/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_15_9415.jpg', '/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_25_10395.jpg', '/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_34_9337.jpg', '/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/36/image_09042025_15_36_55_10350.jpg
/home/pi/Desktop/images/09042025/15/36/image_09042025_15_37_05_10351.jpg
/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_15_9415.jpg
/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_25_10395.jpg
/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_34_9337.jpg
/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_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":["1350810914","1350810952","1350810975","1350810942","1350810936","1350810945"],"photo_ids_order":["1350810914","1350810936","1350810942","1350810945","1350810952","1350810975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3401a485775343ffe4852d657e0e3eb.jpg","text":"TemporaryFile(/tmp/multipartBody318098759025814955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211253620,"filename":"image_09042025_15_36_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/4/9/44c79fd6f99a55eda866dca350059dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1458831109711470348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211253620,"filename":"image_09042025_15_37_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/4/9/f28a735b60625a990346bb102027072e.jpg","text":"TemporaryFile(/tmp/multipartBody625725350174952657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211253620,"filename":"image_09042025_15_37_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/4/9/164c2fa9a3fb2b88053cc1b0cd9d480c.jpg","text":"TemporaryFile(/tmp/multipartBody731383709850276000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211253620,"filename":"image_09042025_15_37_15_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5acb983a395b049d949b9a90153d323a.jpg","text":"TemporaryFile(/tmp/multipartBody6785039837991128559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211253620,"filename":"image_09042025_15_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/4/9/7f86b02da529e81028096cdccacbd96e.jpg","text":"TemporaryFile(/tmp/multipartBody5646988173117226484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211253620,"filename":"image_09042025_15_37_25_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350810942","file1":"1350810936","file0":"1350810914","file4":"1350810952","file5":"1350810975","file3":"1350810945"},"map_files_photo_id_array":[{"photo_id":"1350810975","filename":"file5"},{"photo_id":"1350810942","filename":"file2"},{"photo_id":"1350810952","filename":"file4"},{"photo_id":"1350810936","filename":"file1"},{"photo_id":"1350810914","filename":"file0"},{"photo_id":"1350810945","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350810914":["hashtag1","hashtag2"]},{"1350810952":["hashtag1","hashtag2"]},{"1350810975":["hashtag1","hashtag2"]},{"1350810942":["hashtag1","hashtag2"]},{"1350810936":["hashtag1","hashtag2"]},{"1350810945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350810914, 1350810952, 1350810975, 1350810942, 1350810936, 1350810945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.719687461853027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:07:32.341537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_55_10439.jpg', '/home/pi/Desktop/images/09042025/15/37/image_09042025_15_38_05_9357.jpg', '/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_15_10414.jpg', '/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_24_9399.jpg', '/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_35_10354.jpg', '/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_45_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/37/image_09042025_15_37_55_10439.jpg
/home/pi/Desktop/images/09042025/15/37/image_09042025_15_38_05_9357.jpg
/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_15_10414.jpg
/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_24_9399.jpg
/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_35_10354.jpg
/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_45_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350811325","1350811400","1350811351","1350811278","1350811242","1350811199"],"photo_ids_order":["1350811199","1350811242","1350811278","1350811325","1350811351","1350811400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85e8946c1aa091134865c36a367dfaca.jpg","text":"TemporaryFile(/tmp/multipartBody5085410169198306928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211312802,"filename":"image_09042025_15_38_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c21ca8abedcd9e14c7f6caffcf95d860.jpg","text":"TemporaryFile(/tmp/multipartBody2339280864239031271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211312802,"filename":"image_09042025_15_38_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/4/9/ed2f69ef17a6ee28723266582395077b.jpg","text":"TemporaryFile(/tmp/multipartBody2323168333106668898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211312802,"filename":"image_09042025_15_38_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/4/9/424bee64c8da1a139107e2d9854b796f.jpg","text":"TemporaryFile(/tmp/multipartBody5350666837725067037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211312802,"filename":"image_09042025_15_38_15_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7bd1e4d71844fe530bc57a5d978833db.jpg","text":"TemporaryFile(/tmp/multipartBody3947767165157158486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211312802,"filename":"image_09042025_15_38_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aa1b4b02b8ddc6defc77b6106b4112a3.jpg","text":"TemporaryFile(/tmp/multipartBody5356146852493751495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211312802,"filename":"image_09042025_15_37_55_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350811278","file1":"1350811242","file0":"1350811199","file4":"1350811351","file5":"1350811400","file3":"1350811325"},"map_files_photo_id_array":[{"photo_id":"1350811400","filename":"file5"},{"photo_id":"1350811278","filename":"file2"},{"photo_id":"1350811351","filename":"file4"},{"photo_id":"1350811242","filename":"file1"},{"photo_id":"1350811199","filename":"file0"},{"photo_id":"1350811325","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350811325":["hashtag1","hashtag2"]},{"1350811400":["hashtag1","hashtag2"]},{"1350811351":["hashtag1","hashtag2"]},{"1350811278":["hashtag1","hashtag2"]},{"1350811242":["hashtag1","hashtag2"]},{"1350811199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350811325, 1350811400, 1350811351, 1350811278, 1350811242, 1350811199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.876954078674316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:08:32.642093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_54_9331.jpg', '/home/pi/Desktop/images/09042025/15/38/image_09042025_15_39_05_10364.jpg', '/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_15_10358.jpg', '/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_25_9411.jpg', '/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_35_10352.jpg', '/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_45_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/38/image_09042025_15_38_54_9331.jpg
/home/pi/Desktop/images/09042025/15/38/image_09042025_15_39_05_10364.jpg
/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_15_10358.jpg
/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_25_9411.jpg
/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_35_10352.jpg
/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_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":["1350811715","1350811672","1350811669","1350811657","1350811695","1350811707"],"photo_ids_order":["1350811657","1350811669","1350811672","1350811695","1350811707","1350811715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24db1745ab2e0f88e1a3be1b79b30514.jpg","text":"TemporaryFile(/tmp/multipartBody1505849568251780127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211373108,"filename":"image_09042025_15_39_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/4/9/b48c9a4df689daf82b91dbf7a6a48996.jpg","text":"TemporaryFile(/tmp/multipartBody3460306832641237773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211373108,"filename":"image_09042025_15_39_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef08b749819f134f5295cf3873329c0a.jpg","text":"TemporaryFile(/tmp/multipartBody7717763358559008386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211373108,"filename":"image_09042025_15_39_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/4/9/71e7bd39b31f821ec34190724a1d30d7.jpg","text":"TemporaryFile(/tmp/multipartBody3211385099118544236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211373108,"filename":"image_09042025_15_38_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/4/9/b5310c080c3ad670a7a1f53a2a7fb140.jpg","text":"TemporaryFile(/tmp/multipartBody7461848846399886279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211373108,"filename":"image_09042025_15_39_25_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/78c6ec81a48423b2cddc0739fba250f3.jpg","text":"TemporaryFile(/tmp/multipartBody4265502478196076510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211373108,"filename":"image_09042025_15_39_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350811672","file1":"1350811669","file0":"1350811657","file4":"1350811707","file5":"1350811715","file3":"1350811695"},"map_files_photo_id_array":[{"photo_id":"1350811715","filename":"file5"},{"photo_id":"1350811672","filename":"file2"},{"photo_id":"1350811707","filename":"file4"},{"photo_id":"1350811669","filename":"file1"},{"photo_id":"1350811657","filename":"file0"},{"photo_id":"1350811695","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350811715":["hashtag1","hashtag2"]},{"1350811672":["hashtag1","hashtag2"]},{"1350811669":["hashtag1","hashtag2"]},{"1350811657":["hashtag1","hashtag2"]},{"1350811695":["hashtag1","hashtag2"]},{"1350811707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350811715, 1350811672, 1350811669, 1350811657, 1350811695, 1350811707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.26006031036377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:09:32.874217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_55_9430.jpg', '/home/pi/Desktop/images/09042025/15/39/image_09042025_15_40_05_10418.jpg', '/home/pi/Desktop/images/09042025/15/40/image_09042025_15_40_15_9332.jpg', '/home/pi/Desktop/images/09042025/15/40/image_09042025_15_40_25_10348.jpg', '/home/pi/Desktop/images/09042025/15/40/image_09042025_15_40_45_9401.jpg', '/home/pi/Desktop/images/09042025/15/40/image_09042025_15_40_55_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/39/image_09042025_15_39_55_9430.jpg
/home/pi/Desktop/images/09042025/15/39/image_09042025_15_40_05_10418.jpg
/home/pi/Desktop/images/09042025/15/40/image_09042025_15_40_15_9332.jpg
/home/pi/Desktop/images/09042025/15/40/image_09042025_15_40_25_10348.jpg
/home/pi/Desktop/images/09042025/15/40/image_09042025_15_40_45_9401.jpg
/home/pi/Desktop/images/09042025/15/40/image_09042025_15_40_55_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350812092","1350812082","1350812036","1350811976","1350812095","1350812012"],"photo_ids_order":["1350811976","1350812012","1350812036","1350812082","1350812092","1350812095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65ac3ba84bfc543f68b6bddc61ce3d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6025731819191054539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211433349,"filename":"image_09042025_15_40_45_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1ece56bf112263af4bd8102cfabbed4.jpg","text":"TemporaryFile(/tmp/multipartBody4975722428308832569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211433349,"filename":"image_09042025_15_40_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/4/9/594040203480420a8b622411a2e7ae67.jpg","text":"TemporaryFile(/tmp/multipartBody5817671353266314466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211433349,"filename":"image_09042025_15_40_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/4/9/9d5a9cfd383750d275ef9ff989a4ec70.jpg","text":"TemporaryFile(/tmp/multipartBody8841618387167689728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211433349,"filename":"image_09042025_15_39_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/4/9/092169494950cb08139707d0833878cc.jpg","text":"TemporaryFile(/tmp/multipartBody126103773122072132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211433349,"filename":"image_09042025_15_40_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/4/9/e40176d75b4e66d1a6a5211a5fc70b02.jpg","text":"TemporaryFile(/tmp/multipartBody5949164172750464091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211433349,"filename":"image_09042025_15_40_05_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350812036","file1":"1350812012","file0":"1350811976","file4":"1350812092","file5":"1350812095","file3":"1350812082"},"map_files_photo_id_array":[{"photo_id":"1350812095","filename":"file5"},{"photo_id":"1350812036","filename":"file2"},{"photo_id":"1350812092","filename":"file4"},{"photo_id":"1350812012","filename":"file1"},{"photo_id":"1350811976","filename":"file0"},{"photo_id":"1350812082","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350812092":["hashtag1","hashtag2"]},{"1350812082":["hashtag1","hashtag2"]},{"1350812036":["hashtag1","hashtag2"]},{"1350811976":["hashtag1","hashtag2"]},{"1350812095":["hashtag1","hashtag2"]},{"1350812012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350812092, 1350812082, 1350812036, 1350811976, 1350812095, 1350812012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.024242401123047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:10:33.082388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/40/image_09042025_15_41_04_9364.jpg', '/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_15_10332.jpg', '/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_25_10418.jpg', '/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_34_9333.jpg', '/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_45_10343.jpg', '/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/40/image_09042025_15_41_04_9364.jpg
/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_15_10332.jpg
/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_25_10418.jpg
/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_34_9333.jpg
/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_45_10343.jpg
/home/pi/Desktop/images/09042025/15/41/image_09042025_15_41_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":["1350812179","1350812122","1350812193","1350812119","1350812205","1350812126"],"photo_ids_order":["1350812119","1350812122","1350812126","1350812179","1350812193","1350812205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/00bbaad22e7533d82486857f2c021a15.jpg","text":"TemporaryFile(/tmp/multipartBody5074164637333677150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211493552,"filename":"image_09042025_15_41_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/4/9/6a394122738648f24b10845642ef4f83.jpg","text":"TemporaryFile(/tmp/multipartBody6319112517865480978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211493552,"filename":"image_09042025_15_41_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/4/9/ed875b6e378ddbb3628aae463b32c243.jpg","text":"TemporaryFile(/tmp/multipartBody2284078667728371860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211493552,"filename":"image_09042025_15_41_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/4/9/3a73a5ebb30ccc3149c0c5276af04ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2933601194872545611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211493552,"filename":"image_09042025_15_41_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ecef12ed17e7d2346194a6d58a6eb847.jpg","text":"TemporaryFile(/tmp/multipartBody5338508352942023460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211493552,"filename":"image_09042025_15_41_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/4/9/3c84ae40c1ee93d726af0078018ff8df.jpg","text":"TemporaryFile(/tmp/multipartBody786988200471534919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211493552,"filename":"image_09042025_15_41_25_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350812126","file1":"1350812122","file0":"1350812119","file4":"1350812193","file5":"1350812205","file3":"1350812179"},"map_files_photo_id_array":[{"photo_id":"1350812205","filename":"file5"},{"photo_id":"1350812126","filename":"file2"},{"photo_id":"1350812193","filename":"file4"},{"photo_id":"1350812122","filename":"file1"},{"photo_id":"1350812119","filename":"file0"},{"photo_id":"1350812179","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350812179":["hashtag1","hashtag2"]},{"1350812122":["hashtag1","hashtag2"]},{"1350812193":["hashtag1","hashtag2"]},{"1350812119":["hashtag1","hashtag2"]},{"1350812205":["hashtag1","hashtag2"]},{"1350812126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350812179, 1350812122, 1350812193, 1350812119, 1350812205, 1350812126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23327565193176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:11:32.384467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/41/image_09042025_15_42_05_9344.jpg', '/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_15_10353.jpg', '/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_25_10365.jpg', '/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_35_9352.jpg', '/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_45_10335.jpg', '/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_55_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/41/image_09042025_15_42_05_9344.jpg
/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_15_10353.jpg
/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_25_10365.jpg
/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_35_9352.jpg
/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_45_10335.jpg
/home/pi/Desktop/images/09042025/15/42/image_09042025_15_42_55_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":["1350812359","1350812350","1350812353","1350812347","1350812343","1350812282"],"photo_ids_order":["1350812282","1350812343","1350812347","1350812350","1350812353","1350812359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/658969eb0424af476250375769062486.jpg","text":"TemporaryFile(/tmp/multipartBody1064627074179837037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211552919,"filename":"image_09042025_15_42_55_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9efe5d5d958ff874247cca8853210055.jpg","text":"TemporaryFile(/tmp/multipartBody3122072052966039196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211552919,"filename":"image_09042025_15_42_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1429b3fa3f13567fa3d5080ef0500511.jpg","text":"TemporaryFile(/tmp/multipartBody5132467294931189501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211552919,"filename":"image_09042025_15_42_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/4/9/7ebdfa914a10d057b468c73de8fdfb95.jpg","text":"TemporaryFile(/tmp/multipartBody8193857198649757035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211552919,"filename":"image_09042025_15_42_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/4/9/08d6e3dad78f2ebed2a6e905e588b8c5.jpg","text":"TemporaryFile(/tmp/multipartBody8474660123694704545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211552919,"filename":"image_09042025_15_42_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/4/9/8cb2d7da208b85421d0c80ca6cf7b22d.jpg","text":"TemporaryFile(/tmp/multipartBody6974582401249358557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211552919,"filename":"image_09042025_15_42_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350812347","file1":"1350812343","file0":"1350812282","file4":"1350812353","file5":"1350812359","file3":"1350812350"},"map_files_photo_id_array":[{"photo_id":"1350812359","filename":"file5"},{"photo_id":"1350812347","filename":"file2"},{"photo_id":"1350812353","filename":"file4"},{"photo_id":"1350812343","filename":"file1"},{"photo_id":"1350812282","filename":"file0"},{"photo_id":"1350812350","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350812359":["hashtag1","hashtag2"]},{"1350812350":["hashtag1","hashtag2"]},{"1350812353":["hashtag1","hashtag2"]},{"1350812347":["hashtag1","hashtag2"]},{"1350812343":["hashtag1","hashtag2"]},{"1350812282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350812359, 1350812350, 1350812353, 1350812347, 1350812343, 1350812282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45794439315796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:12:32.543894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/42/image_09042025_15_43_05_9398.jpg', '/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_15_10390.jpg', '/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_24_9354.jpg', '/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_35_10354.jpg', '/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_45_10410.jpg', '/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_55_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/42/image_09042025_15_43_05_9398.jpg
/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_15_10390.jpg
/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_24_9354.jpg
/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_35_10354.jpg
/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_45_10410.jpg
/home/pi/Desktop/images/09042025/15/43/image_09042025_15_43_55_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":["1350812554","1350812548","1350812565","1350812559","1350812568","1350812552"],"photo_ids_order":["1350812548","1350812552","1350812554","1350812559","1350812565","1350812568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/74b996b9d4b6c2378f66841c6d7243c4.jpg","text":"TemporaryFile(/tmp/multipartBody1921643522797865580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211613082,"filename":"image_09042025_15_43_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/4/9/f999f3c91d62e1d6b23a6d5554517809.jpg","text":"TemporaryFile(/tmp/multipartBody801615811351738994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211613082,"filename":"image_09042025_15_43_05_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fb8169ad8e38a52c29286c716e40e4fc.jpg","text":"TemporaryFile(/tmp/multipartBody5919651034211233482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211613082,"filename":"image_09042025_15_43_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/4/9/c56efdf9b3153a34cdb37670a9a5b8c7.jpg","text":"TemporaryFile(/tmp/multipartBody5090429294805311198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211613082,"filename":"image_09042025_15_43_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f7ab8d58a699e8a0be84db5d6d2a81a4.jpg","text":"TemporaryFile(/tmp/multipartBody6951606731119117740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211613082,"filename":"image_09042025_15_43_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/4/9/279d371b9e98797a46ec021201fe95ce.jpg","text":"TemporaryFile(/tmp/multipartBody4076866753822488811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211613082,"filename":"image_09042025_15_43_15_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350812554","file1":"1350812552","file0":"1350812548","file4":"1350812565","file5":"1350812568","file3":"1350812559"},"map_files_photo_id_array":[{"photo_id":"1350812568","filename":"file5"},{"photo_id":"1350812554","filename":"file2"},{"photo_id":"1350812565","filename":"file4"},{"photo_id":"1350812552","filename":"file1"},{"photo_id":"1350812548","filename":"file0"},{"photo_id":"1350812559","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350812554":["hashtag1","hashtag2"]},{"1350812548":["hashtag1","hashtag2"]},{"1350812565":["hashtag1","hashtag2"]},{"1350812559":["hashtag1","hashtag2"]},{"1350812568":["hashtag1","hashtag2"]},{"1350812552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350812554, 1350812548, 1350812565, 1350812559, 1350812568, 1350812552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.357388496398926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:13:32.860748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/43/image_09042025_15_44_05_10361.jpg', '/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_15_10404.jpg', '/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_25_9337.jpg', '/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_35_10417.jpg', '/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_45_9421.jpg', '/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_55_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/43/image_09042025_15_44_05_10361.jpg
/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_15_10404.jpg
/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_25_9337.jpg
/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_35_10417.jpg
/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_45_9421.jpg
/home/pi/Desktop/images/09042025/15/44/image_09042025_15_44_55_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350812632","1350812643","1350812640","1350812622","1350812636","1350812627"],"photo_ids_order":["1350812622","1350812627","1350812632","1350812636","1350812640","1350812643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6c00c50657733d3f935afc325abdb79.jpg","text":"TemporaryFile(/tmp/multipartBody6990283924510343613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211673332,"filename":"image_09042025_15_44_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11e86c57a48960a8b42469ffc9d21f45.jpg","text":"TemporaryFile(/tmp/multipartBody1317833572540388164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211673332,"filename":"image_09042025_15_44_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/4/9/ac732cbe11859a0587afb02825f22038.jpg","text":"TemporaryFile(/tmp/multipartBody1958845646698476751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211673332,"filename":"image_09042025_15_44_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/4/9/fc8bf5b203e639c93f02bad1fb28fa58.jpg","text":"TemporaryFile(/tmp/multipartBody743284633671288147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211673332,"filename":"image_09042025_15_44_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bef1ee936fb34c69faa60112a0dad608.jpg","text":"TemporaryFile(/tmp/multipartBody3145679480552352335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211673332,"filename":"image_09042025_15_44_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/4/9/356a60387755563f8d19cbd4db7b408e.jpg","text":"TemporaryFile(/tmp/multipartBody680705167048512207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211673332,"filename":"image_09042025_15_44_15_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350812632","file1":"1350812627","file0":"1350812622","file4":"1350812640","file5":"1350812643","file3":"1350812636"},"map_files_photo_id_array":[{"photo_id":"1350812643","filename":"file5"},{"photo_id":"1350812632","filename":"file2"},{"photo_id":"1350812640","filename":"file4"},{"photo_id":"1350812627","filename":"file1"},{"photo_id":"1350812622","filename":"file0"},{"photo_id":"1350812636","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350812632":["hashtag1","hashtag2"]},{"1350812643":["hashtag1","hashtag2"]},{"1350812640":["hashtag1","hashtag2"]},{"1350812622":["hashtag1","hashtag2"]},{"1350812636":["hashtag1","hashtag2"]},{"1350812627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350812632, 1350812643, 1350812640, 1350812622, 1350812636, 1350812627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2063364982605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:14:33.067662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/44/image_09042025_15_45_05_10350.jpg', '/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_15_9346.jpg', '/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_25_10509.jpg', '/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_35_9416.jpg', '/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_45_10358.jpg', '/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_55_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/44/image_09042025_15_45_05_10350.jpg
/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_15_9346.jpg
/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_25_10509.jpg
/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_35_9416.jpg
/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_45_10358.jpg
/home/pi/Desktop/images/09042025/15/45/image_09042025_15_45_55_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":["1350812695","1350812701","1350812710","1350812706","1350812690","1350812684"],"photo_ids_order":["1350812684","1350812690","1350812695","1350812701","1350812706","1350812710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ab5a48aa585e75b841d4b1373078cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5057382791982219591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211733543,"filename":"image_09042025_15_45_25_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85ed629db408683d77bb89d9f8a70ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2060472681051536169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211733543,"filename":"image_09042025_15_45_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/4/9/b51ce79e7885cb1deafda7145bf6165d.jpg","text":"TemporaryFile(/tmp/multipartBody265957880026604199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211733543,"filename":"image_09042025_15_45_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/4/9/c52b1702705725e483ad99367624d6e2.jpg","text":"TemporaryFile(/tmp/multipartBody4283789686140896929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211733543,"filename":"image_09042025_15_45_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/4/9/6bec06493133153b34ace43d1b27d130.jpg","text":"TemporaryFile(/tmp/multipartBody2038230933164774848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211733543,"filename":"image_09042025_15_45_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/4/9/a738431e2cf39d23273a45af3422f256.jpg","text":"TemporaryFile(/tmp/multipartBody4446511371363419056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211733543,"filename":"image_09042025_15_45_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350812695","file1":"1350812690","file0":"1350812684","file4":"1350812706","file5":"1350812710","file3":"1350812701"},"map_files_photo_id_array":[{"photo_id":"1350812710","filename":"file5"},{"photo_id":"1350812695","filename":"file2"},{"photo_id":"1350812706","filename":"file4"},{"photo_id":"1350812690","filename":"file1"},{"photo_id":"1350812684","filename":"file0"},{"photo_id":"1350812701","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350812695":["hashtag1","hashtag2"]},{"1350812701":["hashtag1","hashtag2"]},{"1350812710":["hashtag1","hashtag2"]},{"1350812706":["hashtag1","hashtag2"]},{"1350812690":["hashtag1","hashtag2"]},{"1350812684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350812695, 1350812701, 1350812710, 1350812706, 1350812690, 1350812684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.770094871520996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:15:32.280247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/45/image_09042025_15_46_05_9350.jpg', '/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_15_10358.jpg', '/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_24_9410.jpg', '/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_35_10360.jpg', '/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_45_10405.jpg', '/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_55_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/45/image_09042025_15_46_05_9350.jpg
/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_15_10358.jpg
/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_24_9410.jpg
/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_35_10360.jpg
/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_45_10405.jpg
/home/pi/Desktop/images/09042025/15/46/image_09042025_15_46_55_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":["1350812884","1350812911","1350812934","1350812897","1350812939","1350812893"],"photo_ids_order":["1350812884","1350812893","1350812897","1350812911","1350812934","1350812939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/246bee5c94fdd3bc563421774e85ee1b.jpg","text":"TemporaryFile(/tmp/multipartBody1796000295339343598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211792737,"filename":"image_09042025_15_46_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dba6c8a8f0b3e530555ed63763cace23.jpg","text":"TemporaryFile(/tmp/multipartBody1438235957018322710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211792737,"filename":"image_09042025_15_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/4/9/ce687aee9bef451c5d60be6687a1251e.jpg","text":"TemporaryFile(/tmp/multipartBody1157795566366093653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211792737,"filename":"image_09042025_15_46_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/4/9/6d791aa96d1f73a1aed538b5e269a67d.jpg","text":"TemporaryFile(/tmp/multipartBody4015457250513910175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211792737,"filename":"image_09042025_15_46_24_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31dbe7cc9b208d8c1f534cf330248993.jpg","text":"TemporaryFile(/tmp/multipartBody9218331421320391629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211792737,"filename":"image_09042025_15_46_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/4/9/f4b1aaa5ba6f419ec976bb3a4b368bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6693321870177893458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211792737,"filename":"image_09042025_15_46_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350812897","file1":"1350812893","file0":"1350812884","file4":"1350812934","file5":"1350812939","file3":"1350812911"},"map_files_photo_id_array":[{"photo_id":"1350812939","filename":"file5"},{"photo_id":"1350812897","filename":"file2"},{"photo_id":"1350812934","filename":"file4"},{"photo_id":"1350812893","filename":"file1"},{"photo_id":"1350812884","filename":"file0"},{"photo_id":"1350812911","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350812884":["hashtag1","hashtag2"]},{"1350812911":["hashtag1","hashtag2"]},{"1350812934":["hashtag1","hashtag2"]},{"1350812897":["hashtag1","hashtag2"]},{"1350812939":["hashtag1","hashtag2"]},{"1350812893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350812884, 1350812911, 1350812934, 1350812897, 1350812939, 1350812893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39915895462036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:16:32.553300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/46/image_09042025_15_47_05_10395.jpg', '/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_15_10410.jpg', '/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_25_9442.jpg', '/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_35_10359.jpg', '/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_45_9335.jpg', '/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_55_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/46/image_09042025_15_47_05_10395.jpg
/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_15_10410.jpg
/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_25_9442.jpg
/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_35_10359.jpg
/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_45_9335.jpg
/home/pi/Desktop/images/09042025/15/47/image_09042025_15_47_55_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":["1350813124","1350813100","1350813072","1350813091","1350813104","1350813196"],"photo_ids_order":["1350813072","1350813091","1350813100","1350813104","1350813124","1350813196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/697d25f8afbba15a858fe6861a2ecdc7.jpg","text":"TemporaryFile(/tmp/multipartBody3634190262735541849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211853005,"filename":"image_09042025_15_47_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/4/9/56c0391faa2f2a87d6d8d4adc96bae94.jpg","text":"TemporaryFile(/tmp/multipartBody8185374248470677488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211853005,"filename":"image_09042025_15_47_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/4/9/1fee7c789971fba678598f3c14d6ceb0.jpg","text":"TemporaryFile(/tmp/multipartBody3906512369584225579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211853005,"filename":"image_09042025_15_47_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/4/9/43291a37bc978329669c1947ffba732d.jpg","text":"TemporaryFile(/tmp/multipartBody7444271495800398829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211853005,"filename":"image_09042025_15_47_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/4/9/45fee9b0f48dce4d59f066aa778144cd.jpg","text":"TemporaryFile(/tmp/multipartBody8436108158739427319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211853005,"filename":"image_09042025_15_47_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39120a3986eda63d97731e50452e4f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5771106353874879579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211853005,"filename":"image_09042025_15_47_55_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350813100","file1":"1350813091","file0":"1350813072","file4":"1350813124","file5":"1350813196","file3":"1350813104"},"map_files_photo_id_array":[{"photo_id":"1350813196","filename":"file5"},{"photo_id":"1350813100","filename":"file2"},{"photo_id":"1350813124","filename":"file4"},{"photo_id":"1350813091","filename":"file1"},{"photo_id":"1350813072","filename":"file0"},{"photo_id":"1350813104","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350813124":["hashtag1","hashtag2"]},{"1350813100":["hashtag1","hashtag2"]},{"1350813072":["hashtag1","hashtag2"]},{"1350813091":["hashtag1","hashtag2"]},{"1350813104":["hashtag1","hashtag2"]},{"1350813196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350813124, 1350813100, 1350813072, 1350813091, 1350813104, 1350813196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.302690029144287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:17:32.717398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/47/image_09042025_15_48_05_10432.jpg', '/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_15_9322.jpg', '/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_25_10355.jpg', '/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_34_9355.jpg', '/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_45_10442.jpg', '/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_55_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/47/image_09042025_15_48_05_10432.jpg
/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_15_9322.jpg
/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_25_10355.jpg
/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_34_9355.jpg
/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_45_10442.jpg
/home/pi/Desktop/images/09042025/15/48/image_09042025_15_48_55_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350813409","1350813358","1350813390","1350813354","1350813377","1350813428"],"photo_ids_order":["1350813354","1350813358","1350813377","1350813390","1350813409","1350813428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e60b5377ad0930d0f599038f48c0414.jpg","text":"TemporaryFile(/tmp/multipartBody3327344782349418075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211913174,"filename":"image_09042025_15_48_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4619e1f0d78cd9f5f2db79408f5d3a3a.jpg","text":"TemporaryFile(/tmp/multipartBody4446867335456735830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211913174,"filename":"image_09042025_15_48_15_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b124089a6322574ae596bbf9a3855b32.jpg","text":"TemporaryFile(/tmp/multipartBody2704935530177976271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211913174,"filename":"image_09042025_15_48_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/4/9/e5df749c50a1a06fef05294458ee2cae.jpg","text":"TemporaryFile(/tmp/multipartBody4799705347086263914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211913174,"filename":"image_09042025_15_48_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/4/9/0958c34a2540cc7612c534bea96da041.jpg","text":"TemporaryFile(/tmp/multipartBody8047015913676053080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211913174,"filename":"image_09042025_15_48_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/4/9/d030f8cf84f1148c5c0c61736992ad73.jpg","text":"TemporaryFile(/tmp/multipartBody2667253907008599398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211913174,"filename":"image_09042025_15_48_55_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350813377","file1":"1350813358","file0":"1350813354","file4":"1350813409","file5":"1350813428","file3":"1350813390"},"map_files_photo_id_array":[{"photo_id":"1350813428","filename":"file5"},{"photo_id":"1350813377","filename":"file2"},{"photo_id":"1350813409","filename":"file4"},{"photo_id":"1350813358","filename":"file1"},{"photo_id":"1350813354","filename":"file0"},{"photo_id":"1350813390","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350813409":["hashtag1","hashtag2"]},{"1350813358":["hashtag1","hashtag2"]},{"1350813390":["hashtag1","hashtag2"]},{"1350813354":["hashtag1","hashtag2"]},{"1350813377":["hashtag1","hashtag2"]},{"1350813428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350813409, 1350813358, 1350813390, 1350813354, 1350813377, 1350813428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.064316511154175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:18:32.923285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/48/image_09042025_15_49_05_9373.jpg', '/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_15_10345.jpg', '/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_24_9400.jpg', '/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_35_10339.jpg', '/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_45_10401.jpg', '/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_54_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/48/image_09042025_15_49_05_9373.jpg
/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_15_10345.jpg
/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_24_9400.jpg
/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_35_10339.jpg
/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_45_10401.jpg
/home/pi/Desktop/images/09042025/15/49/image_09042025_15_49_54_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350813640","1350813535","1350813616","1350813578","1350813512","1350813481"],"photo_ids_order":["1350813481","1350813512","1350813535","1350813578","1350813616","1350813640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cbf6a5eed4ec5c06043c85158854dfeb.jpg","text":"TemporaryFile(/tmp/multipartBody2994596909551825816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211973390,"filename":"image_09042025_15_49_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/4/9/c6d1f4ff8cccdeee92509afaa27964b2.jpg","text":"TemporaryFile(/tmp/multipartBody7943380215777806749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211973390,"filename":"image_09042025_15_49_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/4/9/54b15319ef990732c6f7191284f73adf.jpg","text":"TemporaryFile(/tmp/multipartBody854501714514377759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211973390,"filename":"image_09042025_15_49_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/4/9/4dd8d368b8cb1439c74a041e21718e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1812799147103950021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211973390,"filename":"image_09042025_15_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/4/9/a2691f9f5019a9d17114af83edc2f09f.jpg","text":"TemporaryFile(/tmp/multipartBody8725158568098483790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211973390,"filename":"image_09042025_15_49_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/4/9/99e874809cc3d95c3c9c55e4f6e0a407.jpg","text":"TemporaryFile(/tmp/multipartBody5991607584514491037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744211973390,"filename":"image_09042025_15_49_05_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350813535","file1":"1350813512","file0":"1350813481","file4":"1350813616","file5":"1350813640","file3":"1350813578"},"map_files_photo_id_array":[{"photo_id":"1350813640","filename":"file5"},{"photo_id":"1350813535","filename":"file2"},{"photo_id":"1350813616","filename":"file4"},{"photo_id":"1350813512","filename":"file1"},{"photo_id":"1350813481","filename":"file0"},{"photo_id":"1350813578","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350813640":["hashtag1","hashtag2"]},{"1350813535":["hashtag1","hashtag2"]},{"1350813616":["hashtag1","hashtag2"]},{"1350813578":["hashtag1","hashtag2"]},{"1350813512":["hashtag1","hashtag2"]},{"1350813481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350813640, 1350813535, 1350813616, 1350813578, 1350813512, 1350813481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.306724548339844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:19:33.271998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/50/image_09042025_15_50_15_10410.jpg', '/home/pi/Desktop/images/09042025/15/50/image_09042025_15_50_25_9363.jpg', '/home/pi/Desktop/images/09042025/15/50/image_09042025_15_50_35_10342.jpg', '/home/pi/Desktop/images/09042025/15/50/image_09042025_15_50_45_10429.jpg', '/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_14_9316.jpg', '/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_25_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/50/image_09042025_15_50_15_10410.jpg
/home/pi/Desktop/images/09042025/15/50/image_09042025_15_50_25_9363.jpg
/home/pi/Desktop/images/09042025/15/50/image_09042025_15_50_35_10342.jpg
/home/pi/Desktop/images/09042025/15/50/image_09042025_15_50_45_10429.jpg
/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_14_9316.jpg
/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_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":["1350813738","1350813764","1350813746","1350813755","1350813742","1350813751"],"photo_ids_order":["1350813738","1350813742","1350813746","1350813751","1350813755","1350813764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6a927d22a50d100b7b88eb542b0bab9.jpg","text":"TemporaryFile(/tmp/multipartBody4047572227256274119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212033742,"filename":"image_09042025_15_50_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/4/9/e47e03fa4651078a2ed4c0c9367fe0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5567468818626361786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212033742,"filename":"image_09042025_15_51_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/4/9/cacda872ddc3b48d4948d9cee435ae3f.jpg","text":"TemporaryFile(/tmp/multipartBody7898596512080963870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212033742,"filename":"image_09042025_15_50_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/4/9/a36edd9245e9e79978d6fcb05592d96e.jpg","text":"TemporaryFile(/tmp/multipartBody7797056336177861749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212033742,"filename":"image_09042025_15_51_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/4/9/259309e502217d904eb0848469a0f397.jpg","text":"TemporaryFile(/tmp/multipartBody6988627521156990199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212033742,"filename":"image_09042025_15_50_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/4/9/d7651de67ee14364b7fda4c0e2c8267b.jpg","text":"TemporaryFile(/tmp/multipartBody4475530233767784361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212033742,"filename":"image_09042025_15_50_45_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350813746","file1":"1350813742","file0":"1350813738","file4":"1350813755","file5":"1350813764","file3":"1350813751"},"map_files_photo_id_array":[{"photo_id":"1350813764","filename":"file5"},{"photo_id":"1350813746","filename":"file2"},{"photo_id":"1350813755","filename":"file4"},{"photo_id":"1350813742","filename":"file1"},{"photo_id":"1350813738","filename":"file0"},{"photo_id":"1350813751","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350813738":["hashtag1","hashtag2"]},{"1350813764":["hashtag1","hashtag2"]},{"1350813746":["hashtag1","hashtag2"]},{"1350813755":["hashtag1","hashtag2"]},{"1350813742":["hashtag1","hashtag2"]},{"1350813751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350813738, 1350813764, 1350813746, 1350813755, 1350813742, 1350813751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.225749492645264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:20:32.281061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_35_10454.jpg', '/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_45_9348.jpg', '/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_55_10342.jpg', '/home/pi/Desktop/images/09042025/15/51/image_09042025_15_52_05_10378.jpg', '/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_15_9342.jpg', '/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_25_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_35_10454.jpg
/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_45_9348.jpg
/home/pi/Desktop/images/09042025/15/51/image_09042025_15_51_55_10342.jpg
/home/pi/Desktop/images/09042025/15/51/image_09042025_15_52_05_10378.jpg
/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_15_9342.jpg
/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_25_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":["1350813832","1350813852","1350813825","1350813842","1350813818","1350813838"],"photo_ids_order":["1350813818","1350813825","1350813832","1350813838","1350813842","1350813852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d5574c875fe7972ad81a86f83a8357a4.jpg","text":"TemporaryFile(/tmp/multipartBody2568381330193202409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212092748,"filename":"image_09042025_15_51_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/4/9/f4889f5c289556096644f2966cb0dad4.jpg","text":"TemporaryFile(/tmp/multipartBody2421360427175460638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212092748,"filename":"image_09042025_15_52_25_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/704274e3abec393599906b0d1d650af9.jpg","text":"TemporaryFile(/tmp/multipartBody3669009677650751261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212092748,"filename":"image_09042025_15_51_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5325af2712727c12c09b2727263bb3e5.jpg","text":"TemporaryFile(/tmp/multipartBody3661684080996374820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212092748,"filename":"image_09042025_15_52_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/4/9/6485e51cd10a147d369796b64c97e972.jpg","text":"TemporaryFile(/tmp/multipartBody5256396622988922016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212092748,"filename":"image_09042025_15_51_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/4/9/3c7ae093bdc3d4c5b574dda8c111ae22.jpg","text":"TemporaryFile(/tmp/multipartBody2948512685485540739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212092748,"filename":"image_09042025_15_52_05_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350813832","file1":"1350813825","file0":"1350813818","file4":"1350813842","file5":"1350813852","file3":"1350813838"},"map_files_photo_id_array":[{"photo_id":"1350813852","filename":"file5"},{"photo_id":"1350813832","filename":"file2"},{"photo_id":"1350813842","filename":"file4"},{"photo_id":"1350813825","filename":"file1"},{"photo_id":"1350813818","filename":"file0"},{"photo_id":"1350813838","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350813832":["hashtag1","hashtag2"]},{"1350813852":["hashtag1","hashtag2"]},{"1350813825":["hashtag1","hashtag2"]},{"1350813842":["hashtag1","hashtag2"]},{"1350813818":["hashtag1","hashtag2"]},{"1350813838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350813832, 1350813852, 1350813825, 1350813842, 1350813818, 1350813838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26403737068176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:21:32.692065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_34_9355.jpg', '/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_45_10352.jpg', '/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_55_10472.jpg', '/home/pi/Desktop/images/09042025/15/52/image_09042025_15_53_05_9339.jpg', '/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_15_10350.jpg', '/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_34_9355.jpg
/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_45_10352.jpg
/home/pi/Desktop/images/09042025/15/52/image_09042025_15_52_55_10472.jpg
/home/pi/Desktop/images/09042025/15/52/image_09042025_15_53_05_9339.jpg
/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_15_10350.jpg
/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_25_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":["1350813907","1350813974","1350813912","1350813971","1350813926","1350813940"],"photo_ids_order":["1350813907","1350813912","1350813926","1350813940","1350813971","1350813974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b6260c845898f2311f40cec48e07ef39.jpg","text":"TemporaryFile(/tmp/multipartBody3049545723018828210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212153153,"filename":"image_09042025_15_52_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/4/9/70f4ac6df96239c4c82b779bb4b465e9.jpg","text":"TemporaryFile(/tmp/multipartBody2704491377651158874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212153153,"filename":"image_09042025_15_53_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b789de53e581476c00d8683dd003cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8559653731552323604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212153153,"filename":"image_09042025_15_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/4/9/7561b85469406c95241f4d3b909e04bb.jpg","text":"TemporaryFile(/tmp/multipartBody5033621924550384902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212153153,"filename":"image_09042025_15_53_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/4/9/f20a7cb095eed399060fc8e4aa608a4f.jpg","text":"TemporaryFile(/tmp/multipartBody8856285299922089979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212153153,"filename":"image_09042025_15_52_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/4/9/ce743ac85396d436ab411b256094d0b8.jpg","text":"TemporaryFile(/tmp/multipartBody6968876962431276140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212153153,"filename":"image_09042025_15_53_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350813926","file1":"1350813912","file0":"1350813907","file4":"1350813971","file5":"1350813974","file3":"1350813940"},"map_files_photo_id_array":[{"photo_id":"1350813974","filename":"file5"},{"photo_id":"1350813926","filename":"file2"},{"photo_id":"1350813971","filename":"file4"},{"photo_id":"1350813912","filename":"file1"},{"photo_id":"1350813907","filename":"file0"},{"photo_id":"1350813940","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350813907":["hashtag1","hashtag2"]},{"1350813974":["hashtag1","hashtag2"]},{"1350813912":["hashtag1","hashtag2"]},{"1350813971":["hashtag1","hashtag2"]},{"1350813926":["hashtag1","hashtag2"]},{"1350813940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350813907, 1350813974, 1350813912, 1350813971, 1350813926, 1350813940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.473798751831055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:22:32.824148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_35_9343.jpg', '/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_45_10442.jpg', '/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_54_9350.jpg', '/home/pi/Desktop/images/09042025/15/53/image_09042025_15_54_05_10384.jpg', '/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_15_10419.jpg', '/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_25_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_35_9343.jpg
/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_45_10442.jpg
/home/pi/Desktop/images/09042025/15/53/image_09042025_15_53_54_9350.jpg
/home/pi/Desktop/images/09042025/15/53/image_09042025_15_54_05_10384.jpg
/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_15_10419.jpg
/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_25_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":["1350814098","1350814074","1350814119","1350814087","1350814081","1350814141"],"photo_ids_order":["1350814074","1350814081","1350814087","1350814098","1350814119","1350814141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd05febd01bc3f2c326e321327eed9aa.jpg","text":"TemporaryFile(/tmp/multipartBody3663983136034711530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212213279,"filename":"image_09042025_15_54_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/4/9/e9e5b92bf032bd1c01f950ef082f8f8e.jpg","text":"TemporaryFile(/tmp/multipartBody5636116999919906526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212213279,"filename":"image_09042025_15_53_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09fd7f9267300533a4f22d22825560ef.jpg","text":"TemporaryFile(/tmp/multipartBody8737073725281000062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212213279,"filename":"image_09042025_15_54_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/4/9/08c6d3ef98253fcb568518907ca443b2.jpg","text":"TemporaryFile(/tmp/multipartBody1125600682464454608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212213279,"filename":"image_09042025_15_53_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/4/9/310409212bc42951e25885c336d3ae03.jpg","text":"TemporaryFile(/tmp/multipartBody8704963700310776771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212213279,"filename":"image_09042025_15_53_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0045b44ee4489fb167eb9e5af1afa5b9.jpg","text":"TemporaryFile(/tmp/multipartBody6208655037491573723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212213279,"filename":"image_09042025_15_54_25_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350814087","file1":"1350814081","file0":"1350814074","file4":"1350814119","file5":"1350814141","file3":"1350814098"},"map_files_photo_id_array":[{"photo_id":"1350814141","filename":"file5"},{"photo_id":"1350814087","filename":"file2"},{"photo_id":"1350814119","filename":"file4"},{"photo_id":"1350814081","filename":"file1"},{"photo_id":"1350814074","filename":"file0"},{"photo_id":"1350814098","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350814098":["hashtag1","hashtag2"]},{"1350814074":["hashtag1","hashtag2"]},{"1350814119":["hashtag1","hashtag2"]},{"1350814087":["hashtag1","hashtag2"]},{"1350814081":["hashtag1","hashtag2"]},{"1350814141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350814098, 1350814074, 1350814119, 1350814087, 1350814081, 1350814141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75865983963013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:23:33.115584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_35_10410.jpg', '/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_45_9352.jpg', '/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_55_10364.jpg', '/home/pi/Desktop/images/09042025/15/54/image_09042025_15_55_05_10403.jpg', '/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_15_9411.jpg', '/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_25_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_35_10410.jpg
/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_45_9352.jpg
/home/pi/Desktop/images/09042025/15/54/image_09042025_15_54_55_10364.jpg
/home/pi/Desktop/images/09042025/15/54/image_09042025_15_55_05_10403.jpg
/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_15_9411.jpg
/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_25_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":["1350814191","1350814206","1350814178","1350814195","1350814198","1350814183"],"photo_ids_order":["1350814178","1350814183","1350814191","1350814195","1350814198","1350814206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d470b4e6e3f60254c2d556adf8f9f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8196881459483069912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212273571,"filename":"image_09042025_15_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/4/9/4ac409cf000e0f42fa576fc4e0eb9c55.jpg","text":"TemporaryFile(/tmp/multipartBody6995628139822273531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212273571,"filename":"image_09042025_15_55_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/4/9/2bbed3e96f9e35d79cdd03eb5aa2ef7b.jpg","text":"TemporaryFile(/tmp/multipartBody3587883378734344585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212273571,"filename":"image_09042025_15_54_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5125719bd2e94ee2dfc95bf755a5128.jpg","text":"TemporaryFile(/tmp/multipartBody8555387035703332165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212273571,"filename":"image_09042025_15_55_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/100a68a7a8a3d5a7729a09dc4969b261.jpg","text":"TemporaryFile(/tmp/multipartBody7268861202026599567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212273571,"filename":"image_09042025_15_55_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1310c9602dd17fd989d589b2b9f484e4.jpg","text":"TemporaryFile(/tmp/multipartBody1461794960315177459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212273571,"filename":"image_09042025_15_54_45_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350814191","file1":"1350814183","file0":"1350814178","file4":"1350814198","file5":"1350814206","file3":"1350814195"},"map_files_photo_id_array":[{"photo_id":"1350814206","filename":"file5"},{"photo_id":"1350814191","filename":"file2"},{"photo_id":"1350814198","filename":"file4"},{"photo_id":"1350814183","filename":"file1"},{"photo_id":"1350814178","filename":"file0"},{"photo_id":"1350814195","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350814191":["hashtag1","hashtag2"]},{"1350814206":["hashtag1","hashtag2"]},{"1350814178":["hashtag1","hashtag2"]},{"1350814195":["hashtag1","hashtag2"]},{"1350814198":["hashtag1","hashtag2"]},{"1350814183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350814191, 1350814206, 1350814178, 1350814195, 1350814198, 1350814183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4637246131897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:24:32.201477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_34_9343.jpg', '/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_45_10343.jpg', '/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_55_10434.jpg', '/home/pi/Desktop/images/09042025/15/55/image_09042025_15_56_05_9389.jpg', '/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_15_10328.jpg', '/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_25_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_34_9343.jpg
/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_45_10343.jpg
/home/pi/Desktop/images/09042025/15/55/image_09042025_15_55_55_10434.jpg
/home/pi/Desktop/images/09042025/15/55/image_09042025_15_56_05_9389.jpg
/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_15_10328.jpg
/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_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":["1350814260","1350814266","1350814248","1350814252","1350814246","1350814243"],"photo_ids_order":["1350814243","1350814246","1350814248","1350814252","1350814260","1350814266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7b441acb10f69c93f668d91ccbff22c.jpg","text":"TemporaryFile(/tmp/multipartBody2694396928495035024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212332673,"filename":"image_09042025_15_56_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/4/9/d76a3f1625f3c6564fc3aced334ced50.jpg","text":"TemporaryFile(/tmp/multipartBody9093574790649228441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212332673,"filename":"image_09042025_15_56_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/4/9/f030ea4fb83e5709d3a2826e3423a4c6.jpg","text":"TemporaryFile(/tmp/multipartBody6196137049080551319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212332673,"filename":"image_09042025_15_55_55_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee7dbf59b862178001a5d4d69940a6e4.jpg","text":"TemporaryFile(/tmp/multipartBody9119242750139660131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212332673,"filename":"image_09042025_15_56_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/4/9/96646f174915e8616a2db153528c8f9b.jpg","text":"TemporaryFile(/tmp/multipartBody168758656466680529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212332673,"filename":"image_09042025_15_55_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/4/9/5b2647a55b4c690aa1b2e7a39c05e5aa.jpg","text":"TemporaryFile(/tmp/multipartBody4878218109954850999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212332673,"filename":"image_09042025_15_55_34_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350814248","file1":"1350814246","file0":"1350814243","file4":"1350814260","file5":"1350814266","file3":"1350814252"},"map_files_photo_id_array":[{"photo_id":"1350814266","filename":"file5"},{"photo_id":"1350814248","filename":"file2"},{"photo_id":"1350814260","filename":"file4"},{"photo_id":"1350814246","filename":"file1"},{"photo_id":"1350814243","filename":"file0"},{"photo_id":"1350814252","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350814260":["hashtag1","hashtag2"]},{"1350814266":["hashtag1","hashtag2"]},{"1350814248":["hashtag1","hashtag2"]},{"1350814252":["hashtag1","hashtag2"]},{"1350814246":["hashtag1","hashtag2"]},{"1350814243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350814260, 1350814266, 1350814248, 1350814252, 1350814246, 1350814243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27627348899841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:25:32.427770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_35_9363.jpg', '/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_45_10402.jpg', '/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_54_9353.jpg', '/home/pi/Desktop/images/09042025/15/56/image_09042025_15_57_05_10388.jpg', '/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_15_10404.jpg', '/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_35_9363.jpg
/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_45_10402.jpg
/home/pi/Desktop/images/09042025/15/56/image_09042025_15_56_54_9353.jpg
/home/pi/Desktop/images/09042025/15/56/image_09042025_15_57_05_10388.jpg
/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_15_10404.jpg
/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_25_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":["1350814557","1350814547","1350814529","1350814495","1350814510","1350814468"],"photo_ids_order":["1350814468","1350814495","1350814510","1350814529","1350814547","1350814557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c7e0705f2de04a4e8fe4bf4c303a0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3338303065446161879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212392883,"filename":"image_09042025_15_57_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/4/9/15cfd969c56f9241a2f76508bf668de2.jpg","text":"TemporaryFile(/tmp/multipartBody1720175585497392661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212392883,"filename":"image_09042025_15_57_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/4/9/40a89ff333fd949e0f3485e9ab10bb6d.jpg","text":"TemporaryFile(/tmp/multipartBody7710988298640254783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212392883,"filename":"image_09042025_15_57_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/4/9/7a885b0a36fc13261ab672ffbe36b5dd.jpg","text":"TemporaryFile(/tmp/multipartBody6503439390756908119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212392883,"filename":"image_09042025_15_56_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a27507e64ffc0857aa3b9be4a9fec55.jpg","text":"TemporaryFile(/tmp/multipartBody4521199688412434137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212392883,"filename":"image_09042025_15_56_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/4/9/b3bb281f8fdef11dc3777660ced8f978.jpg","text":"TemporaryFile(/tmp/multipartBody4722400314036900716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212392883,"filename":"image_09042025_15_56_35_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350814510","file1":"1350814495","file0":"1350814468","file4":"1350814547","file5":"1350814557","file3":"1350814529"},"map_files_photo_id_array":[{"photo_id":"1350814557","filename":"file5"},{"photo_id":"1350814510","filename":"file2"},{"photo_id":"1350814547","filename":"file4"},{"photo_id":"1350814495","filename":"file1"},{"photo_id":"1350814468","filename":"file0"},{"photo_id":"1350814529","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350814557":["hashtag1","hashtag2"]},{"1350814547":["hashtag1","hashtag2"]},{"1350814529":["hashtag1","hashtag2"]},{"1350814495":["hashtag1","hashtag2"]},{"1350814510":["hashtag1","hashtag2"]},{"1350814468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350814557, 1350814547, 1350814529, 1350814495, 1350814510, 1350814468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.27107000350952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:26:32.780596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_35_10339.jpg', '/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_45_10422.jpg', '/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_55_9363.jpg', '/home/pi/Desktop/images/09042025/15/57/image_09042025_15_58_05_10459.jpg', '/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_15_9333.jpg', '/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_25_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_35_10339.jpg
/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_45_10422.jpg
/home/pi/Desktop/images/09042025/15/57/image_09042025_15_57_55_9363.jpg
/home/pi/Desktop/images/09042025/15/57/image_09042025_15_58_05_10459.jpg
/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_15_9333.jpg
/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_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":["1350814752","1350814749","1350814733","1350814786","1350814777","1350814762"],"photo_ids_order":["1350814733","1350814749","1350814752","1350814762","1350814777","1350814786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/512cc5dbf8e3f117faa64f9ebc05bb0f.jpg","text":"TemporaryFile(/tmp/multipartBody4811654943729541037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212453239,"filename":"image_09042025_15_57_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5986cd1f04f46939d75df9ed6c3bc64a.jpg","text":"TemporaryFile(/tmp/multipartBody7990794411185312932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212453239,"filename":"image_09042025_15_57_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b85864dac9039e07a9778715d6232b94.jpg","text":"TemporaryFile(/tmp/multipartBody2147485441658623583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212453239,"filename":"image_09042025_15_57_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/4/9/6686641d191fcb09fdc69ce22d97f259.jpg","text":"TemporaryFile(/tmp/multipartBody8683476314706255331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212453239,"filename":"image_09042025_15_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/4/9/c49ba30407e3372c40ff719bc1f719ba.jpg","text":"TemporaryFile(/tmp/multipartBody1881932820817287935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212453239,"filename":"image_09042025_15_58_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/4/9/b0e1d898a67ba4310fa0d4c61fbe9ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6143420807163384672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212453239,"filename":"image_09042025_15_58_05_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350814752","file1":"1350814749","file0":"1350814733","file4":"1350814777","file5":"1350814786","file3":"1350814762"},"map_files_photo_id_array":[{"photo_id":"1350814786","filename":"file5"},{"photo_id":"1350814752","filename":"file2"},{"photo_id":"1350814777","filename":"file4"},{"photo_id":"1350814749","filename":"file1"},{"photo_id":"1350814733","filename":"file0"},{"photo_id":"1350814762","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350814752":["hashtag1","hashtag2"]},{"1350814749":["hashtag1","hashtag2"]},{"1350814733":["hashtag1","hashtag2"]},{"1350814786":["hashtag1","hashtag2"]},{"1350814777":["hashtag1","hashtag2"]},{"1350814762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350814752, 1350814749, 1350814733, 1350814786, 1350814777, 1350814762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.19343328475952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:27:33.009161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_35_10443.jpg', '/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_45_9398.jpg', '/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_55_10473.jpg', '/home/pi/Desktop/images/09042025/15/58/image_09042025_15_59_05_9347.jpg', '/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_15_10341.jpg', '/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_25_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_35_10443.jpg
/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_45_9398.jpg
/home/pi/Desktop/images/09042025/15/58/image_09042025_15_58_55_10473.jpg
/home/pi/Desktop/images/09042025/15/58/image_09042025_15_59_05_9347.jpg
/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_15_10341.jpg
/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_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":["1350814977","1350815001","1350814991","1350815015","1350815000","1350814972"],"photo_ids_order":["1350814972","1350814977","1350814991","1350815000","1350815001","1350815015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/881aac83b4fde3403657070bcfdcbbf2.jpg","text":"TemporaryFile(/tmp/multipartBody9131411420347620010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212513473,"filename":"image_09042025_15_58_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/4/9/650be9b7aa82ffee2d6fe79256c85b08.jpg","text":"TemporaryFile(/tmp/multipartBody8036451714558120650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212513473,"filename":"image_09042025_15_59_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/4/9/76e9e20059cf7ac2692ec4c8b104ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody3251183717933154323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212513473,"filename":"image_09042025_15_58_55_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bb2048c7bea2633334af1d95263067de.jpg","text":"TemporaryFile(/tmp/multipartBody3280420507417876195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212513473,"filename":"image_09042025_15_59_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/4/9/2904889854ca498e19e2df57d99d0148.jpg","text":"TemporaryFile(/tmp/multipartBody5190947251440924571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212513473,"filename":"image_09042025_15_59_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/059fffbebb4a7808286024741fcd05aa.jpg","text":"TemporaryFile(/tmp/multipartBody799915352933978169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212513473,"filename":"image_09042025_15_58_35_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350814991","file1":"1350814977","file0":"1350814972","file4":"1350815001","file5":"1350815015","file3":"1350815000"},"map_files_photo_id_array":[{"photo_id":"1350815015","filename":"file5"},{"photo_id":"1350814991","filename":"file2"},{"photo_id":"1350815001","filename":"file4"},{"photo_id":"1350814977","filename":"file1"},{"photo_id":"1350814972","filename":"file0"},{"photo_id":"1350815000","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350814977":["hashtag1","hashtag2"]},{"1350815001":["hashtag1","hashtag2"]},{"1350814991":["hashtag1","hashtag2"]},{"1350815015":["hashtag1","hashtag2"]},{"1350815000":["hashtag1","hashtag2"]},{"1350814972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350814977, 1350815001, 1350814991, 1350815015, 1350815000, 1350814972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.039408445358276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:28:33.240475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_35_9376.jpg', '/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_45_10413.jpg', '/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_55_9360.jpg', '/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_15_10075.jpg', '/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_26_10380.jpg', '/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_36_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_35_9376.jpg
/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_45_10413.jpg
/home/pi/Desktop/images/09042025/15/59/image_09042025_15_59_55_9360.jpg
/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_15_10075.jpg
/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_26_10380.jpg
/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_36_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":["1350815089","1350815152","1350815146","1350815116","1350815148","1350815142"],"photo_ids_order":["1350815089","1350815116","1350815142","1350815146","1350815148","1350815152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0256a71e98290895984416d476ba3b13.jpg","text":"TemporaryFile(/tmp/multipartBody3297837762050362009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212573759,"filename":"image_09042025_15_59_35_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9aa90c32c81821df47806877fdd2c036.jpg","text":"TemporaryFile(/tmp/multipartBody8094753817925617230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212573759,"filename":"image_09042025_16_00_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/4/9/1bfdf5ed76225ecada2bf4015186061b.jpg","text":"TemporaryFile(/tmp/multipartBody8955497393743634284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212573759,"filename":"image_09042025_16_00_15_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/187d25416c5597ad6bb827f71d870fea.jpg","text":"TemporaryFile(/tmp/multipartBody1403581398819039499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212573759,"filename":"image_09042025_15_59_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/4/9/56e5fe22334e591f541baab2c4023cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6734073718208069717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212573759,"filename":"image_09042025_16_00_26_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb43c20808804e857881aaaa51ae7a8f.jpg","text":"TemporaryFile(/tmp/multipartBody3517038946626777857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212573759,"filename":"image_09042025_15_59_55_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350815142","file1":"1350815116","file0":"1350815089","file4":"1350815148","file5":"1350815152","file3":"1350815146"},"map_files_photo_id_array":[{"photo_id":"1350815152","filename":"file5"},{"photo_id":"1350815142","filename":"file2"},{"photo_id":"1350815148","filename":"file4"},{"photo_id":"1350815116","filename":"file1"},{"photo_id":"1350815089","filename":"file0"},{"photo_id":"1350815146","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350815089":["hashtag1","hashtag2"]},{"1350815152":["hashtag1","hashtag2"]},{"1350815146":["hashtag1","hashtag2"]},{"1350815116":["hashtag1","hashtag2"]},{"1350815148":["hashtag1","hashtag2"]},{"1350815142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350815089, 1350815152, 1350815146, 1350815116, 1350815148, 1350815142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.270177125930786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:29:32.442768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_45_9325.jpg', '/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_56_10375.jpg', '/home/pi/Desktop/images/09042025/16/00/image_09042025_16_01_06_10344.jpg', '/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_15_9365.jpg', '/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_26_10362.jpg', '/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_36_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_45_9325.jpg
/home/pi/Desktop/images/09042025/16/00/image_09042025_16_00_56_10375.jpg
/home/pi/Desktop/images/09042025/16/00/image_09042025_16_01_06_10344.jpg
/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_15_9365.jpg
/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_26_10362.jpg
/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_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":["1350815294","1350815285","1350815258","1350815269","1350815290","1350815263"],"photo_ids_order":["1350815258","1350815263","1350815269","1350815285","1350815290","1350815294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e88e320bb7d11b20b94bec00fc30f714.jpg","text":"TemporaryFile(/tmp/multipartBody3513238850091102003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212632900,"filename":"image_09042025_16_01_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da77951137eaf379f9c6ce2c51e4da0d.jpg","text":"TemporaryFile(/tmp/multipartBody2811381195118130485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212632900,"filename":"image_09042025_16_01_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04c4ff26a4e7d6816c411f789e175cb8.jpg","text":"TemporaryFile(/tmp/multipartBody182814823763988668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212632900,"filename":"image_09042025_16_00_45_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3aaeb1eb15a8c0534a071962fd398ea5.jpg","text":"TemporaryFile(/tmp/multipartBody4744822480130458970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212632900,"filename":"image_09042025_16_01_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/4/9/6d2d664226372b06f9c2ffdce4289aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5383756329166134641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212632900,"filename":"image_09042025_16_01_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/4/9/60281b22360fe0cc1638150118338bae.jpg","text":"TemporaryFile(/tmp/multipartBody7023834552247524634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212632900,"filename":"image_09042025_16_00_56_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350815269","file1":"1350815263","file0":"1350815258","file4":"1350815290","file5":"1350815294","file3":"1350815285"},"map_files_photo_id_array":[{"photo_id":"1350815294","filename":"file5"},{"photo_id":"1350815269","filename":"file2"},{"photo_id":"1350815290","filename":"file4"},{"photo_id":"1350815263","filename":"file1"},{"photo_id":"1350815258","filename":"file0"},{"photo_id":"1350815285","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350815294":["hashtag1","hashtag2"]},{"1350815285":["hashtag1","hashtag2"]},{"1350815258":["hashtag1","hashtag2"]},{"1350815269":["hashtag1","hashtag2"]},{"1350815290":["hashtag1","hashtag2"]},{"1350815263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350815294, 1350815285, 1350815258, 1350815269, 1350815290, 1350815263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57795214653015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:30:32.756409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_45_9383.jpg', '/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_56_10427.jpg', '/home/pi/Desktop/images/09042025/16/01/image_09042025_16_02_05_9347.jpg', '/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_16_10334.jpg', '/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_26_10361.jpg', '/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_35_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_45_9383.jpg
/home/pi/Desktop/images/09042025/16/01/image_09042025_16_01_56_10427.jpg
/home/pi/Desktop/images/09042025/16/01/image_09042025_16_02_05_9347.jpg
/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_16_10334.jpg
/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_26_10361.jpg
/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_35_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":["1350815357","1350815318","1350815368","1350815323","1350815332","1350815328"],"photo_ids_order":["1350815318","1350815323","1350815328","1350815332","1350815357","1350815368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d671877d50900c32163a448fb529c88.jpg","text":"TemporaryFile(/tmp/multipartBody7857344770265788196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212693240,"filename":"image_09042025_16_02_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/4/9/b3d64176702a26d2ad8672c7122962bd.jpg","text":"TemporaryFile(/tmp/multipartBody6577404852999267631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212693240,"filename":"image_09042025_16_01_45_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18822f905c898313a734e77191c59cda.jpg","text":"TemporaryFile(/tmp/multipartBody7033213837278492361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212693240,"filename":"image_09042025_16_02_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/4/9/bf32ea4d5678847e78ff16d6fe8a4d67.jpg","text":"TemporaryFile(/tmp/multipartBody7383326313442283360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212693240,"filename":"image_09042025_16_01_56_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/147b811221b5aaae2f25f2bbdf092b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5128047376652230507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212693240,"filename":"image_09042025_16_02_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/4/9/ec2032a3475ba54eafd7d5dee85ad47e.jpg","text":"TemporaryFile(/tmp/multipartBody5764977867768423226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212693240,"filename":"image_09042025_16_02_05_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350815328","file1":"1350815323","file0":"1350815318","file4":"1350815357","file5":"1350815368","file3":"1350815332"},"map_files_photo_id_array":[{"photo_id":"1350815368","filename":"file5"},{"photo_id":"1350815328","filename":"file2"},{"photo_id":"1350815357","filename":"file4"},{"photo_id":"1350815323","filename":"file1"},{"photo_id":"1350815318","filename":"file0"},{"photo_id":"1350815332","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350815357":["hashtag1","hashtag2"]},{"1350815318":["hashtag1","hashtag2"]},{"1350815368":["hashtag1","hashtag2"]},{"1350815323":["hashtag1","hashtag2"]},{"1350815332":["hashtag1","hashtag2"]},{"1350815328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350815357, 1350815318, 1350815368, 1350815323, 1350815332, 1350815328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.795578479766846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:31:32.998970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_46_10407.jpg', '/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_56_10360.jpg', '/home/pi/Desktop/images/09042025/16/02/image_09042025_16_03_05_9342.jpg', '/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_16_10340.jpg', '/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_26_10357.jpg', '/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_35_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_46_10407.jpg
/home/pi/Desktop/images/09042025/16/02/image_09042025_16_02_56_10360.jpg
/home/pi/Desktop/images/09042025/16/02/image_09042025_16_03_05_9342.jpg
/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_16_10340.jpg
/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_26_10357.jpg
/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_35_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350815409","1350815424","1350815403","1350815429","1350815419","1350815413"],"photo_ids_order":["1350815403","1350815409","1350815413","1350815419","1350815424","1350815429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f316150efd37f0596a44e4e646be5fd3.jpg","text":"TemporaryFile(/tmp/multipartBody8900140045098891584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212753463,"filename":"image_09042025_16_02_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/4/9/429962b883c87b26b9a2fdba22c09e8b.jpg","text":"TemporaryFile(/tmp/multipartBody2543155133076530614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212753463,"filename":"image_09042025_16_03_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/4/9/0b7420420588035fdd32b4423a03ce17.jpg","text":"TemporaryFile(/tmp/multipartBody754282813683951720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212753463,"filename":"image_09042025_16_02_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/4/9/886c1ae57fdcc3ad8983694a34c68c8c.jpg","text":"TemporaryFile(/tmp/multipartBody4788113287161307764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212753463,"filename":"image_09042025_16_03_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/4/9/26b77cc2d9621ed0e680b603de1cf943.jpg","text":"TemporaryFile(/tmp/multipartBody8306213984180801466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212753463,"filename":"image_09042025_16_03_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d29c55b460fbae264d2f56cfd75651a4.jpg","text":"TemporaryFile(/tmp/multipartBody2535305218713234073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212753463,"filename":"image_09042025_16_03_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350815413","file1":"1350815409","file0":"1350815403","file4":"1350815424","file5":"1350815429","file3":"1350815419"},"map_files_photo_id_array":[{"photo_id":"1350815429","filename":"file5"},{"photo_id":"1350815413","filename":"file2"},{"photo_id":"1350815424","filename":"file4"},{"photo_id":"1350815409","filename":"file1"},{"photo_id":"1350815403","filename":"file0"},{"photo_id":"1350815419","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350815409":["hashtag1","hashtag2"]},{"1350815424":["hashtag1","hashtag2"]},{"1350815403":["hashtag1","hashtag2"]},{"1350815429":["hashtag1","hashtag2"]},{"1350815419":["hashtag1","hashtag2"]},{"1350815413":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350815409, 1350815424, 1350815403, 1350815429, 1350815419, 1350815413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.529088497161865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:32:32.219948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_46_10343.jpg', '/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_55_9472.jpg', '/home/pi/Desktop/images/09042025/16/03/image_09042025_16_04_06_10350.jpg', '/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_16_10324.jpg', '/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_25_9440.jpg', '/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_36_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_46_10343.jpg
/home/pi/Desktop/images/09042025/16/03/image_09042025_16_03_55_9472.jpg
/home/pi/Desktop/images/09042025/16/03/image_09042025_16_04_06_10350.jpg
/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_16_10324.jpg
/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_25_9440.jpg
/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_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":["1350815459","1350815453","1350815485","1350815467","1350815476","1350815490"],"photo_ids_order":["1350815453","1350815459","1350815467","1350815476","1350815485","1350815490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ed9ac7b4e238660fb2e22ff7e0826f7.jpg","text":"TemporaryFile(/tmp/multipartBody3045870055871150308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212812683,"filename":"image_09042025_16_03_55_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a26b35fc7a0d8906b9f80933d331a5b5.jpg","text":"TemporaryFile(/tmp/multipartBody1820273959912433917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212812683,"filename":"image_09042025_16_03_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ca929a7aa0620467412253ec036d83b.jpg","text":"TemporaryFile(/tmp/multipartBody4350126839374632887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212812683,"filename":"image_09042025_16_04_25_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2eb5d96d7d1be8ae53aae82c7da748c.jpg","text":"TemporaryFile(/tmp/multipartBody72014044296474339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212812683,"filename":"image_09042025_16_04_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/4/9/a4467f0627c05e86f116f770fdf886d1.jpg","text":"TemporaryFile(/tmp/multipartBody990341315503513426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212812683,"filename":"image_09042025_16_04_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/4/9/83cfcab71aa353ccf0f9ad9e7b5a7d93.jpg","text":"TemporaryFile(/tmp/multipartBody5828160340322315650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212812683,"filename":"image_09042025_16_04_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350815467","file1":"1350815459","file0":"1350815453","file4":"1350815485","file5":"1350815490","file3":"1350815476"},"map_files_photo_id_array":[{"photo_id":"1350815490","filename":"file5"},{"photo_id":"1350815467","filename":"file2"},{"photo_id":"1350815485","filename":"file4"},{"photo_id":"1350815459","filename":"file1"},{"photo_id":"1350815453","filename":"file0"},{"photo_id":"1350815476","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350815459":["hashtag1","hashtag2"]},{"1350815453":["hashtag1","hashtag2"]},{"1350815485":["hashtag1","hashtag2"]},{"1350815467":["hashtag1","hashtag2"]},{"1350815476":["hashtag1","hashtag2"]},{"1350815490":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350815459, 1350815453, 1350815485, 1350815467, 1350815476, 1350815490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17138481140137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:33:32.294097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_46_10368.jpg', '/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_55_9420.jpg', '/home/pi/Desktop/images/09042025/16/04/image_09042025_16_05_06_10357.jpg', '/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_15_9430.jpg', '/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_26_10336.jpg', '/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_36_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_46_10368.jpg
/home/pi/Desktop/images/09042025/16/04/image_09042025_16_04_55_9420.jpg
/home/pi/Desktop/images/09042025/16/04/image_09042025_16_05_06_10357.jpg
/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_15_9430.jpg
/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_26_10336.jpg
/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_36_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":["1350815657","1350815692","1350815665","1350815650","1350815647","1350815643"],"photo_ids_order":["1350815643","1350815647","1350815650","1350815657","1350815665","1350815692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c18919d158b03d97e2c6b2f9ed393e8.jpg","text":"TemporaryFile(/tmp/multipartBody854673194044808132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212872758,"filename":"image_09042025_16_05_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/4/9/1c24ce43bb0b8be58dd71fabf7e8b2ac.jpg","text":"TemporaryFile(/tmp/multipartBody1646560272208880198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212872758,"filename":"image_09042025_16_05_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/4/9/0137f97eab004460075b2ea65bb221f6.jpg","text":"TemporaryFile(/tmp/multipartBody5565230485989918239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212872758,"filename":"image_09042025_16_05_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c75708a25ebb6c3a7f3572d9a21b5b37.jpg","text":"TemporaryFile(/tmp/multipartBody1751541547815190337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212872758,"filename":"image_09042025_16_05_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52ffa48a4ff9cff393595c1a1aeb6aa1.jpg","text":"TemporaryFile(/tmp/multipartBody3281815523507417479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212872758,"filename":"image_09042025_16_04_55_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bddcdcbd2dcc40d8c3b67921c2f9746a.jpg","text":"TemporaryFile(/tmp/multipartBody6076302020797759261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212872758,"filename":"image_09042025_16_04_46_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350815650","file1":"1350815647","file0":"1350815643","file4":"1350815665","file5":"1350815692","file3":"1350815657"},"map_files_photo_id_array":[{"photo_id":"1350815692","filename":"file5"},{"photo_id":"1350815650","filename":"file2"},{"photo_id":"1350815665","filename":"file4"},{"photo_id":"1350815647","filename":"file1"},{"photo_id":"1350815643","filename":"file0"},{"photo_id":"1350815657","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350815657":["hashtag1","hashtag2"]},{"1350815692":["hashtag1","hashtag2"]},{"1350815665":["hashtag1","hashtag2"]},{"1350815650":["hashtag1","hashtag2"]},{"1350815647":["hashtag1","hashtag2"]},{"1350815643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350815657, 1350815692, 1350815665, 1350815650, 1350815647, 1350815643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.849103927612305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:34:32.658259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_45_9348.jpg', '/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_56_10418.jpg', '/home/pi/Desktop/images/09042025/16/05/image_09042025_16_06_06_10354.jpg', '/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_15_9331.jpg', '/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_26_10354.jpg', '/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_35_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_45_9348.jpg
/home/pi/Desktop/images/09042025/16/05/image_09042025_16_05_56_10418.jpg
/home/pi/Desktop/images/09042025/16/05/image_09042025_16_06_06_10354.jpg
/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_15_9331.jpg
/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_26_10354.jpg
/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_35_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":["1350815771","1350815768","1350815770","1350815758","1350815773","1350815763"],"photo_ids_order":["1350815758","1350815763","1350815768","1350815770","1350815771","1350815773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c14efdd599d75552e5e23f989c0b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody5999777017017817958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212933110,"filename":"image_09042025_16_06_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/4/9/d276260d08c7293061b2414098b4c6f8.jpg","text":"TemporaryFile(/tmp/multipartBody2750665856695912992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212933110,"filename":"image_09042025_16_06_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/002e37f96d677c86ede5f980e3008ded.jpg","text":"TemporaryFile(/tmp/multipartBody2878177402494076437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212933110,"filename":"image_09042025_16_06_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/4/9/30281fc9f58e572b248ed7bcaf56e26c.jpg","text":"TemporaryFile(/tmp/multipartBody906733825546521664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212933110,"filename":"image_09042025_16_05_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/4/9/898f06d3af5e68efe5d03e63a456b8ec.jpg","text":"TemporaryFile(/tmp/multipartBody740793058046076945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212933110,"filename":"image_09042025_16_06_35_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f41bd4a52d815c64897c18162317c0fb.jpg","text":"TemporaryFile(/tmp/multipartBody7945469252742408618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212933110,"filename":"image_09042025_16_05_56_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350815768","file1":"1350815763","file0":"1350815758","file4":"1350815771","file5":"1350815773","file3":"1350815770"},"map_files_photo_id_array":[{"photo_id":"1350815773","filename":"file5"},{"photo_id":"1350815768","filename":"file2"},{"photo_id":"1350815771","filename":"file4"},{"photo_id":"1350815763","filename":"file1"},{"photo_id":"1350815758","filename":"file0"},{"photo_id":"1350815770","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350815771":["hashtag1","hashtag2"]},{"1350815768":["hashtag1","hashtag2"]},{"1350815770":["hashtag1","hashtag2"]},{"1350815758":["hashtag1","hashtag2"]},{"1350815773":["hashtag1","hashtag2"]},{"1350815763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350815771, 1350815768, 1350815770, 1350815758, 1350815773, 1350815763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36245012283325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:35:32.873502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_46_10422.jpg', '/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_56_10355.jpg', '/home/pi/Desktop/images/09042025/16/06/image_09042025_16_07_05_9365.jpg', '/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_16_10345.jpg', '/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_26_10363.jpg', '/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_35_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_46_10422.jpg
/home/pi/Desktop/images/09042025/16/06/image_09042025_16_06_56_10355.jpg
/home/pi/Desktop/images/09042025/16/06/image_09042025_16_07_05_9365.jpg
/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_16_10345.jpg
/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_26_10363.jpg
/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_35_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":["1350815879","1350815858","1350815896","1350815899","1350815884","1350815836"],"photo_ids_order":["1350815836","1350815858","1350815879","1350815884","1350815896","1350815899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cbcbec31f81bcc12dea99fb950e19dab.jpg","text":"TemporaryFile(/tmp/multipartBody632149972871093395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212993323,"filename":"image_09042025_16_07_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b35e0582c8914e1a95b1a09e89aec2cf.jpg","text":"TemporaryFile(/tmp/multipartBody3216121686764164152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212993323,"filename":"image_09042025_16_06_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/4/9/f2a9de59aea893448049cb37d9d40e62.jpg","text":"TemporaryFile(/tmp/multipartBody4879257750447612937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212993323,"filename":"image_09042025_16_07_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/4/9/7952f188321b86ff90aae4e51492bf61.jpg","text":"TemporaryFile(/tmp/multipartBody3624252417951783790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212993323,"filename":"image_09042025_16_07_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/4/9/f3c7c8b3b7ad3c5064d2a39d534da7fd.jpg","text":"TemporaryFile(/tmp/multipartBody1029664248140242573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212993323,"filename":"image_09042025_16_07_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/4/9/b91a0d863db1f31b63e344eb632fd856.jpg","text":"TemporaryFile(/tmp/multipartBody8221635260565797087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744212993323,"filename":"image_09042025_16_06_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350815879","file1":"1350815858","file0":"1350815836","file4":"1350815896","file5":"1350815899","file3":"1350815884"},"map_files_photo_id_array":[{"photo_id":"1350815899","filename":"file5"},{"photo_id":"1350815879","filename":"file2"},{"photo_id":"1350815896","filename":"file4"},{"photo_id":"1350815858","filename":"file1"},{"photo_id":"1350815836","filename":"file0"},{"photo_id":"1350815884","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350815879":["hashtag1","hashtag2"]},{"1350815858":["hashtag1","hashtag2"]},{"1350815896":["hashtag1","hashtag2"]},{"1350815899":["hashtag1","hashtag2"]},{"1350815884":["hashtag1","hashtag2"]},{"1350815836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350815879, 1350815858, 1350815896, 1350815899, 1350815884, 1350815836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.084736824035645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:36:33.024026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_46_10376.jpg', '/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_55_9350.jpg', '/home/pi/Desktop/images/09042025/16/07/image_09042025_16_08_06_10354.jpg', '/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_16_10364.jpg', '/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_25_9435.jpg', '/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_36_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_46_10376.jpg
/home/pi/Desktop/images/09042025/16/07/image_09042025_16_07_55_9350.jpg
/home/pi/Desktop/images/09042025/16/07/image_09042025_16_08_06_10354.jpg
/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_16_10364.jpg
/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_25_9435.jpg
/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_36_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":["1350816009","1350816085","1350816034","1350816066","1350816089","1350816080"],"photo_ids_order":["1350816009","1350816034","1350816066","1350816080","1350816085","1350816089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e4eae5dcb1966036d5c36389b5db84d.jpg","text":"TemporaryFile(/tmp/multipartBody3667934648268699795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213053473,"filename":"image_09042025_16_07_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/4/9/69adec87535a48dbdd3f3c423b8d3630.jpg","text":"TemporaryFile(/tmp/multipartBody6188779741035406715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213053473,"filename":"image_09042025_16_08_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/4/9/64ec03f9dc9680ac04a668c9e38ecce8.jpg","text":"TemporaryFile(/tmp/multipartBody777129599399188044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213053473,"filename":"image_09042025_16_07_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/4/9/ef909928b8342350ffdd99a284401362.jpg","text":"TemporaryFile(/tmp/multipartBody9033131531363817481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213053473,"filename":"image_09042025_16_08_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/4/9/3f648cfa6e3fabeb0f1b1c568ddbd240.jpg","text":"TemporaryFile(/tmp/multipartBody9216083076015974928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213053473,"filename":"image_09042025_16_08_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/4/9/d6a512aa846bbc48e7d540aea3204123.jpg","text":"TemporaryFile(/tmp/multipartBody7902686186338359388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213053473,"filename":"image_09042025_16_08_16_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350816066","file1":"1350816034","file0":"1350816009","file4":"1350816085","file5":"1350816089","file3":"1350816080"},"map_files_photo_id_array":[{"photo_id":"1350816089","filename":"file5"},{"photo_id":"1350816066","filename":"file2"},{"photo_id":"1350816085","filename":"file4"},{"photo_id":"1350816034","filename":"file1"},{"photo_id":"1350816009","filename":"file0"},{"photo_id":"1350816080","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350816009":["hashtag1","hashtag2"]},{"1350816085":["hashtag1","hashtag2"]},{"1350816034":["hashtag1","hashtag2"]},{"1350816066":["hashtag1","hashtag2"]},{"1350816089":["hashtag1","hashtag2"]},{"1350816080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350816009, 1350816085, 1350816034, 1350816066, 1350816089, 1350816080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45741057395935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:37:32.268134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_45_9463.jpg', '/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_56_10344.jpg', '/home/pi/Desktop/images/09042025/16/08/image_09042025_16_09_06_10413.jpg', '/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_15_9413.jpg', '/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_26_10373.jpg', '/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_35_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_45_9463.jpg
/home/pi/Desktop/images/09042025/16/08/image_09042025_16_08_56_10344.jpg
/home/pi/Desktop/images/09042025/16/08/image_09042025_16_09_06_10413.jpg
/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_15_9413.jpg
/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_26_10373.jpg
/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_35_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350816179","1350816170","1350816274","1350816244","1350816208","1350816174"],"photo_ids_order":["1350816170","1350816174","1350816179","1350816208","1350816244","1350816274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee2da5a1705b26390450e99562620e50.jpg","text":"TemporaryFile(/tmp/multipartBody4446663053454613733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213112712,"filename":"image_09042025_16_09_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/4/9/760b414cbf76895d1089f42d4b93f6a7.jpg","text":"TemporaryFile(/tmp/multipartBody1050740919552051923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213112712,"filename":"image_09042025_16_08_45_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7950d65b8e5b5be873f0cad9608e6fad.jpg","text":"TemporaryFile(/tmp/multipartBody2987575993634186788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213112712,"filename":"image_09042025_16_09_35_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1284ddaef3b3d3bb43769b42256cd1e9.jpg","text":"TemporaryFile(/tmp/multipartBody8120561767354755122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213112712,"filename":"image_09042025_16_09_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/4/9/0881bba11dff8889b5e111ac1aedba58.jpg","text":"TemporaryFile(/tmp/multipartBody5533307739985252783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213112712,"filename":"image_09042025_16_09_15_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a88c8fa8859496ca0e17c8abe2e42c46.jpg","text":"TemporaryFile(/tmp/multipartBody4002080507997619237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213112712,"filename":"image_09042025_16_08_56_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350816179","file1":"1350816174","file0":"1350816170","file4":"1350816244","file5":"1350816274","file3":"1350816208"},"map_files_photo_id_array":[{"photo_id":"1350816274","filename":"file5"},{"photo_id":"1350816179","filename":"file2"},{"photo_id":"1350816244","filename":"file4"},{"photo_id":"1350816174","filename":"file1"},{"photo_id":"1350816170","filename":"file0"},{"photo_id":"1350816208","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350816179":["hashtag1","hashtag2"]},{"1350816170":["hashtag1","hashtag2"]},{"1350816274":["hashtag1","hashtag2"]},{"1350816244":["hashtag1","hashtag2"]},{"1350816208":["hashtag1","hashtag2"]},{"1350816174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350816179, 1350816170, 1350816274, 1350816244, 1350816208, 1350816174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.867908477783203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:38:32.601669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_46_10351.jpg', '/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_56_10339.jpg', '/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_16_10341.jpg', '/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_26_10422.jpg', '/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_35_9335.jpg', '/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_46_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_46_10351.jpg
/home/pi/Desktop/images/09042025/16/09/image_09042025_16_09_56_10339.jpg
/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_16_10341.jpg
/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_26_10422.jpg
/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_35_9335.jpg
/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_46_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350816476","1350816431","1350816404","1350816370","1350816497","1350816491"],"photo_ids_order":["1350816370","1350816404","1350816431","1350816476","1350816491","1350816497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc64c1008882e3ceb294af902f56568a.jpg","text":"TemporaryFile(/tmp/multipartBody367342495016639511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213173059,"filename":"image_09042025_16_10_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/4/9/8ae13cdfef4e8c711f77861095b31a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7312123103236420976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213173059,"filename":"image_09042025_16_10_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/4/9/27bc78c142f2646fc30e4984f9d226a6.jpg","text":"TemporaryFile(/tmp/multipartBody4704247957812309917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213173059,"filename":"image_09042025_16_09_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/453eecda342fea94c87cac393afea062.jpg","text":"TemporaryFile(/tmp/multipartBody9162251229722472008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213173059,"filename":"image_09042025_16_09_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/4/9/0b42b1d565f506005cf6b3a0926cdadc.jpg","text":"TemporaryFile(/tmp/multipartBody9029177696254698458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213173059,"filename":"image_09042025_16_10_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/4/9/e853900be3a2ec537603f4956c760d59.jpg","text":"TemporaryFile(/tmp/multipartBody4100702713196951086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213173059,"filename":"image_09042025_16_10_35_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350816431","file1":"1350816404","file0":"1350816370","file4":"1350816491","file5":"1350816497","file3":"1350816476"},"map_files_photo_id_array":[{"photo_id":"1350816497","filename":"file5"},{"photo_id":"1350816431","filename":"file2"},{"photo_id":"1350816491","filename":"file4"},{"photo_id":"1350816404","filename":"file1"},{"photo_id":"1350816370","filename":"file0"},{"photo_id":"1350816476","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350816476":["hashtag1","hashtag2"]},{"1350816431":["hashtag1","hashtag2"]},{"1350816404":["hashtag1","hashtag2"]},{"1350816370":["hashtag1","hashtag2"]},{"1350816497":["hashtag1","hashtag2"]},{"1350816491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350816476, 1350816431, 1350816404, 1350816370, 1350816497, 1350816491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.285627126693726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:39:32.929804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_55_9437.jpg', '/home/pi/Desktop/images/09042025/16/10/image_09042025_16_11_06_10413.jpg', '/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_16_10330.jpg', '/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_25_9419.jpg', '/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_36_10404.jpg', '/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/10/image_09042025_16_10_55_9437.jpg
/home/pi/Desktop/images/09042025/16/10/image_09042025_16_11_06_10413.jpg
/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_16_10330.jpg
/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_25_9419.jpg
/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_36_10404.jpg
/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_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":["1350816647","1350816632","1350816643","1350816573","1350816597","1350816618"],"photo_ids_order":["1350816573","1350816597","1350816618","1350816632","1350816643","1350816647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6063b7f7eeadbe3e276dab051b98dc31.jpg","text":"TemporaryFile(/tmp/multipartBody6931042890716448978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213233379,"filename":"image_09042025_16_11_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/4/9/5353af29b67e0f07ee49d5bb03bb040c.jpg","text":"TemporaryFile(/tmp/multipartBody7265783882354704951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213233379,"filename":"image_09042025_16_11_25_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d558c3d5b5a7cf1d3108435428aa4395.jpg","text":"TemporaryFile(/tmp/multipartBody1077374602081654979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213233379,"filename":"image_09042025_16_11_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/4/9/4befb6a518a76d25c22b1b29a3e9bb87.jpg","text":"TemporaryFile(/tmp/multipartBody7302671065829277797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213233379,"filename":"image_09042025_16_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/4/9/c7a01270c18a459005cbab0e472b7b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3904751032492840126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213233379,"filename":"image_09042025_16_11_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/4/9/4b432235fec2f905c5f03943a7f22f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7940101005971907893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213233379,"filename":"image_09042025_16_11_16_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350816618","file1":"1350816597","file0":"1350816573","file4":"1350816643","file5":"1350816647","file3":"1350816632"},"map_files_photo_id_array":[{"photo_id":"1350816647","filename":"file5"},{"photo_id":"1350816618","filename":"file2"},{"photo_id":"1350816643","filename":"file4"},{"photo_id":"1350816597","filename":"file1"},{"photo_id":"1350816573","filename":"file0"},{"photo_id":"1350816632","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350816647":["hashtag1","hashtag2"]},{"1350816632":["hashtag1","hashtag2"]},{"1350816643":["hashtag1","hashtag2"]},{"1350816573":["hashtag1","hashtag2"]},{"1350816597":["hashtag1","hashtag2"]},{"1350816618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350816647, 1350816632, 1350816643, 1350816573, 1350816597, 1350816618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31492495536804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:40:33.008539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_55_9381.jpg', '/home/pi/Desktop/images/09042025/16/11/image_09042025_16_12_06_10356.jpg', '/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_15_9392.jpg', '/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_26_10390.jpg', '/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_36_10347.jpg', '/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_45_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/11/image_09042025_16_11_55_9381.jpg
/home/pi/Desktop/images/09042025/16/11/image_09042025_16_12_06_10356.jpg
/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_15_9392.jpg
/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_26_10390.jpg
/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_36_10347.jpg
/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_45_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350816824","1350816793","1350816769","1350816834","1350816801","1350816797"],"photo_ids_order":["1350816769","1350816793","1350816797","1350816801","1350816824","1350816834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/003a8d81c245c73bc2ce13ff75b9b8e5.jpg","text":"TemporaryFile(/tmp/multipartBody8829934735804914845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213293460,"filename":"image_09042025_16_12_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/4/9/3aeb73c391e1c3d809f2df2c7a9f4dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6671610234286128660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213293460,"filename":"image_09042025_16_12_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/4/9/7d5b089b9f3f16bce5c0e57ee774fc55.jpg","text":"TemporaryFile(/tmp/multipartBody657670359230775023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213293460,"filename":"image_09042025_16_11_55_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/656c27dfbd6fb4ef641828ec4759b526.jpg","text":"TemporaryFile(/tmp/multipartBody2582975085956429847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213293460,"filename":"image_09042025_16_12_45_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ffcb0ace1fe831bc5f9721c4b7ddf2a1.jpg","text":"TemporaryFile(/tmp/multipartBody2444675681816690955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213293460,"filename":"image_09042025_16_12_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e028e269b0157953f74810b00a58336.jpg","text":"TemporaryFile(/tmp/multipartBody2955050896908340079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213293460,"filename":"image_09042025_16_12_15_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350816797","file1":"1350816793","file0":"1350816769","file4":"1350816824","file5":"1350816834","file3":"1350816801"},"map_files_photo_id_array":[{"photo_id":"1350816834","filename":"file5"},{"photo_id":"1350816797","filename":"file2"},{"photo_id":"1350816824","filename":"file4"},{"photo_id":"1350816793","filename":"file1"},{"photo_id":"1350816769","filename":"file0"},{"photo_id":"1350816801","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350816824":["hashtag1","hashtag2"]},{"1350816793":["hashtag1","hashtag2"]},{"1350816769":["hashtag1","hashtag2"]},{"1350816834":["hashtag1","hashtag2"]},{"1350816801":["hashtag1","hashtag2"]},{"1350816797":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350816824, 1350816793, 1350816769, 1350816834, 1350816801, 1350816797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.710407972335815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:41:32.261270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_56_10385.jpg', '/home/pi/Desktop/images/09042025/16/12/image_09042025_16_13_05_9492.jpg', '/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_16_10404.jpg', '/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_26_10366.jpg', '/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_35_9423.jpg', '/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_46_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/12/image_09042025_16_12_56_10385.jpg
/home/pi/Desktop/images/09042025/16/12/image_09042025_16_13_05_9492.jpg
/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_16_10404.jpg
/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_26_10366.jpg
/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_35_9423.jpg
/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_46_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":["1350816988","1350817000","1350817008","1350816966","1350817005","1350816995"],"photo_ids_order":["1350816966","1350816988","1350816995","1350817000","1350817005","1350817008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7322e16d4fa7bfabf4a3eb02588e0d53.jpg","text":"TemporaryFile(/tmp/multipartBody56300202659727367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213352713,"filename":"image_09042025_16_13_05_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59d6bbb23008aca6dcdf5a990158a013.jpg","text":"TemporaryFile(/tmp/multipartBody652654683714869516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213352713,"filename":"image_09042025_16_13_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88a25421ca3b96e9cd1d2662763dc7c4.jpg","text":"TemporaryFile(/tmp/multipartBody1379429544178368823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213352713,"filename":"image_09042025_16_13_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/4/9/949ff8d6c6d776b52ba3331dfddf916d.jpg","text":"TemporaryFile(/tmp/multipartBody8985710717553732651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213352713,"filename":"image_09042025_16_12_56_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/debcce0d0a4b443d52bbb841703727d3.jpg","text":"TemporaryFile(/tmp/multipartBody5681923813192585332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213352713,"filename":"image_09042025_16_13_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/4/9/5debf4463376c55c632f8c55b3110e98.jpg","text":"TemporaryFile(/tmp/multipartBody5814084936052974069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213352713,"filename":"image_09042025_16_13_16_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350816995","file1":"1350816988","file0":"1350816966","file4":"1350817005","file5":"1350817008","file3":"1350817000"},"map_files_photo_id_array":[{"photo_id":"1350817008","filename":"file5"},{"photo_id":"1350816995","filename":"file2"},{"photo_id":"1350817005","filename":"file4"},{"photo_id":"1350816988","filename":"file1"},{"photo_id":"1350816966","filename":"file0"},{"photo_id":"1350817000","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350816988":["hashtag1","hashtag2"]},{"1350817000":["hashtag1","hashtag2"]},{"1350817008":["hashtag1","hashtag2"]},{"1350816966":["hashtag1","hashtag2"]},{"1350817005":["hashtag1","hashtag2"]},{"1350816995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350816988, 1350817000, 1350817008, 1350816966, 1350817005, 1350816995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.600033044815063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:42:32.558835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_55_9383.jpg', '/home/pi/Desktop/images/09042025/16/13/image_09042025_16_14_06_10371.jpg', '/home/pi/Desktop/images/09042025/16/14/image_09042025_16_14_16_10347.jpg', '/home/pi/Desktop/images/09042025/16/14/image_09042025_16_14_36_10444.jpg', '/home/pi/Desktop/images/09042025/16/14/image_09042025_16_14_45_9398.jpg', '/home/pi/Desktop/images/09042025/16/14/image_09042025_16_14_56_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/13/image_09042025_16_13_55_9383.jpg
/home/pi/Desktop/images/09042025/16/13/image_09042025_16_14_06_10371.jpg
/home/pi/Desktop/images/09042025/16/14/image_09042025_16_14_16_10347.jpg
/home/pi/Desktop/images/09042025/16/14/image_09042025_16_14_36_10444.jpg
/home/pi/Desktop/images/09042025/16/14/image_09042025_16_14_45_9398.jpg
/home/pi/Desktop/images/09042025/16/14/image_09042025_16_14_56_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":["1350817259","1350817211","1350817306","1350817234","1350817281","1350817254"],"photo_ids_order":["1350817211","1350817234","1350817254","1350817259","1350817281","1350817306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a15190b028f7326cb67768bd59345888.jpg","text":"TemporaryFile(/tmp/multipartBody5719709693554492822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213413010,"filename":"image_09042025_16_14_36_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5bff3b79e97e8923251a75b3873fac9e.jpg","text":"TemporaryFile(/tmp/multipartBody2146425938530655306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213413010,"filename":"image_09042025_16_13_55_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08bd042137b0f9bb7228862771a18fc7.jpg","text":"TemporaryFile(/tmp/multipartBody3830381888943217373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213413010,"filename":"image_09042025_16_14_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/4/9/a47a469d74db97fb1f7a5fe289bea83b.jpg","text":"TemporaryFile(/tmp/multipartBody2511335612787135685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213413010,"filename":"image_09042025_16_14_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a4322d1dbfe35844e9e197bc9e96c1e8.jpg","text":"TemporaryFile(/tmp/multipartBody2876267328571404355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213413010,"filename":"image_09042025_16_14_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/4/9/6deb540173e0e303a55a3588c2f23b49.jpg","text":"TemporaryFile(/tmp/multipartBody2920931048059469412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213413010,"filename":"image_09042025_16_14_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350817254","file1":"1350817234","file0":"1350817211","file4":"1350817281","file5":"1350817306","file3":"1350817259"},"map_files_photo_id_array":[{"photo_id":"1350817306","filename":"file5"},{"photo_id":"1350817254","filename":"file2"},{"photo_id":"1350817281","filename":"file4"},{"photo_id":"1350817234","filename":"file1"},{"photo_id":"1350817211","filename":"file0"},{"photo_id":"1350817259","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350817259":["hashtag1","hashtag2"]},{"1350817211":["hashtag1","hashtag2"]},{"1350817306":["hashtag1","hashtag2"]},{"1350817234":["hashtag1","hashtag2"]},{"1350817281":["hashtag1","hashtag2"]},{"1350817254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350817259, 1350817211, 1350817306, 1350817234, 1350817281, 1350817254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14700269699097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:43:32.709381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/14/image_09042025_16_15_06_10356.jpg', '/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_16_10116.jpg', '/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_25_9363.jpg', '/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_36_10410.jpg', '/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_45_9556.jpg', '/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_56_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/14/image_09042025_16_15_06_10356.jpg
/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_16_10116.jpg
/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_25_9363.jpg
/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_36_10410.jpg
/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_45_9556.jpg
/home/pi/Desktop/images/09042025/16/15/image_09042025_16_15_56_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":["1350817573","1350817549","1350817537","1350817513","1350817652","1350817532"],"photo_ids_order":["1350817513","1350817532","1350817537","1350817549","1350817573","1350817652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c279e2e0a54d77ea3bbace6c396e6609.jpg","text":"TemporaryFile(/tmp/multipartBody1556849610230662582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213473165,"filename":"image_09042025_16_15_45_9556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22d6ccdb1c73bc6e93c63ea245c01c7d.jpg","text":"TemporaryFile(/tmp/multipartBody585265498421327105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213473165,"filename":"image_09042025_16_15_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/4/9/add648a417a291ef4460e201a5291a66.jpg","text":"TemporaryFile(/tmp/multipartBody2282076503199360082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213473165,"filename":"image_09042025_16_15_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/4/9/c81a778eef96a8144b8e673fe600297a.jpg","text":"TemporaryFile(/tmp/multipartBody4240101910853812004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213473165,"filename":"image_09042025_16_15_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/4/9/801f67578d0bfb69b29aa34d4de46fb0.jpg","text":"TemporaryFile(/tmp/multipartBody128553067699110437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213473165,"filename":"image_09042025_16_15_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/4/9/89824a27e842212e8faf89c438228763.jpg","text":"TemporaryFile(/tmp/multipartBody3372049802632414459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213473165,"filename":"image_09042025_16_15_16_10116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350817537","file1":"1350817532","file0":"1350817513","file4":"1350817573","file5":"1350817652","file3":"1350817549"},"map_files_photo_id_array":[{"photo_id":"1350817652","filename":"file5"},{"photo_id":"1350817537","filename":"file2"},{"photo_id":"1350817573","filename":"file4"},{"photo_id":"1350817532","filename":"file1"},{"photo_id":"1350817513","filename":"file0"},{"photo_id":"1350817549","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350817573":["hashtag1","hashtag2"]},{"1350817549":["hashtag1","hashtag2"]},{"1350817537":["hashtag1","hashtag2"]},{"1350817513":["hashtag1","hashtag2"]},{"1350817652":["hashtag1","hashtag2"]},{"1350817532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350817573, 1350817549, 1350817537, 1350817513, 1350817652, 1350817532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00723075866699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:44:33.066765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/15/image_09042025_16_16_05_9452.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_16_10344.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_26_10438.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_35_9404.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_46_10361.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_55_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/15/image_09042025_16_16_05_9452.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_16_10344.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_26_10438.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_35_9404.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_46_10361.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_55_9472.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44849228858947754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 17:44:43.099418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/15/image_09042025_16_16_05_9452.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_16_10344.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_26_10438.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_35_9404.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_46_10361.jpg', '/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_55_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/15/image_09042025_16_16_05_9452.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_16_10344.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_26_10438.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_35_9404.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_46_10361.jpg
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_16_55_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350817852","1350817857","1350817872","1350817868","1350817862","1350817865"],"photo_ids_order":["1350817852","1350817857","1350817862","1350817865","1350817868","1350817872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94b5dbb3c00f43b9dcabed1c4f71d4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5834026591390354900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213543558,"filename":"image_09042025_16_16_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/4/9/b7d6c9622bb1dce58197ac2fb237520c.jpg","text":"TemporaryFile(/tmp/multipartBody6207164427034912746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213543558,"filename":"image_09042025_16_16_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/4/9/425a88e1fc7fa86de8e11f80f0cef287.jpg","text":"TemporaryFile(/tmp/multipartBody239840234648248685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213543558,"filename":"image_09042025_16_16_55_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5df3661d876afc475565c6ada72ca274.jpg","text":"TemporaryFile(/tmp/multipartBody8210404270868417667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213543558,"filename":"image_09042025_16_16_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/4/9/3e9666a526f004ab948fe708dc901d97.jpg","text":"TemporaryFile(/tmp/multipartBody8281315650081551476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213543558,"filename":"image_09042025_16_16_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/4/9/7ec5b4c946e576bd3bce978fd98b050d.jpg","text":"TemporaryFile(/tmp/multipartBody7720490965773004846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213543558,"filename":"image_09042025_16_16_35_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350817862","file1":"1350817857","file0":"1350817852","file4":"1350817868","file5":"1350817872","file3":"1350817865"},"map_files_photo_id_array":[{"photo_id":"1350817872","filename":"file5"},{"photo_id":"1350817862","filename":"file2"},{"photo_id":"1350817868","filename":"file4"},{"photo_id":"1350817857","filename":"file1"},{"photo_id":"1350817852","filename":"file0"},{"photo_id":"1350817865","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350817852":["hashtag1","hashtag2"]},{"1350817857":["hashtag1","hashtag2"]},{"1350817872":["hashtag1","hashtag2"]},{"1350817868":["hashtag1","hashtag2"]},{"1350817862":["hashtag1","hashtag2"]},{"1350817865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350817852, 1350817857, 1350817872, 1350817868, 1350817862, 1350817865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14399576187134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:45:32.196843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/16/image_09042025_16_17_06_10332.jpg', '/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_16_10339.jpg', '/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_25_9371.jpg', '/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_36_10347.jpg', '/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_46_10405.jpg', '/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_55_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/16/image_09042025_16_17_06_10332.jpg
/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_16_10339.jpg
/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_25_9371.jpg
/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_36_10347.jpg
/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_46_10405.jpg
/home/pi/Desktop/images/09042025/16/17/image_09042025_16_17_55_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":["1350818077","1350817919","1350817915","1350817924","1350818096","1350817976"],"photo_ids_order":["1350817915","1350817919","1350817924","1350817976","1350818077","1350818096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82064b5bf05ca3cba9d31ab410edda83.jpg","text":"TemporaryFile(/tmp/multipartBody1369742427001165516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213592668,"filename":"image_09042025_16_17_46_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/800a5ab8091263950fdc6fc805293d8b.jpg","text":"TemporaryFile(/tmp/multipartBody1462084259265795030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213592668,"filename":"image_09042025_16_17_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/4/9/94b768fcbd3007dd638bd8de5d88004a.jpg","text":"TemporaryFile(/tmp/multipartBody5082567041983142945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213592668,"filename":"image_09042025_16_17_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/4/9/e7e04e16c89066ea4646adf0ad0b27f7.jpg","text":"TemporaryFile(/tmp/multipartBody7076902872911821816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213592668,"filename":"image_09042025_16_17_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28e647caaf5f93d5f4bd42d950a1fca7.jpg","text":"TemporaryFile(/tmp/multipartBody5586471382030642973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213592668,"filename":"image_09042025_16_17_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2297815dc1676e2cac6deb9640b1c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody2542372862918109091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213592668,"filename":"image_09042025_16_17_36_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350817924","file1":"1350817919","file0":"1350817915","file4":"1350818077","file5":"1350818096","file3":"1350817976"},"map_files_photo_id_array":[{"photo_id":"1350818096","filename":"file5"},{"photo_id":"1350817924","filename":"file2"},{"photo_id":"1350818077","filename":"file4"},{"photo_id":"1350817919","filename":"file1"},{"photo_id":"1350817915","filename":"file0"},{"photo_id":"1350817976","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350818077":["hashtag1","hashtag2"]},{"1350817919":["hashtag1","hashtag2"]},{"1350817915":["hashtag1","hashtag2"]},{"1350817924":["hashtag1","hashtag2"]},{"1350818096":["hashtag1","hashtag2"]},{"1350817976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350818077, 1350817919, 1350817915, 1350817924, 1350818096, 1350817976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26418924331665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:46:32.380616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/17/image_09042025_16_18_06_10355.jpg', '/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_15_9508.jpg', '/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_26_10354.jpg', '/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_36_10345.jpg', '/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_45_9413.jpg', '/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_56_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/17/image_09042025_16_18_06_10355.jpg
/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_15_9508.jpg
/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_26_10354.jpg
/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_36_10345.jpg
/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_45_9413.jpg
/home/pi/Desktop/images/09042025/16/18/image_09042025_16_18_56_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":["1350818353","1350818359","1350818320","1350818357","1350818342","1350818324"],"photo_ids_order":["1350818320","1350818324","1350818342","1350818353","1350818357","1350818359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c05f53aa684e812d9f380e86c81ea68.jpg","text":"TemporaryFile(/tmp/multipartBody3454522960413798068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213652838,"filename":"image_09042025_16_18_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/4/9/6aa0602cd032d2aa11f0428ed62cef36.jpg","text":"TemporaryFile(/tmp/multipartBody767373665347287412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213652838,"filename":"image_09042025_16_18_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/4/9/f4bb7b578fdea7e8a085f136924205f0.jpg","text":"TemporaryFile(/tmp/multipartBody953271552976833608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213652838,"filename":"image_09042025_16_18_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2a2922f44e3cdfc059c9a1a297b632da.jpg","text":"TemporaryFile(/tmp/multipartBody7704756134177243833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213652838,"filename":"image_09042025_16_18_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/4/9/3cd9228800ad1327f808b331bb55143d.jpg","text":"TemporaryFile(/tmp/multipartBody4884878227965529307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213652838,"filename":"image_09042025_16_18_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/4/9/df0e938a493574ed728c87794d3db5cd.jpg","text":"TemporaryFile(/tmp/multipartBody2607179048872168133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213652838,"filename":"image_09042025_16_18_15_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350818342","file1":"1350818324","file0":"1350818320","file4":"1350818357","file5":"1350818359","file3":"1350818353"},"map_files_photo_id_array":[{"photo_id":"1350818359","filename":"file5"},{"photo_id":"1350818342","filename":"file2"},{"photo_id":"1350818357","filename":"file4"},{"photo_id":"1350818324","filename":"file1"},{"photo_id":"1350818320","filename":"file0"},{"photo_id":"1350818353","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350818353":["hashtag1","hashtag2"]},{"1350818359":["hashtag1","hashtag2"]},{"1350818320":["hashtag1","hashtag2"]},{"1350818357":["hashtag1","hashtag2"]},{"1350818342":["hashtag1","hashtag2"]},{"1350818324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350818353, 1350818359, 1350818320, 1350818357, 1350818342, 1350818324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55136036872864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:47:32.696314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/18/image_09042025_16_19_05_9422.jpg', '/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_15_10327.jpg', '/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_26_10365.jpg', '/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_35_9339.jpg', '/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_46_10352.jpg', '/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_56_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/18/image_09042025_16_19_05_9422.jpg
/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_15_10327.jpg
/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_26_10365.jpg
/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_35_9339.jpg
/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_46_10352.jpg
/home/pi/Desktop/images/09042025/16/19/image_09042025_16_19_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":["1350818380","1350818407","1350818391","1350818400","1350818375","1350818405"],"photo_ids_order":["1350818375","1350818380","1350818391","1350818400","1350818405","1350818407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a3c36058de06495d5c52352f315c379.jpg","text":"TemporaryFile(/tmp/multipartBody4458526130579365386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213713155,"filename":"image_09042025_16_19_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/4/9/becc3a20695fa3147ca40463f224f30b.jpg","text":"TemporaryFile(/tmp/multipartBody8343655145715636245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213713155,"filename":"image_09042025_16_19_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/4/9/d5b9d9e7cd189e3086a61845c61783a0.jpg","text":"TemporaryFile(/tmp/multipartBody7370062715437850538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213713155,"filename":"image_09042025_16_19_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/4/9/5d75710fb156d8f1ddca468e923386c3.jpg","text":"TemporaryFile(/tmp/multipartBody962893443870915078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213713155,"filename":"image_09042025_16_19_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/4/9/ade0ad9988530fe5e3d57ace6995cc8b.jpg","text":"TemporaryFile(/tmp/multipartBody3027823390556426130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213713155,"filename":"image_09042025_16_19_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/4/9/90a53da1579df2289efd4b1d65b7e2a9.jpg","text":"TemporaryFile(/tmp/multipartBody8003932243558423717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213713155,"filename":"image_09042025_16_19_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350818391","file1":"1350818380","file0":"1350818375","file4":"1350818405","file5":"1350818407","file3":"1350818400"},"map_files_photo_id_array":[{"photo_id":"1350818407","filename":"file5"},{"photo_id":"1350818391","filename":"file2"},{"photo_id":"1350818405","filename":"file4"},{"photo_id":"1350818380","filename":"file1"},{"photo_id":"1350818375","filename":"file0"},{"photo_id":"1350818400","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350818380":["hashtag1","hashtag2"]},{"1350818407":["hashtag1","hashtag2"]},{"1350818391":["hashtag1","hashtag2"]},{"1350818400":["hashtag1","hashtag2"]},{"1350818375":["hashtag1","hashtag2"]},{"1350818405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350818380, 1350818407, 1350818391, 1350818400, 1350818375, 1350818405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68394136428833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:48:32.864680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/19/image_09042025_16_20_05_9415.jpg', '/home/pi/Desktop/images/09042025/16/20/image_09042025_16_20_16_10344.jpg', '/home/pi/Desktop/images/09042025/16/20/image_09042025_16_20_26_10367.jpg', '/home/pi/Desktop/images/09042025/16/20/image_09042025_16_20_35_9338.jpg', '/home/pi/Desktop/images/09042025/16/20/image_09042025_16_20_55_9444.jpg', '/home/pi/Desktop/images/09042025/16/20/image_09042025_16_21_06_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/19/image_09042025_16_20_05_9415.jpg
/home/pi/Desktop/images/09042025/16/20/image_09042025_16_20_16_10344.jpg
/home/pi/Desktop/images/09042025/16/20/image_09042025_16_20_26_10367.jpg
/home/pi/Desktop/images/09042025/16/20/image_09042025_16_20_35_9338.jpg
/home/pi/Desktop/images/09042025/16/20/image_09042025_16_20_55_9444.jpg
/home/pi/Desktop/images/09042025/16/20/image_09042025_16_21_06_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350818557","1350818539","1350818512","1350818506","1350818532","1350818480"],"photo_ids_order":["1350818480","1350818506","1350818512","1350818532","1350818539","1350818557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d11a06e4a18a7dd41621c6064f91d4f.jpg","text":"TemporaryFile(/tmp/multipartBody6509854998638594027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213773319,"filename":"image_09042025_16_21_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/4/9/7a157097cdef0642d4a6cf46d11c4966.jpg","text":"TemporaryFile(/tmp/multipartBody4895843957406777242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213773319,"filename":"image_09042025_16_20_55_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af24edb104882f374b691ca94bd459c7.jpg","text":"TemporaryFile(/tmp/multipartBody6713751111676483405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213773319,"filename":"image_09042025_16_20_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/4/9/76904ce26b5ff217d45cf51c28c3cc08.jpg","text":"TemporaryFile(/tmp/multipartBody1818504059544657208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213773319,"filename":"image_09042025_16_20_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/4/9/ac7656cd2086d6b36b4317c51f07b5a3.jpg","text":"TemporaryFile(/tmp/multipartBody7054459912856055493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213773319,"filename":"image_09042025_16_20_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/4/9/b0f85c41c03e46216d4eaa5ed5a0c287.jpg","text":"TemporaryFile(/tmp/multipartBody7706756235530267875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213773319,"filename":"image_09042025_16_20_05_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350818512","file1":"1350818506","file0":"1350818480","file4":"1350818539","file5":"1350818557","file3":"1350818532"},"map_files_photo_id_array":[{"photo_id":"1350818557","filename":"file5"},{"photo_id":"1350818512","filename":"file2"},{"photo_id":"1350818539","filename":"file4"},{"photo_id":"1350818506","filename":"file1"},{"photo_id":"1350818480","filename":"file0"},{"photo_id":"1350818532","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350818557":["hashtag1","hashtag2"]},{"1350818539":["hashtag1","hashtag2"]},{"1350818512":["hashtag1","hashtag2"]},{"1350818506":["hashtag1","hashtag2"]},{"1350818532":["hashtag1","hashtag2"]},{"1350818480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350818557, 1350818539, 1350818512, 1350818506, 1350818532, 1350818480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11169934272766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:49:33.048756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_16_10448.jpg', '/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_26_9476.jpg', '/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_36_10347.jpg', '/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_45_9342.jpg', '/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_56_10358.jpg', '/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_15_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_16_10448.jpg
/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_26_9476.jpg
/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_36_10347.jpg
/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_45_9342.jpg
/home/pi/Desktop/images/09042025/16/21/image_09042025_16_21_56_10358.jpg
/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_15_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":["1350818671","1350818690","1350818684","1350818675","1350818695","1350818680"],"photo_ids_order":["1350818671","1350818675","1350818680","1350818684","1350818690","1350818695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/be30259dd8279d3aa1fe3905329040d9.jpg","text":"TemporaryFile(/tmp/multipartBody7210660332122515562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213833512,"filename":"image_09042025_16_21_16_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6738634f7bacb9d80609ddca083d16e5.jpg","text":"TemporaryFile(/tmp/multipartBody2184216220007530752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213833512,"filename":"image_09042025_16_21_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/4/9/7551ddcfc51988b4a8262e791d39c195.jpg","text":"TemporaryFile(/tmp/multipartBody8081775154284916594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213833512,"filename":"image_09042025_16_21_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/4/9/718b56ba98dbb323efbcd19a21249a21.jpg","text":"TemporaryFile(/tmp/multipartBody2123477232171825472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213833512,"filename":"image_09042025_16_21_26_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30ccb1be97614d32507981af44d5d49f.jpg","text":"TemporaryFile(/tmp/multipartBody8044654174203321616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213833512,"filename":"image_09042025_16_22_15_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d145f070bcd5a4be15ab660cc3cba2ee.jpg","text":"TemporaryFile(/tmp/multipartBody8079663701024343082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213833512,"filename":"image_09042025_16_21_36_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350818680","file1":"1350818675","file0":"1350818671","file4":"1350818690","file5":"1350818695","file3":"1350818684"},"map_files_photo_id_array":[{"photo_id":"1350818695","filename":"file5"},{"photo_id":"1350818680","filename":"file2"},{"photo_id":"1350818690","filename":"file4"},{"photo_id":"1350818675","filename":"file1"},{"photo_id":"1350818671","filename":"file0"},{"photo_id":"1350818684","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350818671":["hashtag1","hashtag2"]},{"1350818690":["hashtag1","hashtag2"]},{"1350818684":["hashtag1","hashtag2"]},{"1350818675":["hashtag1","hashtag2"]},{"1350818695":["hashtag1","hashtag2"]},{"1350818680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350818671, 1350818690, 1350818684, 1350818675, 1350818695, 1350818680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37448835372925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:50:32.292517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_26_10369.jpg', '/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_35_9458.jpg', '/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_46_10350.jpg', '/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_56_10378.jpg', '/home/pi/Desktop/images/09042025/16/22/image_09042025_16_23_05_9386.jpg', '/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_16_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_26_10369.jpg
/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_35_9458.jpg
/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_46_10350.jpg
/home/pi/Desktop/images/09042025/16/22/image_09042025_16_22_56_10378.jpg
/home/pi/Desktop/images/09042025/16/22/image_09042025_16_23_05_9386.jpg
/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_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":["1350818749","1350818745","1350818739","1350818756","1350818729","1350818761"],"photo_ids_order":["1350818729","1350818739","1350818745","1350818749","1350818756","1350818761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/577eb778ccea5f534d65a7fa9f4c9020.jpg","text":"TemporaryFile(/tmp/multipartBody6379270751716899043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213892763,"filename":"image_09042025_16_22_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59cd3abf6d37b15976d7fde66882ddec.jpg","text":"TemporaryFile(/tmp/multipartBody2221060566640867243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213892763,"filename":"image_09042025_16_22_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/4/9/810582795cc9e6a954f8fb53d8678c98.jpg","text":"TemporaryFile(/tmp/multipartBody2743835719885603282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213892763,"filename":"image_09042025_16_22_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/4/9/87e2d302e0ec5dd9c167cfb240794ff1.jpg","text":"TemporaryFile(/tmp/multipartBody2138071871871723446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213892763,"filename":"image_09042025_16_23_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6eba0d4926b494062d3c1b8d128e4ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3639574171083627783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213892763,"filename":"image_09042025_16_22_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/4/9/65fba05c69dc23ea273dc3c98c030ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2834305367369693317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213892763,"filename":"image_09042025_16_23_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350818745","file1":"1350818739","file0":"1350818729","file4":"1350818756","file5":"1350818761","file3":"1350818749"},"map_files_photo_id_array":[{"photo_id":"1350818761","filename":"file5"},{"photo_id":"1350818745","filename":"file2"},{"photo_id":"1350818756","filename":"file4"},{"photo_id":"1350818739","filename":"file1"},{"photo_id":"1350818729","filename":"file0"},{"photo_id":"1350818749","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350818749":["hashtag1","hashtag2"]},{"1350818745":["hashtag1","hashtag2"]},{"1350818739":["hashtag1","hashtag2"]},{"1350818756":["hashtag1","hashtag2"]},{"1350818729":["hashtag1","hashtag2"]},{"1350818761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350818749, 1350818745, 1350818739, 1350818756, 1350818729, 1350818761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5254168510437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:51:32.589722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_25_9480.jpg', '/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_36_10399.jpg', '/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_46_10364.jpg', '/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_55_9352.jpg', '/home/pi/Desktop/images/09042025/16/23/image_09042025_16_24_06_10448.jpg', '/home/pi/Desktop/images/09042025/16/24/image_09042025_16_24_16_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_25_9480.jpg
/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_36_10399.jpg
/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_46_10364.jpg
/home/pi/Desktop/images/09042025/16/23/image_09042025_16_23_55_9352.jpg
/home/pi/Desktop/images/09042025/16/23/image_09042025_16_24_06_10448.jpg
/home/pi/Desktop/images/09042025/16/24/image_09042025_16_24_16_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":["1350818965","1350819063","1350818926","1350818952","1350819044","1350818933"],"photo_ids_order":["1350818926","1350818933","1350818952","1350818965","1350819044","1350819063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df5348d67522df244900d8e23de9cd46.jpg","text":"TemporaryFile(/tmp/multipartBody7176818579804407213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213953073,"filename":"image_09042025_16_23_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/4/9/575d3d4a8b59e7c12f69c6f9d7fe6255.jpg","text":"TemporaryFile(/tmp/multipartBody5910727074709393615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213953073,"filename":"image_09042025_16_24_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/4/9/259fd87c448a023ff7372867ff3dc86a.jpg","text":"TemporaryFile(/tmp/multipartBody5104019435745005594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213953073,"filename":"image_09042025_16_23_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/4/9/3aca37d84c340039ab2a915147db536b.jpg","text":"TemporaryFile(/tmp/multipartBody4852599528310238206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213953073,"filename":"image_09042025_16_23_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/4/9/9a122278e2f92b93a5d3135e7eadee18.jpg","text":"TemporaryFile(/tmp/multipartBody1218876588129487180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213953073,"filename":"image_09042025_16_24_06_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0300a2328965aa0ae15caa3f71de5e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7397147093325287858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744213953073,"filename":"image_09042025_16_23_36_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350818952","file1":"1350818933","file0":"1350818926","file4":"1350819044","file5":"1350819063","file3":"1350818965"},"map_files_photo_id_array":[{"photo_id":"1350819063","filename":"file5"},{"photo_id":"1350818952","filename":"file2"},{"photo_id":"1350819044","filename":"file4"},{"photo_id":"1350818933","filename":"file1"},{"photo_id":"1350818926","filename":"file0"},{"photo_id":"1350818965","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350818965":["hashtag1","hashtag2"]},{"1350819063":["hashtag1","hashtag2"]},{"1350818926":["hashtag1","hashtag2"]},{"1350818952":["hashtag1","hashtag2"]},{"1350819044":["hashtag1","hashtag2"]},{"1350818933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350818965, 1350819063, 1350818926, 1350818952, 1350819044, 1350818933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.394864559173584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:52:32.733073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/24/image_09042025_16_24_25_9427.jpg', '/home/pi/Desktop/images/09042025/16/24/image_09042025_16_24_45_9436.jpg', '/home/pi/Desktop/images/09042025/16/24/image_09042025_16_24_56_10348.jpg', '/home/pi/Desktop/images/09042025/16/24/image_09042025_16_25_06_10338.jpg', '/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_15_9414.jpg', '/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_26_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/24/image_09042025_16_24_25_9427.jpg
/home/pi/Desktop/images/09042025/16/24/image_09042025_16_24_45_9436.jpg
/home/pi/Desktop/images/09042025/16/24/image_09042025_16_24_56_10348.jpg
/home/pi/Desktop/images/09042025/16/24/image_09042025_16_25_06_10338.jpg
/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_15_9414.jpg
/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_26_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":["1350819273","1350819428","1350819170","1350819493","1350819200","1350819340"],"photo_ids_order":["1350819170","1350819200","1350819273","1350819340","1350819428","1350819493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26e19d57e76ac77c7a4ca2b0b1f7708a.jpg","text":"TemporaryFile(/tmp/multipartBody1514101162067675881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214013188,"filename":"image_09042025_16_24_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd58edf2d03ef3ae8ab93dfd0b87d060.jpg","text":"TemporaryFile(/tmp/multipartBody5521756332172282170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214013188,"filename":"image_09042025_16_25_15_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1fdfed7dc1e36233fc1eacc32ede6842.jpg","text":"TemporaryFile(/tmp/multipartBody3518880271213918114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214013188,"filename":"image_09042025_16_24_25_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77fc30c99681634b58fb8f971d7db53c.jpg","text":"TemporaryFile(/tmp/multipartBody4760682894413570895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214013188,"filename":"image_09042025_16_25_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/4/9/d0a194fc238ba42eadba9e8d8b45531e.jpg","text":"TemporaryFile(/tmp/multipartBody795053593272593786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214013188,"filename":"image_09042025_16_24_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/4/9/2e66164e5a01deb26d84c389339e6abf.jpg","text":"TemporaryFile(/tmp/multipartBody5253599716150730239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214013188,"filename":"image_09042025_16_25_06_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350819273","file1":"1350819200","file0":"1350819170","file4":"1350819428","file5":"1350819493","file3":"1350819340"},"map_files_photo_id_array":[{"photo_id":"1350819493","filename":"file5"},{"photo_id":"1350819273","filename":"file2"},{"photo_id":"1350819428","filename":"file4"},{"photo_id":"1350819200","filename":"file1"},{"photo_id":"1350819170","filename":"file0"},{"photo_id":"1350819340","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350819273":["hashtag1","hashtag2"]},{"1350819428":["hashtag1","hashtag2"]},{"1350819170":["hashtag1","hashtag2"]},{"1350819493":["hashtag1","hashtag2"]},{"1350819200":["hashtag1","hashtag2"]},{"1350819340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350819273, 1350819428, 1350819170, 1350819493, 1350819200, 1350819340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.782601833343506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:53:32.941486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_35_9428.jpg', '/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_46_10354.jpg', '/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_56_10348.jpg', '/home/pi/Desktop/images/09042025/16/25/image_09042025_16_26_05_9362.jpg', '/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_16_10325.jpg', '/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_26_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_35_9428.jpg
/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_46_10354.jpg
/home/pi/Desktop/images/09042025/16/25/image_09042025_16_25_56_10348.jpg
/home/pi/Desktop/images/09042025/16/25/image_09042025_16_26_05_9362.jpg
/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_16_10325.jpg
/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_26_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350819695","1350819764","1350819659","1350819749","1350819742","1350819646"],"photo_ids_order":["1350819646","1350819659","1350819695","1350819742","1350819749","1350819764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e022196b739ec50d50fe9f6157d34b2c.jpg","text":"TemporaryFile(/tmp/multipartBody7535997277583857606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214073404,"filename":"image_09042025_16_25_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9d552fef4c07a1522166045547c5d87.jpg","text":"TemporaryFile(/tmp/multipartBody6716489367081665730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214073404,"filename":"image_09042025_16_26_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1dabf729ab85f4cdb44bf2d556ee46c.jpg","text":"TemporaryFile(/tmp/multipartBody8124717638773093523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214073404,"filename":"image_09042025_16_25_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/4/9/c257afc285ad21bbab4c3d3e3f226a63.jpg","text":"TemporaryFile(/tmp/multipartBody4060046440036780592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214073404,"filename":"image_09042025_16_26_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/4/9/57388e924a891650f0f75b4a9ee316b4.jpg","text":"TemporaryFile(/tmp/multipartBody4908111624642565943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214073404,"filename":"image_09042025_16_26_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/4/9/c858b0f60f5cfda67e793645e9db939e.jpg","text":"TemporaryFile(/tmp/multipartBody5505324078631874534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214073404,"filename":"image_09042025_16_25_35_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350819695","file1":"1350819659","file0":"1350819646","file4":"1350819749","file5":"1350819764","file3":"1350819742"},"map_files_photo_id_array":[{"photo_id":"1350819764","filename":"file5"},{"photo_id":"1350819695","filename":"file2"},{"photo_id":"1350819749","filename":"file4"},{"photo_id":"1350819659","filename":"file1"},{"photo_id":"1350819646","filename":"file0"},{"photo_id":"1350819742","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350819695":["hashtag1","hashtag2"]},{"1350819764":["hashtag1","hashtag2"]},{"1350819659":["hashtag1","hashtag2"]},{"1350819749":["hashtag1","hashtag2"]},{"1350819742":["hashtag1","hashtag2"]},{"1350819646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350819695, 1350819764, 1350819659, 1350819749, 1350819742, 1350819646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10242772102356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:54:33.233057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_35_9440.jpg', '/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_46_10344.jpg', '/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_55_9407.jpg', '/home/pi/Desktop/images/09042025/16/26/image_09042025_16_27_05_10346.jpg', '/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_16_10405.jpg', '/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_25_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_35_9440.jpg
/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_46_10344.jpg
/home/pi/Desktop/images/09042025/16/26/image_09042025_16_26_55_9407.jpg
/home/pi/Desktop/images/09042025/16/26/image_09042025_16_27_05_10346.jpg
/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_16_10405.jpg
/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_25_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350819887","1350819825","1350819878","1350819854","1350819883","1350819871"],"photo_ids_order":["1350819825","1350819854","1350819871","1350819878","1350819883","1350819887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1fbac348c76ee19cff89d4a3d9fd1b1.jpg","text":"TemporaryFile(/tmp/multipartBody8322242123905376142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214133744,"filename":"image_09042025_16_27_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9f5bb85ea6c10a72acb5e9937a8add1.jpg","text":"TemporaryFile(/tmp/multipartBody5579467779551465992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214133744,"filename":"image_09042025_16_26_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/4/9/4d5f2651d582d5989422e5d18400857c.jpg","text":"TemporaryFile(/tmp/multipartBody6274734667884712235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214133744,"filename":"image_09042025_16_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/4/9/414653df3512fbc87d34a8e94c71bc81.jpg","text":"TemporaryFile(/tmp/multipartBody41863996894752541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214133744,"filename":"image_09042025_16_26_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e8503c2983c0788ab08316d00c2d95b.jpg","text":"TemporaryFile(/tmp/multipartBody1997361715340301669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214133744,"filename":"image_09042025_16_27_16_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7aa38dac5bb8bb12fb7493f6571383cd.jpg","text":"TemporaryFile(/tmp/multipartBody4672888427260576039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214133744,"filename":"image_09042025_16_26_55_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350819871","file1":"1350819854","file0":"1350819825","file4":"1350819883","file5":"1350819887","file3":"1350819878"},"map_files_photo_id_array":[{"photo_id":"1350819887","filename":"file5"},{"photo_id":"1350819871","filename":"file2"},{"photo_id":"1350819883","filename":"file4"},{"photo_id":"1350819854","filename":"file1"},{"photo_id":"1350819825","filename":"file0"},{"photo_id":"1350819878","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350819887":["hashtag1","hashtag2"]},{"1350819825":["hashtag1","hashtag2"]},{"1350819878":["hashtag1","hashtag2"]},{"1350819854":["hashtag1","hashtag2"]},{"1350819883":["hashtag1","hashtag2"]},{"1350819871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350819887, 1350819825, 1350819878, 1350819854, 1350819883, 1350819871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.504154443740845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:55:32.384765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_36_10400.jpg', '/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_46_10365.jpg', '/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_55_9399.jpg', '/home/pi/Desktop/images/09042025/16/27/image_09042025_16_28_06_10349.jpg', '/home/pi/Desktop/images/09042025/16/28/image_09042025_16_28_15_9473.jpg', '/home/pi/Desktop/images/09042025/16/28/image_09042025_16_28_36_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_36_10400.jpg
/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_46_10365.jpg
/home/pi/Desktop/images/09042025/16/27/image_09042025_16_27_55_9399.jpg
/home/pi/Desktop/images/09042025/16/27/image_09042025_16_28_06_10349.jpg
/home/pi/Desktop/images/09042025/16/28/image_09042025_16_28_15_9473.jpg
/home/pi/Desktop/images/09042025/16/28/image_09042025_16_28_36_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":["1350819981","1350820018","1350820023","1350820031","1350820028","1350820007"],"photo_ids_order":["1350819981","1350820007","1350820018","1350820023","1350820028","1350820031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/203a99a6e44fc76dcfb99af63fe124bb.jpg","text":"TemporaryFile(/tmp/multipartBody2144582351495356981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214192845,"filename":"image_09042025_16_27_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49cea6acc555929f52927ccb5c181b49.jpg","text":"TemporaryFile(/tmp/multipartBody432914415188533889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214192845,"filename":"image_09042025_16_27_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/4/9/200710516d7ed962f785b9d457567211.jpg","text":"TemporaryFile(/tmp/multipartBody133243742756366433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214192845,"filename":"image_09042025_16_28_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/4/9/69b7c70b0e7038e5bb08affe6ccfac3b.jpg","text":"TemporaryFile(/tmp/multipartBody8173349944453161059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214192845,"filename":"image_09042025_16_28_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/4/9/57da078df914ed4c90888973ba676636.jpg","text":"TemporaryFile(/tmp/multipartBody897411953369852432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214192845,"filename":"image_09042025_16_28_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/4/9/5f650598f34e835a4f57f8d01ff48609.jpg","text":"TemporaryFile(/tmp/multipartBody3201510657614324966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214192845,"filename":"image_09042025_16_27_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350820018","file1":"1350820007","file0":"1350819981","file4":"1350820028","file5":"1350820031","file3":"1350820023"},"map_files_photo_id_array":[{"photo_id":"1350820031","filename":"file5"},{"photo_id":"1350820018","filename":"file2"},{"photo_id":"1350820028","filename":"file4"},{"photo_id":"1350820007","filename":"file1"},{"photo_id":"1350819981","filename":"file0"},{"photo_id":"1350820023","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350819981":["hashtag1","hashtag2"]},{"1350820018":["hashtag1","hashtag2"]},{"1350820023":["hashtag1","hashtag2"]},{"1350820031":["hashtag1","hashtag2"]},{"1350820028":["hashtag1","hashtag2"]},{"1350820007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350819981, 1350820018, 1350820023, 1350820031, 1350820028, 1350820007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54987120628357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:56:32.564203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/28/image_09042025_16_28_45_9414.jpg', '/home/pi/Desktop/images/09042025/16/28/image_09042025_16_28_56_10359.jpg', '/home/pi/Desktop/images/09042025/16/28/image_09042025_16_29_05_9425.jpg', '/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_16_10367.jpg', '/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_26_10375.jpg', '/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_35_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/28/image_09042025_16_28_45_9414.jpg
/home/pi/Desktop/images/09042025/16/28/image_09042025_16_28_56_10359.jpg
/home/pi/Desktop/images/09042025/16/28/image_09042025_16_29_05_9425.jpg
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_16_10367.jpg
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_26_10375.jpg
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_35_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350820189","1350820135","1350820218","1350820280","1350820256","1350820163"],"photo_ids_order":["1350820135","1350820163","1350820189","1350820218","1350820256","1350820280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5896366d5a99162f145e72118fd366c9.jpg","text":"TemporaryFile(/tmp/multipartBody5566318424794436829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214253023,"filename":"image_09042025_16_29_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/4/9/a42b9214781678ae0765ebe032aec71e.jpg","text":"TemporaryFile(/tmp/multipartBody4863280886792020545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214253023,"filename":"image_09042025_16_28_45_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55a116c44fe7edb3582586ce61bb045c.jpg","text":"TemporaryFile(/tmp/multipartBody4592548793740036711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214253023,"filename":"image_09042025_16_29_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48bb65648dbc6abc286d0774e7dc271e.jpg","text":"TemporaryFile(/tmp/multipartBody9041431608724470318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214253023,"filename":"image_09042025_16_29_35_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d2a4980b9c43e80a3cbd46926c8d14ad.jpg","text":"TemporaryFile(/tmp/multipartBody669032113343941635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214253023,"filename":"image_09042025_16_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/4/9/a69f7654f7d4812023f40800fa741071.jpg","text":"TemporaryFile(/tmp/multipartBody7171523593558162994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214253023,"filename":"image_09042025_16_28_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350820189","file1":"1350820163","file0":"1350820135","file4":"1350820256","file5":"1350820280","file3":"1350820218"},"map_files_photo_id_array":[{"photo_id":"1350820280","filename":"file5"},{"photo_id":"1350820189","filename":"file2"},{"photo_id":"1350820256","filename":"file4"},{"photo_id":"1350820163","filename":"file1"},{"photo_id":"1350820135","filename":"file0"},{"photo_id":"1350820218","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350820189":["hashtag1","hashtag2"]},{"1350820135":["hashtag1","hashtag2"]},{"1350820218":["hashtag1","hashtag2"]},{"1350820280":["hashtag1","hashtag2"]},{"1350820256":["hashtag1","hashtag2"]},{"1350820163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350820189, 1350820135, 1350820218, 1350820280, 1350820256, 1350820163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73727798461914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:57:32.826714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_46_10352.jpg', '/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_56_10333.jpg', '/home/pi/Desktop/images/09042025/16/29/image_09042025_16_30_05_9416.jpg', '/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_16_10329.jpg', '/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_25_9383.jpg', '/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_46_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_46_10352.jpg
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_56_10333.jpg
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_30_05_9416.jpg
/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_16_10329.jpg
/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_25_9383.jpg
/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_46_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 17:59:03.642914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_46_10352.jpg', '/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_56_10333.jpg', '/home/pi/Desktop/images/09042025/16/29/image_09042025_16_30_05_9416.jpg', '/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_16_10329.jpg', '/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_25_9383.jpg', '/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_46_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_46_10352.jpg
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_29_56_10333.jpg
/home/pi/Desktop/images/09042025/16/29/image_09042025_16_30_05_9416.jpg
/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_16_10329.jpg
/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_25_9383.jpg
/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_46_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350821898","1350821946","1350821685","1350821930","1350821774","1350821819"],"photo_ids_order":["1350821685","1350821774","1350821819","1350821898","1350821930","1350821946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6541d22d62e56ff2b4355fd14b5c2b92.jpg","text":"TemporaryFile(/tmp/multipartBody1794034043695768906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214404230,"filename":"image_09042025_16_30_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/4/9/37e729a15d91eec27ae22013c4989434.jpg","text":"TemporaryFile(/tmp/multipartBody4844062682316896135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214404230,"filename":"image_09042025_16_30_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/4/9/6a454b225d33802554dd24c94962d4af.jpg","text":"TemporaryFile(/tmp/multipartBody6481184458735769392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214404230,"filename":"image_09042025_16_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/4/9/55ee5ee8eb7b31e17b70977c6ef82c64.jpg","text":"TemporaryFile(/tmp/multipartBody7307050679243905185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214404230,"filename":"image_09042025_16_30_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e7eb355204d5016c9e9ecd3bb5b2850.jpg","text":"TemporaryFile(/tmp/multipartBody3952872661539069736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214404230,"filename":"image_09042025_16_29_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/4/9/2a7ea43b073a6a578168fe0ece686fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1088726848140397636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214404230,"filename":"image_09042025_16_30_05_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350821819","file1":"1350821774","file0":"1350821685","file4":"1350821930","file5":"1350821946","file3":"1350821898"},"map_files_photo_id_array":[{"photo_id":"1350821946","filename":"file5"},{"photo_id":"1350821819","filename":"file2"},{"photo_id":"1350821930","filename":"file4"},{"photo_id":"1350821774","filename":"file1"},{"photo_id":"1350821685","filename":"file0"},{"photo_id":"1350821898","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350821898":["hashtag1","hashtag2"]},{"1350821946":["hashtag1","hashtag2"]},{"1350821685":["hashtag1","hashtag2"]},{"1350821930":["hashtag1","hashtag2"]},{"1350821774":["hashtag1","hashtag2"]},{"1350821819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350821898, 1350821946, 1350821685, 1350821930, 1350821774, 1350821819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.06474542617798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 17:59:52.428207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_55_9422.jpg', '/home/pi/Desktop/images/09042025/16/30/image_09042025_16_31_06_10351.jpg', '/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_16_10334.jpg', '/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_25_9434.jpg', '/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_36_10352.jpg', '/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_45_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/30/image_09042025_16_30_55_9422.jpg
/home/pi/Desktop/images/09042025/16/30/image_09042025_16_31_06_10351.jpg
/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_16_10334.jpg
/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_25_9434.jpg
/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_36_10352.jpg
/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_45_9410.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350822372","1350822249","1350822131","1350822068","1350822203","1350822424"],"photo_ids_order":["1350822068","1350822131","1350822203","1350822249","1350822372","1350822424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/482429545d8fc4e561beb3c18dcbeeb7.jpg","text":"TemporaryFile(/tmp/multipartBody2481072111501827105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214452887,"filename":"image_09042025_16_31_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/4/9/ccc6ab2bb60be550b7d4b38ec7a687f3.jpg","text":"TemporaryFile(/tmp/multipartBody5538760656524592789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214452887,"filename":"image_09042025_16_31_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/4/9/78a2e18fb783590fd8bd39c5eb0305a5.jpg","text":"TemporaryFile(/tmp/multipartBody6092308851302252647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214452887,"filename":"image_09042025_16_31_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/4/9/d83ae76a10fd3de210c06f41b21f291a.jpg","text":"TemporaryFile(/tmp/multipartBody7891434714290430091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214452887,"filename":"image_09042025_16_30_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bbb7145aa2f3452b4fbabd1d2bc38cf6.jpg","text":"TemporaryFile(/tmp/multipartBody2670600705016691573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214452887,"filename":"image_09042025_16_31_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/4/9/c6bc82f8569a1ad3101643e8b64b0da8.jpg","text":"TemporaryFile(/tmp/multipartBody5788602307787548664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214452887,"filename":"image_09042025_16_31_45_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350822203","file1":"1350822131","file0":"1350822068","file4":"1350822372","file5":"1350822424","file3":"1350822249"},"map_files_photo_id_array":[{"photo_id":"1350822424","filename":"file5"},{"photo_id":"1350822203","filename":"file2"},{"photo_id":"1350822372","filename":"file4"},{"photo_id":"1350822131","filename":"file1"},{"photo_id":"1350822068","filename":"file0"},{"photo_id":"1350822249","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350822372":["hashtag1","hashtag2"]},{"1350822249":["hashtag1","hashtag2"]},{"1350822131":["hashtag1","hashtag2"]},{"1350822068":["hashtag1","hashtag2"]},{"1350822203":["hashtag1","hashtag2"]},{"1350822424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350822372, 1350822249, 1350822131, 1350822068, 1350822203, 1350822424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71244549751282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:00:32.658467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_55_10347.jpg', '/home/pi/Desktop/images/09042025/16/31/image_09042025_16_32_06_10358.jpg', '/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_15_9445.jpg', '/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_26_10336.jpg', '/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_35_9489.jpg', '/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_46_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/31/image_09042025_16_31_55_10347.jpg
/home/pi/Desktop/images/09042025/16/31/image_09042025_16_32_06_10358.jpg
/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_15_9445.jpg
/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_26_10336.jpg
/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_35_9489.jpg
/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_46_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":["1350822498","1350822533","1350822536","1350822512","1350822538","1350822495"],"photo_ids_order":["1350822495","1350822498","1350822512","1350822533","1350822536","1350822538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10bc046608682620ba617e2cfefbe361.jpg","text":"TemporaryFile(/tmp/multipartBody332154375344156234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214493174,"filename":"image_09042025_16_32_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f5fe49ab5f37ec66d82b672de500890.jpg","text":"TemporaryFile(/tmp/multipartBody4759273663573611869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214493174,"filename":"image_09042025_16_32_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/4/9/a43d85207061ebf8707f85dc4749f803.jpg","text":"TemporaryFile(/tmp/multipartBody7459069795797270614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214493174,"filename":"image_09042025_16_32_35_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/abc0d80cc88b91cede291ef80503bb49.jpg","text":"TemporaryFile(/tmp/multipartBody3091238859865801693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214493174,"filename":"image_09042025_16_32_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1b874dc7fd552394dd5e3450e2e3c49.jpg","text":"TemporaryFile(/tmp/multipartBody6627242402354657533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214493174,"filename":"image_09042025_16_32_46_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d9410553a3034ef0856ed2027bff381.jpg","text":"TemporaryFile(/tmp/multipartBody89244364929530425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214493174,"filename":"image_09042025_16_31_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350822512","file1":"1350822498","file0":"1350822495","file4":"1350822536","file5":"1350822538","file3":"1350822533"},"map_files_photo_id_array":[{"photo_id":"1350822538","filename":"file5"},{"photo_id":"1350822512","filename":"file2"},{"photo_id":"1350822536","filename":"file4"},{"photo_id":"1350822498","filename":"file1"},{"photo_id":"1350822495","filename":"file0"},{"photo_id":"1350822533","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350822498":["hashtag1","hashtag2"]},{"1350822533":["hashtag1","hashtag2"]},{"1350822536":["hashtag1","hashtag2"]},{"1350822512":["hashtag1","hashtag2"]},{"1350822538":["hashtag1","hashtag2"]},{"1350822495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350822498, 1350822533, 1350822536, 1350822512, 1350822538, 1350822495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.577268838882446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:01:32.953341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_56_10365.jpg', '/home/pi/Desktop/images/09042025/16/32/image_09042025_16_33_05_9455.jpg', '/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_16_10332.jpg', '/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_25_9477.jpg', '/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_36_10349.jpg', '/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/32/image_09042025_16_32_56_10365.jpg
/home/pi/Desktop/images/09042025/16/32/image_09042025_16_33_05_9455.jpg
/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_16_10332.jpg
/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_25_9477.jpg
/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_36_10349.jpg
/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_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":["1350822606","1350822596","1350822584","1350822610","1350822613","1350822616"],"photo_ids_order":["1350822584","1350822596","1350822606","1350822610","1350822613","1350822616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/05284431783f1e4eeac01db3e423b131.jpg","text":"TemporaryFile(/tmp/multipartBody1733462301080672533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214553427,"filename":"image_09042025_16_33_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/4/9/c306eaeb44fdfbdfe16631fe215eb4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5526052230863874151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214553427,"filename":"image_09042025_16_33_05_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c00db1f26818404b2b933bc02be27780.jpg","text":"TemporaryFile(/tmp/multipartBody6585556727472483268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214553427,"filename":"image_09042025_16_32_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/4/9/1552ec513ae61134713aaa228d5c7b23.jpg","text":"TemporaryFile(/tmp/multipartBody7396181747178440294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214553427,"filename":"image_09042025_16_33_25_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b02f3e6667b5f5f1fca777f8fc089006.jpg","text":"TemporaryFile(/tmp/multipartBody968502935523842872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214553427,"filename":"image_09042025_16_33_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/4/9/fb802998c94bda48a4ade42c1712f76a.jpg","text":"TemporaryFile(/tmp/multipartBody4412240392700428731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214553427,"filename":"image_09042025_16_33_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350822606","file1":"1350822596","file0":"1350822584","file4":"1350822613","file5":"1350822616","file3":"1350822610"},"map_files_photo_id_array":[{"photo_id":"1350822616","filename":"file5"},{"photo_id":"1350822606","filename":"file2"},{"photo_id":"1350822613","filename":"file4"},{"photo_id":"1350822596","filename":"file1"},{"photo_id":"1350822584","filename":"file0"},{"photo_id":"1350822610","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350822606":["hashtag1","hashtag2"]},{"1350822596":["hashtag1","hashtag2"]},{"1350822584":["hashtag1","hashtag2"]},{"1350822610":["hashtag1","hashtag2"]},{"1350822613":["hashtag1","hashtag2"]},{"1350822616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350822606, 1350822596, 1350822584, 1350822610, 1350822613, 1350822616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.891602516174316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:02:33.184863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_55_9409.jpg', '/home/pi/Desktop/images/09042025/16/33/image_09042025_16_34_06_10354.jpg', '/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_16_10344.jpg', '/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_25_9380.jpg', '/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_36_10334.jpg', '/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_45_9482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/33/image_09042025_16_33_55_9409.jpg
/home/pi/Desktop/images/09042025/16/33/image_09042025_16_34_06_10354.jpg
/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_16_10344.jpg
/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_25_9380.jpg
/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_36_10334.jpg
/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_45_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":["1350822657","1350822651","1350822671","1350822646","1350822678","1350822666"],"photo_ids_order":["1350822646","1350822651","1350822657","1350822666","1350822671","1350822678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15d8ee2a31a593eba629fb8910db4f20.jpg","text":"TemporaryFile(/tmp/multipartBody7440332378584777966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214613660,"filename":"image_09042025_16_34_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/4/9/eef29b411459dd9866b5aae9dc46a47f.jpg","text":"TemporaryFile(/tmp/multipartBody2179605202449169429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214613660,"filename":"image_09042025_16_34_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/4/9/2710caed3ab3323c1ca36d7d2b6f1c83.jpg","text":"TemporaryFile(/tmp/multipartBody8072406433871107178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214613660,"filename":"image_09042025_16_34_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/4/9/dab862674ea402bc442eea469ec3d472.jpg","text":"TemporaryFile(/tmp/multipartBody2588363229014744806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214613660,"filename":"image_09042025_16_33_55_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a6a5f96ab8d6ef380ca70fda62856dc.jpg","text":"TemporaryFile(/tmp/multipartBody5802281756516465768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214613660,"filename":"image_09042025_16_34_45_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c75dd7de6cbc1601cc665084de50c165.jpg","text":"TemporaryFile(/tmp/multipartBody283402467771403769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214613660,"filename":"image_09042025_16_34_25_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350822657","file1":"1350822651","file0":"1350822646","file4":"1350822671","file5":"1350822678","file3":"1350822666"},"map_files_photo_id_array":[{"photo_id":"1350822678","filename":"file5"},{"photo_id":"1350822657","filename":"file2"},{"photo_id":"1350822671","filename":"file4"},{"photo_id":"1350822651","filename":"file1"},{"photo_id":"1350822646","filename":"file0"},{"photo_id":"1350822666","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350822657":["hashtag1","hashtag2"]},{"1350822651":["hashtag1","hashtag2"]},{"1350822671":["hashtag1","hashtag2"]},{"1350822646":["hashtag1","hashtag2"]},{"1350822678":["hashtag1","hashtag2"]},{"1350822666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350822657, 1350822651, 1350822671, 1350822646, 1350822678, 1350822666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76770329475403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:03:32.447475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_56_10362.jpg', '/home/pi/Desktop/images/09042025/16/34/image_09042025_16_35_06_10348.jpg', '/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_15_9352.jpg', '/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_26_10368.jpg', '/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_36_10350.jpg', '/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_45_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/34/image_09042025_16_34_56_10362.jpg
/home/pi/Desktop/images/09042025/16/34/image_09042025_16_35_06_10348.jpg
/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_15_9352.jpg
/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_26_10368.jpg
/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_36_10350.jpg
/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_45_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":["1350822941","1350823127","1350822883","1350823075","1350822991","1350822814"],"photo_ids_order":["1350822814","1350822883","1350822941","1350822991","1350823075","1350823127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d3f0888954988ca4c88bf478ebdd230.jpg","text":"TemporaryFile(/tmp/multipartBody8127417328025804940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214672930,"filename":"image_09042025_16_35_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/4/9/2195c12758e84b22da7b9f8d896bbdba.jpg","text":"TemporaryFile(/tmp/multipartBody1518590395047202881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214672930,"filename":"image_09042025_16_35_45_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/688439a4a3bd2c5124a5a741be31e523.jpg","text":"TemporaryFile(/tmp/multipartBody5228223362923378092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214672930,"filename":"image_09042025_16_35_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/4/9/68b5d3ae94d36e0f555dbd55e6edc2a1.jpg","text":"TemporaryFile(/tmp/multipartBody5835799385979157110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214672930,"filename":"image_09042025_16_35_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/4/9/e4544fc8cd61592d8054baafb816ceea.jpg","text":"TemporaryFile(/tmp/multipartBody8205531601504209605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214672930,"filename":"image_09042025_16_35_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/4/9/93734a5c42937ea4ca5909520023a373.jpg","text":"TemporaryFile(/tmp/multipartBody9061676857432705752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214672930,"filename":"image_09042025_16_34_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350822941","file1":"1350822883","file0":"1350822814","file4":"1350823075","file5":"1350823127","file3":"1350822991"},"map_files_photo_id_array":[{"photo_id":"1350823127","filename":"file5"},{"photo_id":"1350822941","filename":"file2"},{"photo_id":"1350823075","filename":"file4"},{"photo_id":"1350822883","filename":"file1"},{"photo_id":"1350822814","filename":"file0"},{"photo_id":"1350822991","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350822941":["hashtag1","hashtag2"]},{"1350823127":["hashtag1","hashtag2"]},{"1350822883":["hashtag1","hashtag2"]},{"1350823075":["hashtag1","hashtag2"]},{"1350822991":["hashtag1","hashtag2"]},{"1350822814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350822941, 1350823127, 1350822883, 1350823075, 1350822991, 1350822814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11414289474487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:04:32.910112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_56_10374.jpg', '/home/pi/Desktop/images/09042025/16/35/image_09042025_16_36_05_9470.jpg', '/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_16_10343.jpg', '/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_26_10388.jpg', '/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_35_9393.jpg', '/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_46_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/35/image_09042025_16_35_56_10374.jpg
/home/pi/Desktop/images/09042025/16/35/image_09042025_16_36_05_9470.jpg
/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_16_10343.jpg
/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_26_10388.jpg
/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_35_9393.jpg
/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_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":["1350823556","1350823538","1350823553","1350823526","1350823549","1350823543"],"photo_ids_order":["1350823526","1350823538","1350823543","1350823549","1350823553","1350823556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03951a677ab907a27e371417ff789acb.jpg","text":"TemporaryFile(/tmp/multipartBody7278511771147172928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214733376,"filename":"image_09042025_16_36_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/4/9/13b351c82d54a66611ccc517582f10e9.jpg","text":"TemporaryFile(/tmp/multipartBody939486478418868631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214733376,"filename":"image_09042025_16_36_05_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3224833e0af1633e35523fb717787a57.jpg","text":"TemporaryFile(/tmp/multipartBody2807673705242235592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214733376,"filename":"image_09042025_16_36_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/4/9/d607950cf4e34296260843059f24b781.jpg","text":"TemporaryFile(/tmp/multipartBody8109128515273117731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214733376,"filename":"image_09042025_16_35_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/4/9/c085976bff9d51d258f8f73413a6c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody7573003007398850701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214733376,"filename":"image_09042025_16_36_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/4/9/0414307c90ce3cce114f592d84cb2b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2284654655873895750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214733376,"filename":"image_09042025_16_36_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350823543","file1":"1350823538","file0":"1350823526","file4":"1350823553","file5":"1350823556","file3":"1350823549"},"map_files_photo_id_array":[{"photo_id":"1350823556","filename":"file5"},{"photo_id":"1350823543","filename":"file2"},{"photo_id":"1350823553","filename":"file4"},{"photo_id":"1350823538","filename":"file1"},{"photo_id":"1350823526","filename":"file0"},{"photo_id":"1350823549","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350823556":["hashtag1","hashtag2"]},{"1350823538":["hashtag1","hashtag2"]},{"1350823553":["hashtag1","hashtag2"]},{"1350823526":["hashtag1","hashtag2"]},{"1350823549":["hashtag1","hashtag2"]},{"1350823543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350823556, 1350823538, 1350823553, 1350823526, 1350823549, 1350823543)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1350823543 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_16_10343.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 54.17460894584656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:05:33.155777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_55_9399.jpg', '/home/pi/Desktop/images/09042025/16/36/image_09042025_16_37_06_10364.jpg', '/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_16_10346.jpg', '/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_25_9455.jpg', '/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_36_10480.jpg', '/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/36/image_09042025_16_36_55_9399.jpg
/home/pi/Desktop/images/09042025/16/36/image_09042025_16_37_06_10364.jpg
/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_16_10346.jpg
/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_25_9455.jpg
/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_36_10480.jpg
/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350823623","1350823880","1350823847","1350823840","1350823816","1350823618"],"photo_ids_order":["1350823618","1350823623","1350823816","1350823840","1350823847","1350823880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c689612b0d416b027aa0977de252f142.jpg","text":"TemporaryFile(/tmp/multipartBody9040010818850408693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214793619,"filename":"image_09042025_16_37_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/4/9/0f7c5f203b7c68b33f59f15fd2ffd498.jpg","text":"TemporaryFile(/tmp/multipartBody4509519068178100469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214793619,"filename":"image_09042025_16_37_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/4/9/0a628ff61e709ed284bc630dd710f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody5617741035593037054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214793619,"filename":"image_09042025_16_37_36_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/786072ff824bf9737a3930a4d17f5487.jpg","text":"TemporaryFile(/tmp/multipartBody7142440351715431210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214793619,"filename":"image_09042025_16_37_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/4/9/f22a3cfea50c0b36ec663665a0224d61.jpg","text":"TemporaryFile(/tmp/multipartBody7452569843319460673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214793619,"filename":"image_09042025_16_37_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/4/9/45229ae6874eee6d6d8cf085feaa0e0a.jpg","text":"TemporaryFile(/tmp/multipartBody7132088805582931644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214793619,"filename":"image_09042025_16_36_55_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350823816","file1":"1350823623","file0":"1350823618","file4":"1350823847","file5":"1350823880","file3":"1350823840"},"map_files_photo_id_array":[{"photo_id":"1350823880","filename":"file5"},{"photo_id":"1350823816","filename":"file2"},{"photo_id":"1350823847","filename":"file4"},{"photo_id":"1350823623","filename":"file1"},{"photo_id":"1350823618","filename":"file0"},{"photo_id":"1350823840","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350823623":["hashtag1","hashtag2"]},{"1350823880":["hashtag1","hashtag2"]},{"1350823847":["hashtag1","hashtag2"]},{"1350823840":["hashtag1","hashtag2"]},{"1350823816":["hashtag1","hashtag2"]},{"1350823618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350823623, 1350823880, 1350823847, 1350823840, 1350823816, 1350823618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.31642007827759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:06:34.263961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_56_10350.jpg', '/home/pi/Desktop/images/09042025/16/37/image_09042025_16_38_06_10345.jpg', '/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_15_9472.jpg', '/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_26_10400.jpg', '/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_35_9404.jpg', '/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_46_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/37/image_09042025_16_37_56_10350.jpg
/home/pi/Desktop/images/09042025/16/37/image_09042025_16_38_06_10345.jpg
/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_15_9472.jpg
/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_26_10400.jpg
/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_35_9404.jpg
/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_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":["1350823919","1350823978","1350823900","1350823903","1350824037","1350824007"],"photo_ids_order":["1350823900","1350823903","1350823919","1350823978","1350824007","1350824037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d293acc2e246354cfb7b1bf56b85c00e.jpg","text":"TemporaryFile(/tmp/multipartBody3636389636863243945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214854738,"filename":"image_09042025_16_38_15_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7efbc2be1deea5259a619f613ceb2e57.jpg","text":"TemporaryFile(/tmp/multipartBody2426646485834628379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214854738,"filename":"image_09042025_16_38_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/4/9/965dec653d70c3d0c73663fa514c3840.jpg","text":"TemporaryFile(/tmp/multipartBody5003467342874407718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214854738,"filename":"image_09042025_16_37_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/4/9/01f4c61d3493cca0ec7260ccf6722c8f.jpg","text":"TemporaryFile(/tmp/multipartBody7708068249179421739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214854738,"filename":"image_09042025_16_38_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/4/9/f081d0783130ff01b985262f3e7d3a95.jpg","text":"TemporaryFile(/tmp/multipartBody7845585712531289972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214854738,"filename":"image_09042025_16_38_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/4/9/7ec29854b486750abaf6d3dc5635df93.jpg","text":"TemporaryFile(/tmp/multipartBody3768790695666387613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214854738,"filename":"image_09042025_16_38_35_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350823919","file1":"1350823903","file0":"1350823900","file4":"1350824007","file5":"1350824037","file3":"1350823978"},"map_files_photo_id_array":[{"photo_id":"1350824037","filename":"file5"},{"photo_id":"1350823919","filename":"file2"},{"photo_id":"1350824007","filename":"file4"},{"photo_id":"1350823903","filename":"file1"},{"photo_id":"1350823900","filename":"file0"},{"photo_id":"1350823978","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350823919":["hashtag1","hashtag2"]},{"1350823978":["hashtag1","hashtag2"]},{"1350823900":["hashtag1","hashtag2"]},{"1350823903":["hashtag1","hashtag2"]},{"1350824037":["hashtag1","hashtag2"]},{"1350824007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350823919, 1350823978, 1350823900, 1350823903, 1350824037, 1350824007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14786195755005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:07:32.382449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_56_10389.jpg', '/home/pi/Desktop/images/09042025/16/38/image_09042025_16_39_05_9432.jpg', '/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_16_10342.jpg', '/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_25_9452.jpg', '/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_36_10361.jpg', '/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_46_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/38/image_09042025_16_38_56_10389.jpg
/home/pi/Desktop/images/09042025/16/38/image_09042025_16_39_05_9432.jpg
/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_16_10342.jpg
/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_25_9452.jpg
/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_36_10361.jpg
/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_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":["1350824231","1350824225","1350824248","1350824233","1350824215","1350824220"],"photo_ids_order":["1350824215","1350824220","1350824225","1350824231","1350824233","1350824248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9679d2eb838307fe98b297b841f0049d.jpg","text":"TemporaryFile(/tmp/multipartBody2089282139931550346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214912850,"filename":"image_09042025_16_39_25_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e33cfede08eb6687f0ec35ff0f1c19f2.jpg","text":"TemporaryFile(/tmp/multipartBody3367229229318534504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214912850,"filename":"image_09042025_16_39_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/4/9/3d79bff944f903be56e7a9d13d5fd798.jpg","text":"TemporaryFile(/tmp/multipartBody1057353890949933107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214912850,"filename":"image_09042025_16_39_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/4/9/386bf91fc9d1d476eb3586708f2916e6.jpg","text":"TemporaryFile(/tmp/multipartBody7257813284052437089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214912850,"filename":"image_09042025_16_39_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/4/9/94db632f84c2d6606210b57299dc7e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7526437364873979227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214912850,"filename":"image_09042025_16_38_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c14d0002422c9bea58b021872d85051.jpg","text":"TemporaryFile(/tmp/multipartBody3676807104374689865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214912850,"filename":"image_09042025_16_39_05_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350824225","file1":"1350824220","file0":"1350824215","file4":"1350824233","file5":"1350824248","file3":"1350824231"},"map_files_photo_id_array":[{"photo_id":"1350824248","filename":"file5"},{"photo_id":"1350824225","filename":"file2"},{"photo_id":"1350824233","filename":"file4"},{"photo_id":"1350824220","filename":"file1"},{"photo_id":"1350824215","filename":"file0"},{"photo_id":"1350824231","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350824231":["hashtag1","hashtag2"]},{"1350824225":["hashtag1","hashtag2"]},{"1350824248":["hashtag1","hashtag2"]},{"1350824233":["hashtag1","hashtag2"]},{"1350824215":["hashtag1","hashtag2"]},{"1350824220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350824231, 1350824225, 1350824248, 1350824233, 1350824215, 1350824220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.213873863220215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:08:32.601469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_55_9390.jpg', '/home/pi/Desktop/images/09042025/16/39/image_09042025_16_40_06_10425.jpg', '/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_16_10340.jpg', '/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_25_9348.jpg', '/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_36_10357.jpg', '/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_45_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/39/image_09042025_16_39_55_9390.jpg
/home/pi/Desktop/images/09042025/16/39/image_09042025_16_40_06_10425.jpg
/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_16_10340.jpg
/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_25_9348.jpg
/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_36_10357.jpg
/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_45_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":["1350824465","1350824354","1350824318","1350824437","1350824325","1350824406"],"photo_ids_order":["1350824318","1350824325","1350824354","1350824406","1350824437","1350824465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ac0476fb6554c1668d6859f68c3bc71f.jpg","text":"TemporaryFile(/tmp/multipartBody655244880798868910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214973068,"filename":"image_09042025_16_40_45_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7450983944e2cf4a535ac6b48065ce23.jpg","text":"TemporaryFile(/tmp/multipartBody3807645917919436703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214973068,"filename":"image_09042025_16_40_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/4/9/3c00daa1310517c0b098fc1451ac3c52.jpg","text":"TemporaryFile(/tmp/multipartBody7536845905296903939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214973068,"filename":"image_09042025_16_39_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/4/9/9ff4eb52d3f50f95a4ef6f6ebe3de087.jpg","text":"TemporaryFile(/tmp/multipartBody190582872989878654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214973068,"filename":"image_09042025_16_40_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/4/9/6bf601a90a99342dacb8a6bec00b6173.jpg","text":"TemporaryFile(/tmp/multipartBody1072631163481367698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214973068,"filename":"image_09042025_16_40_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b0b5677e4047ce972f08ef498350a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1905181726801678502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744214973068,"filename":"image_09042025_16_40_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350824354","file1":"1350824325","file0":"1350824318","file4":"1350824437","file5":"1350824465","file3":"1350824406"},"map_files_photo_id_array":[{"photo_id":"1350824465","filename":"file5"},{"photo_id":"1350824354","filename":"file2"},{"photo_id":"1350824437","filename":"file4"},{"photo_id":"1350824325","filename":"file1"},{"photo_id":"1350824318","filename":"file0"},{"photo_id":"1350824406","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350824465":["hashtag1","hashtag2"]},{"1350824354":["hashtag1","hashtag2"]},{"1350824318":["hashtag1","hashtag2"]},{"1350824437":["hashtag1","hashtag2"]},{"1350824325":["hashtag1","hashtag2"]},{"1350824406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350824465, 1350824354, 1350824318, 1350824437, 1350824325, 1350824406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.640310764312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:09:32.914806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_56_10357.jpg', '/home/pi/Desktop/images/09042025/16/40/image_09042025_16_41_06_10354.jpg', '/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_15_9382.jpg', '/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_26_10376.jpg', '/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_36_10348.jpg', '/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_45_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/40/image_09042025_16_40_56_10357.jpg
/home/pi/Desktop/images/09042025/16/40/image_09042025_16_41_06_10354.jpg
/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_15_9382.jpg
/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_26_10376.jpg
/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_36_10348.jpg
/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_45_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350824780","1350824741","1350824720","1350824679","1350824844","1350824610"],"photo_ids_order":["1350824610","1350824679","1350824720","1350824741","1350824780","1350824844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2087d97b888d1f373b2ce2f2dcf275e7.jpg","text":"TemporaryFile(/tmp/multipartBody3251138264479484070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215033409,"filename":"image_09042025_16_41_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/4/9/0b038a5cc02bb69faad38a4accf2694c.jpg","text":"TemporaryFile(/tmp/multipartBody1352832269872663105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215033409,"filename":"image_09042025_16_41_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1df2d79bae48c8f69eff98bbacca906c.jpg","text":"TemporaryFile(/tmp/multipartBody6107330497485711097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215033409,"filename":"image_09042025_16_41_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/4/9/adff464858dc79c58ed89ca855856407.jpg","text":"TemporaryFile(/tmp/multipartBody6770818175515941128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215033409,"filename":"image_09042025_16_41_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/4/9/3630e1a8f2b8a8af5ecd9b5a72880438.jpg","text":"TemporaryFile(/tmp/multipartBody5086214900732349456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215033409,"filename":"image_09042025_16_41_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/4/9/bbcd9440ba57c7f8c08942d5a71ffc91.jpg","text":"TemporaryFile(/tmp/multipartBody1335294261759450648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215033409,"filename":"image_09042025_16_40_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350824720","file1":"1350824679","file0":"1350824610","file4":"1350824780","file5":"1350824844","file3":"1350824741"},"map_files_photo_id_array":[{"photo_id":"1350824844","filename":"file5"},{"photo_id":"1350824720","filename":"file2"},{"photo_id":"1350824780","filename":"file4"},{"photo_id":"1350824679","filename":"file1"},{"photo_id":"1350824610","filename":"file0"},{"photo_id":"1350824741","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350824780":["hashtag1","hashtag2"]},{"1350824741":["hashtag1","hashtag2"]},{"1350824720":["hashtag1","hashtag2"]},{"1350824679":["hashtag1","hashtag2"]},{"1350824844":["hashtag1","hashtag2"]},{"1350824610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350824780, 1350824741, 1350824720, 1350824679, 1350824844, 1350824610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32665467262268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:10:33.140011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_56_10351.jpg', '/home/pi/Desktop/images/09042025/16/41/image_09042025_16_42_05_9394.jpg', '/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_15_10334.jpg', '/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_26_10434.jpg', '/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_35_9471.jpg', '/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_46_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/41/image_09042025_16_41_56_10351.jpg
/home/pi/Desktop/images/09042025/16/41/image_09042025_16_42_05_9394.jpg
/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_15_10334.jpg
/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_26_10434.jpg
/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_35_9471.jpg
/home/pi/Desktop/images/09042025/16/42/image_09042025_16_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":["1350825014","1350824972","1350825043","1350825037","1350825027","1350825021"],"photo_ids_order":["1350824972","1350825014","1350825021","1350825027","1350825037","1350825043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c4cf152ac468061bf9f9722ffa3b3f3.jpg","text":"TemporaryFile(/tmp/multipartBody5869030191674463918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215093616,"filename":"image_09042025_16_42_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/4/9/6f0d648eba4fbbcbc5f124f092d538af.jpg","text":"TemporaryFile(/tmp/multipartBody5036508793794766214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215093616,"filename":"image_09042025_16_41_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/4/9/cf51e30f8fa05d4662b46a72b945f328.jpg","text":"TemporaryFile(/tmp/multipartBody8794511344065852301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215093616,"filename":"image_09042025_16_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/4/9/9e6d930a9a09fffd2b536f61f903c2bc.jpg","text":"TemporaryFile(/tmp/multipartBody1764498623634217379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215093616,"filename":"image_09042025_16_42_35_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2922b9d2a8afe8b3d024b3888d7c22aa.jpg","text":"TemporaryFile(/tmp/multipartBody2899602632841041801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215093616,"filename":"image_09042025_16_42_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a091045dfca675980228bc0ec816565a.jpg","text":"TemporaryFile(/tmp/multipartBody5182243413880673569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215093616,"filename":"image_09042025_16_42_15_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350825021","file1":"1350825014","file0":"1350824972","file4":"1350825037","file5":"1350825043","file3":"1350825027"},"map_files_photo_id_array":[{"photo_id":"1350825043","filename":"file5"},{"photo_id":"1350825021","filename":"file2"},{"photo_id":"1350825037","filename":"file4"},{"photo_id":"1350825014","filename":"file1"},{"photo_id":"1350824972","filename":"file0"},{"photo_id":"1350825027","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350825014":["hashtag1","hashtag2"]},{"1350824972":["hashtag1","hashtag2"]},{"1350825043":["hashtag1","hashtag2"]},{"1350825037":["hashtag1","hashtag2"]},{"1350825027":["hashtag1","hashtag2"]},{"1350825021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350825014, 1350824972, 1350825043, 1350825037, 1350825027, 1350825021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.18480920791626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:11:32.394771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_55_9384.jpg', '/home/pi/Desktop/images/09042025/16/42/image_09042025_16_43_06_10443.jpg', '/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_16_10353.jpg', '/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_25_9416.jpg', '/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_36_10330.jpg', '/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_45_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/42/image_09042025_16_42_55_9384.jpg
/home/pi/Desktop/images/09042025/16/42/image_09042025_16_43_06_10443.jpg
/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_16_10353.jpg
/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_25_9416.jpg
/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_36_10330.jpg
/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_45_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350825134","1350825250","1350825166","1350825106","1350825096","1350825275"],"photo_ids_order":["1350825096","1350825106","1350825134","1350825166","1350825250","1350825275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8caa682850d31c85cdcc2f8d802768f8.jpg","text":"TemporaryFile(/tmp/multipartBody8580643252713826579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215152873,"filename":"image_09042025_16_43_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/4/9/d1d080f9643b9ad020251f5d1e8903ca.jpg","text":"TemporaryFile(/tmp/multipartBody2778434254476277165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215152873,"filename":"image_09042025_16_43_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/4/9/bea713636496e1988862506ca0cc2723.jpg","text":"TemporaryFile(/tmp/multipartBody7452542329857011456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215152873,"filename":"image_09042025_16_43_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/889f5d21fbbfa6efb8d3367d7a7db084.jpg","text":"TemporaryFile(/tmp/multipartBody1051673370652744809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215152873,"filename":"image_09042025_16_43_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/853ae926ab51699a307ff33d2db251eb.jpg","text":"TemporaryFile(/tmp/multipartBody4141526177090846722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215152873,"filename":"image_09042025_16_42_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/288fd31437427dc600d2d9538e96bddf.jpg","text":"TemporaryFile(/tmp/multipartBody3055620635316452352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215152873,"filename":"image_09042025_16_43_45_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350825134","file1":"1350825106","file0":"1350825096","file4":"1350825250","file5":"1350825275","file3":"1350825166"},"map_files_photo_id_array":[{"photo_id":"1350825275","filename":"file5"},{"photo_id":"1350825134","filename":"file2"},{"photo_id":"1350825250","filename":"file4"},{"photo_id":"1350825106","filename":"file1"},{"photo_id":"1350825096","filename":"file0"},{"photo_id":"1350825166","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350825134":["hashtag1","hashtag2"]},{"1350825250":["hashtag1","hashtag2"]},{"1350825166":["hashtag1","hashtag2"]},{"1350825106":["hashtag1","hashtag2"]},{"1350825096":["hashtag1","hashtag2"]},{"1350825275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350825134, 1350825250, 1350825166, 1350825106, 1350825096, 1350825275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.737119913101196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:12:32.420504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_55_10346.jpg', '/home/pi/Desktop/images/09042025/16/43/image_09042025_16_44_06_10412.jpg', '/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_15_9325.jpg', '/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_26_10370.jpg', '/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_36_10351.jpg', '/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_45_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/43/image_09042025_16_43_55_10346.jpg
/home/pi/Desktop/images/09042025/16/43/image_09042025_16_44_06_10412.jpg
/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_15_9325.jpg
/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_26_10370.jpg
/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_36_10351.jpg
/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_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":["1350825391","1350825373","1350825532","1350825514","1350825477","1350825504"],"photo_ids_order":["1350825373","1350825391","1350825477","1350825504","1350825514","1350825532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/944ded6b7ba02ff7fb273d1946be976f.jpg","text":"TemporaryFile(/tmp/multipartBody4339284002162500989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215212889,"filename":"image_09042025_16_44_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/4/9/cfbb82abd656d4e2de685eba770581fa.jpg","text":"TemporaryFile(/tmp/multipartBody4804800619242930845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215212889,"filename":"image_09042025_16_43_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/4/9/bae4dc2d0ac28ff3fdd6ffe182ce1f0f.jpg","text":"TemporaryFile(/tmp/multipartBody2717172764650102590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215212889,"filename":"image_09042025_16_44_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/4/9/9094a6194670d884ca0bb70be01c432b.jpg","text":"TemporaryFile(/tmp/multipartBody1847183837549472626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215212889,"filename":"image_09042025_16_44_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/4/9/2ef6570886433ab5c3eb305386254468.jpg","text":"TemporaryFile(/tmp/multipartBody1904657656497520442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215212889,"filename":"image_09042025_16_44_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/4/9/a5045d0d3cb024128c2257a88452c346.jpg","text":"TemporaryFile(/tmp/multipartBody1687398743383939851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215212889,"filename":"image_09042025_16_44_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350825477","file1":"1350825391","file0":"1350825373","file4":"1350825514","file5":"1350825532","file3":"1350825504"},"map_files_photo_id_array":[{"photo_id":"1350825532","filename":"file5"},{"photo_id":"1350825477","filename":"file2"},{"photo_id":"1350825514","filename":"file4"},{"photo_id":"1350825391","filename":"file1"},{"photo_id":"1350825373","filename":"file0"},{"photo_id":"1350825504","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350825391":["hashtag1","hashtag2"]},{"1350825373":["hashtag1","hashtag2"]},{"1350825532":["hashtag1","hashtag2"]},{"1350825514":["hashtag1","hashtag2"]},{"1350825477":["hashtag1","hashtag2"]},{"1350825504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350825391, 1350825373, 1350825532, 1350825514, 1350825477, 1350825504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98723244667053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:13:32.448877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_56_10367.jpg', '/home/pi/Desktop/images/09042025/16/44/image_09042025_16_45_06_10334.jpg', '/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_15_9405.jpg', '/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_26_10457.jpg', '/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_35_9428.jpg', '/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/44/image_09042025_16_44_56_10367.jpg
/home/pi/Desktop/images/09042025/16/44/image_09042025_16_45_06_10334.jpg
/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_15_9405.jpg
/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_26_10457.jpg
/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_35_9428.jpg
/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350825722","1350825886","1350825694","1350825817","1350825913","1350825773"],"photo_ids_order":["1350825694","1350825722","1350825773","1350825817","1350825886","1350825913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7877231764b9b7d1afe982cd1f6cee96.jpg","text":"TemporaryFile(/tmp/multipartBody4860855180101428153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215272913,"filename":"image_09042025_16_45_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6a6674594002ef37ab8b1b2568ed72d.jpg","text":"TemporaryFile(/tmp/multipartBody141281383023465461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215272913,"filename":"image_09042025_16_45_35_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7ef22ceed4a3c01f50bbd3b3806e29b9.jpg","text":"TemporaryFile(/tmp/multipartBody6455740637225124146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215272913,"filename":"image_09042025_16_44_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/4/9/85a6e6ce314f316e84e410508bb22347.jpg","text":"TemporaryFile(/tmp/multipartBody6652459198199637522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215272913,"filename":"image_09042025_16_45_26_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/114bb57ddd8ac9c09fca6b8b0f259d38.jpg","text":"TemporaryFile(/tmp/multipartBody5336844308050573498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215272913,"filename":"image_09042025_16_45_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/4/9/0ada9dccd707c825d675ced4525ccdd5.jpg","text":"TemporaryFile(/tmp/multipartBody2056357177276112410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215272913,"filename":"image_09042025_16_45_15_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350825773","file1":"1350825722","file0":"1350825694","file4":"1350825886","file5":"1350825913","file3":"1350825817"},"map_files_photo_id_array":[{"photo_id":"1350825913","filename":"file5"},{"photo_id":"1350825773","filename":"file2"},{"photo_id":"1350825886","filename":"file4"},{"photo_id":"1350825722","filename":"file1"},{"photo_id":"1350825694","filename":"file0"},{"photo_id":"1350825817","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350825722":["hashtag1","hashtag2"]},{"1350825886":["hashtag1","hashtag2"]},{"1350825694":["hashtag1","hashtag2"]},{"1350825817":["hashtag1","hashtag2"]},{"1350825913":["hashtag1","hashtag2"]},{"1350825773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350825722, 1350825886, 1350825694, 1350825817, 1350825913, 1350825773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.480461835861206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:14:32.719515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_56_10358.jpg', '/home/pi/Desktop/images/09042025/16/45/image_09042025_16_46_05_9393.jpg', '/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_16_10340.jpg', '/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_25_9413.jpg', '/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_36_10339.jpg', '/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_46_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/45/image_09042025_16_45_56_10358.jpg
/home/pi/Desktop/images/09042025/16/45/image_09042025_16_46_05_9393.jpg
/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_16_10340.jpg
/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_25_9413.jpg
/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_36_10339.jpg
/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_46_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350825997","1350826059","1350826008","1350826052","1350826022","1350826010"],"photo_ids_order":["1350825997","1350826008","1350826010","1350826022","1350826052","1350826059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff0342b11bbf3bf4c37003ee5f9da2d2.jpg","text":"TemporaryFile(/tmp/multipartBody640056143616522425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215333188,"filename":"image_09042025_16_45_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/4/9/6c556620865137b19afe5efe44bbfda9.jpg","text":"TemporaryFile(/tmp/multipartBody1667848420179596726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215333188,"filename":"image_09042025_16_46_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/4/9/42023ef316b2b54ec30dcd3274202ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7796443537424188680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215333188,"filename":"image_09042025_16_46_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/4/9/7b20c1701f5953b7b1e56c2845409223.jpg","text":"TemporaryFile(/tmp/multipartBody8707784805661678233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215333188,"filename":"image_09042025_16_46_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/4/9/939c5dbcee9436de0c03b042ba7439dc.jpg","text":"TemporaryFile(/tmp/multipartBody2678785205437707969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215333188,"filename":"image_09042025_16_46_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/4/9/9950bcf08054beef4cc6f81d8d335df3.jpg","text":"TemporaryFile(/tmp/multipartBody7549387487277563184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215333188,"filename":"image_09042025_16_46_16_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350826010","file1":"1350826008","file0":"1350825997","file4":"1350826052","file5":"1350826059","file3":"1350826022"},"map_files_photo_id_array":[{"photo_id":"1350826059","filename":"file5"},{"photo_id":"1350826010","filename":"file2"},{"photo_id":"1350826052","filename":"file4"},{"photo_id":"1350826008","filename":"file1"},{"photo_id":"1350825997","filename":"file0"},{"photo_id":"1350826022","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350825997":["hashtag1","hashtag2"]},{"1350826059":["hashtag1","hashtag2"]},{"1350826008":["hashtag1","hashtag2"]},{"1350826052":["hashtag1","hashtag2"]},{"1350826022":["hashtag1","hashtag2"]},{"1350826010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350825997, 1350826059, 1350826008, 1350826052, 1350826022, 1350826010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.017592906951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:15:32.969497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_55_9455.jpg', '/home/pi/Desktop/images/09042025/16/46/image_09042025_16_47_06_10333.jpg', '/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_15_9462.jpg', '/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_26_10356.jpg', '/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_36_10341.jpg', '/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_45_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/46/image_09042025_16_46_55_9455.jpg
/home/pi/Desktop/images/09042025/16/46/image_09042025_16_47_06_10333.jpg
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_15_9462.jpg
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_26_10356.jpg
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_36_10341.jpg
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_45_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":["1350826153","1350826129","1350826197","1350826116","1350826175","1350826112"],"photo_ids_order":["1350826112","1350826116","1350826129","1350826153","1350826175","1350826197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0f836bb64184b9463ef49cb59f639a91.jpg","text":"TemporaryFile(/tmp/multipartBody5274993197154915315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215393432,"filename":"image_09042025_16_47_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/4/9/5461daec4ddd7a4d50bccee78c4dd55a.jpg","text":"TemporaryFile(/tmp/multipartBody5127171853113881103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215393432,"filename":"image_09042025_16_47_15_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66ae9bf9e6962f14f038eed576d796d1.jpg","text":"TemporaryFile(/tmp/multipartBody4441233661726897473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215393432,"filename":"image_09042025_16_47_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c8ffe6673783dbd01437d361ba8d7eb.jpg","text":"TemporaryFile(/tmp/multipartBody4211083615219182197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215393432,"filename":"image_09042025_16_47_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/abf926004d14ec82c36a4de0adf0948e.jpg","text":"TemporaryFile(/tmp/multipartBody4816754734053379638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215393432,"filename":"image_09042025_16_47_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82565820f500da57266a3c9088eebe31.jpg","text":"TemporaryFile(/tmp/multipartBody6835764267765888318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215393432,"filename":"image_09042025_16_46_55_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350826129","file1":"1350826116","file0":"1350826112","file4":"1350826175","file5":"1350826197","file3":"1350826153"},"map_files_photo_id_array":[{"photo_id":"1350826197","filename":"file5"},{"photo_id":"1350826129","filename":"file2"},{"photo_id":"1350826175","filename":"file4"},{"photo_id":"1350826116","filename":"file1"},{"photo_id":"1350826112","filename":"file0"},{"photo_id":"1350826153","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350826153":["hashtag1","hashtag2"]},{"1350826129":["hashtag1","hashtag2"]},{"1350826197":["hashtag1","hashtag2"]},{"1350826116":["hashtag1","hashtag2"]},{"1350826175":["hashtag1","hashtag2"]},{"1350826112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350826153, 1350826129, 1350826197, 1350826116, 1350826175, 1350826112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19099187850952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:16:32.256830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_56_10334.jpg', '/home/pi/Desktop/images/09042025/16/47/image_09042025_16_48_06_10354.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_15_9339.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_26_10416.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_36_10363.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_45_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_56_10334.jpg
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_48_06_10354.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_15_9339.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_26_10416.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_36_10363.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_45_9446.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a2590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 130.25951480865479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:18:52.604914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_56_10334.jpg', '/home/pi/Desktop/images/09042025/16/47/image_09042025_16_48_06_10354.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_15_9339.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_26_10416.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_36_10363.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_45_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_56_10334.jpg
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_48_06_10354.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_15_9339.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_26_10416.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_36_10363.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_45_9446.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3894772529602051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 18:19:04.311453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_56_10334.jpg', '/home/pi/Desktop/images/09042025/16/47/image_09042025_16_48_06_10354.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_15_9339.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_26_10416.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_36_10363.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_45_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_47_56_10334.jpg
/home/pi/Desktop/images/09042025/16/47/image_09042025_16_48_06_10354.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_15_9339.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_26_10416.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_36_10363.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_45_9446.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350827127","1350827061","1350827043","1350827120","1350827114","1350827074"],"photo_ids_order":["1350827043","1350827061","1350827074","1350827114","1350827120","1350827127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8ec88a511df073259500cc510a9b1f0.jpg","text":"TemporaryFile(/tmp/multipartBody6243930887469492669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215604931,"filename":"image_09042025_16_48_45_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7af7084dacf33657d89e828a5f83c2c.jpg","text":"TemporaryFile(/tmp/multipartBody6351610182086216345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215604931,"filename":"image_09042025_16_48_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/4/9/0ec657cb244ab4fc7e9d44309c927d7e.jpg","text":"TemporaryFile(/tmp/multipartBody8941314395916307704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215604931,"filename":"image_09042025_16_47_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/4/9/bd58d72df4af2e7bbb91d84fcac5d088.jpg","text":"TemporaryFile(/tmp/multipartBody6166624971298620106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215604931,"filename":"image_09042025_16_48_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eea64c7d8229e6caee979fb276cf0417.jpg","text":"TemporaryFile(/tmp/multipartBody7611498153098436813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215604931,"filename":"image_09042025_16_48_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/4/9/1a0085402db8b467d88397c1acf4dacd.jpg","text":"TemporaryFile(/tmp/multipartBody4397889100291490162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215604931,"filename":"image_09042025_16_48_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827074","file1":"1350827061","file0":"1350827043","file4":"1350827120","file5":"1350827127","file3":"1350827114"},"map_files_photo_id_array":[{"photo_id":"1350827127","filename":"file5"},{"photo_id":"1350827074","filename":"file2"},{"photo_id":"1350827120","filename":"file4"},{"photo_id":"1350827061","filename":"file1"},{"photo_id":"1350827043","filename":"file0"},{"photo_id":"1350827114","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350827127":["hashtag1","hashtag2"]},{"1350827061":["hashtag1","hashtag2"]},{"1350827043":["hashtag1","hashtag2"]},{"1350827120":["hashtag1","hashtag2"]},{"1350827114":["hashtag1","hashtag2"]},{"1350827074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350827127, 1350827061, 1350827043, 1350827120, 1350827114, 1350827074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18864893913269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 18:19:42.853263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_56_10354.jpg', '/home/pi/Desktop/images/09042025/16/48/image_09042025_16_49_05_9437.jpg', '/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_16_10343.jpg', '/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_26_10362.jpg', '/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_35_9411.jpg', '/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_46_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_48_56_10354.jpg
/home/pi/Desktop/images/09042025/16/48/image_09042025_16_49_05_9437.jpg
/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_16_10343.jpg
/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_26_10362.jpg
/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_35_9411.jpg
/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_46_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":["1350827181","1350827226","1350827256","1350827195","1350827189","1350827185"],"photo_ids_order":["1350827181","1350827185","1350827189","1350827195","1350827226","1350827256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51c575cf9aa45c254e7e445b08bc3a59.jpg","text":"TemporaryFile(/tmp/multipartBody2080754302409633400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215643323,"filename":"image_09042025_16_48_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9017c2ef884adee56022751b075fe555.jpg","text":"TemporaryFile(/tmp/multipartBody8600881669521545278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215643323,"filename":"image_09042025_16_49_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/4/9/fa27319b87b76d2ec231fb1df8ec2ecb.jpg","text":"TemporaryFile(/tmp/multipartBody2299207300529620374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215643323,"filename":"image_09042025_16_49_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/4/9/478133357a5b9573dc0842bd1cd5016e.jpg","text":"TemporaryFile(/tmp/multipartBody1609596964945880435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215643323,"filename":"image_09042025_16_49_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/4/9/bb354c1ec410702e72d55224086dca32.jpg","text":"TemporaryFile(/tmp/multipartBody1745097982250804261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215643323,"filename":"image_09042025_16_49_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7bf1f02eab27cd3423df1d384187edd.jpg","text":"TemporaryFile(/tmp/multipartBody2373412819225231713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215643323,"filename":"image_09042025_16_49_05_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827189","file1":"1350827185","file0":"1350827181","file4":"1350827226","file5":"1350827256","file3":"1350827195"},"map_files_photo_id_array":[{"photo_id":"1350827256","filename":"file5"},{"photo_id":"1350827189","filename":"file2"},{"photo_id":"1350827226","filename":"file4"},{"photo_id":"1350827185","filename":"file1"},{"photo_id":"1350827181","filename":"file0"},{"photo_id":"1350827195","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350827181":["hashtag1","hashtag2"]},{"1350827226":["hashtag1","hashtag2"]},{"1350827256":["hashtag1","hashtag2"]},{"1350827195":["hashtag1","hashtag2"]},{"1350827189":["hashtag1","hashtag2"]},{"1350827185":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350827181, 1350827226, 1350827256, 1350827195, 1350827189, 1350827185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.16831064224243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:20:33.010346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_55_9403.jpg', '/home/pi/Desktop/images/09042025/16/49/image_09042025_16_50_06_10364.jpg', '/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_16_10409.jpg', '/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_25_9350.jpg', '/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_36_10347.jpg', '/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_46_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/49/image_09042025_16_49_55_9403.jpg
/home/pi/Desktop/images/09042025/16/49/image_09042025_16_50_06_10364.jpg
/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_16_10409.jpg
/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_25_9350.jpg
/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_36_10347.jpg
/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_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":["1350827305","1350827295","1350827301","1350827290","1350827284","1350827287"],"photo_ids_order":["1350827284","1350827287","1350827290","1350827295","1350827301","1350827305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d5b63511e81b008e35809809b6dca79.jpg","text":"TemporaryFile(/tmp/multipartBody735823112667849971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215693473,"filename":"image_09042025_16_50_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/4/9/47b583ad95834c58e34796358a4f929f.jpg","text":"TemporaryFile(/tmp/multipartBody4589480772401151091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215693473,"filename":"image_09042025_16_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/4/9/71734d4fc5dc5325c29e3386db74d983.jpg","text":"TemporaryFile(/tmp/multipartBody1885747340865469476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215693473,"filename":"image_09042025_16_50_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/4/9/471ed698d87f0ce1164fef33f9d9bb45.jpg","text":"TemporaryFile(/tmp/multipartBody8702956875735338323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215693473,"filename":"image_09042025_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/4/9/b92b041a27fb8c7dd35f99af9729bef0.jpg","text":"TemporaryFile(/tmp/multipartBody7245332197411275770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215693473,"filename":"image_09042025_16_49_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/4/9/5cb61cb819875a2cab6dbc95816398cd.jpg","text":"TemporaryFile(/tmp/multipartBody2645285987532216227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215693473,"filename":"image_09042025_16_50_06_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827290","file1":"1350827287","file0":"1350827284","file4":"1350827301","file5":"1350827305","file3":"1350827295"},"map_files_photo_id_array":[{"photo_id":"1350827305","filename":"file5"},{"photo_id":"1350827290","filename":"file2"},{"photo_id":"1350827301","filename":"file4"},{"photo_id":"1350827287","filename":"file1"},{"photo_id":"1350827284","filename":"file0"},{"photo_id":"1350827295","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350827305":["hashtag1","hashtag2"]},{"1350827295":["hashtag1","hashtag2"]},{"1350827301":["hashtag1","hashtag2"]},{"1350827290":["hashtag1","hashtag2"]},{"1350827284":["hashtag1","hashtag2"]},{"1350827287":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350827305, 1350827295, 1350827301, 1350827290, 1350827284, 1350827287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65058875083923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:21:32.243604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_55_9377.jpg', '/home/pi/Desktop/images/09042025/16/50/image_09042025_16_51_06_10337.jpg', '/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_15_9391.jpg', '/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_26_10366.jpg', '/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_36_10412.jpg', '/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_45_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/50/image_09042025_16_50_55_9377.jpg
/home/pi/Desktop/images/09042025/16/50/image_09042025_16_51_06_10337.jpg
/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_15_9391.jpg
/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_26_10366.jpg
/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_36_10412.jpg
/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_45_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":["1350827425","1350827419","1350827411","1350827405","1350827429","1350827416"],"photo_ids_order":["1350827405","1350827411","1350827416","1350827419","1350827425","1350827429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf216fe98535b759074afc4d1a101943.jpg","text":"TemporaryFile(/tmp/multipartBody3223844293235731680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215752720,"filename":"image_09042025_16_51_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/4/9/2236d4f34fd3902bf788e1e98b172f77.jpg","text":"TemporaryFile(/tmp/multipartBody3611691899326038943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215752720,"filename":"image_09042025_16_51_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/4/9/421d880eb7c0f67bfd09febb469ced65.jpg","text":"TemporaryFile(/tmp/multipartBody6809060040261934155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215752720,"filename":"image_09042025_16_51_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/4/9/346a1fc7aed5f9c606e09ebec55ad359.jpg","text":"TemporaryFile(/tmp/multipartBody4540103600691193485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215752720,"filename":"image_09042025_16_50_55_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c30ff8682fefd37b26c96c8ef8dc60d.jpg","text":"TemporaryFile(/tmp/multipartBody4985219541757301304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215752720,"filename":"image_09042025_16_51_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85ac47ea827439b33ee064c107a8480b.jpg","text":"TemporaryFile(/tmp/multipartBody8042409581785731648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215752720,"filename":"image_09042025_16_51_15_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827416","file1":"1350827411","file0":"1350827405","file4":"1350827425","file5":"1350827429","file3":"1350827419"},"map_files_photo_id_array":[{"photo_id":"1350827429","filename":"file5"},{"photo_id":"1350827416","filename":"file2"},{"photo_id":"1350827425","filename":"file4"},{"photo_id":"1350827411","filename":"file1"},{"photo_id":"1350827405","filename":"file0"},{"photo_id":"1350827419","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350827425":["hashtag1","hashtag2"]},{"1350827419":["hashtag1","hashtag2"]},{"1350827411":["hashtag1","hashtag2"]},{"1350827405":["hashtag1","hashtag2"]},{"1350827429":["hashtag1","hashtag2"]},{"1350827416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350827425, 1350827419, 1350827411, 1350827405, 1350827429, 1350827416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35467553138733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:22:32.431408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_56_10375.jpg', '/home/pi/Desktop/images/09042025/16/51/image_09042025_16_52_06_10368.jpg', '/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_15_9419.jpg', '/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_26_10368.jpg', '/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_35_9414.jpg', '/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_46_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/51/image_09042025_16_51_56_10375.jpg
/home/pi/Desktop/images/09042025/16/51/image_09042025_16_52_06_10368.jpg
/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_15_9419.jpg
/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_26_10368.jpg
/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_35_9414.jpg
/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_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":["1350827580","1350827568","1350827583","1350827562","1350827576","1350827572"],"photo_ids_order":["1350827562","1350827568","1350827572","1350827576","1350827580","1350827583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15ff4824ce3dfe2777bfe0721fa49bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8651377759771876624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215812898,"filename":"image_09042025_16_52_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/4/9/626b54f5ef7fc001e5caa9da44e6e7d2.jpg","text":"TemporaryFile(/tmp/multipartBody752684175714624784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215812898,"filename":"image_09042025_16_52_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/00b62406eb2ded7f7a90db595523316e.jpg","text":"TemporaryFile(/tmp/multipartBody2175862219189567161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215812898,"filename":"image_09042025_16_52_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/4/9/cc1ef0ba681a632ad1ae33a7701a95ea.jpg","text":"TemporaryFile(/tmp/multipartBody1158958158433916898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215812898,"filename":"image_09042025_16_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/4/9/91f4f51d20aac7f28be4f2495b8a7884.jpg","text":"TemporaryFile(/tmp/multipartBody835355949505472958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215812898,"filename":"image_09042025_16_52_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b97bcc81d5afbbe83737f9e76ca82e39.jpg","text":"TemporaryFile(/tmp/multipartBody4001759159548664209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215812898,"filename":"image_09042025_16_52_15_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827572","file1":"1350827568","file0":"1350827562","file4":"1350827580","file5":"1350827583","file3":"1350827576"},"map_files_photo_id_array":[{"photo_id":"1350827583","filename":"file5"},{"photo_id":"1350827572","filename":"file2"},{"photo_id":"1350827580","filename":"file4"},{"photo_id":"1350827568","filename":"file1"},{"photo_id":"1350827562","filename":"file0"},{"photo_id":"1350827576","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350827580":["hashtag1","hashtag2"]},{"1350827568":["hashtag1","hashtag2"]},{"1350827583":["hashtag1","hashtag2"]},{"1350827562":["hashtag1","hashtag2"]},{"1350827576":["hashtag1","hashtag2"]},{"1350827572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350827580, 1350827568, 1350827583, 1350827562, 1350827576, 1350827572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28539252281189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:23:32.734585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_56_10362.jpg', '/home/pi/Desktop/images/09042025/16/52/image_09042025_16_53_05_9391.jpg', '/home/pi/Desktop/images/09042025/16/53/image_09042025_16_53_16_10454.jpg', '/home/pi/Desktop/images/09042025/16/53/image_09042025_16_53_25_9344.jpg', '/home/pi/Desktop/images/09042025/16/53/image_09042025_16_53_36_10353.jpg', '/home/pi/Desktop/images/09042025/16/53/image_09042025_16_53_46_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/52/image_09042025_16_52_56_10362.jpg
/home/pi/Desktop/images/09042025/16/52/image_09042025_16_53_05_9391.jpg
/home/pi/Desktop/images/09042025/16/53/image_09042025_16_53_16_10454.jpg
/home/pi/Desktop/images/09042025/16/53/image_09042025_16_53_25_9344.jpg
/home/pi/Desktop/images/09042025/16/53/image_09042025_16_53_36_10353.jpg
/home/pi/Desktop/images/09042025/16/53/image_09042025_16_53_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":["1350827646","1350827631","1350827625","1350827642","1350827638","1350827629"],"photo_ids_order":["1350827625","1350827629","1350827631","1350827638","1350827642","1350827646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f374a69a5b3de022fb5007db6f5b56eb.jpg","text":"TemporaryFile(/tmp/multipartBody3426084772544527094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215873217,"filename":"image_09042025_16_53_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73665e913bfd0ef12dccc6d574d6921e.jpg","text":"TemporaryFile(/tmp/multipartBody4099148090586868821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215873217,"filename":"image_09042025_16_53_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/4/9/77f12d5166fa7e5ae881371430e70e4c.jpg","text":"TemporaryFile(/tmp/multipartBody1949313876756303326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215873217,"filename":"image_09042025_16_52_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/4/9/57c8c5b1c183728f0187ecbd77d8d277.jpg","text":"TemporaryFile(/tmp/multipartBody4233207922136477285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215873217,"filename":"image_09042025_16_53_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a3510e370d98bcc39eec38bc39561bd.jpg","text":"TemporaryFile(/tmp/multipartBody1956251855218019129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215873217,"filename":"image_09042025_16_53_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/4/9/8e25d43f2e751cdb24fc50b18807aa22.jpg","text":"TemporaryFile(/tmp/multipartBody2759657308010977567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215873217,"filename":"image_09042025_16_53_05_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827631","file1":"1350827629","file0":"1350827625","file4":"1350827642","file5":"1350827646","file3":"1350827638"},"map_files_photo_id_array":[{"photo_id":"1350827646","filename":"file5"},{"photo_id":"1350827631","filename":"file2"},{"photo_id":"1350827642","filename":"file4"},{"photo_id":"1350827629","filename":"file1"},{"photo_id":"1350827625","filename":"file0"},{"photo_id":"1350827638","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350827646":["hashtag1","hashtag2"]},{"1350827631":["hashtag1","hashtag2"]},{"1350827625":["hashtag1","hashtag2"]},{"1350827642":["hashtag1","hashtag2"]},{"1350827638":["hashtag1","hashtag2"]},{"1350827629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350827646, 1350827631, 1350827625, 1350827642, 1350827638, 1350827629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5617356300354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:24:35.002850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/53/image_09042025_16_54_06_10378.jpg', '/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_15_9418.jpg', '/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_26_10363.jpg', '/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_36_10353.jpg', '/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_45_9342.jpg', '/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_56_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/53/image_09042025_16_54_06_10378.jpg
/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_15_9418.jpg
/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_26_10363.jpg
/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_36_10353.jpg
/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_45_9342.jpg
/home/pi/Desktop/images/09042025/16/54/image_09042025_16_54_56_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350827691","1350827694","1350827682","1350827702","1350827686","1350827697"],"photo_ids_order":["1350827682","1350827686","1350827691","1350827694","1350827697","1350827702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f5a3e56f651db0da58efc31e258ff90.jpg","text":"TemporaryFile(/tmp/multipartBody3488338945691143472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215935504,"filename":"image_09042025_16_54_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/4/9/74916d643cbdf2de9e6876a3ad19931f.jpg","text":"TemporaryFile(/tmp/multipartBody6202176774077840274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215935504,"filename":"image_09042025_16_54_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9586698d020f91f159328e2d8c326834.jpg","text":"TemporaryFile(/tmp/multipartBody8020184149360416912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215935504,"filename":"image_09042025_16_54_06_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef1b1f76d21b039171009b272a7a0456.jpg","text":"TemporaryFile(/tmp/multipartBody1174952171656198496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215935504,"filename":"image_09042025_16_54_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/4/9/86a0528ce208c5e0e2a9ff1da1d22b07.jpg","text":"TemporaryFile(/tmp/multipartBody5002184605612204321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215935504,"filename":"image_09042025_16_54_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69d193e359d6dbaad0380c1777d4943c.jpg","text":"TemporaryFile(/tmp/multipartBody963564291914646695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215935504,"filename":"image_09042025_16_54_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827691","file1":"1350827686","file0":"1350827682","file4":"1350827697","file5":"1350827702","file3":"1350827694"},"map_files_photo_id_array":[{"photo_id":"1350827702","filename":"file5"},{"photo_id":"1350827691","filename":"file2"},{"photo_id":"1350827697","filename":"file4"},{"photo_id":"1350827686","filename":"file1"},{"photo_id":"1350827682","filename":"file0"},{"photo_id":"1350827694","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350827691":["hashtag1","hashtag2"]},{"1350827694":["hashtag1","hashtag2"]},{"1350827682":["hashtag1","hashtag2"]},{"1350827702":["hashtag1","hashtag2"]},{"1350827686":["hashtag1","hashtag2"]},{"1350827697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350827691, 1350827694, 1350827682, 1350827702, 1350827686, 1350827697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95330238342285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:25:33.016910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/54/image_09042025_16_55_05_9488.jpg', '/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_15_10338.jpg', '/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_26_10361.jpg', '/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_35_9370.jpg', '/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_46_10348.jpg', '/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_56_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/54/image_09042025_16_55_05_9488.jpg
/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_15_10338.jpg
/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_26_10361.jpg
/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_35_9370.jpg
/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_46_10348.jpg
/home/pi/Desktop/images/09042025/16/55/image_09042025_16_55_56_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350827775","1350827765","1350827761","1350827779","1350827770","1350827796"],"photo_ids_order":["1350827761","1350827765","1350827770","1350827775","1350827779","1350827796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96d5c3509634a5052fa0a24033383a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6048778784063730451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215993504,"filename":"image_09042025_16_55_35_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef1a271e084dcf295ca13de97137fa7c.jpg","text":"TemporaryFile(/tmp/multipartBody7687186508733057595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215993504,"filename":"image_09042025_16_55_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/4/9/e90d3525eba3ca8e698ac94589e43548.jpg","text":"TemporaryFile(/tmp/multipartBody3515617158958180095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215993504,"filename":"image_09042025_16_55_05_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42678638f673e4cbf0733f15ff37f873.jpg","text":"TemporaryFile(/tmp/multipartBody9063551647416312735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215993504,"filename":"image_09042025_16_55_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/4/9/c3da95154cadcbb278ef0e51edf78a3e.jpg","text":"TemporaryFile(/tmp/multipartBody8747165933092383709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215993504,"filename":"image_09042025_16_55_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/4/9/c936f7afacf7233c7203a078817f184b.jpg","text":"TemporaryFile(/tmp/multipartBody7660977585497108700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744215993504,"filename":"image_09042025_16_55_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827770","file1":"1350827765","file0":"1350827761","file4":"1350827779","file5":"1350827796","file3":"1350827775"},"map_files_photo_id_array":[{"photo_id":"1350827796","filename":"file5"},{"photo_id":"1350827770","filename":"file2"},{"photo_id":"1350827779","filename":"file4"},{"photo_id":"1350827765","filename":"file1"},{"photo_id":"1350827761","filename":"file0"},{"photo_id":"1350827775","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350827775":["hashtag1","hashtag2"]},{"1350827765":["hashtag1","hashtag2"]},{"1350827761":["hashtag1","hashtag2"]},{"1350827779":["hashtag1","hashtag2"]},{"1350827770":["hashtag1","hashtag2"]},{"1350827796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350827775, 1350827765, 1350827761, 1350827779, 1350827770, 1350827796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.215617418289185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:26:32.221339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/55/image_09042025_16_56_05_9450.jpg', '/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_16_10344.jpg', '/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_26_10366.jpg', '/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_35_9424.jpg', '/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_46_10349.jpg', '/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_55_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/55/image_09042025_16_56_05_9450.jpg
/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_16_10344.jpg
/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_26_10366.jpg
/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_35_9424.jpg
/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_46_10349.jpg
/home/pi/Desktop/images/09042025/16/56/image_09042025_16_56_55_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":["1350828024","1350827993","1350827990","1350828004","1350827977","1350827956"],"photo_ids_order":["1350827956","1350827977","1350827990","1350827993","1350828004","1350828024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eb047c66ffbd9db1dcc1dba3ffb32cce.jpg","text":"TemporaryFile(/tmp/multipartBody4627465073127014206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216052679,"filename":"image_09042025_16_56_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a8985d59991d410f6386b336a5af8c48.jpg","text":"TemporaryFile(/tmp/multipartBody7883687935025200752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216052679,"filename":"image_09042025_16_56_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/4/9/9ab391f7a1b7d7205e2343dad1229694.jpg","text":"TemporaryFile(/tmp/multipartBody375871809807368108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216052679,"filename":"image_09042025_16_56_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/4/9/6e13107cf46773baa25af035698de2a3.jpg","text":"TemporaryFile(/tmp/multipartBody7231797252249690699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216052679,"filename":"image_09042025_16_56_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/4/9/deda3860c80418cf1a82301bb1d2afc2.jpg","text":"TemporaryFile(/tmp/multipartBody2787763874413669853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216052679,"filename":"image_09042025_16_56_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/4/9/1fb81de7b1a1296c2c7ec8d73e9a85ba.jpg","text":"TemporaryFile(/tmp/multipartBody1840484152682211522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216052679,"filename":"image_09042025_16_56_05_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350827990","file1":"1350827977","file0":"1350827956","file4":"1350828004","file5":"1350828024","file3":"1350827993"},"map_files_photo_id_array":[{"photo_id":"1350828024","filename":"file5"},{"photo_id":"1350827990","filename":"file2"},{"photo_id":"1350828004","filename":"file4"},{"photo_id":"1350827977","filename":"file1"},{"photo_id":"1350827956","filename":"file0"},{"photo_id":"1350827993","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350828024":["hashtag1","hashtag2"]},{"1350827993":["hashtag1","hashtag2"]},{"1350827990":["hashtag1","hashtag2"]},{"1350828004":["hashtag1","hashtag2"]},{"1350827977":["hashtag1","hashtag2"]},{"1350827956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350828024, 1350827993, 1350827990, 1350828004, 1350827977, 1350827956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05221223831177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:27:32.408529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/56/image_09042025_16_57_06_10399.jpg', '/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_16_10407.jpg', '/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_25_9428.jpg', '/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_36_10363.jpg', '/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_45_9459.jpg', '/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_56_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/56/image_09042025_16_57_06_10399.jpg
/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_16_10407.jpg
/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_25_9428.jpg
/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_36_10363.jpg
/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_45_9459.jpg
/home/pi/Desktop/images/09042025/16/57/image_09042025_16_57_56_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":["1350828165","1350828249","1350828308","1350828214","1350828291","1350828139"],"photo_ids_order":["1350828139","1350828165","1350828214","1350828249","1350828291","1350828308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4f58a5def9a6863fbc8cbeb1b902123.jpg","text":"TemporaryFile(/tmp/multipartBody1288904500555070764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216112882,"filename":"image_09042025_16_57_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/4/9/7540bf9fbd1409c966741238ad0b5e69.jpg","text":"TemporaryFile(/tmp/multipartBody8220589660450597224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216112882,"filename":"image_09042025_16_57_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b775e585e2b95360b23651b57f1b777.jpg","text":"TemporaryFile(/tmp/multipartBody7041469598376870286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216112882,"filename":"image_09042025_16_57_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/4/9/3a32eacaf6d8c37d7c1c98416f47e09a.jpg","text":"TemporaryFile(/tmp/multipartBody5601263878752575807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216112882,"filename":"image_09042025_16_57_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55eb92c9417e4d708527d0dfcea1b2f0.jpg","text":"TemporaryFile(/tmp/multipartBody5988480932116032422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216112882,"filename":"image_09042025_16_57_45_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dfdecf1bb0185b95b624bb4a8d3f7689.jpg","text":"TemporaryFile(/tmp/multipartBody5183713076490478613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216112882,"filename":"image_09042025_16_57_06_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350828214","file1":"1350828165","file0":"1350828139","file4":"1350828291","file5":"1350828308","file3":"1350828249"},"map_files_photo_id_array":[{"photo_id":"1350828308","filename":"file5"},{"photo_id":"1350828214","filename":"file2"},{"photo_id":"1350828291","filename":"file4"},{"photo_id":"1350828165","filename":"file1"},{"photo_id":"1350828139","filename":"file0"},{"photo_id":"1350828249","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350828165":["hashtag1","hashtag2"]},{"1350828249":["hashtag1","hashtag2"]},{"1350828308":["hashtag1","hashtag2"]},{"1350828214":["hashtag1","hashtag2"]},{"1350828291":["hashtag1","hashtag2"]},{"1350828139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350828165, 1350828249, 1350828308, 1350828214, 1350828291, 1350828139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.943537950515747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:28:32.584853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/57/image_09042025_16_58_06_10357.jpg', '/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_15_9382.jpg', '/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_26_10399.jpg', '/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_35_9421.jpg', '/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_46_10372.jpg', '/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_56_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/57/image_09042025_16_58_06_10357.jpg
/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_15_9382.jpg
/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_26_10399.jpg
/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_35_9421.jpg
/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_46_10372.jpg
/home/pi/Desktop/images/09042025/16/58/image_09042025_16_58_56_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":["1350828459","1350828488","1350828428","1350828500","1350828505","1350828508"],"photo_ids_order":["1350828428","1350828459","1350828488","1350828500","1350828505","1350828508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7369e5b4d6cbbc76759c4dc54b9f2bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8411703380388029286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216173047,"filename":"image_09042025_16_58_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/4/9/eafa1b9bed0500ac6fef29461a2881a3.jpg","text":"TemporaryFile(/tmp/multipartBody7754521261167821211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216173047,"filename":"image_09042025_16_58_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/4/9/37c7303f81945e05e22a2d07d2d68838.jpg","text":"TemporaryFile(/tmp/multipartBody8772969581567133415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216173047,"filename":"image_09042025_16_58_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b3e34b3be6f050ba2ad296542ca1975.jpg","text":"TemporaryFile(/tmp/multipartBody224616920347028783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216173047,"filename":"image_09042025_16_58_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/4/9/f2dfd070aaec73329bccdacb16e8ad45.jpg","text":"TemporaryFile(/tmp/multipartBody1901853526252909891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216173047,"filename":"image_09042025_16_58_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64437e48fcc1e330e4318d5cdd5fb5ad.jpg","text":"TemporaryFile(/tmp/multipartBody666769690157284155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216173047,"filename":"image_09042025_16_58_56_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350828488","file1":"1350828459","file0":"1350828428","file4":"1350828505","file5":"1350828508","file3":"1350828500"},"map_files_photo_id_array":[{"photo_id":"1350828508","filename":"file5"},{"photo_id":"1350828488","filename":"file2"},{"photo_id":"1350828505","filename":"file4"},{"photo_id":"1350828459","filename":"file1"},{"photo_id":"1350828428","filename":"file0"},{"photo_id":"1350828500","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350828459":["hashtag1","hashtag2"]},{"1350828488":["hashtag1","hashtag2"]},{"1350828428":["hashtag1","hashtag2"]},{"1350828500":["hashtag1","hashtag2"]},{"1350828505":["hashtag1","hashtag2"]},{"1350828508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350828459, 1350828488, 1350828428, 1350828500, 1350828505, 1350828508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36122274398804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:29:32.822031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/16/58/image_09042025_16_59_05_9346.jpg', '/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_16_10361.jpg', '/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_26_10436.jpg', '/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_36_9432.jpg', '/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_46_10371.jpg', '/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_55_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/16/58/image_09042025_16_59_05_9346.jpg
/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_16_10361.jpg
/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_26_10436.jpg
/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_36_9432.jpg
/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_46_10371.jpg
/home/pi/Desktop/images/09042025/16/59/image_09042025_16_59_55_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350828540","1350828543","1350828577","1350828535","1350828579","1350828552"],"photo_ids_order":["1350828535","1350828540","1350828543","1350828552","1350828577","1350828579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/207bc16df7861f8ab6b267db0f0dd4c9.jpg","text":"TemporaryFile(/tmp/multipartBody1736194387080036438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216233287,"filename":"image_09042025_16_59_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/4/9/54ade1e89c0ea1dac07543eb32e19051.jpg","text":"TemporaryFile(/tmp/multipartBody3104768524437245275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216233287,"filename":"image_09042025_16_59_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a329b4582e84ffaa90c3b3aef62b0c54.jpg","text":"TemporaryFile(/tmp/multipartBody2902971771441180811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216233287,"filename":"image_09042025_16_59_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/4/9/733eef8975a7b8a6bc0e13cd62f2c80a.jpg","text":"TemporaryFile(/tmp/multipartBody747938408359378804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216233287,"filename":"image_09042025_16_59_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/4/9/8c97eea26f0e04cbddf2f53fcf795404.jpg","text":"TemporaryFile(/tmp/multipartBody3765609817728608185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216233287,"filename":"image_09042025_16_59_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/4/9/96721e5758e1bd7d524a3b570aba58ba.jpg","text":"TemporaryFile(/tmp/multipartBody8884326465057395073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216233287,"filename":"image_09042025_16_59_36_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350828543","file1":"1350828540","file0":"1350828535","file4":"1350828577","file5":"1350828579","file3":"1350828552"},"map_files_photo_id_array":[{"photo_id":"1350828579","filename":"file5"},{"photo_id":"1350828543","filename":"file2"},{"photo_id":"1350828577","filename":"file4"},{"photo_id":"1350828540","filename":"file1"},{"photo_id":"1350828535","filename":"file0"},{"photo_id":"1350828552","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350828540":["hashtag1","hashtag2"]},{"1350828543":["hashtag1","hashtag2"]},{"1350828577":["hashtag1","hashtag2"]},{"1350828535":["hashtag1","hashtag2"]},{"1350828579":["hashtag1","hashtag2"]},{"1350828552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350828540, 1350828543, 1350828577, 1350828535, 1350828579, 1350828552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78212785720825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:30:33.047390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_15_10076.jpg', '/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_25_10366.jpg', '/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_35_10440.jpg', '/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_45_9461.jpg', '/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_55_10478.jpg', '/home/pi/Desktop/images/09042025/17/01/image_09042025_17_02_05_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_15_10076.jpg
/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_25_10366.jpg
/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_35_10440.jpg
/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_45_9461.jpg
/home/pi/Desktop/images/09042025/17/01/image_09042025_17_01_55_10478.jpg
/home/pi/Desktop/images/09042025/17/01/image_09042025_17_02_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":["1350828600","1350828618","1350828623","1350828605","1350828616","1350828610"],"photo_ids_order":["1350828600","1350828605","1350828610","1350828616","1350828618","1350828623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6bf449f80df13b34ffb1486ca51df49.jpg","text":"TemporaryFile(/tmp/multipartBody4490562613057742489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216293527,"filename":"image_09042025_17_01_15_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0f5e231522f45414288d4e1facd2605b.jpg","text":"TemporaryFile(/tmp/multipartBody7395839511638667429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216293527,"filename":"image_09042025_17_01_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/4/9/173b930d590fa27a7445046855699036.jpg","text":"TemporaryFile(/tmp/multipartBody4113300320258698127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216293527,"filename":"image_09042025_17_02_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/4/9/53821e33bce6e140e6d407262bd81119.jpg","text":"TemporaryFile(/tmp/multipartBody1122260582535442453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216293527,"filename":"image_09042025_17_01_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/4/9/0dda5e63198c3d1ea9140d295fb7e33f.jpg","text":"TemporaryFile(/tmp/multipartBody3569499295539958211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216293527,"filename":"image_09042025_17_01_45_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4b2cf59270830ef46aacc77a4181582d.jpg","text":"TemporaryFile(/tmp/multipartBody5632373707473788765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216293527,"filename":"image_09042025_17_01_35_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350828610","file1":"1350828605","file0":"1350828600","file4":"1350828618","file5":"1350828623","file3":"1350828616"},"map_files_photo_id_array":[{"photo_id":"1350828623","filename":"file5"},{"photo_id":"1350828610","filename":"file2"},{"photo_id":"1350828618","filename":"file4"},{"photo_id":"1350828605","filename":"file1"},{"photo_id":"1350828600","filename":"file0"},{"photo_id":"1350828616","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350828600":["hashtag1","hashtag2"]},{"1350828618":["hashtag1","hashtag2"]},{"1350828623":["hashtag1","hashtag2"]},{"1350828605":["hashtag1","hashtag2"]},{"1350828616":["hashtag1","hashtag2"]},{"1350828610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350828600, 1350828618, 1350828623, 1350828605, 1350828616, 1350828610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87399196624756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:31:32.205356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_15_10430.jpg', '/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_24_9419.jpg', '/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_35_10413.jpg', '/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_45_10372.jpg', '/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_55_9422.jpg', '/home/pi/Desktop/images/09042025/17/02/image_09042025_17_03_05_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_15_10430.jpg
/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_24_9419.jpg
/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_35_10413.jpg
/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_45_10372.jpg
/home/pi/Desktop/images/09042025/17/02/image_09042025_17_02_55_9422.jpg
/home/pi/Desktop/images/09042025/17/02/image_09042025_17_03_05_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":["1350828755","1350828743","1350828737","1350828751","1350828733","1350828759"],"photo_ids_order":["1350828733","1350828737","1350828743","1350828751","1350828755","1350828759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a5b005ebe476ab0b9629f23aa4aa102.jpg","text":"TemporaryFile(/tmp/multipartBody1190144165861495735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216352662,"filename":"image_09042025_17_02_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/40423149c994d92c1a1a25ab286df240.jpg","text":"TemporaryFile(/tmp/multipartBody8637616410100225697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216352662,"filename":"image_09042025_17_02_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/4/9/eba34d4d0dbbc091b7a9296436ea946b.jpg","text":"TemporaryFile(/tmp/multipartBody5543601268218658043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216352662,"filename":"image_09042025_17_02_24_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99d8bb105429e3b2a2dabe82af351cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6683468500941087252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216352662,"filename":"image_09042025_17_02_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27f7da7953b20d4586e076f66f4bbb1f.jpg","text":"TemporaryFile(/tmp/multipartBody8790740363481099964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216352662,"filename":"image_09042025_17_02_15_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31ad713a0f3d3070a24acf01237cde47.jpg","text":"TemporaryFile(/tmp/multipartBody3424640749489765081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216352662,"filename":"image_09042025_17_03_05_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350828743","file1":"1350828737","file0":"1350828733","file4":"1350828755","file5":"1350828759","file3":"1350828751"},"map_files_photo_id_array":[{"photo_id":"1350828759","filename":"file5"},{"photo_id":"1350828743","filename":"file2"},{"photo_id":"1350828755","filename":"file4"},{"photo_id":"1350828737","filename":"file1"},{"photo_id":"1350828733","filename":"file0"},{"photo_id":"1350828751","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350828755":["hashtag1","hashtag2"]},{"1350828743":["hashtag1","hashtag2"]},{"1350828737":["hashtag1","hashtag2"]},{"1350828751":["hashtag1","hashtag2"]},{"1350828733":["hashtag1","hashtag2"]},{"1350828759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350828755, 1350828743, 1350828737, 1350828751, 1350828733, 1350828759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33815336227417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:32:32.360135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_15_10338.jpg', '/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_25_9392.jpg', '/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_35_10490.jpg', '/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_45_9360.jpg', '/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_55_10350.jpg', '/home/pi/Desktop/images/09042025/17/03/image_09042025_17_04_05_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_15_10338.jpg
/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_25_9392.jpg
/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_35_10490.jpg
/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_45_9360.jpg
/home/pi/Desktop/images/09042025/17/03/image_09042025_17_03_55_10350.jpg
/home/pi/Desktop/images/09042025/17/03/image_09042025_17_04_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":["1350828807","1350828801","1350828810","1350828824","1350828796","1350828817"],"photo_ids_order":["1350828796","1350828801","1350828807","1350828810","1350828817","1350828824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d51e975cdaa9daa45276008ba9c5f97.jpg","text":"TemporaryFile(/tmp/multipartBody2481477308503506878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216412932,"filename":"image_09042025_17_03_35_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0144221fa64f58a09c754c4252310dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6101679533452640144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216412932,"filename":"image_09042025_17_03_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/4/9/8554382b81e08594ef0c36a152bacf63.jpg","text":"TemporaryFile(/tmp/multipartBody8281408353779089532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216412932,"filename":"image_09042025_17_03_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/4/9/2a2b60547851acfa8499d6a1f9ede8c8.jpg","text":"TemporaryFile(/tmp/multipartBody4387062313458075612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216412932,"filename":"image_09042025_17_04_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/4/9/5ea9ceb7e8ce936cb251ff50866cb29f.jpg","text":"TemporaryFile(/tmp/multipartBody5747422453120867135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216412932,"filename":"image_09042025_17_03_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/4/9/17f6e76162580c2549edb7e3fe80179c.jpg","text":"TemporaryFile(/tmp/multipartBody4600317536395764599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216412932,"filename":"image_09042025_17_03_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350828807","file1":"1350828801","file0":"1350828796","file4":"1350828817","file5":"1350828824","file3":"1350828810"},"map_files_photo_id_array":[{"photo_id":"1350828824","filename":"file5"},{"photo_id":"1350828807","filename":"file2"},{"photo_id":"1350828817","filename":"file4"},{"photo_id":"1350828801","filename":"file1"},{"photo_id":"1350828796","filename":"file0"},{"photo_id":"1350828810","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350828807":["hashtag1","hashtag2"]},{"1350828801":["hashtag1","hashtag2"]},{"1350828810":["hashtag1","hashtag2"]},{"1350828824":["hashtag1","hashtag2"]},{"1350828796":["hashtag1","hashtag2"]},{"1350828817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350828807, 1350828801, 1350828810, 1350828824, 1350828796, 1350828817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36570143699646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:33:32.583499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_15_9335.jpg', '/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_25_10414.jpg', '/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_35_9413.jpg', '/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_45_10450.jpg', '/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_55_10358.jpg', '/home/pi/Desktop/images/09042025/17/04/image_09042025_17_05_05_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_15_9335.jpg
/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_25_10414.jpg
/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_35_9413.jpg
/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_45_10450.jpg
/home/pi/Desktop/images/09042025/17/04/image_09042025_17_04_55_10358.jpg
/home/pi/Desktop/images/09042025/17/04/image_09042025_17_05_05_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350828930","1350828908","1350828928","1350828901","1350828925","1350828894"],"photo_ids_order":["1350828894","1350828901","1350828908","1350828925","1350828928","1350828930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96b799f8931f89fe1b238e1925194203.jpg","text":"TemporaryFile(/tmp/multipartBody8377731839771543682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216473049,"filename":"image_09042025_17_05_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fabaff9e9e86699aa3f3663c94ec767d.jpg","text":"TemporaryFile(/tmp/multipartBody1130355774831197425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216473049,"filename":"image_09042025_17_04_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/4/9/af842672eb89aa1ad7d8e37fdd68b2bc.jpg","text":"TemporaryFile(/tmp/multipartBody7391619101296346514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216473049,"filename":"image_09042025_17_04_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c30a2d6afa57d36713f510babbb60163.jpg","text":"TemporaryFile(/tmp/multipartBody8224615662346533152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216473049,"filename":"image_09042025_17_04_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/4/9/db0c57ec323bd877338058090c524fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4528367117229232880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216473049,"filename":"image_09042025_17_04_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/4/9/160068ba6f25394fdbceb9ebec5ffaf0.jpg","text":"TemporaryFile(/tmp/multipartBody5935970634394174184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216473049,"filename":"image_09042025_17_04_15_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350828908","file1":"1350828901","file0":"1350828894","file4":"1350828928","file5":"1350828930","file3":"1350828925"},"map_files_photo_id_array":[{"photo_id":"1350828930","filename":"file5"},{"photo_id":"1350828908","filename":"file2"},{"photo_id":"1350828928","filename":"file4"},{"photo_id":"1350828901","filename":"file1"},{"photo_id":"1350828894","filename":"file0"},{"photo_id":"1350828925","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350828930":["hashtag1","hashtag2"]},{"1350828908":["hashtag1","hashtag2"]},{"1350828928":["hashtag1","hashtag2"]},{"1350828901":["hashtag1","hashtag2"]},{"1350828925":["hashtag1","hashtag2"]},{"1350828894":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350828930, 1350828908, 1350828928, 1350828901, 1350828925, 1350828894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28242111206055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:34:32.868249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_15_10475.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_25_9423.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_35_10336.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_45_10359.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_55_9358.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_06_05_10506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_15_10475.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_25_9423.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_35_10336.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_45_10359.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_55_9358.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_06_05_10506.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37064695358276367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 18:34:42.873375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_15_10475.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_25_9423.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_35_10336.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_45_10359.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_55_9358.jpg', '/home/pi/Desktop/images/09042025/17/05/image_09042025_17_06_05_10506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_15_10475.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_25_9423.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_35_10336.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_45_10359.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_05_55_9358.jpg
/home/pi/Desktop/images/09042025/17/05/image_09042025_17_06_05_10506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350829022","1350829001","1350828980","1350828988","1350828993","1350828975"],"photo_ids_order":["1350828975","1350828980","1350828988","1350828993","1350829001","1350829022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8d8225b4ad609afdc4f11b5249a53a5.jpg","text":"TemporaryFile(/tmp/multipartBody4127704358377571819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216543332,"filename":"image_09042025_17_06_05_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/16bd03350540da2d8064858c721b9940.jpg","text":"TemporaryFile(/tmp/multipartBody6267791421030896555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216543332,"filename":"image_09042025_17_05_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/91fca1a425c6cfb2fbb2d04a357bf5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2592667693546380319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216543332,"filename":"image_09042025_17_05_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/4/9/4902b02a54906b2c1545aafe2d4e0563.jpg","text":"TemporaryFile(/tmp/multipartBody4812663665153298113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216543332,"filename":"image_09042025_17_05_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/4/9/83f412530c2b15bdd2809223b41ccd91.jpg","text":"TemporaryFile(/tmp/multipartBody3335922531292042587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216543332,"filename":"image_09042025_17_05_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/4/9/95686abd3daf5072d845b5fd56303f26.jpg","text":"TemporaryFile(/tmp/multipartBody5023361381627553361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216543332,"filename":"image_09042025_17_05_15_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350828988","file1":"1350828980","file0":"1350828975","file4":"1350829001","file5":"1350829022","file3":"1350828993"},"map_files_photo_id_array":[{"photo_id":"1350829022","filename":"file5"},{"photo_id":"1350828988","filename":"file2"},{"photo_id":"1350829001","filename":"file4"},{"photo_id":"1350828980","filename":"file1"},{"photo_id":"1350828975","filename":"file0"},{"photo_id":"1350828993","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350829022":["hashtag1","hashtag2"]},{"1350829001":["hashtag1","hashtag2"]},{"1350828980":["hashtag1","hashtag2"]},{"1350828988":["hashtag1","hashtag2"]},{"1350828993":["hashtag1","hashtag2"]},{"1350828975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350829022, 1350829001, 1350828980, 1350828988, 1350828993, 1350828975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93453001976013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:35:33.019733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_15_9352.jpg', '/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_25_10447.jpg', '/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_34_9430.jpg', '/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_45_10351.jpg', '/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_55_10473.jpg', '/home/pi/Desktop/images/09042025/17/06/image_09042025_17_07_05_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_15_9352.jpg
/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_25_10447.jpg
/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_34_9430.jpg
/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_45_10351.jpg
/home/pi/Desktop/images/09042025/17/06/image_09042025_17_06_55_10473.jpg
/home/pi/Desktop/images/09042025/17/06/image_09042025_17_07_05_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350829082","1350829091","1350829067","1350829058","1350829095","1350829062"],"photo_ids_order":["1350829058","1350829062","1350829067","1350829082","1350829091","1350829095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/921e4f88e50b851f142009184c906c44.jpg","text":"TemporaryFile(/tmp/multipartBody7861406603017121755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216593547,"filename":"image_09042025_17_06_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/4/9/3b6cf70e9d5ab6234e31c13d5464de41.jpg","text":"TemporaryFile(/tmp/multipartBody6636900141783616659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216593547,"filename":"image_09042025_17_06_55_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66c20733ddf396cb9750f195c0283c47.jpg","text":"TemporaryFile(/tmp/multipartBody4811233231795420048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216593547,"filename":"image_09042025_17_06_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/4/9/5a531c68f77470646e11e3a696646430.jpg","text":"TemporaryFile(/tmp/multipartBody5200012349656301777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216593547,"filename":"image_09042025_17_06_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/4/9/98e7063ad969b2d9dd074b4ed5e2387c.jpg","text":"TemporaryFile(/tmp/multipartBody446133137283660644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216593547,"filename":"image_09042025_17_07_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/4/9/7eeb2cb46f437d76c30a207689c2a305.jpg","text":"TemporaryFile(/tmp/multipartBody2955584218337251214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216593547,"filename":"image_09042025_17_06_25_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350829067","file1":"1350829062","file0":"1350829058","file4":"1350829091","file5":"1350829095","file3":"1350829082"},"map_files_photo_id_array":[{"photo_id":"1350829095","filename":"file5"},{"photo_id":"1350829067","filename":"file2"},{"photo_id":"1350829091","filename":"file4"},{"photo_id":"1350829062","filename":"file1"},{"photo_id":"1350829058","filename":"file0"},{"photo_id":"1350829082","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350829082":["hashtag1","hashtag2"]},{"1350829091":["hashtag1","hashtag2"]},{"1350829067":["hashtag1","hashtag2"]},{"1350829058":["hashtag1","hashtag2"]},{"1350829095":["hashtag1","hashtag2"]},{"1350829062":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350829082, 1350829091, 1350829067, 1350829058, 1350829095, 1350829062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93897771835327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:36:32.335688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_15_10349.jpg', '/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_25_10459.jpg', '/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_35_9341.jpg', '/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_45_10451.jpg', '/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_55_9393.jpg', '/home/pi/Desktop/images/09042025/17/07/image_09042025_17_08_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_15_10349.jpg
/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_25_10459.jpg
/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_35_9341.jpg
/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_45_10451.jpg
/home/pi/Desktop/images/09042025/17/07/image_09042025_17_07_55_9393.jpg
/home/pi/Desktop/images/09042025/17/07/image_09042025_17_08_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350829151","1350829156","1350829170","1350829176","1350829161","1350829143"],"photo_ids_order":["1350829143","1350829151","1350829156","1350829161","1350829170","1350829176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/279309be560ca0a7daf73a6c9a64f3e5.jpg","text":"TemporaryFile(/tmp/multipartBody3920750233073504725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216652807,"filename":"image_09042025_17_07_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/4/9/dc3e1f68410e8d3290a02ac6874c85ee.jpg","text":"TemporaryFile(/tmp/multipartBody1177804393616009233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216652807,"filename":"image_09042025_17_07_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/4/9/8450cda103c157143e27f99db6426ba1.jpg","text":"TemporaryFile(/tmp/multipartBody8001606406060405203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216652807,"filename":"image_09042025_17_07_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/4/9/7f5ad46c34dcb6d72abd1f3bef7e7605.jpg","text":"TemporaryFile(/tmp/multipartBody1385645771848257943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216652807,"filename":"image_09042025_17_08_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/4/9/e8d5f3c0db7dbf5d975a3b682daee545.jpg","text":"TemporaryFile(/tmp/multipartBody1998857346339560152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216652807,"filename":"image_09042025_17_07_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe4c0b0a5445d908e6fd3818b55b739a.jpg","text":"TemporaryFile(/tmp/multipartBody1863477515297473023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216652807,"filename":"image_09042025_17_07_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350829156","file1":"1350829151","file0":"1350829143","file4":"1350829170","file5":"1350829176","file3":"1350829161"},"map_files_photo_id_array":[{"photo_id":"1350829176","filename":"file5"},{"photo_id":"1350829156","filename":"file2"},{"photo_id":"1350829170","filename":"file4"},{"photo_id":"1350829151","filename":"file1"},{"photo_id":"1350829143","filename":"file0"},{"photo_id":"1350829161","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350829151":["hashtag1","hashtag2"]},{"1350829156":["hashtag1","hashtag2"]},{"1350829170":["hashtag1","hashtag2"]},{"1350829176":["hashtag1","hashtag2"]},{"1350829161":["hashtag1","hashtag2"]},{"1350829143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350829151, 1350829156, 1350829170, 1350829176, 1350829161, 1350829143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22404909133911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:37:32.565779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_15_10448.jpg', '/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_25_9420.jpg', '/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_35_10374.jpg', '/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_45_9354.jpg', '/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_55_10415.jpg', '/home/pi/Desktop/images/09042025/17/08/image_09042025_17_09_05_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_15_10448.jpg
/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_25_9420.jpg
/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_35_10374.jpg
/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_45_9354.jpg
/home/pi/Desktop/images/09042025/17/08/image_09042025_17_08_55_10415.jpg
/home/pi/Desktop/images/09042025/17/08/image_09042025_17_09_05_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":["1350829232","1350829229","1350829240","1350829234","1350829248","1350829236"],"photo_ids_order":["1350829229","1350829232","1350829234","1350829236","1350829240","1350829248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0076e4c31bad0a000bbe923ac27eb7ec.jpg","text":"TemporaryFile(/tmp/multipartBody8253428754425913422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216713022,"filename":"image_09042025_17_08_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/4/9/41e483a3a5c76d63215bb0a2902bb773.jpg","text":"TemporaryFile(/tmp/multipartBody4299539460723863848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216713022,"filename":"image_09042025_17_08_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/4/9/7027e54ec8e5d54d094ecbbc87a5a65e.jpg","text":"TemporaryFile(/tmp/multipartBody2852301184887640629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216713022,"filename":"image_09042025_17_08_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/4/9/da46cab3ecbd999af380eacf069f716e.jpg","text":"TemporaryFile(/tmp/multipartBody8908592948680347359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216713022,"filename":"image_09042025_17_08_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/4/9/9fe4368e35618b73cd35fd050b90e0e2.jpg","text":"TemporaryFile(/tmp/multipartBody2600304349884599371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216713022,"filename":"image_09042025_17_09_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/4/9/16c4afa21a36d9d6e76d65c0ca3685ac.jpg","text":"TemporaryFile(/tmp/multipartBody6553986502302130030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216713022,"filename":"image_09042025_17_08_45_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350829234","file1":"1350829232","file0":"1350829229","file4":"1350829240","file5":"1350829248","file3":"1350829236"},"map_files_photo_id_array":[{"photo_id":"1350829248","filename":"file5"},{"photo_id":"1350829234","filename":"file2"},{"photo_id":"1350829240","filename":"file4"},{"photo_id":"1350829232","filename":"file1"},{"photo_id":"1350829229","filename":"file0"},{"photo_id":"1350829236","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350829232":["hashtag1","hashtag2"]},{"1350829229":["hashtag1","hashtag2"]},{"1350829240":["hashtag1","hashtag2"]},{"1350829234":["hashtag1","hashtag2"]},{"1350829248":["hashtag1","hashtag2"]},{"1350829236":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350829232, 1350829229, 1350829240, 1350829234, 1350829248, 1350829236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51379704475403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:38:32.827411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_15_9329.jpg', '/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_25_10450.jpg', '/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_35_9332.jpg', '/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_45_10411.jpg', '/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_55_10351.jpg', '/home/pi/Desktop/images/09042025/17/09/image_09042025_17_10_05_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_15_9329.jpg
/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_25_10450.jpg
/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_35_9332.jpg
/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_45_10411.jpg
/home/pi/Desktop/images/09042025/17/09/image_09042025_17_09_55_10351.jpg
/home/pi/Desktop/images/09042025/17/09/image_09042025_17_10_05_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":["1350829454","1350829364","1350829433","1350829307","1350829300","1350829303"],"photo_ids_order":["1350829300","1350829303","1350829307","1350829364","1350829433","1350829454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ff35573ec032855afa9f3dbd78fb3d8.jpg","text":"TemporaryFile(/tmp/multipartBody6077192315673240446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216773294,"filename":"image_09042025_17_10_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/4/9/5de67e2bd53ce48057cf16c165b7ebad.jpg","text":"TemporaryFile(/tmp/multipartBody6181985813531916464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216773294,"filename":"image_09042025_17_09_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d787badd76c60350be811136685956b4.jpg","text":"TemporaryFile(/tmp/multipartBody6330014811246320141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216773294,"filename":"image_09042025_17_09_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52283385d72050d53c5860e7d80fa510.jpg","text":"TemporaryFile(/tmp/multipartBody2113046068109126455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216773294,"filename":"image_09042025_17_09_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/4/9/ebb370368f2d1560eff162e7571b8a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7838009335592235331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216773294,"filename":"image_09042025_17_09_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/4/9/2345395acbec8e2150e3e83eadf1e71b.jpg","text":"TemporaryFile(/tmp/multipartBody7022057164776945388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216773294,"filename":"image_09042025_17_09_25_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350829307","file1":"1350829303","file0":"1350829300","file4":"1350829433","file5":"1350829454","file3":"1350829364"},"map_files_photo_id_array":[{"photo_id":"1350829454","filename":"file5"},{"photo_id":"1350829307","filename":"file2"},{"photo_id":"1350829433","filename":"file4"},{"photo_id":"1350829303","filename":"file1"},{"photo_id":"1350829300","filename":"file0"},{"photo_id":"1350829364","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350829454":["hashtag1","hashtag2"]},{"1350829364":["hashtag1","hashtag2"]},{"1350829433":["hashtag1","hashtag2"]},{"1350829307":["hashtag1","hashtag2"]},{"1350829300":["hashtag1","hashtag2"]},{"1350829303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350829454, 1350829364, 1350829433, 1350829307, 1350829300, 1350829303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.713555335998535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:39:32.982878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_15_10355.jpg', '/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_24_9389.jpg', '/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_35_10350.jpg', '/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_45_10446.jpg', '/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_55_9347.jpg', '/home/pi/Desktop/images/09042025/17/10/image_09042025_17_11_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_15_10355.jpg
/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_24_9389.jpg
/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_35_10350.jpg
/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_45_10446.jpg
/home/pi/Desktop/images/09042025/17/10/image_09042025_17_10_55_9347.jpg
/home/pi/Desktop/images/09042025/17/10/image_09042025_17_11_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350829532","1350829486","1350829489","1350829528","1350829537","1350829494"],"photo_ids_order":["1350829486","1350829489","1350829494","1350829528","1350829532","1350829537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/723bc917c6d661a182cfcaec4a563142.jpg","text":"TemporaryFile(/tmp/multipartBody7246051159304954938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216833504,"filename":"image_09042025_17_10_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18d7dcdbf9d95dca6877252342de2e70.jpg","text":"TemporaryFile(/tmp/multipartBody4909917198277318222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216833504,"filename":"image_09042025_17_10_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/4/9/e6ba448288c350d8c3314e6c81c2185c.jpg","text":"TemporaryFile(/tmp/multipartBody5695173513104751805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216833504,"filename":"image_09042025_17_10_24_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ee6fb5939e7cba1545d5ca368ee4e6a3.jpg","text":"TemporaryFile(/tmp/multipartBody6913633959841387493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216833504,"filename":"image_09042025_17_10_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/4/9/b05a8a250e7b8d6fc3f94d760cd43a17.jpg","text":"TemporaryFile(/tmp/multipartBody2384652853907630038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216833504,"filename":"image_09042025_17_11_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ecd3b5672fb4ab6cadb3be1bf197097.jpg","text":"TemporaryFile(/tmp/multipartBody8123313716625723966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216833504,"filename":"image_09042025_17_10_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350829494","file1":"1350829489","file0":"1350829486","file4":"1350829532","file5":"1350829537","file3":"1350829528"},"map_files_photo_id_array":[{"photo_id":"1350829537","filename":"file5"},{"photo_id":"1350829494","filename":"file2"},{"photo_id":"1350829532","filename":"file4"},{"photo_id":"1350829489","filename":"file1"},{"photo_id":"1350829486","filename":"file0"},{"photo_id":"1350829528","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350829532":["hashtag1","hashtag2"]},{"1350829486":["hashtag1","hashtag2"]},{"1350829489":["hashtag1","hashtag2"]},{"1350829528":["hashtag1","hashtag2"]},{"1350829537":["hashtag1","hashtag2"]},{"1350829494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350829532, 1350829486, 1350829489, 1350829528, 1350829537, 1350829494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.15308904647827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:40:33.195228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_15_10408.jpg', '/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_25_9359.jpg', '/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_35_10467.jpg', '/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_45_9329.jpg', '/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_55_10357.jpg', '/home/pi/Desktop/images/09042025/17/11/image_09042025_17_12_05_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_15_10408.jpg
/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_25_9359.jpg
/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_35_10467.jpg
/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_45_9329.jpg
/home/pi/Desktop/images/09042025/17/11/image_09042025_17_11_55_10357.jpg
/home/pi/Desktop/images/09042025/17/11/image_09042025_17_12_05_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":["1350829605","1350829583","1350829601","1350829588","1350829593","1350829598"],"photo_ids_order":["1350829583","1350829588","1350829593","1350829598","1350829601","1350829605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fb0581abb4949745ff15bb0b91ffc27f.jpg","text":"TemporaryFile(/tmp/multipartBody1710604609774279687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216893668,"filename":"image_09042025_17_12_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/4/9/d482736780a63f3ea9330fd6273c1bba.jpg","text":"TemporaryFile(/tmp/multipartBody7623168961385430477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216893668,"filename":"image_09042025_17_11_15_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/737aae0444deda09d5a1badd956f78bc.jpg","text":"TemporaryFile(/tmp/multipartBody2235188075298384781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216893668,"filename":"image_09042025_17_11_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0c5385531719b4a73cafac9b19276de7.jpg","text":"TemporaryFile(/tmp/multipartBody6425229968446954793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216893668,"filename":"image_09042025_17_11_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/4/9/98ab1b84e6724c9d3e52481a8fa0a05c.jpg","text":"TemporaryFile(/tmp/multipartBody8084997618545032601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216893668,"filename":"image_09042025_17_11_35_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1fc543320004f294e71e5c9ffe48ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2258023902600721234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216893668,"filename":"image_09042025_17_11_45_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350829593","file1":"1350829588","file0":"1350829583","file4":"1350829601","file5":"1350829605","file3":"1350829598"},"map_files_photo_id_array":[{"photo_id":"1350829605","filename":"file5"},{"photo_id":"1350829593","filename":"file2"},{"photo_id":"1350829601","filename":"file4"},{"photo_id":"1350829588","filename":"file1"},{"photo_id":"1350829583","filename":"file0"},{"photo_id":"1350829598","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350829605":["hashtag1","hashtag2"]},{"1350829583":["hashtag1","hashtag2"]},{"1350829601":["hashtag1","hashtag2"]},{"1350829588":["hashtag1","hashtag2"]},{"1350829593":["hashtag1","hashtag2"]},{"1350829598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350829605, 1350829583, 1350829601, 1350829588, 1350829593, 1350829598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.149792909622192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:41:32.395948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_15_9333.jpg', '/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_25_10436.jpg', '/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_34_9402.jpg', '/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_45_10366.jpg', '/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_55_10455.jpg', '/home/pi/Desktop/images/09042025/17/12/image_09042025_17_13_05_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_15_9333.jpg
/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_25_10436.jpg
/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_34_9402.jpg
/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_45_10366.jpg
/home/pi/Desktop/images/09042025/17/12/image_09042025_17_12_55_10455.jpg
/home/pi/Desktop/images/09042025/17/12/image_09042025_17_13_05_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":["1350829694","1350829712","1350829696","1350829683","1350829737","1350829734"],"photo_ids_order":["1350829683","1350829694","1350829696","1350829712","1350829734","1350829737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb324dcb9179064dccab45cec72fdc14.jpg","text":"TemporaryFile(/tmp/multipartBody2041563765522883739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216952877,"filename":"image_09042025_17_12_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/4/9/e63dffa5f8ebbd5420fe17aa884b6857.jpg","text":"TemporaryFile(/tmp/multipartBody62049721076659300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216952877,"filename":"image_09042025_17_12_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/4/9/84f7806e2b33bee9d15f3e2882be10a0.jpg","text":"TemporaryFile(/tmp/multipartBody5578093092844521267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216952877,"filename":"image_09042025_17_12_34_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/16ec2626b60a71bbbc4d5499fac4142c.jpg","text":"TemporaryFile(/tmp/multipartBody1970570306176730435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216952877,"filename":"image_09042025_17_12_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/4/9/fa22a0f650852502b1581d552ab08545.jpg","text":"TemporaryFile(/tmp/multipartBody6620422250817867555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216952877,"filename":"image_09042025_17_13_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/4/9/0f59824309ede4a2f058bf4c9f9e0109.jpg","text":"TemporaryFile(/tmp/multipartBody6932716530087084887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744216952877,"filename":"image_09042025_17_12_55_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350829696","file1":"1350829694","file0":"1350829683","file4":"1350829734","file5":"1350829737","file3":"1350829712"},"map_files_photo_id_array":[{"photo_id":"1350829737","filename":"file5"},{"photo_id":"1350829696","filename":"file2"},{"photo_id":"1350829734","filename":"file4"},{"photo_id":"1350829694","filename":"file1"},{"photo_id":"1350829683","filename":"file0"},{"photo_id":"1350829712","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350829694":["hashtag1","hashtag2"]},{"1350829712":["hashtag1","hashtag2"]},{"1350829696":["hashtag1","hashtag2"]},{"1350829683":["hashtag1","hashtag2"]},{"1350829737":["hashtag1","hashtag2"]},{"1350829734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350829694, 1350829712, 1350829696, 1350829683, 1350829737, 1350829734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48714280128479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:42:32.645092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_15_10342.jpg', '/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_25_10461.jpg', '/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_35_9327.jpg', '/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_45_10336.jpg', '/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_55_10358.jpg', '/home/pi/Desktop/images/09042025/17/13/image_09042025_17_14_05_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_15_10342.jpg
/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_25_10461.jpg
/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_35_9327.jpg
/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_45_10336.jpg
/home/pi/Desktop/images/09042025/17/13/image_09042025_17_13_55_10358.jpg
/home/pi/Desktop/images/09042025/17/13/image_09042025_17_14_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":["1350830037","1350829972","1350829962","1350829941","1350829929","1350829905"],"photo_ids_order":["1350829905","1350829929","1350829941","1350829962","1350829972","1350830037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e74d39abe4fd959a526d6ba23ff1aae.jpg","text":"TemporaryFile(/tmp/multipartBody4030709835655830867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217013140,"filename":"image_09042025_17_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/4/9/558ebde95230b7fd96b1f8e383a82767.jpg","text":"TemporaryFile(/tmp/multipartBody2576900824626235391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217013140,"filename":"image_09042025_17_13_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/4/9/faec767593b9155609154fdea78da476.jpg","text":"TemporaryFile(/tmp/multipartBody511450949115763312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217013140,"filename":"image_09042025_17_13_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a975029ea0da8829ad148342ed0e32c7.jpg","text":"TemporaryFile(/tmp/multipartBody1748583210693529830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217013140,"filename":"image_09042025_17_13_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/4/9/f8d23bf857ec45d482923958383e6989.jpg","text":"TemporaryFile(/tmp/multipartBody2857468840961901740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217013140,"filename":"image_09042025_17_13_25_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31aa389ec85ae04b0ddfc0a5f7b74c53.jpg","text":"TemporaryFile(/tmp/multipartBody7147075326780414573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217013140,"filename":"image_09042025_17_13_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350829941","file1":"1350829929","file0":"1350829905","file4":"1350829972","file5":"1350830037","file3":"1350829962"},"map_files_photo_id_array":[{"photo_id":"1350830037","filename":"file5"},{"photo_id":"1350829941","filename":"file2"},{"photo_id":"1350829972","filename":"file4"},{"photo_id":"1350829929","filename":"file1"},{"photo_id":"1350829905","filename":"file0"},{"photo_id":"1350829962","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350830037":["hashtag1","hashtag2"]},{"1350829972":["hashtag1","hashtag2"]},{"1350829962":["hashtag1","hashtag2"]},{"1350829941":["hashtag1","hashtag2"]},{"1350829929":["hashtag1","hashtag2"]},{"1350829905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350830037, 1350829972, 1350829962, 1350829941, 1350829929, 1350829905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.64226794242859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:43:32.848191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_15_10422.jpg', '/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_25_9362.jpg', '/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_35_10354.jpg', '/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_45_10413.jpg', '/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_55_9358.jpg', '/home/pi/Desktop/images/09042025/17/14/image_09042025_17_15_05_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_15_10422.jpg
/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_25_9362.jpg
/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_35_10354.jpg
/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_45_10413.jpg
/home/pi/Desktop/images/09042025/17/14/image_09042025_17_14_55_9358.jpg
/home/pi/Desktop/images/09042025/17/14/image_09042025_17_15_05_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350830538","1350830523","1350830486","1350830458","1350830572","1350830602"],"photo_ids_order":["1350830458","1350830486","1350830523","1350830538","1350830572","1350830602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b5ab96f94b8c9d6124d956d2fdb4e36.jpg","text":"TemporaryFile(/tmp/multipartBody9033275326795582843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217073336,"filename":"image_09042025_17_14_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/4/9/2e9ba4167cd5947026f960d1529e4b49.jpg","text":"TemporaryFile(/tmp/multipartBody1024351718128317319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217073336,"filename":"image_09042025_17_14_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5f207c00bf853c255b6a03025744682a.jpg","text":"TemporaryFile(/tmp/multipartBody6865203356996116682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217073336,"filename":"image_09042025_17_14_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/4/9/be0eebacc5121574b56df6e69cbff546.jpg","text":"TemporaryFile(/tmp/multipartBody2031910621750354440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217073336,"filename":"image_09042025_17_14_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/4/9/08fbb9520ccc351a439ccb5e1d856217.jpg","text":"TemporaryFile(/tmp/multipartBody6147618962081232896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217073336,"filename":"image_09042025_17_14_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/34e23748561ed9178b99176253fb7c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8760484461420253751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217073336,"filename":"image_09042025_17_15_05_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350830523","file1":"1350830486","file0":"1350830458","file4":"1350830572","file5":"1350830602","file3":"1350830538"},"map_files_photo_id_array":[{"photo_id":"1350830602","filename":"file5"},{"photo_id":"1350830523","filename":"file2"},{"photo_id":"1350830572","filename":"file4"},{"photo_id":"1350830486","filename":"file1"},{"photo_id":"1350830458","filename":"file0"},{"photo_id":"1350830538","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350830538":["hashtag1","hashtag2"]},{"1350830523":["hashtag1","hashtag2"]},{"1350830486":["hashtag1","hashtag2"]},{"1350830458":["hashtag1","hashtag2"]},{"1350830572":["hashtag1","hashtag2"]},{"1350830602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350830538, 1350830523, 1350830486, 1350830458, 1350830572, 1350830602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.561272382736206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:44:33.191881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_15_10333.jpg', '/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_25_9342.jpg', '/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_35_10328.jpg', '/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_45_10359.jpg', '/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_55_9351.jpg', '/home/pi/Desktop/images/09042025/17/15/image_09042025_17_16_05_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_15_10333.jpg
/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_25_9342.jpg
/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_35_10328.jpg
/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_45_10359.jpg
/home/pi/Desktop/images/09042025/17/15/image_09042025_17_15_55_9351.jpg
/home/pi/Desktop/images/09042025/17/15/image_09042025_17_16_05_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":["1350830745","1350830724","1350830675","1350830756","1350830714","1350830711"],"photo_ids_order":["1350830675","1350830711","1350830714","1350830724","1350830745","1350830756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fec4757c783bc9662093c9d0f6e23860.jpg","text":"TemporaryFile(/tmp/multipartBody7585681099543217701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217133669,"filename":"image_09042025_17_15_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/4/9/4da0cefd43c11cfc2f87e250bce7dc98.jpg","text":"TemporaryFile(/tmp/multipartBody2771461553349245127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217133669,"filename":"image_09042025_17_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/4/9/86f0fe71430e64bb8786f4cb8d84a83a.jpg","text":"TemporaryFile(/tmp/multipartBody5407836077931232671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217133669,"filename":"image_09042025_17_15_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/4/9/79e9729f59a5263ab9ce2331209e2079.jpg","text":"TemporaryFile(/tmp/multipartBody1609774464009697776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217133669,"filename":"image_09042025_17_16_05_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1840d67466a9167f4e371bae0b964c2e.jpg","text":"TemporaryFile(/tmp/multipartBody829214392780484332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217133669,"filename":"image_09042025_17_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/4/9/15c23c95f7059d33f8db3cce0e5ff280.jpg","text":"TemporaryFile(/tmp/multipartBody3244304941803711440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217133669,"filename":"image_09042025_17_15_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350830714","file1":"1350830711","file0":"1350830675","file4":"1350830745","file5":"1350830756","file3":"1350830724"},"map_files_photo_id_array":[{"photo_id":"1350830756","filename":"file5"},{"photo_id":"1350830714","filename":"file2"},{"photo_id":"1350830745","filename":"file4"},{"photo_id":"1350830711","filename":"file1"},{"photo_id":"1350830675","filename":"file0"},{"photo_id":"1350830724","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350830745":["hashtag1","hashtag2"]},{"1350830724":["hashtag1","hashtag2"]},{"1350830675":["hashtag1","hashtag2"]},{"1350830756":["hashtag1","hashtag2"]},{"1350830714":["hashtag1","hashtag2"]},{"1350830711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350830745, 1350830724, 1350830675, 1350830756, 1350830714, 1350830711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95202326774597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:45:32.314777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_15_9352.jpg', '/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_25_10428.jpg', '/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_35_10367.jpg', '/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_45_9352.jpg', '/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_55_10362.jpg', '/home/pi/Desktop/images/09042025/17/16/image_09042025_17_17_04_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_15_9352.jpg
/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_25_10428.jpg
/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_35_10367.jpg
/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_45_9352.jpg
/home/pi/Desktop/images/09042025/17/16/image_09042025_17_16_55_10362.jpg
/home/pi/Desktop/images/09042025/17/16/image_09042025_17_17_04_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350830861","1350830887","1350830872","1350830881","1350830878","1350830853"],"photo_ids_order":["1350830853","1350830861","1350830872","1350830878","1350830881","1350830887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2a422b1c1a1a7b67b07a65329bdea797.jpg","text":"TemporaryFile(/tmp/multipartBody5603540201211950697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217192791,"filename":"image_09042025_17_16_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/4/9/f48206f6f5202c59b6ccb2dec2643c80.jpg","text":"TemporaryFile(/tmp/multipartBody1435441180758502572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217192791,"filename":"image_09042025_17_17_04_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1263f3f8fd3f3eb3d60e3a4ca4d8edc8.jpg","text":"TemporaryFile(/tmp/multipartBody893479130461885725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217192791,"filename":"image_09042025_17_16_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0abd5cedb9b01c0e1bdb60d918362731.jpg","text":"TemporaryFile(/tmp/multipartBody8421436579621535894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217192791,"filename":"image_09042025_17_16_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/4/9/10a57d32cfa223da22f71f053c09de47.jpg","text":"TemporaryFile(/tmp/multipartBody5650908571829054448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217192791,"filename":"image_09042025_17_16_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/4/9/74a6280d82012a9c85d21a02cf64d246.jpg","text":"TemporaryFile(/tmp/multipartBody5742894460920022414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217192791,"filename":"image_09042025_17_16_15_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350830872","file1":"1350830861","file0":"1350830853","file4":"1350830881","file5":"1350830887","file3":"1350830878"},"map_files_photo_id_array":[{"photo_id":"1350830887","filename":"file5"},{"photo_id":"1350830872","filename":"file2"},{"photo_id":"1350830881","filename":"file4"},{"photo_id":"1350830861","filename":"file1"},{"photo_id":"1350830853","filename":"file0"},{"photo_id":"1350830878","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350830861":["hashtag1","hashtag2"]},{"1350830887":["hashtag1","hashtag2"]},{"1350830872":["hashtag1","hashtag2"]},{"1350830881":["hashtag1","hashtag2"]},{"1350830878":["hashtag1","hashtag2"]},{"1350830853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350830861, 1350830887, 1350830872, 1350830881, 1350830878, 1350830853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.484971046447754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:46:32.504115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/17/image_09042025_17_17_15_10340.jpg', '/home/pi/Desktop/images/09042025/17/17/image_09042025_17_17_25_10432.jpg', '/home/pi/Desktop/images/09042025/17/17/image_09042025_17_17_35_9340.jpg', '/home/pi/Desktop/images/09042025/17/17/image_09042025_17_17_55_10440.jpg', '/home/pi/Desktop/images/09042025/17/17/image_09042025_17_18_05_9364.jpg', '/home/pi/Desktop/images/09042025/17/18/image_09042025_17_18_15_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/17/image_09042025_17_17_15_10340.jpg
/home/pi/Desktop/images/09042025/17/17/image_09042025_17_17_25_10432.jpg
/home/pi/Desktop/images/09042025/17/17/image_09042025_17_17_35_9340.jpg
/home/pi/Desktop/images/09042025/17/17/image_09042025_17_17_55_10440.jpg
/home/pi/Desktop/images/09042025/17/17/image_09042025_17_18_05_9364.jpg
/home/pi/Desktop/images/09042025/17/18/image_09042025_17_18_15_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350831006","1350831023","1350831016","1350831019","1350831010","1350831039"],"photo_ids_order":["1350831006","1350831010","1350831016","1350831019","1350831023","1350831039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03cd305f8bf40e72e49e27b8ed8948d8.jpg","text":"TemporaryFile(/tmp/multipartBody2654546101947513800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217252989,"filename":"image_09042025_17_17_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/4/9/c767e905ce20348c0fb0af93317cd5e4.jpg","text":"TemporaryFile(/tmp/multipartBody3815952433489407284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217252989,"filename":"image_09042025_17_18_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bafe3045041b5ea7f1742832f861ebc7.jpg","text":"TemporaryFile(/tmp/multipartBody5306903857292837159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217252989,"filename":"image_09042025_17_17_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/4/9/1350eb4cee21bc5d86f8efa005cf8b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7300277723146965519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217252989,"filename":"image_09042025_17_17_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73a1b901427b78e47be10953641ffa62.jpg","text":"TemporaryFile(/tmp/multipartBody1848155707040739894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217252989,"filename":"image_09042025_17_17_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/be8719d58b5b926863c958f2ab24238a.jpg","text":"TemporaryFile(/tmp/multipartBody2281159215187350509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217252989,"filename":"image_09042025_17_18_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350831016","file1":"1350831010","file0":"1350831006","file4":"1350831023","file5":"1350831039","file3":"1350831019"},"map_files_photo_id_array":[{"photo_id":"1350831039","filename":"file5"},{"photo_id":"1350831016","filename":"file2"},{"photo_id":"1350831023","filename":"file4"},{"photo_id":"1350831010","filename":"file1"},{"photo_id":"1350831006","filename":"file0"},{"photo_id":"1350831019","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350831006":["hashtag1","hashtag2"]},{"1350831023":["hashtag1","hashtag2"]},{"1350831016":["hashtag1","hashtag2"]},{"1350831019":["hashtag1","hashtag2"]},{"1350831010":["hashtag1","hashtag2"]},{"1350831039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350831006, 1350831023, 1350831016, 1350831019, 1350831010, 1350831039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6847083568573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:47:32.919947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/18/image_09042025_17_18_25_10365.jpg', '/home/pi/Desktop/images/09042025/17/18/image_09042025_17_18_35_9333.jpg', '/home/pi/Desktop/images/09042025/17/18/image_09042025_17_18_45_10522.jpg', '/home/pi/Desktop/images/09042025/17/18/image_09042025_17_19_05_10345.jpg', '/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_15_10451.jpg', '/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_25_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/18/image_09042025_17_18_25_10365.jpg
/home/pi/Desktop/images/09042025/17/18/image_09042025_17_18_35_9333.jpg
/home/pi/Desktop/images/09042025/17/18/image_09042025_17_18_45_10522.jpg
/home/pi/Desktop/images/09042025/17/18/image_09042025_17_19_05_10345.jpg
/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_15_10451.jpg
/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_25_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":["1350831110","1350831113","1350831107","1350831116","1350831124","1350831093"],"photo_ids_order":["1350831093","1350831107","1350831110","1350831113","1350831116","1350831124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f03bb18bb31e10dcc39bb7e500d97431.jpg","text":"TemporaryFile(/tmp/multipartBody7569640555213512345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217313411,"filename":"image_09042025_17_18_45_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0587cae86a34d42a5e5da7c2e225b2d6.jpg","text":"TemporaryFile(/tmp/multipartBody2439788370275442250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217313411,"filename":"image_09042025_17_19_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f1b25e2ae61a931464fcc552b225b1b1.jpg","text":"TemporaryFile(/tmp/multipartBody4238960601425115154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217313411,"filename":"image_09042025_17_18_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/4/9/013564aba88164f0ba6f8f82fbd861cf.jpg","text":"TemporaryFile(/tmp/multipartBody8766734602965458307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217313411,"filename":"image_09042025_17_19_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/4/9/c99d5a1121f4dbdbfbcc5b9e59fc7e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5088107070839958858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217313411,"filename":"image_09042025_17_19_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/4/9/767883360777a9c48164aa71de2d1858.jpg","text":"TemporaryFile(/tmp/multipartBody5160055303079190780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217313411,"filename":"image_09042025_17_18_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350831110","file1":"1350831107","file0":"1350831093","file4":"1350831116","file5":"1350831124","file3":"1350831113"},"map_files_photo_id_array":[{"photo_id":"1350831124","filename":"file5"},{"photo_id":"1350831110","filename":"file2"},{"photo_id":"1350831116","filename":"file4"},{"photo_id":"1350831107","filename":"file1"},{"photo_id":"1350831093","filename":"file0"},{"photo_id":"1350831113","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350831110":["hashtag1","hashtag2"]},{"1350831113":["hashtag1","hashtag2"]},{"1350831107":["hashtag1","hashtag2"]},{"1350831116":["hashtag1","hashtag2"]},{"1350831124":["hashtag1","hashtag2"]},{"1350831093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350831110, 1350831113, 1350831107, 1350831116, 1350831124, 1350831093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.009912967681885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:48:32.984086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_35_10396.jpg', '/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_44_9352.jpg', '/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_55_10371.jpg', '/home/pi/Desktop/images/09042025/17/19/image_09042025_17_20_05_10441.jpg', '/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_15_9347.jpg', '/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_35_10396.jpg
/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_44_9352.jpg
/home/pi/Desktop/images/09042025/17/19/image_09042025_17_19_55_10371.jpg
/home/pi/Desktop/images/09042025/17/19/image_09042025_17_20_05_10441.jpg
/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_15_9347.jpg
/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_25_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350831179","1350831167","1350831172","1350831162","1350831156","1350831159"],"photo_ids_order":["1350831156","1350831159","1350831162","1350831167","1350831172","1350831179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97e07abf38772196433dd70223b651c5.jpg","text":"TemporaryFile(/tmp/multipartBody8146968481683284411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217373461,"filename":"image_09042025_17_20_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/4/9/3e5e33cf5adb7b95dbcc8aee44b1f9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5442223131776919065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217373461,"filename":"image_09042025_17_20_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/4/9/8e7a0f5043861dbccde6fff31d7775b5.jpg","text":"TemporaryFile(/tmp/multipartBody1882845125763460698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217373461,"filename":"image_09042025_17_20_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6f02fefaa8b8822fe453233909a91c7.jpg","text":"TemporaryFile(/tmp/multipartBody187048790960145556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217373461,"filename":"image_09042025_17_19_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/4/9/e1573ea252bee177216c274b6d235d83.jpg","text":"TemporaryFile(/tmp/multipartBody1187665941961449718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217373461,"filename":"image_09042025_17_19_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/135692f3e03392125633c2ed26f53c60.jpg","text":"TemporaryFile(/tmp/multipartBody9055884221882583875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217373461,"filename":"image_09042025_17_19_44_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350831162","file1":"1350831159","file0":"1350831156","file4":"1350831172","file5":"1350831179","file3":"1350831167"},"map_files_photo_id_array":[{"photo_id":"1350831179","filename":"file5"},{"photo_id":"1350831162","filename":"file2"},{"photo_id":"1350831172","filename":"file4"},{"photo_id":"1350831159","filename":"file1"},{"photo_id":"1350831156","filename":"file0"},{"photo_id":"1350831167","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350831179":["hashtag1","hashtag2"]},{"1350831167":["hashtag1","hashtag2"]},{"1350831172":["hashtag1","hashtag2"]},{"1350831162":["hashtag1","hashtag2"]},{"1350831156":["hashtag1","hashtag2"]},{"1350831159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350831179, 1350831167, 1350831172, 1350831162, 1350831156, 1350831159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33821392059326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:49:32.171249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_35_10365.jpg', '/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_45_9344.jpg', '/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_55_10442.jpg', '/home/pi/Desktop/images/09042025/17/20/image_09042025_17_21_05_9448.jpg', '/home/pi/Desktop/images/09042025/17/21/image_09042025_17_21_15_10335.jpg', '/home/pi/Desktop/images/09042025/17/21/image_09042025_17_21_35_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_35_10365.jpg
/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_45_9344.jpg
/home/pi/Desktop/images/09042025/17/20/image_09042025_17_20_55_10442.jpg
/home/pi/Desktop/images/09042025/17/20/image_09042025_17_21_05_9448.jpg
/home/pi/Desktop/images/09042025/17/21/image_09042025_17_21_15_10335.jpg
/home/pi/Desktop/images/09042025/17/21/image_09042025_17_21_35_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350831254","1350831257","1350831221","1350831251","1350831232","1350831213"],"photo_ids_order":["1350831213","1350831221","1350831232","1350831251","1350831254","1350831257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d71031a204be19663d3b56c36d995ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2445119642222221374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217432647,"filename":"image_09042025_17_21_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/4/9/25e0b5816b9720d6207a6e4287bb3439.jpg","text":"TemporaryFile(/tmp/multipartBody2595967483829484927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217432647,"filename":"image_09042025_17_21_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/4/9/e0189e48281d25f7e42afc79835ffdc0.jpg","text":"TemporaryFile(/tmp/multipartBody6654787969578560046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217432647,"filename":"image_09042025_17_20_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/4/9/b2efca674e0f2047b095ac905c24b11f.jpg","text":"TemporaryFile(/tmp/multipartBody2828969994263286176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217432647,"filename":"image_09042025_17_21_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/4/9/8d8ac44afe24347bbde408f9619e7639.jpg","text":"TemporaryFile(/tmp/multipartBody8197344862368469003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217432647,"filename":"image_09042025_17_20_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/4/9/87131459bf051310bcc7c238a8cd10f5.jpg","text":"TemporaryFile(/tmp/multipartBody6254837076358086721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217432647,"filename":"image_09042025_17_20_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350831232","file1":"1350831221","file0":"1350831213","file4":"1350831254","file5":"1350831257","file3":"1350831251"},"map_files_photo_id_array":[{"photo_id":"1350831257","filename":"file5"},{"photo_id":"1350831232","filename":"file2"},{"photo_id":"1350831254","filename":"file4"},{"photo_id":"1350831221","filename":"file1"},{"photo_id":"1350831213","filename":"file0"},{"photo_id":"1350831251","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350831254":["hashtag1","hashtag2"]},{"1350831257":["hashtag1","hashtag2"]},{"1350831221":["hashtag1","hashtag2"]},{"1350831251":["hashtag1","hashtag2"]},{"1350831232":["hashtag1","hashtag2"]},{"1350831213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350831254, 1350831257, 1350831221, 1350831251, 1350831232, 1350831213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.677104234695435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:50:32.368697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/21/image_09042025_17_21_45_10356.jpg', '/home/pi/Desktop/images/09042025/17/21/image_09042025_17_21_54_9414.jpg', '/home/pi/Desktop/images/09042025/17/21/image_09042025_17_22_05_10385.jpg', '/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_15_10406.jpg', '/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_25_9396.jpg', '/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_35_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/21/image_09042025_17_21_45_10356.jpg
/home/pi/Desktop/images/09042025/17/21/image_09042025_17_21_54_9414.jpg
/home/pi/Desktop/images/09042025/17/21/image_09042025_17_22_05_10385.jpg
/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_15_10406.jpg
/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_25_9396.jpg
/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_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":["1350831383","1350831368","1350831401","1350831364","1350831373","1350831355"],"photo_ids_order":["1350831355","1350831364","1350831368","1350831373","1350831383","1350831401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55e7359e0ba51b6f3c7ccf92602bafe2.jpg","text":"TemporaryFile(/tmp/multipartBody4625666998979937073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217492849,"filename":"image_09042025_17_22_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/911e74bf253a621d4d404c92c57db1c0.jpg","text":"TemporaryFile(/tmp/multipartBody7907449242614958790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217492849,"filename":"image_09042025_17_22_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/636038974410994c969e0efd0fa922b8.jpg","text":"TemporaryFile(/tmp/multipartBody8620364155415129880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217492849,"filename":"image_09042025_17_22_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/4/9/3e20ae825cf66f3d9420c497cef73ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2313255201567558835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217492849,"filename":"image_09042025_17_21_54_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9d86aec5eb034199f4119769752459d.jpg","text":"TemporaryFile(/tmp/multipartBody8641897195794260059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217492849,"filename":"image_09042025_17_22_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/4/9/2f2df8a292bcd8e1dedeb56557f4aa17.jpg","text":"TemporaryFile(/tmp/multipartBody4675130315609839215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217492849,"filename":"image_09042025_17_21_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350831368","file1":"1350831364","file0":"1350831355","file4":"1350831383","file5":"1350831401","file3":"1350831373"},"map_files_photo_id_array":[{"photo_id":"1350831401","filename":"file5"},{"photo_id":"1350831368","filename":"file2"},{"photo_id":"1350831383","filename":"file4"},{"photo_id":"1350831364","filename":"file1"},{"photo_id":"1350831355","filename":"file0"},{"photo_id":"1350831373","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350831383":["hashtag1","hashtag2"]},{"1350831368":["hashtag1","hashtag2"]},{"1350831401":["hashtag1","hashtag2"]},{"1350831364":["hashtag1","hashtag2"]},{"1350831373":["hashtag1","hashtag2"]},{"1350831355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350831383, 1350831368, 1350831401, 1350831364, 1350831373, 1350831355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82362961769104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:51:32.554819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_45_10440.jpg', '/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_55_9346.jpg', '/home/pi/Desktop/images/09042025/17/22/image_09042025_17_23_05_10397.jpg', '/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_14_9332.jpg', '/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_25_10361.jpg', '/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_35_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_45_10440.jpg
/home/pi/Desktop/images/09042025/17/22/image_09042025_17_22_55_9346.jpg
/home/pi/Desktop/images/09042025/17/22/image_09042025_17_23_05_10397.jpg
/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_14_9332.jpg
/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_25_10361.jpg
/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_35_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":["1350831632","1350831611","1350831571","1350831628","1350831594","1350831621"],"photo_ids_order":["1350831571","1350831594","1350831611","1350831621","1350831628","1350831632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ae6e8551a62e240b0dd58a77790fc05f.jpg","text":"TemporaryFile(/tmp/multipartBody5882213997094066958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217553043,"filename":"image_09042025_17_23_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/956081fb53720f66d2ea9b0ae096506f.jpg","text":"TemporaryFile(/tmp/multipartBody5973460887956475447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217553043,"filename":"image_09042025_17_23_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/4/9/919e06c0992b7f5619af9f0732da2532.jpg","text":"TemporaryFile(/tmp/multipartBody5061444589454559911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217553043,"filename":"image_09042025_17_22_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c43e4fdeb6d6ed70bac3aef18dc3ae55.jpg","text":"TemporaryFile(/tmp/multipartBody1629350221558737868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217553043,"filename":"image_09042025_17_23_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e2bbc20bfb04cbb2834e326e6dd88d67.jpg","text":"TemporaryFile(/tmp/multipartBody3918010287750776482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217553043,"filename":"image_09042025_17_22_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8bc86732691e0691ac622c93825d0a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4848711671213561373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217553043,"filename":"image_09042025_17_23_14_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350831611","file1":"1350831594","file0":"1350831571","file4":"1350831628","file5":"1350831632","file3":"1350831621"},"map_files_photo_id_array":[{"photo_id":"1350831632","filename":"file5"},{"photo_id":"1350831611","filename":"file2"},{"photo_id":"1350831628","filename":"file4"},{"photo_id":"1350831594","filename":"file1"},{"photo_id":"1350831571","filename":"file0"},{"photo_id":"1350831621","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350831632":["hashtag1","hashtag2"]},{"1350831611":["hashtag1","hashtag2"]},{"1350831571":["hashtag1","hashtag2"]},{"1350831628":["hashtag1","hashtag2"]},{"1350831594":["hashtag1","hashtag2"]},{"1350831621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350831632, 1350831611, 1350831571, 1350831628, 1350831594, 1350831621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6759774684906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:52:32.724588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_45_9341.jpg', '/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_55_10453.jpg', '/home/pi/Desktop/images/09042025/17/23/image_09042025_17_24_04_9405.jpg', '/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_15_10362.jpg', '/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_25_10414.jpg', '/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_35_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_45_9341.jpg
/home/pi/Desktop/images/09042025/17/23/image_09042025_17_23_55_10453.jpg
/home/pi/Desktop/images/09042025/17/23/image_09042025_17_24_04_9405.jpg
/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_15_10362.jpg
/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_25_10414.jpg
/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_35_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350831980","1350831968","1350831953","1350831941","1350831820","1350831816"],"photo_ids_order":["1350831816","1350831820","1350831941","1350831953","1350831968","1350831980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3538498e76c6175da51aa3e796db7bc9.jpg","text":"TemporaryFile(/tmp/multipartBody387699181325681024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217613227,"filename":"image_09042025_17_24_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d433bbb7adbaf14864d3d46af985031.jpg","text":"TemporaryFile(/tmp/multipartBody2083504737798302951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217613227,"filename":"image_09042025_17_24_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/4/9/aef99527b895d0dd4643c1804c6fa085.jpg","text":"TemporaryFile(/tmp/multipartBody4080388416420220370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217613227,"filename":"image_09042025_17_24_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/4/9/b844294b50bf1d39367328fc47c8ba0e.jpg","text":"TemporaryFile(/tmp/multipartBody5998563653548141972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217613227,"filename":"image_09042025_17_24_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/4/9/1c95991fab748758aa7a0f2ee075f64b.jpg","text":"TemporaryFile(/tmp/multipartBody4942365775936591909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217613227,"filename":"image_09042025_17_23_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8c85258c3c4383ef542b2f86cdaf4047.jpg","text":"TemporaryFile(/tmp/multipartBody8819557028050697205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217613227,"filename":"image_09042025_17_23_45_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350831941","file1":"1350831820","file0":"1350831816","file4":"1350831968","file5":"1350831980","file3":"1350831953"},"map_files_photo_id_array":[{"photo_id":"1350831980","filename":"file5"},{"photo_id":"1350831941","filename":"file2"},{"photo_id":"1350831968","filename":"file4"},{"photo_id":"1350831820","filename":"file1"},{"photo_id":"1350831816","filename":"file0"},{"photo_id":"1350831953","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350831980":["hashtag1","hashtag2"]},{"1350831968":["hashtag1","hashtag2"]},{"1350831953":["hashtag1","hashtag2"]},{"1350831941":["hashtag1","hashtag2"]},{"1350831820":["hashtag1","hashtag2"]},{"1350831816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350831980, 1350831968, 1350831953, 1350831941, 1350831820, 1350831816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7241473197937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:53:33.057021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_45_10334.jpg', '/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_55_10445.jpg', '/home/pi/Desktop/images/09042025/17/24/image_09042025_17_25_05_9354.jpg', '/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_15_10449.jpg', '/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_24_9336.jpg', '/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_35_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_45_10334.jpg
/home/pi/Desktop/images/09042025/17/24/image_09042025_17_24_55_10445.jpg
/home/pi/Desktop/images/09042025/17/24/image_09042025_17_25_05_9354.jpg
/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_15_10449.jpg
/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_24_9336.jpg
/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_35_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350832099","1350832234","1350832299","1350832158","1350832245","1350832280"],"photo_ids_order":["1350832099","1350832158","1350832234","1350832245","1350832280","1350832299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1383fc5ac6e3c1cd661f1ed03322e630.jpg","text":"TemporaryFile(/tmp/multipartBody3452800685286302195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217673531,"filename":"image_09042025_17_24_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/4/9/9c3a5a4b0e4afc72e55a659971bda8c0.jpg","text":"TemporaryFile(/tmp/multipartBody5523305658500014742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217673531,"filename":"image_09042025_17_25_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/701c0e41cd04f5ef5f1bf3779e8b43ed.jpg","text":"TemporaryFile(/tmp/multipartBody8987410463191598596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217673531,"filename":"image_09042025_17_25_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/4/9/71a1eb2aeaefe3087a06c05e01c02fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1156224507405263162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217673531,"filename":"image_09042025_17_24_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/4/9/48b4120b6463315116dbdc1f44cf4f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4357880479074809484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217673531,"filename":"image_09042025_17_25_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9d684aedfd8503ce2427aef791206c8.jpg","text":"TemporaryFile(/tmp/multipartBody5689138982666746135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217673531,"filename":"image_09042025_17_25_24_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350832234","file1":"1350832158","file0":"1350832099","file4":"1350832280","file5":"1350832299","file3":"1350832245"},"map_files_photo_id_array":[{"photo_id":"1350832299","filename":"file5"},{"photo_id":"1350832234","filename":"file2"},{"photo_id":"1350832280","filename":"file4"},{"photo_id":"1350832158","filename":"file1"},{"photo_id":"1350832099","filename":"file0"},{"photo_id":"1350832245","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350832099":["hashtag1","hashtag2"]},{"1350832234":["hashtag1","hashtag2"]},{"1350832299":["hashtag1","hashtag2"]},{"1350832158":["hashtag1","hashtag2"]},{"1350832245":["hashtag1","hashtag2"]},{"1350832280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350832099, 1350832234, 1350832299, 1350832158, 1350832245, 1350832280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.14958310127258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:54:33.110456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_45_10423.jpg', '/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_55_9454.jpg', '/home/pi/Desktop/images/09042025/17/25/image_09042025_17_26_05_10343.jpg', '/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_15_10369.jpg', '/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_25_9359.jpg', '/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_35_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_45_10423.jpg
/home/pi/Desktop/images/09042025/17/25/image_09042025_17_25_55_9454.jpg
/home/pi/Desktop/images/09042025/17/25/image_09042025_17_26_05_10343.jpg
/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_15_10369.jpg
/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_25_9359.jpg
/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_35_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350832498","1350832421","1350832495","1350832489","1350832504","1350832539"],"photo_ids_order":["1350832421","1350832489","1350832495","1350832498","1350832504","1350832539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b608a54c42887e3a3945345025cf9165.jpg","text":"TemporaryFile(/tmp/multipartBody2605457662330663507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217733589,"filename":"image_09042025_17_26_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/4/9/cb6902ba2306613ab09da56d392a2920.jpg","text":"TemporaryFile(/tmp/multipartBody2020535638651445700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217733589,"filename":"image_09042025_17_25_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/4/9/d3cd966538a9beaf7d8d68ceda10f378.jpg","text":"TemporaryFile(/tmp/multipartBody7632663403162283119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217733589,"filename":"image_09042025_17_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/4/9/90f3d3aa9634d3d9628d858f1986d02b.jpg","text":"TemporaryFile(/tmp/multipartBody2882662997188800025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217733589,"filename":"image_09042025_17_25_55_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b12e5786b5c45ca78620fc13b7fb5fca.jpg","text":"TemporaryFile(/tmp/multipartBody5587847566406025676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217733589,"filename":"image_09042025_17_26_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/4/9/0a806c81aa0c6033b05deed4c6b6b187.jpg","text":"TemporaryFile(/tmp/multipartBody7632012060341404183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217733589,"filename":"image_09042025_17_26_35_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350832495","file1":"1350832489","file0":"1350832421","file4":"1350832504","file5":"1350832539","file3":"1350832498"},"map_files_photo_id_array":[{"photo_id":"1350832539","filename":"file5"},{"photo_id":"1350832495","filename":"file2"},{"photo_id":"1350832504","filename":"file4"},{"photo_id":"1350832489","filename":"file1"},{"photo_id":"1350832421","filename":"file0"},{"photo_id":"1350832498","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350832498":["hashtag1","hashtag2"]},{"1350832421":["hashtag1","hashtag2"]},{"1350832495":["hashtag1","hashtag2"]},{"1350832489":["hashtag1","hashtag2"]},{"1350832504":["hashtag1","hashtag2"]},{"1350832539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350832498, 1350832421, 1350832495, 1350832489, 1350832504, 1350832539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.768937826156616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:55:32.411138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_45_9453.jpg', '/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_55_10354.jpg', '/home/pi/Desktop/images/09042025/17/27/image_09042025_17_27_15_9326.jpg', '/home/pi/Desktop/images/09042025/17/27/image_09042025_17_27_25_10424.jpg', '/home/pi/Desktop/images/09042025/17/27/image_09042025_17_27_35_9336.jpg', '/home/pi/Desktop/images/09042025/17/27/image_09042025_17_28_05_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_45_9453.jpg
/home/pi/Desktop/images/09042025/17/26/image_09042025_17_26_55_10354.jpg
/home/pi/Desktop/images/09042025/17/27/image_09042025_17_27_15_9326.jpg
/home/pi/Desktop/images/09042025/17/27/image_09042025_17_27_25_10424.jpg
/home/pi/Desktop/images/09042025/17/27/image_09042025_17_27_35_9336.jpg
/home/pi/Desktop/images/09042025/17/27/image_09042025_17_28_05_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":["1350832613","1350832594","1350832590","1350832578","1350832598","1350832583"],"photo_ids_order":["1350832578","1350832583","1350832590","1350832594","1350832598","1350832613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6731f52ba1be73e111144683defb8fc.jpg","text":"TemporaryFile(/tmp/multipartBody217608668629153698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217792903,"filename":"image_09042025_17_28_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ded6ba0b5178ebe9b9ff3324612e9f6f.jpg","text":"TemporaryFile(/tmp/multipartBody48558571194078225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217792903,"filename":"image_09042025_17_27_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/4/9/88456c3b74524daef8b292ca93b84d58.jpg","text":"TemporaryFile(/tmp/multipartBody714513458931615864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217792903,"filename":"image_09042025_17_27_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/4/9/b21bc8a34f3d25b6e952fcd7bd90f400.jpg","text":"TemporaryFile(/tmp/multipartBody6611376744081034443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217792903,"filename":"image_09042025_17_26_45_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8c8cce3f6e9213ed6ffc9c7d773d096.jpg","text":"TemporaryFile(/tmp/multipartBody7909970972481451151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217792903,"filename":"image_09042025_17_27_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/4/9/dc2cb558631605f8a0842e657dba47d7.jpg","text":"TemporaryFile(/tmp/multipartBody1597074150839478453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217792903,"filename":"image_09042025_17_26_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350832590","file1":"1350832583","file0":"1350832578","file4":"1350832598","file5":"1350832613","file3":"1350832594"},"map_files_photo_id_array":[{"photo_id":"1350832613","filename":"file5"},{"photo_id":"1350832590","filename":"file2"},{"photo_id":"1350832598","filename":"file4"},{"photo_id":"1350832583","filename":"file1"},{"photo_id":"1350832578","filename":"file0"},{"photo_id":"1350832594","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350832613":["hashtag1","hashtag2"]},{"1350832594":["hashtag1","hashtag2"]},{"1350832590":["hashtag1","hashtag2"]},{"1350832578":["hashtag1","hashtag2"]},{"1350832598":["hashtag1","hashtag2"]},{"1350832583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350832613, 1350832594, 1350832590, 1350832578, 1350832598, 1350832583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.20638394355774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:56:32.482575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_15_10410.jpg', '/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_25_9456.jpg', '/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_35_9898.jpg', '/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_45_10339.jpg', '/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_55_10402.jpg', '/home/pi/Desktop/images/09042025/17/28/image_09042025_17_29_05_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_15_10410.jpg
/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_25_9456.jpg
/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_35_9898.jpg
/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_45_10339.jpg
/home/pi/Desktop/images/09042025/17/28/image_09042025_17_28_55_10402.jpg
/home/pi/Desktop/images/09042025/17/28/image_09042025_17_29_05_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350832672","1350832828","1350832698","1350832851","1350832886","1350832649"],"photo_ids_order":["1350832649","1350832672","1350832698","1350832828","1350832851","1350832886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/239ce970fad7b2db95382c14bb15ee95.jpg","text":"TemporaryFile(/tmp/multipartBody694781463444435070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217852969,"filename":"image_09042025_17_28_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/4/9/d12a562123b3d49c6586bcf4f6afc884.jpg","text":"TemporaryFile(/tmp/multipartBody6956291581680681556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217852969,"filename":"image_09042025_17_28_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/4/9/6fad9489e35efcc8e888fb2222d1ea08.jpg","text":"TemporaryFile(/tmp/multipartBody6983455142673030006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217852969,"filename":"image_09042025_17_28_35_9898.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a5c6fe2c0d93b41f6e4e3c9f80db5bb1.jpg","text":"TemporaryFile(/tmp/multipartBody5316553812683247735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217852969,"filename":"image_09042025_17_28_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8dcd7c7964bba96560c98e409bda92b.jpg","text":"TemporaryFile(/tmp/multipartBody7037375064793280500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217852969,"filename":"image_09042025_17_29_05_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15d6948fedffd3f2aac6654df150afc2.jpg","text":"TemporaryFile(/tmp/multipartBody9172869522326695698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744217852969,"filename":"image_09042025_17_28_15_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350832698","file1":"1350832672","file0":"1350832649","file4":"1350832851","file5":"1350832886","file3":"1350832828"},"map_files_photo_id_array":[{"photo_id":"1350832886","filename":"file5"},{"photo_id":"1350832698","filename":"file2"},{"photo_id":"1350832851","filename":"file4"},{"photo_id":"1350832672","filename":"file1"},{"photo_id":"1350832649","filename":"file0"},{"photo_id":"1350832828","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350832672":["hashtag1","hashtag2"]},{"1350832828":["hashtag1","hashtag2"]},{"1350832698":["hashtag1","hashtag2"]},{"1350832851":["hashtag1","hashtag2"]},{"1350832886":["hashtag1","hashtag2"]},{"1350832649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350832672, 1350832828, 1350832698, 1350832851, 1350832886, 1350832649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.5518593788147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:57:32.723286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_15_10348.jpg', '/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_25_10370.jpg', '/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_35_9436.jpg', '/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_45_10412.jpg', '/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_55_9339.jpg', '/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_15_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_15_10348.jpg
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_25_10370.jpg
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_35_9436.jpg
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_45_10412.jpg
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_55_9339.jpg
/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_15_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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 18:59:04.631484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_15_10348.jpg', '/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_25_10370.jpg', '/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_35_9436.jpg', '/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_45_10412.jpg', '/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_55_9339.jpg', '/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_15_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_15_10348.jpg
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_25_10370.jpg
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_35_9436.jpg
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_45_10412.jpg
/home/pi/Desktop/images/09042025/17/29/image_09042025_17_29_55_9339.jpg
/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_15_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":["1350833970","1350833892","1350833981","1350833855","1350833951","1350833918"],"photo_ids_order":["1350833855","1350833892","1350833918","1350833951","1350833970","1350833981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3b722fa5b1bf744120818bb29cb9a08.jpg","text":"TemporaryFile(/tmp/multipartBody8656610875997743997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218005286,"filename":"image_09042025_17_29_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/4/9/fa0064d7713b07938fc932fdeb14a804.jpg","text":"TemporaryFile(/tmp/multipartBody134769094052803275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218005286,"filename":"image_09042025_17_29_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/4/9/662f7560778b1f3584b04b32b8e5f7b8.jpg","text":"TemporaryFile(/tmp/multipartBody7479668142488832719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218005286,"filename":"image_09042025_17_30_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/4/9/774032a8ff4daa3b004cb9c1daa07b35.jpg","text":"TemporaryFile(/tmp/multipartBody5388575367543612301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218005286,"filename":"image_09042025_17_29_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f16659aa67021ae8e3a6484f5a98ed30.jpg","text":"TemporaryFile(/tmp/multipartBody3974483207993244545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218005286,"filename":"image_09042025_17_29_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eddb80507538bb7f90b18164c0c9a2b0.jpg","text":"TemporaryFile(/tmp/multipartBody2617987344729993396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218005286,"filename":"image_09042025_17_29_35_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350833918","file1":"1350833892","file0":"1350833855","file4":"1350833970","file5":"1350833981","file3":"1350833951"},"map_files_photo_id_array":[{"photo_id":"1350833981","filename":"file5"},{"photo_id":"1350833918","filename":"file2"},{"photo_id":"1350833970","filename":"file4"},{"photo_id":"1350833892","filename":"file1"},{"photo_id":"1350833855","filename":"file0"},{"photo_id":"1350833951","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350833970":["hashtag1","hashtag2"]},{"1350833892":["hashtag1","hashtag2"]},{"1350833981":["hashtag1","hashtag2"]},{"1350833855":["hashtag1","hashtag2"]},{"1350833951":["hashtag1","hashtag2"]},{"1350833918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350833970, 1350833892, 1350833981, 1350833855, 1350833951, 1350833918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23381066322327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 18:59:53.097959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_25_9336.jpg', '/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_35_10455.jpg', '/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_45_9324.jpg', '/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_55_10364.jpg', '/home/pi/Desktop/images/09042025/17/30/image_09042025_17_31_05_10453.jpg', '/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_15_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_25_9336.jpg
/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_35_10455.jpg
/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_45_9324.jpg
/home/pi/Desktop/images/09042025/17/30/image_09042025_17_30_55_10364.jpg
/home/pi/Desktop/images/09042025/17/30/image_09042025_17_31_05_10453.jpg
/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_15_9356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350834058","1350834063","1350834060","1350834074","1350834041","1350834070"],"photo_ids_order":["1350834041","1350834058","1350834060","1350834063","1350834070","1350834074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b38859a0c86375b083958502f3729c00.jpg","text":"TemporaryFile(/tmp/multipartBody8583564930360705936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218053582,"filename":"image_09042025_17_30_35_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a540b42bbd1618bc7330bb63594d1378.jpg","text":"TemporaryFile(/tmp/multipartBody7231515260844396495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218053582,"filename":"image_09042025_17_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/4/9/8b540e8da10eeab8afd813f9ff3d94b7.jpg","text":"TemporaryFile(/tmp/multipartBody2427920706522054613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218053582,"filename":"image_09042025_17_30_45_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/029034ad9a150eddb01f2b144a2782b1.jpg","text":"TemporaryFile(/tmp/multipartBody837708221353357873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218053582,"filename":"image_09042025_17_31_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/4/9/38b24fa19c0625005ced90c90bbaf57f.jpg","text":"TemporaryFile(/tmp/multipartBody5015833852636047758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218053582,"filename":"image_09042025_17_30_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/4/9/d859473302ef10c4e757a4ca1ed298cd.jpg","text":"TemporaryFile(/tmp/multipartBody5143012773424442110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218053582,"filename":"image_09042025_17_31_05_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350834060","file1":"1350834058","file0":"1350834041","file4":"1350834070","file5":"1350834074","file3":"1350834063"},"map_files_photo_id_array":[{"photo_id":"1350834074","filename":"file5"},{"photo_id":"1350834060","filename":"file2"},{"photo_id":"1350834070","filename":"file4"},{"photo_id":"1350834058","filename":"file1"},{"photo_id":"1350834041","filename":"file0"},{"photo_id":"1350834063","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350834058":["hashtag1","hashtag2"]},{"1350834063":["hashtag1","hashtag2"]},{"1350834060":["hashtag1","hashtag2"]},{"1350834074":["hashtag1","hashtag2"]},{"1350834041":["hashtag1","hashtag2"]},{"1350834070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350834058, 1350834063, 1350834060, 1350834074, 1350834041, 1350834070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56590747833252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:00:32.383023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_25_10363.jpg', '/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_34_9418.jpg', '/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_45_10364.jpg', '/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_55_10473.jpg', '/home/pi/Desktop/images/09042025/17/31/image_09042025_17_32_05_9342.jpg', '/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_15_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_25_10363.jpg
/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_34_9418.jpg
/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_45_10364.jpg
/home/pi/Desktop/images/09042025/17/31/image_09042025_17_31_55_10473.jpg
/home/pi/Desktop/images/09042025/17/31/image_09042025_17_32_05_9342.jpg
/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_15_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":["1350834109","1350834168","1350834171","1350834150","1350834173","1350834122"],"photo_ids_order":["1350834109","1350834122","1350834150","1350834168","1350834171","1350834173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/348a928bacfea342a8e3f1e66e773ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2812276137424754509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218092870,"filename":"image_09042025_17_31_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/4/9/514b9b7201cbd342ee6d5ee985d80a9f.jpg","text":"TemporaryFile(/tmp/multipartBody6039248819442817307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218092870,"filename":"image_09042025_17_31_55_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/296b71cc60d3d73ef77fc0cdef167be9.jpg","text":"TemporaryFile(/tmp/multipartBody174715218700324732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218092870,"filename":"image_09042025_17_32_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/4/9/48addf7c3c940387c1408e4386181b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3563619383006945377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218092870,"filename":"image_09042025_17_31_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/4/9/f21826f996e4844980357fe6692f32da.jpg","text":"TemporaryFile(/tmp/multipartBody3625561786203488521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218092870,"filename":"image_09042025_17_32_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/4/9/9fc8e8889a9601accac0ec306506a930.jpg","text":"TemporaryFile(/tmp/multipartBody1050031627895349445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218092870,"filename":"image_09042025_17_31_34_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350834150","file1":"1350834122","file0":"1350834109","file4":"1350834171","file5":"1350834173","file3":"1350834168"},"map_files_photo_id_array":[{"photo_id":"1350834173","filename":"file5"},{"photo_id":"1350834150","filename":"file2"},{"photo_id":"1350834171","filename":"file4"},{"photo_id":"1350834122","filename":"file1"},{"photo_id":"1350834109","filename":"file0"},{"photo_id":"1350834168","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350834109":["hashtag1","hashtag2"]},{"1350834168":["hashtag1","hashtag2"]},{"1350834171":["hashtag1","hashtag2"]},{"1350834150":["hashtag1","hashtag2"]},{"1350834173":["hashtag1","hashtag2"]},{"1350834122":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350834109, 1350834168, 1350834171, 1350834150, 1350834173, 1350834122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.302565574645996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:01:32.594027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_24_9440.jpg', '/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_35_10344.jpg', '/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_45_10461.jpg', '/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_55_9348.jpg', '/home/pi/Desktop/images/09042025/17/32/image_09042025_17_33_05_10343.jpg', '/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_15_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_24_9440.jpg
/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_35_10344.jpg
/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_45_10461.jpg
/home/pi/Desktop/images/09042025/17/32/image_09042025_17_32_55_9348.jpg
/home/pi/Desktop/images/09042025/17/32/image_09042025_17_33_05_10343.jpg
/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_15_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350834559","1350834547","1350834508","1350834309","1350834413","1350834356"],"photo_ids_order":["1350834309","1350834356","1350834413","1350834508","1350834547","1350834559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4e7eb97a9e513e107eafd82b0f985cf4.jpg","text":"TemporaryFile(/tmp/multipartBody1666086125066613700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218153072,"filename":"image_09042025_17_33_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/4/9/1850267f25f8864ae906edeea9607f98.jpg","text":"TemporaryFile(/tmp/multipartBody5670075921376859641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218153072,"filename":"image_09042025_17_33_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/4/9/aaa11be7f5a8eed07a3f60be1094f231.jpg","text":"TemporaryFile(/tmp/multipartBody7198035915451050040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218153072,"filename":"image_09042025_17_32_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af3a452dc01164bf2552732864073074.jpg","text":"TemporaryFile(/tmp/multipartBody1623371284447012686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218153072,"filename":"image_09042025_17_32_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/995b04e1b2e36c8038e2f8d58f1b0559.jpg","text":"TemporaryFile(/tmp/multipartBody2506833433085264883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218153072,"filename":"image_09042025_17_32_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/4/9/842f5f3529fb2b6a4f4d3ad67a3250eb.jpg","text":"TemporaryFile(/tmp/multipartBody4803749331691985939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218153072,"filename":"image_09042025_17_32_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350834413","file1":"1350834356","file0":"1350834309","file4":"1350834547","file5":"1350834559","file3":"1350834508"},"map_files_photo_id_array":[{"photo_id":"1350834559","filename":"file5"},{"photo_id":"1350834413","filename":"file2"},{"photo_id":"1350834547","filename":"file4"},{"photo_id":"1350834356","filename":"file1"},{"photo_id":"1350834309","filename":"file0"},{"photo_id":"1350834508","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350834559":["hashtag1","hashtag2"]},{"1350834547":["hashtag1","hashtag2"]},{"1350834508":["hashtag1","hashtag2"]},{"1350834309":["hashtag1","hashtag2"]},{"1350834413":["hashtag1","hashtag2"]},{"1350834356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350834559, 1350834547, 1350834508, 1350834309, 1350834413, 1350834356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74433994293213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:02:32.894941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_25_9364.jpg', '/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_35_10417.jpg', '/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_45_9334.jpg', '/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_55_10362.jpg', '/home/pi/Desktop/images/09042025/17/33/image_09042025_17_34_05_10349.jpg', '/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_15_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_25_9364.jpg
/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_35_10417.jpg
/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_45_9334.jpg
/home/pi/Desktop/images/09042025/17/33/image_09042025_17_33_55_10362.jpg
/home/pi/Desktop/images/09042025/17/33/image_09042025_17_34_05_10349.jpg
/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_15_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350834777","1350834879","1350834816","1350834842","1350834902","1350834799"],"photo_ids_order":["1350834777","1350834799","1350834816","1350834842","1350834879","1350834902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4d2eadd81d66f089ddcfbff7a9cd599.jpg","text":"TemporaryFile(/tmp/multipartBody4386665947950311869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218213383,"filename":"image_09042025_17_33_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/4/9/8089cb5707e63dc818996d29ec7e046f.jpg","text":"TemporaryFile(/tmp/multipartBody4879808613174516150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218213383,"filename":"image_09042025_17_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/4/9/cb67a39ec5ccb723e3398bcee922c19c.jpg","text":"TemporaryFile(/tmp/multipartBody3264320193411089516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218213383,"filename":"image_09042025_17_33_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/4/9/93c667c771a185303f96bae2490d4779.jpg","text":"TemporaryFile(/tmp/multipartBody3827025982617759465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218213383,"filename":"image_09042025_17_33_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/4/9/f1eca4baab5f697117c6b79f0f1c4e82.jpg","text":"TemporaryFile(/tmp/multipartBody4324477249748243785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218213383,"filename":"image_09042025_17_34_15_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f40ea5512fa765a78dfb1b1e2fda2ffd.jpg","text":"TemporaryFile(/tmp/multipartBody2499438307117620323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218213383,"filename":"image_09042025_17_33_35_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350834816","file1":"1350834799","file0":"1350834777","file4":"1350834879","file5":"1350834902","file3":"1350834842"},"map_files_photo_id_array":[{"photo_id":"1350834902","filename":"file5"},{"photo_id":"1350834816","filename":"file2"},{"photo_id":"1350834879","filename":"file4"},{"photo_id":"1350834799","filename":"file1"},{"photo_id":"1350834777","filename":"file0"},{"photo_id":"1350834842","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350834777":["hashtag1","hashtag2"]},{"1350834879":["hashtag1","hashtag2"]},{"1350834816":["hashtag1","hashtag2"]},{"1350834842":["hashtag1","hashtag2"]},{"1350834902":["hashtag1","hashtag2"]},{"1350834799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350834777, 1350834879, 1350834816, 1350834842, 1350834902, 1350834799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01127028465271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:03:33.030918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_25_10351.jpg', '/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_35_10422.jpg', '/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_45_9339.jpg', '/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_55_10415.jpg', '/home/pi/Desktop/images/09042025/17/34/image_09042025_17_35_04_9395.jpg', '/home/pi/Desktop/images/09042025/17/35/image_09042025_17_35_35_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_25_10351.jpg
/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_35_10422.jpg
/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_45_9339.jpg
/home/pi/Desktop/images/09042025/17/34/image_09042025_17_34_55_10415.jpg
/home/pi/Desktop/images/09042025/17/34/image_09042025_17_35_04_9395.jpg
/home/pi/Desktop/images/09042025/17/35/image_09042025_17_35_35_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350835224","1350835190","1350835160","1350835214","1350835121","1350835093"],"photo_ids_order":["1350835093","1350835121","1350835160","1350835190","1350835214","1350835224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/685f9e146c7a5fb7ee1e336f96086776.jpg","text":"TemporaryFile(/tmp/multipartBody1746813182439323660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218273511,"filename":"image_09042025_17_35_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/4/9/8e34c486d9ff3d2a33c6213987d84d77.jpg","text":"TemporaryFile(/tmp/multipartBody2171739028677554592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218273511,"filename":"image_09042025_17_34_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/4/9/e4ae9d5115f65d4cd9bec2451377b2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7139751764722216771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218273511,"filename":"image_09042025_17_34_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/4/9/04a5b75fb1142d248f34eab059449866.jpg","text":"TemporaryFile(/tmp/multipartBody6772765329441219096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218273511,"filename":"image_09042025_17_35_04_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e28ac614bd31050fe148e4de82709255.jpg","text":"TemporaryFile(/tmp/multipartBody112105773117270332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218273511,"filename":"image_09042025_17_34_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/4/9/c9dd86cb46e1f34572c190ab7838a72b.jpg","text":"TemporaryFile(/tmp/multipartBody3057347669168322943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218273511,"filename":"image_09042025_17_34_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350835160","file1":"1350835121","file0":"1350835093","file4":"1350835214","file5":"1350835224","file3":"1350835190"},"map_files_photo_id_array":[{"photo_id":"1350835224","filename":"file5"},{"photo_id":"1350835160","filename":"file2"},{"photo_id":"1350835214","filename":"file4"},{"photo_id":"1350835121","filename":"file1"},{"photo_id":"1350835093","filename":"file0"},{"photo_id":"1350835190","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350835224":["hashtag1","hashtag2"]},{"1350835190":["hashtag1","hashtag2"]},{"1350835160":["hashtag1","hashtag2"]},{"1350835214":["hashtag1","hashtag2"]},{"1350835121":["hashtag1","hashtag2"]},{"1350835093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350835224, 1350835190, 1350835160, 1350835214, 1350835121, 1350835093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29044270515442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:04:32.222565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/35/image_09042025_17_35_45_10331.jpg', '/home/pi/Desktop/images/09042025/17/35/image_09042025_17_36_05_9347.jpg', '/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_15_10332.jpg', '/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_25_10357.jpg', '/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_35_9329.jpg', '/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_45_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/35/image_09042025_17_35_45_10331.jpg
/home/pi/Desktop/images/09042025/17/35/image_09042025_17_36_05_9347.jpg
/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_15_10332.jpg
/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_25_10357.jpg
/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_35_9329.jpg
/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_45_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350835408","1350835458","1350835620","1350835576","1350835508","1350835543"],"photo_ids_order":["1350835408","1350835458","1350835508","1350835543","1350835576","1350835620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6771b95fdbfa01bc998febcc0e81e0e3.jpg","text":"TemporaryFile(/tmp/multipartBody6066787555301278970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218332713,"filename":"image_09042025_17_35_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/4/9/3e2933839330349fa1da2ca23bb82285.jpg","text":"TemporaryFile(/tmp/multipartBody2185965842293448957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218332713,"filename":"image_09042025_17_36_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a234f76de226a9d6f8fc6acea79b426.jpg","text":"TemporaryFile(/tmp/multipartBody3857279436656896985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218332713,"filename":"image_09042025_17_36_45_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/accdd1267210091416234b8a1acf87c3.jpg","text":"TemporaryFile(/tmp/multipartBody3074625057183093797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218332713,"filename":"image_09042025_17_36_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/4/9/9f094880e0151274936d145a3d70610e.jpg","text":"TemporaryFile(/tmp/multipartBody4146963926018521478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218332713,"filename":"image_09042025_17_36_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/4/9/a603951a678a91f3ecca37691c25b303.jpg","text":"TemporaryFile(/tmp/multipartBody533166851636035114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218332713,"filename":"image_09042025_17_36_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350835508","file1":"1350835458","file0":"1350835408","file4":"1350835576","file5":"1350835620","file3":"1350835543"},"map_files_photo_id_array":[{"photo_id":"1350835620","filename":"file5"},{"photo_id":"1350835508","filename":"file2"},{"photo_id":"1350835576","filename":"file4"},{"photo_id":"1350835458","filename":"file1"},{"photo_id":"1350835408","filename":"file0"},{"photo_id":"1350835543","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350835408":["hashtag1","hashtag2"]},{"1350835458":["hashtag1","hashtag2"]},{"1350835620":["hashtag1","hashtag2"]},{"1350835576":["hashtag1","hashtag2"]},{"1350835508":["hashtag1","hashtag2"]},{"1350835543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350835408, 1350835458, 1350835620, 1350835576, 1350835508, 1350835543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83326530456543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:05:32.426542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_55_9354.jpg', '/home/pi/Desktop/images/09042025/17/36/image_09042025_17_37_05_10338.jpg', '/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_15_10448.jpg', '/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_25_9338.jpg', '/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_35_10342.jpg', '/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_45_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/36/image_09042025_17_36_55_9354.jpg
/home/pi/Desktop/images/09042025/17/36/image_09042025_17_37_05_10338.jpg
/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_15_10448.jpg
/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_25_9338.jpg
/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_35_10342.jpg
/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_45_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350835871","1350835853","1350835847","1350835829","1350835891","1350835861"],"photo_ids_order":["1350835829","1350835847","1350835853","1350835861","1350835871","1350835891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8fc34eba97f991e730dfc7fc81e031d2.jpg","text":"TemporaryFile(/tmp/multipartBody4434038964786341208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218392913,"filename":"image_09042025_17_37_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/4/9/545c08592b3502bb7c86ab5daa561067.jpg","text":"TemporaryFile(/tmp/multipartBody208724040222948130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218392913,"filename":"image_09042025_17_37_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/4/9/a0284d1ab9670f52f73fb16098f40b56.jpg","text":"TemporaryFile(/tmp/multipartBody6887240193064720910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218392913,"filename":"image_09042025_17_37_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/4/9/320d31199dbafdd6500b9bfb740490ec.jpg","text":"TemporaryFile(/tmp/multipartBody1475768887174754742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218392913,"filename":"image_09042025_17_36_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7cc427a1b0c3cccc9a53c5fa771b3626.jpg","text":"TemporaryFile(/tmp/multipartBody6260433465621772722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218392913,"filename":"image_09042025_17_37_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/4/9/806daa3e602e2d3762b973d1980c5598.jpg","text":"TemporaryFile(/tmp/multipartBody2942165132370654754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218392913,"filename":"image_09042025_17_37_25_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350835853","file1":"1350835847","file0":"1350835829","file4":"1350835871","file5":"1350835891","file3":"1350835861"},"map_files_photo_id_array":[{"photo_id":"1350835891","filename":"file5"},{"photo_id":"1350835853","filename":"file2"},{"photo_id":"1350835871","filename":"file4"},{"photo_id":"1350835847","filename":"file1"},{"photo_id":"1350835829","filename":"file0"},{"photo_id":"1350835861","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350835871":["hashtag1","hashtag2"]},{"1350835853":["hashtag1","hashtag2"]},{"1350835847":["hashtag1","hashtag2"]},{"1350835829":["hashtag1","hashtag2"]},{"1350835891":["hashtag1","hashtag2"]},{"1350835861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350835871, 1350835853, 1350835847, 1350835829, 1350835891, 1350835861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0143518447876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:06:32.857698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_55_9379.jpg', '/home/pi/Desktop/images/09042025/17/37/image_09042025_17_38_05_10457.jpg', '/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_15_9398.jpg', '/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_25_10367.jpg', '/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_34_9438.jpg', '/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/37/image_09042025_17_37_55_9379.jpg
/home/pi/Desktop/images/09042025/17/37/image_09042025_17_38_05_10457.jpg
/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_15_9398.jpg
/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_25_10367.jpg
/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_34_9438.jpg
/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350836061","1350836090","1350836152","1350836110","1350836190","1350836130"],"photo_ids_order":["1350836061","1350836090","1350836110","1350836130","1350836152","1350836190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/312af11e43a2b89931d8bc80347e7599.jpg","text":"TemporaryFile(/tmp/multipartBody1133222055837176807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218453357,"filename":"image_09042025_17_37_55_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8dcdd573210a762333c4953e429976ff.jpg","text":"TemporaryFile(/tmp/multipartBody3410891053675812439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218453357,"filename":"image_09042025_17_38_05_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b6a979a58832fd5893091766981f13dd.jpg","text":"TemporaryFile(/tmp/multipartBody2422452696739475115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218453357,"filename":"image_09042025_17_38_34_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a52c93361a75c2e5c8d307732626ee41.jpg","text":"TemporaryFile(/tmp/multipartBody2283230444868807161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218453357,"filename":"image_09042025_17_38_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62056f5a55814d4c98aecca7506b4db4.jpg","text":"TemporaryFile(/tmp/multipartBody1527328564556761979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218453357,"filename":"image_09042025_17_38_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1c6f4f8732b4e242a1501c8cc8670ef.jpg","text":"TemporaryFile(/tmp/multipartBody258725520480692336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218453357,"filename":"image_09042025_17_38_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350836110","file1":"1350836090","file0":"1350836061","file4":"1350836152","file5":"1350836190","file3":"1350836130"},"map_files_photo_id_array":[{"photo_id":"1350836190","filename":"file5"},{"photo_id":"1350836110","filename":"file2"},{"photo_id":"1350836152","filename":"file4"},{"photo_id":"1350836090","filename":"file1"},{"photo_id":"1350836061","filename":"file0"},{"photo_id":"1350836130","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350836061":["hashtag1","hashtag2"]},{"1350836090":["hashtag1","hashtag2"]},{"1350836152":["hashtag1","hashtag2"]},{"1350836110":["hashtag1","hashtag2"]},{"1350836190":["hashtag1","hashtag2"]},{"1350836130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350836061, 1350836090, 1350836152, 1350836110, 1350836190, 1350836130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44504189491272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:07:33.133667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_55_10415.jpg', '/home/pi/Desktop/images/09042025/17/38/image_09042025_17_39_05_9413.jpg', '/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_15_10343.jpg', '/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_25_10428.jpg', '/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_35_9353.jpg', '/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_45_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/38/image_09042025_17_38_55_10415.jpg
/home/pi/Desktop/images/09042025/17/38/image_09042025_17_39_05_9413.jpg
/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_15_10343.jpg
/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_25_10428.jpg
/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_35_9353.jpg
/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_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":["1350836399","1350836549","1350836525","1350836504","1350836467","1350836434"],"photo_ids_order":["1350836399","1350836434","1350836467","1350836504","1350836525","1350836549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65309d81648336fcc2fdd660091132ed.jpg","text":"TemporaryFile(/tmp/multipartBody2852254042931689839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218513616,"filename":"image_09042025_17_38_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/4/9/52d22c7665321e42fca88e4f29ab1f99.jpg","text":"TemporaryFile(/tmp/multipartBody7474991703026319869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218513616,"filename":"image_09042025_17_39_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/4/9/7640d7aaacdf823063736b54732b8c27.jpg","text":"TemporaryFile(/tmp/multipartBody4195712163022482162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218513616,"filename":"image_09042025_17_39_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/4/9/0a5b1786d47199c77dab773daa42b8ce.jpg","text":"TemporaryFile(/tmp/multipartBody5511682407815170575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218513616,"filename":"image_09042025_17_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/4/9/7a1fc12d41f4e59c31f4a9149563e7ad.jpg","text":"TemporaryFile(/tmp/multipartBody8018681764836053447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218513616,"filename":"image_09042025_17_39_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37391a81ae0312043004e5b2f0f76256.jpg","text":"TemporaryFile(/tmp/multipartBody8872947573580609152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218513616,"filename":"image_09042025_17_39_05_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350836467","file1":"1350836434","file0":"1350836399","file4":"1350836525","file5":"1350836549","file3":"1350836504"},"map_files_photo_id_array":[{"photo_id":"1350836549","filename":"file5"},{"photo_id":"1350836467","filename":"file2"},{"photo_id":"1350836525","filename":"file4"},{"photo_id":"1350836434","filename":"file1"},{"photo_id":"1350836399","filename":"file0"},{"photo_id":"1350836504","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350836399":["hashtag1","hashtag2"]},{"1350836549":["hashtag1","hashtag2"]},{"1350836525":["hashtag1","hashtag2"]},{"1350836504":["hashtag1","hashtag2"]},{"1350836467":["hashtag1","hashtag2"]},{"1350836434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350836399, 1350836549, 1350836525, 1350836504, 1350836467, 1350836434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.860427379608154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:08:32.279177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_55_9427.jpg', '/home/pi/Desktop/images/09042025/17/39/image_09042025_17_40_05_10358.jpg', '/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_15_10364.jpg', '/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_25_9366.jpg', '/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_35_10359.jpg', '/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_45_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/39/image_09042025_17_39_55_9427.jpg
/home/pi/Desktop/images/09042025/17/39/image_09042025_17_40_05_10358.jpg
/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_15_10364.jpg
/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_25_9366.jpg
/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_35_10359.jpg
/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_45_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350836955","1350836876","1350836924","1350836884","1350836863","1350836994"],"photo_ids_order":["1350836863","1350836876","1350836884","1350836924","1350836955","1350836994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2942e2f6425a7d70dfa7ba2c4c7a82f.jpg","text":"TemporaryFile(/tmp/multipartBody816399385836598814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218572769,"filename":"image_09042025_17_40_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/4/9/2f0a29a7645ea0a232c7ae4f93694b95.jpg","text":"TemporaryFile(/tmp/multipartBody7229537953377152906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218572769,"filename":"image_09042025_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/4/9/f2761d460e1a4e7903d18b2c343dd8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6054819485267294155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218572769,"filename":"image_09042025_17_40_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19f364825a34ce98927a2f75a31a26fa.jpg","text":"TemporaryFile(/tmp/multipartBody242135784205584494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218572769,"filename":"image_09042025_17_40_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/4/9/85d5ec9143648d31ec071cccf64c2775.jpg","text":"TemporaryFile(/tmp/multipartBody6164341117160426103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218572769,"filename":"image_09042025_17_39_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/4/9/a7b5e15809bc0769c6d9ff3ea6643cc3.jpg","text":"TemporaryFile(/tmp/multipartBody148084007917148751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218572769,"filename":"image_09042025_17_40_45_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350836884","file1":"1350836876","file0":"1350836863","file4":"1350836955","file5":"1350836994","file3":"1350836924"},"map_files_photo_id_array":[{"photo_id":"1350836994","filename":"file5"},{"photo_id":"1350836884","filename":"file2"},{"photo_id":"1350836955","filename":"file4"},{"photo_id":"1350836876","filename":"file1"},{"photo_id":"1350836863","filename":"file0"},{"photo_id":"1350836924","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350836955":["hashtag1","hashtag2"]},{"1350836876":["hashtag1","hashtag2"]},{"1350836924":["hashtag1","hashtag2"]},{"1350836884":["hashtag1","hashtag2"]},{"1350836863":["hashtag1","hashtag2"]},{"1350836994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350836955, 1350836876, 1350836924, 1350836884, 1350836863, 1350836994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.765116453170776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:09:32.393429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_55_9352.jpg', '/home/pi/Desktop/images/09042025/17/40/image_09042025_17_41_05_10474.jpg', '/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_15_9320.jpg', '/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_25_10356.jpg', '/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_35_10348.jpg', '/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_45_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/40/image_09042025_17_40_55_9352.jpg
/home/pi/Desktop/images/09042025/17/40/image_09042025_17_41_05_10474.jpg
/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_15_9320.jpg
/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_25_10356.jpg
/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_35_10348.jpg
/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_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":["1350837284","1350837467","1350837446","1350837410","1350837346","1350837232"],"photo_ids_order":["1350837232","1350837284","1350837346","1350837410","1350837446","1350837467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/32de2b2e32e7a6487a439058f8b2598b.jpg","text":"TemporaryFile(/tmp/multipartBody5405093190624526030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218632880,"filename":"image_09042025_17_41_05_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c4d92ea5763da2b2214216674e23c90.jpg","text":"TemporaryFile(/tmp/multipartBody2016064926763478169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218632880,"filename":"image_09042025_17_41_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/4/9/d59e70d2a26e359e3257744d6c2226e1.jpg","text":"TemporaryFile(/tmp/multipartBody6973060333610840320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218632880,"filename":"image_09042025_17_41_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/4/9/52db346fec518470b0c5790675dbd92a.jpg","text":"TemporaryFile(/tmp/multipartBody2549421814876113796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218632880,"filename":"image_09042025_17_41_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/4/9/c9c8884f6778e8145108c03503b47884.jpg","text":"TemporaryFile(/tmp/multipartBody2234074054444401373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218632880,"filename":"image_09042025_17_41_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/4/9/497b14a1c3dd1734b47dd66890754978.jpg","text":"TemporaryFile(/tmp/multipartBody430269514737254994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218632880,"filename":"image_09042025_17_40_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350837346","file1":"1350837284","file0":"1350837232","file4":"1350837446","file5":"1350837467","file3":"1350837410"},"map_files_photo_id_array":[{"photo_id":"1350837467","filename":"file5"},{"photo_id":"1350837346","filename":"file2"},{"photo_id":"1350837446","filename":"file4"},{"photo_id":"1350837284","filename":"file1"},{"photo_id":"1350837232","filename":"file0"},{"photo_id":"1350837410","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350837284":["hashtag1","hashtag2"]},{"1350837467":["hashtag1","hashtag2"]},{"1350837446":["hashtag1","hashtag2"]},{"1350837410":["hashtag1","hashtag2"]},{"1350837346":["hashtag1","hashtag2"]},{"1350837232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350837284, 1350837467, 1350837446, 1350837410, 1350837346, 1350837232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16502070426941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:10:32.598920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_55_10434.jpg', '/home/pi/Desktop/images/09042025/17/41/image_09042025_17_42_05_10357.jpg', '/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_15_9331.jpg', '/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_25_10502.jpg', '/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_35_9326.jpg', '/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/41/image_09042025_17_41_55_10434.jpg
/home/pi/Desktop/images/09042025/17/41/image_09042025_17_42_05_10357.jpg
/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_15_9331.jpg
/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_25_10502.jpg
/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_35_9326.jpg
/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_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":["1350837716","1350837731","1350837697","1350837664","1350837708","1350837723"],"photo_ids_order":["1350837664","1350837697","1350837708","1350837716","1350837723","1350837731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8cdef81235b7ac7fd3f4657a4fe0d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6785529320213268283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218693100,"filename":"image_09042025_17_42_25_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/50c46945f45d81295e17199f71e8a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody249271196212181251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218693100,"filename":"image_09042025_17_42_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/4/9/429f80308dedcdb92f21e3f8fe83acb5.jpg","text":"TemporaryFile(/tmp/multipartBody7044453280480588617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218693100,"filename":"image_09042025_17_42_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/4/9/3bd73f60e3b61ae137a7a21673a3406e.jpg","text":"TemporaryFile(/tmp/multipartBody8622370102784561744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218693100,"filename":"image_09042025_17_41_55_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8818faffd971c30fe9413946f2712bd.jpg","text":"TemporaryFile(/tmp/multipartBody6080821208713978894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218693100,"filename":"image_09042025_17_42_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d6c5a896df0070f787b99681f6ae88d.jpg","text":"TemporaryFile(/tmp/multipartBody7481156824912632939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218693100,"filename":"image_09042025_17_42_35_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350837708","file1":"1350837697","file0":"1350837664","file4":"1350837723","file5":"1350837731","file3":"1350837716"},"map_files_photo_id_array":[{"photo_id":"1350837731","filename":"file5"},{"photo_id":"1350837708","filename":"file2"},{"photo_id":"1350837723","filename":"file4"},{"photo_id":"1350837697","filename":"file1"},{"photo_id":"1350837664","filename":"file0"},{"photo_id":"1350837716","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350837716":["hashtag1","hashtag2"]},{"1350837731":["hashtag1","hashtag2"]},{"1350837697":["hashtag1","hashtag2"]},{"1350837664":["hashtag1","hashtag2"]},{"1350837708":["hashtag1","hashtag2"]},{"1350837723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350837716, 1350837731, 1350837697, 1350837664, 1350837708, 1350837723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09717774391174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:11:32.818344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_55_10417.jpg', '/home/pi/Desktop/images/09042025/17/42/image_09042025_17_43_05_9337.jpg', '/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_15_10339.jpg', '/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_25_10390.jpg', '/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_35_9340.jpg', '/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_45_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/42/image_09042025_17_42_55_10417.jpg
/home/pi/Desktop/images/09042025/17/42/image_09042025_17_43_05_9337.jpg
/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_15_10339.jpg
/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_25_10390.jpg
/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_35_9340.jpg
/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_45_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350837773","1350837796","1350837778","1350837826","1350837792","1350837786"],"photo_ids_order":["1350837773","1350837778","1350837786","1350837792","1350837796","1350837826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c731356fa125a5fef07635527e5463c7.jpg","text":"TemporaryFile(/tmp/multipartBody2503235225127971827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218753457,"filename":"image_09042025_17_42_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/4/9/9f9d9b04682ce688c468f475417e6470.jpg","text":"TemporaryFile(/tmp/multipartBody8814193218193293195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218753457,"filename":"image_09042025_17_43_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4ec962328807093501dc5a802c84ca67.jpg","text":"TemporaryFile(/tmp/multipartBody6830797068711583413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218753457,"filename":"image_09042025_17_43_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c4c214eabd7157b90a2b16ec058eea4.jpg","text":"TemporaryFile(/tmp/multipartBody8248554944343439541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218753457,"filename":"image_09042025_17_43_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/4/9/f92e76681a5db05be5187b1b141cd99b.jpg","text":"TemporaryFile(/tmp/multipartBody941755940866269683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218753457,"filename":"image_09042025_17_43_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55b4939eb3aaba5efc2dc2faa2a24799.jpg","text":"TemporaryFile(/tmp/multipartBody9191897697939931678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218753457,"filename":"image_09042025_17_43_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350837786","file1":"1350837778","file0":"1350837773","file4":"1350837796","file5":"1350837826","file3":"1350837792"},"map_files_photo_id_array":[{"photo_id":"1350837826","filename":"file5"},{"photo_id":"1350837786","filename":"file2"},{"photo_id":"1350837796","filename":"file4"},{"photo_id":"1350837778","filename":"file1"},{"photo_id":"1350837773","filename":"file0"},{"photo_id":"1350837792","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350837773":["hashtag1","hashtag2"]},{"1350837796":["hashtag1","hashtag2"]},{"1350837778":["hashtag1","hashtag2"]},{"1350837826":["hashtag1","hashtag2"]},{"1350837792":["hashtag1","hashtag2"]},{"1350837786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350837773, 1350837796, 1350837778, 1350837826, 1350837792, 1350837786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32416534423828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:12:33.062316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_55_9355.jpg', '/home/pi/Desktop/images/09042025/17/43/image_09042025_17_44_05_10359.jpg', '/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_15_10353.jpg', '/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_25_9344.jpg', '/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_35_10337.jpg', '/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_45_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_55_9355.jpg
/home/pi/Desktop/images/09042025/17/43/image_09042025_17_44_05_10359.jpg
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_15_10353.jpg
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_25_9344.jpg
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_35_10337.jpg
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_45_10425.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39142799377441406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 19:12:43.141224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_55_9355.jpg', '/home/pi/Desktop/images/09042025/17/43/image_09042025_17_44_05_10359.jpg', '/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_15_10353.jpg', '/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_25_9344.jpg', '/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_35_10337.jpg', '/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_45_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/43/image_09042025_17_43_55_9355.jpg
/home/pi/Desktop/images/09042025/17/43/image_09042025_17_44_05_10359.jpg
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_15_10353.jpg
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_25_9344.jpg
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_35_10337.jpg
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_44_45_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350837908","1350837883","1350837892","1350837922","1350837916","1350837904"],"photo_ids_order":["1350837883","1350837892","1350837904","1350837908","1350837916","1350837922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7ebcb6d92096190cb4ee4d6c092d9eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1624482211577956000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218823632,"filename":"image_09042025_17_44_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/4/9/973e88453b6ac1e3709716bfba3574e6.jpg","text":"TemporaryFile(/tmp/multipartBody2183221461602919466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218823632,"filename":"image_09042025_17_43_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/109209c1966817f06a7b7d3d296b4fff.jpg","text":"TemporaryFile(/tmp/multipartBody1852892143859416662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218823632,"filename":"image_09042025_17_44_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/4/9/e389dd56b8254787d7ff97be386e4a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3150864933551247885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218823632,"filename":"image_09042025_17_44_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/4/9/9f1d689ffce31d85c7282c658d44992e.jpg","text":"TemporaryFile(/tmp/multipartBody8903349951669756243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218823632,"filename":"image_09042025_17_44_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aae76b16306cad9e0ae45df8ab3bed13.jpg","text":"TemporaryFile(/tmp/multipartBody1300041534781408996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218823632,"filename":"image_09042025_17_44_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350837904","file1":"1350837892","file0":"1350837883","file4":"1350837916","file5":"1350837922","file3":"1350837908"},"map_files_photo_id_array":[{"photo_id":"1350837922","filename":"file5"},{"photo_id":"1350837904","filename":"file2"},{"photo_id":"1350837916","filename":"file4"},{"photo_id":"1350837892","filename":"file1"},{"photo_id":"1350837883","filename":"file0"},{"photo_id":"1350837908","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350837908":["hashtag1","hashtag2"]},{"1350837883":["hashtag1","hashtag2"]},{"1350837892":["hashtag1","hashtag2"]},{"1350837922":["hashtag1","hashtag2"]},{"1350837916":["hashtag1","hashtag2"]},{"1350837904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350837908, 1350837883, 1350837892, 1350837922, 1350837916, 1350837904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.575539112091064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:13:32.407327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/44/image_09042025_17_45_05_10471.jpg', '/home/pi/Desktop/images/09042025/17/45/image_09042025_17_45_15_9409.jpg', '/home/pi/Desktop/images/09042025/17/45/image_09042025_17_45_25_10360.jpg', '/home/pi/Desktop/images/09042025/17/45/image_09042025_17_45_35_10470.jpg', '/home/pi/Desktop/images/09042025/17/45/image_09042025_17_45_55_10467.jpg', '/home/pi/Desktop/images/09042025/17/45/image_09042025_17_46_05_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/44/image_09042025_17_45_05_10471.jpg
/home/pi/Desktop/images/09042025/17/45/image_09042025_17_45_15_9409.jpg
/home/pi/Desktop/images/09042025/17/45/image_09042025_17_45_25_10360.jpg
/home/pi/Desktop/images/09042025/17/45/image_09042025_17_45_35_10470.jpg
/home/pi/Desktop/images/09042025/17/45/image_09042025_17_45_55_10467.jpg
/home/pi/Desktop/images/09042025/17/45/image_09042025_17_46_05_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350837986","1350838057","1350837961","1350838125","1350838011","1350837951"],"photo_ids_order":["1350837951","1350837961","1350837986","1350838011","1350838057","1350838125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4396b2ec0ed200046f547b3b8a7fe27.jpg","text":"TemporaryFile(/tmp/multipartBody7781907857107645216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218872893,"filename":"image_09042025_17_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/4/9/70b434915b4535aca66b8f607fe8d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody955903986720569373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218872893,"filename":"image_09042025_17_45_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/4/9/c1acf7bc1cfdec3a9edae4917822d536.jpg","text":"TemporaryFile(/tmp/multipartBody124477454405246812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218872893,"filename":"image_09042025_17_45_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/4/9/642550c97937c9a4e92edc038c963fd8.jpg","text":"TemporaryFile(/tmp/multipartBody6309510481791445007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218872893,"filename":"image_09042025_17_46_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/4/9/1cae5c7de212c32281aaf3dea00f509f.jpg","text":"TemporaryFile(/tmp/multipartBody7027370805617189928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218872893,"filename":"image_09042025_17_45_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/4/9/9e90029142ec0fd505b7b21ce1265356.jpg","text":"TemporaryFile(/tmp/multipartBody6998228809090572136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218872893,"filename":"image_09042025_17_45_05_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350837986","file1":"1350837961","file0":"1350837951","file4":"1350838057","file5":"1350838125","file3":"1350838011"},"map_files_photo_id_array":[{"photo_id":"1350838125","filename":"file5"},{"photo_id":"1350837986","filename":"file2"},{"photo_id":"1350838057","filename":"file4"},{"photo_id":"1350837961","filename":"file1"},{"photo_id":"1350837951","filename":"file0"},{"photo_id":"1350838011","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350837986":["hashtag1","hashtag2"]},{"1350838057":["hashtag1","hashtag2"]},{"1350837961":["hashtag1","hashtag2"]},{"1350838125":["hashtag1","hashtag2"]},{"1350838011":["hashtag1","hashtag2"]},{"1350837951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350837986, 1350838057, 1350837961, 1350838125, 1350838011, 1350837951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.730609893798828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:14:32.746520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_15_10378.jpg', '/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_25_10425.jpg', '/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_35_9337.jpg', '/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_45_10339.jpg', '/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_55_10347.jpg', '/home/pi/Desktop/images/09042025/17/46/image_09042025_17_47_05_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_15_10378.jpg
/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_25_10425.jpg
/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_35_9337.jpg
/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_45_10339.jpg
/home/pi/Desktop/images/09042025/17/46/image_09042025_17_46_55_10347.jpg
/home/pi/Desktop/images/09042025/17/46/image_09042025_17_47_05_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":["1350838432","1350838318","1350838251","1350838248","1350838410","1350838367"],"photo_ids_order":["1350838248","1350838251","1350838318","1350838367","1350838410","1350838432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f7258105226497a770b7fa20d867c595.jpg","text":"TemporaryFile(/tmp/multipartBody4386738834225855748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218933243,"filename":"image_09042025_17_47_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/4/9/b75405e0fcd347489db0a71027b2eaf6.jpg","text":"TemporaryFile(/tmp/multipartBody2566765104470747179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218933243,"filename":"image_09042025_17_46_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/4/9/b708115d1aa1b0caa45771a00807c967.jpg","text":"TemporaryFile(/tmp/multipartBody4432507574867127141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218933243,"filename":"image_09042025_17_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/4/9/903de684e921f5f2ca71233fba0fc7a0.jpg","text":"TemporaryFile(/tmp/multipartBody4515852771219176771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218933243,"filename":"image_09042025_17_46_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7e84a1461592a3cb551be723b2c5dc9.jpg","text":"TemporaryFile(/tmp/multipartBody4450691464762917266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218933243,"filename":"image_09042025_17_46_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/4/9/b43de175f57fa3c26ef5c902eb8a5a32.jpg","text":"TemporaryFile(/tmp/multipartBody921456295065759810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218933243,"filename":"image_09042025_17_46_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350838318","file1":"1350838251","file0":"1350838248","file4":"1350838410","file5":"1350838432","file3":"1350838367"},"map_files_photo_id_array":[{"photo_id":"1350838432","filename":"file5"},{"photo_id":"1350838318","filename":"file2"},{"photo_id":"1350838410","filename":"file4"},{"photo_id":"1350838251","filename":"file1"},{"photo_id":"1350838248","filename":"file0"},{"photo_id":"1350838367","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350838432":["hashtag1","hashtag2"]},{"1350838318":["hashtag1","hashtag2"]},{"1350838251":["hashtag1","hashtag2"]},{"1350838248":["hashtag1","hashtag2"]},{"1350838410":["hashtag1","hashtag2"]},{"1350838367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350838432, 1350838318, 1350838251, 1350838248, 1350838410, 1350838367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0126588344574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:15:33.145818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/47/image_09042025_17_47_15_10447.jpg', '/home/pi/Desktop/images/09042025/17/47/image_09042025_17_47_35_10335.jpg', '/home/pi/Desktop/images/09042025/17/47/image_09042025_17_47_45_10411.jpg', '/home/pi/Desktop/images/09042025/17/47/image_09042025_17_47_55_9349.jpg', '/home/pi/Desktop/images/09042025/17/47/image_09042025_17_48_05_10341.jpg', '/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/47/image_09042025_17_47_15_10447.jpg
/home/pi/Desktop/images/09042025/17/47/image_09042025_17_47_35_10335.jpg
/home/pi/Desktop/images/09042025/17/47/image_09042025_17_47_45_10411.jpg
/home/pi/Desktop/images/09042025/17/47/image_09042025_17_47_55_9349.jpg
/home/pi/Desktop/images/09042025/17/47/image_09042025_17_48_05_10341.jpg
/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_15_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350838570","1350838564","1350838567","1350838510","1350838539","1350838574"],"photo_ids_order":["1350838510","1350838539","1350838564","1350838567","1350838570","1350838574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b0ae1d65e967cb76b45526ba55ee66f.jpg","text":"TemporaryFile(/tmp/multipartBody6534517665427445733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218993623,"filename":"image_09042025_17_48_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/4/9/ba913ff968709a2c5e06119389975af5.jpg","text":"TemporaryFile(/tmp/multipartBody4088129355580423197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218993623,"filename":"image_09042025_17_47_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9cb58c088958376c2a206f86b9a05a74.jpg","text":"TemporaryFile(/tmp/multipartBody1295424411436668024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218993623,"filename":"image_09042025_17_47_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/4/9/2d57aa09a368de4e1e42c7d8949c578d.jpg","text":"TemporaryFile(/tmp/multipartBody8433651801939303772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218993623,"filename":"image_09042025_17_47_15_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad813801799962676b37849bed3c10e0.jpg","text":"TemporaryFile(/tmp/multipartBody7495922452876963007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218993623,"filename":"image_09042025_17_47_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/4/9/6888c78091505ed4cfd4362fd8053ec6.jpg","text":"TemporaryFile(/tmp/multipartBody5273242316432855839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744218993623,"filename":"image_09042025_17_48_15_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350838564","file1":"1350838539","file0":"1350838510","file4":"1350838570","file5":"1350838574","file3":"1350838567"},"map_files_photo_id_array":[{"photo_id":"1350838574","filename":"file5"},{"photo_id":"1350838564","filename":"file2"},{"photo_id":"1350838570","filename":"file4"},{"photo_id":"1350838539","filename":"file1"},{"photo_id":"1350838510","filename":"file0"},{"photo_id":"1350838567","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350838570":["hashtag1","hashtag2"]},{"1350838564":["hashtag1","hashtag2"]},{"1350838567":["hashtag1","hashtag2"]},{"1350838510":["hashtag1","hashtag2"]},{"1350838539":["hashtag1","hashtag2"]},{"1350838574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350838570, 1350838564, 1350838567, 1350838510, 1350838539, 1350838574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11076903343201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:16:32.253133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_25_9338.jpg', '/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_35_10363.jpg', '/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_44_9412.jpg', '/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_55_10354.jpg', '/home/pi/Desktop/images/09042025/17/48/image_09042025_17_49_05_10406.jpg', '/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_15_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_25_9338.jpg
/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_35_10363.jpg
/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_44_9412.jpg
/home/pi/Desktop/images/09042025/17/48/image_09042025_17_48_55_10354.jpg
/home/pi/Desktop/images/09042025/17/48/image_09042025_17_49_05_10406.jpg
/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_15_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350838625","1350838610","1350838633","1350838636","1350838617","1350838614"],"photo_ids_order":["1350838610","1350838614","1350838617","1350838625","1350838633","1350838636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c49ac61b46d14e6ba5c96821f4d04e79.jpg","text":"TemporaryFile(/tmp/multipartBody6694785637293715775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219052754,"filename":"image_09042025_17_48_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/4/9/62e5b8086132d85b243c7980cb0cdaf6.jpg","text":"TemporaryFile(/tmp/multipartBody3427246146981494710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219052754,"filename":"image_09042025_17_48_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/4/9/cb64698e591ef90ea4b98c369b4c5356.jpg","text":"TemporaryFile(/tmp/multipartBody1416166427601865795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219052754,"filename":"image_09042025_17_49_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/4/9/1ffc5f63ffdd3feecf1254a3d566fa61.jpg","text":"TemporaryFile(/tmp/multipartBody4978479625488346645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219052754,"filename":"image_09042025_17_49_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b74acabd1891db3a622902234641f24d.jpg","text":"TemporaryFile(/tmp/multipartBody1458789316292900898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219052754,"filename":"image_09042025_17_48_44_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9975ba161e63dc24a58c3a5f5a161264.jpg","text":"TemporaryFile(/tmp/multipartBody9217437742811176933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219052754,"filename":"image_09042025_17_48_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350838617","file1":"1350838614","file0":"1350838610","file4":"1350838633","file5":"1350838636","file3":"1350838625"},"map_files_photo_id_array":[{"photo_id":"1350838636","filename":"file5"},{"photo_id":"1350838617","filename":"file2"},{"photo_id":"1350838633","filename":"file4"},{"photo_id":"1350838614","filename":"file1"},{"photo_id":"1350838610","filename":"file0"},{"photo_id":"1350838625","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350838625":["hashtag1","hashtag2"]},{"1350838610":["hashtag1","hashtag2"]},{"1350838633":["hashtag1","hashtag2"]},{"1350838636":["hashtag1","hashtag2"]},{"1350838617":["hashtag1","hashtag2"]},{"1350838614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350838625, 1350838610, 1350838633, 1350838636, 1350838617, 1350838614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54537510871887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:17:32.589804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_25_10377.jpg', '/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_35_10445.jpg', '/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_45_9341.jpg', '/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_55_10478.jpg', '/home/pi/Desktop/images/09042025/17/49/image_09042025_17_50_05_9357.jpg', '/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_15_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_25_10377.jpg
/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_35_10445.jpg
/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_45_9341.jpg
/home/pi/Desktop/images/09042025/17/49/image_09042025_17_49_55_10478.jpg
/home/pi/Desktop/images/09042025/17/49/image_09042025_17_50_05_9357.jpg
/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_15_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":["1350838780","1350838798","1350838747","1350838801","1350838755","1350838749"],"photo_ids_order":["1350838747","1350838749","1350838755","1350838780","1350838798","1350838801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7a250754519eac0f0a886f9b2f20cda.jpg","text":"TemporaryFile(/tmp/multipartBody8480492258865765806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219113069,"filename":"image_09042025_17_49_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/4/9/95689786032629f489ef46243fef2c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5571121139956649084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219113069,"filename":"image_09042025_17_50_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3dd358b5310287900e960cd6da60af87.jpg","text":"TemporaryFile(/tmp/multipartBody3085109326240254619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219113069,"filename":"image_09042025_17_49_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/4/9/8d316ea477cab81ee0593cbdd0247413.jpg","text":"TemporaryFile(/tmp/multipartBody7396989292417048723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219113069,"filename":"image_09042025_17_50_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/4/9/b90451740e0d7e4d93ca25304987f595.jpg","text":"TemporaryFile(/tmp/multipartBody8798920783172304627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219113069,"filename":"image_09042025_17_49_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/4/9/dcd67ebb024ceffe2784abcf6756416c.jpg","text":"TemporaryFile(/tmp/multipartBody7205474610151770188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219113069,"filename":"image_09042025_17_49_35_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350838755","file1":"1350838749","file0":"1350838747","file4":"1350838798","file5":"1350838801","file3":"1350838780"},"map_files_photo_id_array":[{"photo_id":"1350838801","filename":"file5"},{"photo_id":"1350838755","filename":"file2"},{"photo_id":"1350838798","filename":"file4"},{"photo_id":"1350838749","filename":"file1"},{"photo_id":"1350838747","filename":"file0"},{"photo_id":"1350838780","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350838780":["hashtag1","hashtag2"]},{"1350838798":["hashtag1","hashtag2"]},{"1350838747":["hashtag1","hashtag2"]},{"1350838801":["hashtag1","hashtag2"]},{"1350838755":["hashtag1","hashtag2"]},{"1350838749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350838780, 1350838798, 1350838747, 1350838801, 1350838755, 1350838749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.032536029815674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:18:32.804573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_25_10378.jpg', '/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_35_9341.jpg', '/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_45_10369.jpg', '/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_55_10378.jpg', '/home/pi/Desktop/images/09042025/17/50/image_09042025_17_51_05_9339.jpg', '/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_15_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_25_10378.jpg
/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_35_9341.jpg
/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_45_10369.jpg
/home/pi/Desktop/images/09042025/17/50/image_09042025_17_50_55_10378.jpg
/home/pi/Desktop/images/09042025/17/50/image_09042025_17_51_05_9339.jpg
/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_15_10322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350838990","1350838981","1350838975","1350838965","1350838985","1350838970"],"photo_ids_order":["1350838965","1350838970","1350838975","1350838981","1350838985","1350838990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0edd28846f51aa5ec7cad195f5fa8c27.jpg","text":"TemporaryFile(/tmp/multipartBody6066153532365520992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219173286,"filename":"image_09042025_17_51_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/4/9/bacbfb0bc3147f6f13b4e4cd288a077f.jpg","text":"TemporaryFile(/tmp/multipartBody8292047486696252122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219173286,"filename":"image_09042025_17_50_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/4/9/ca1914f26791b5f38eada3338281927e.jpg","text":"TemporaryFile(/tmp/multipartBody1795630035145083904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219173286,"filename":"image_09042025_17_50_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/4/9/bce5e5f6a0dd9e420fc56f6f4bb5317b.jpg","text":"TemporaryFile(/tmp/multipartBody5002720400012485181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219173286,"filename":"image_09042025_17_50_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/4/9/8f75bcf0b3f33d016c3290aced7ca0ff.jpg","text":"TemporaryFile(/tmp/multipartBody1421980728917591513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219173286,"filename":"image_09042025_17_51_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/4/9/7af83e58d1af8b030b519a29a7b89ea2.jpg","text":"TemporaryFile(/tmp/multipartBody8030799089793115534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219173286,"filename":"image_09042025_17_50_35_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350838975","file1":"1350838970","file0":"1350838965","file4":"1350838985","file5":"1350838990","file3":"1350838981"},"map_files_photo_id_array":[{"photo_id":"1350838990","filename":"file5"},{"photo_id":"1350838975","filename":"file2"},{"photo_id":"1350838985","filename":"file4"},{"photo_id":"1350838970","filename":"file1"},{"photo_id":"1350838965","filename":"file0"},{"photo_id":"1350838981","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350838990":["hashtag1","hashtag2"]},{"1350838981":["hashtag1","hashtag2"]},{"1350838975":["hashtag1","hashtag2"]},{"1350838965":["hashtag1","hashtag2"]},{"1350838985":["hashtag1","hashtag2"]},{"1350838970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350838990, 1350838981, 1350838975, 1350838965, 1350838985, 1350838970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.442309856414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:19:33.146842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_25_10365.jpg', '/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_35_9902.jpg', '/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_45_9329.jpg', '/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_55_10348.jpg', '/home/pi/Desktop/images/09042025/17/51/image_09042025_17_52_05_10380.jpg', '/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_15_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_25_10365.jpg
/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_35_9902.jpg
/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_45_9329.jpg
/home/pi/Desktop/images/09042025/17/51/image_09042025_17_51_55_10348.jpg
/home/pi/Desktop/images/09042025/17/51/image_09042025_17_52_05_10380.jpg
/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_15_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":["1350839092","1350839065","1350839052","1350839040","1350839115","1350839105"],"photo_ids_order":["1350839040","1350839052","1350839065","1350839092","1350839105","1350839115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f717437c17d25fac1d40818e3d3c421c.jpg","text":"TemporaryFile(/tmp/multipartBody7395787812461434568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219233633,"filename":"image_09042025_17_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/4/9/2f19caa10f4e7b397e42ed7879d1c843.jpg","text":"TemporaryFile(/tmp/multipartBody2285727631030743542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219233633,"filename":"image_09042025_17_51_45_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/60ed8942cc7201c760d595e40bcfc56c.jpg","text":"TemporaryFile(/tmp/multipartBody7188381189379015260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219233633,"filename":"image_09042025_17_51_35_9902.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bd77abc656a2b618631e607b051c3a27.jpg","text":"TemporaryFile(/tmp/multipartBody4560887637125752751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219233633,"filename":"image_09042025_17_51_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/4/9/9983644f80be507ac99cbca0445bcc3b.jpg","text":"TemporaryFile(/tmp/multipartBody9171352138991059656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219233633,"filename":"image_09042025_17_52_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e0ffef6577ef4caaba33180cbecfda76.jpg","text":"TemporaryFile(/tmp/multipartBody7775083901686603527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219233633,"filename":"image_09042025_17_52_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350839065","file1":"1350839052","file0":"1350839040","file4":"1350839105","file5":"1350839115","file3":"1350839092"},"map_files_photo_id_array":[{"photo_id":"1350839115","filename":"file5"},{"photo_id":"1350839065","filename":"file2"},{"photo_id":"1350839105","filename":"file4"},{"photo_id":"1350839052","filename":"file1"},{"photo_id":"1350839040","filename":"file0"},{"photo_id":"1350839092","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350839092":["hashtag1","hashtag2"]},{"1350839065":["hashtag1","hashtag2"]},{"1350839052":["hashtag1","hashtag2"]},{"1350839040":["hashtag1","hashtag2"]},{"1350839115":["hashtag1","hashtag2"]},{"1350839105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350839092, 1350839065, 1350839052, 1350839040, 1350839115, 1350839105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49431896209717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:20:32.242008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_25_10472.jpg', '/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_35_9343.jpg', '/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_45_10337.jpg', '/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_55_10470.jpg', '/home/pi/Desktop/images/09042025/17/52/image_09042025_17_53_05_9347.jpg', '/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_15_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_25_10472.jpg
/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_35_9343.jpg
/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_45_10337.jpg
/home/pi/Desktop/images/09042025/17/52/image_09042025_17_52_55_10470.jpg
/home/pi/Desktop/images/09042025/17/52/image_09042025_17_53_05_9347.jpg
/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_15_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350839233","1350839221","1350839239","1350839212","1350839217","1350839246"],"photo_ids_order":["1350839212","1350839217","1350839221","1350839233","1350839239","1350839246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b0de0d77cca2bb0ecd7d5dafc52205d6.jpg","text":"TemporaryFile(/tmp/multipartBody7377706306139783131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219292731,"filename":"image_09042025_17_52_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/4/9/b064589d4dad84f0cc605139f8327f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4560080810111510873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219292731,"filename":"image_09042025_17_52_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/4/9/6c3bd6e366e2b414464dae6ff10b4082.jpg","text":"TemporaryFile(/tmp/multipartBody2964932655534647774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219292731,"filename":"image_09042025_17_53_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d3b46eb04c10c8589e2eb154d7fe15c.jpg","text":"TemporaryFile(/tmp/multipartBody8502297998882737740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219292731,"filename":"image_09042025_17_52_25_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/661cc813c516fb2b9295331610e10ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1447063229406017856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219292731,"filename":"image_09042025_17_52_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/4/9/6fabf15c750593134771c8a4f7419279.jpg","text":"TemporaryFile(/tmp/multipartBody4416686503543707654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219292731,"filename":"image_09042025_17_53_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350839221","file1":"1350839217","file0":"1350839212","file4":"1350839239","file5":"1350839246","file3":"1350839233"},"map_files_photo_id_array":[{"photo_id":"1350839246","filename":"file5"},{"photo_id":"1350839221","filename":"file2"},{"photo_id":"1350839239","filename":"file4"},{"photo_id":"1350839217","filename":"file1"},{"photo_id":"1350839212","filename":"file0"},{"photo_id":"1350839233","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350839233":["hashtag1","hashtag2"]},{"1350839221":["hashtag1","hashtag2"]},{"1350839239":["hashtag1","hashtag2"]},{"1350839212":["hashtag1","hashtag2"]},{"1350839217":["hashtag1","hashtag2"]},{"1350839246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350839233, 1350839221, 1350839239, 1350839212, 1350839217, 1350839246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76448678970337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:21:32.349872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_25_10353.jpg', '/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_35_9342.jpg', '/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_45_10337.jpg', '/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_55_10359.jpg', '/home/pi/Desktop/images/09042025/17/53/image_09042025_17_54_05_9335.jpg', '/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_25_10353.jpg
/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_35_9342.jpg
/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_45_10337.jpg
/home/pi/Desktop/images/09042025/17/53/image_09042025_17_53_55_10359.jpg
/home/pi/Desktop/images/09042025/17/53/image_09042025_17_54_05_9335.jpg
/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_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":["1350839284","1350839295","1350839289","1350839279","1350839267","1350839293"],"photo_ids_order":["1350839267","1350839279","1350839284","1350839289","1350839293","1350839295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/739fa109c69e37bb2cf338ceb3ab9a34.jpg","text":"TemporaryFile(/tmp/multipartBody6383419505847302736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219352834,"filename":"image_09042025_17_53_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/4/9/efec32f20ebc1372dd0241fa367cc9f7.jpg","text":"TemporaryFile(/tmp/multipartBody4098905936267066177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219352834,"filename":"image_09042025_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/4/9/8cf73cc2bf31004daee56270d53c4bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6561097394792121175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219352834,"filename":"image_09042025_17_53_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/4/9/af93d5bce19ba21012e2269c0b952775.jpg","text":"TemporaryFile(/tmp/multipartBody2558448290510162452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219352834,"filename":"image_09042025_17_53_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/4/9/aeb8346494736f742e34ebcaf0d857b6.jpg","text":"TemporaryFile(/tmp/multipartBody6221368108541476129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219352834,"filename":"image_09042025_17_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/4/9/6418d3a4061d1abf6da9b619fba7331c.jpg","text":"TemporaryFile(/tmp/multipartBody3820884817552372270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219352834,"filename":"image_09042025_17_54_05_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350839284","file1":"1350839279","file0":"1350839267","file4":"1350839293","file5":"1350839295","file3":"1350839289"},"map_files_photo_id_array":[{"photo_id":"1350839295","filename":"file5"},{"photo_id":"1350839284","filename":"file2"},{"photo_id":"1350839293","filename":"file4"},{"photo_id":"1350839279","filename":"file1"},{"photo_id":"1350839267","filename":"file0"},{"photo_id":"1350839289","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350839284":["hashtag1","hashtag2"]},{"1350839295":["hashtag1","hashtag2"]},{"1350839289":["hashtag1","hashtag2"]},{"1350839279":["hashtag1","hashtag2"]},{"1350839267":["hashtag1","hashtag2"]},{"1350839293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350839284, 1350839295, 1350839289, 1350839279, 1350839267, 1350839293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.876044511795044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:22:32.676571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_24_9384.jpg', '/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_35_10412.jpg', '/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_45_10367.jpg', '/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_55_9353.jpg', '/home/pi/Desktop/images/09042025/17/54/image_09042025_17_55_05_10354.jpg', '/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_15_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_24_9384.jpg
/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_35_10412.jpg
/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_45_10367.jpg
/home/pi/Desktop/images/09042025/17/54/image_09042025_17_54_55_9353.jpg
/home/pi/Desktop/images/09042025/17/54/image_09042025_17_55_05_10354.jpg
/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_15_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":["1350839371","1350839367","1350839397","1350839379","1350839392","1350839374"],"photo_ids_order":["1350839367","1350839371","1350839374","1350839379","1350839392","1350839397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7fe67c80639942349b6faae5d78250c4.jpg","text":"TemporaryFile(/tmp/multipartBody4597838324730478746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219413161,"filename":"image_09042025_17_54_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/4/9/b909b4257f91ba4c021fad13ad353ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3575436710691324272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219413161,"filename":"image_09042025_17_54_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/4/9/355ca7d0066cafd6e6c76438237f913f.jpg","text":"TemporaryFile(/tmp/multipartBody30590838388178167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219413161,"filename":"image_09042025_17_55_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e894a30b748dba1f0447c447b2336306.jpg","text":"TemporaryFile(/tmp/multipartBody404982337090838475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219413161,"filename":"image_09042025_17_54_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/4/9/82af306d5345e76abc52336090776ad4.jpg","text":"TemporaryFile(/tmp/multipartBody99961381843822766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219413161,"filename":"image_09042025_17_55_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/846ca60eff4be36aaa95d1185e233a9c.jpg","text":"TemporaryFile(/tmp/multipartBody7973559728880634907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219413161,"filename":"image_09042025_17_54_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350839374","file1":"1350839371","file0":"1350839367","file4":"1350839392","file5":"1350839397","file3":"1350839379"},"map_files_photo_id_array":[{"photo_id":"1350839397","filename":"file5"},{"photo_id":"1350839374","filename":"file2"},{"photo_id":"1350839392","filename":"file4"},{"photo_id":"1350839371","filename":"file1"},{"photo_id":"1350839367","filename":"file0"},{"photo_id":"1350839379","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350839371":["hashtag1","hashtag2"]},{"1350839367":["hashtag1","hashtag2"]},{"1350839397":["hashtag1","hashtag2"]},{"1350839379":["hashtag1","hashtag2"]},{"1350839392":["hashtag1","hashtag2"]},{"1350839374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350839371, 1350839367, 1350839397, 1350839379, 1350839392, 1350839374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.758347272872925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:23:32.905963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_25_9362.jpg', '/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_35_10398.jpg', '/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_45_9434.jpg', '/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_55_10358.jpg', '/home/pi/Desktop/images/09042025/17/55/image_09042025_17_56_05_10356.jpg', '/home/pi/Desktop/images/09042025/17/56/image_09042025_17_56_25_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_25_9362.jpg
/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_35_10398.jpg
/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_45_9434.jpg
/home/pi/Desktop/images/09042025/17/55/image_09042025_17_55_55_10358.jpg
/home/pi/Desktop/images/09042025/17/55/image_09042025_17_56_05_10356.jpg
/home/pi/Desktop/images/09042025/17/56/image_09042025_17_56_25_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350839554","1350839542","1350839623","1350839524","1350839649","1350839516"],"photo_ids_order":["1350839516","1350839524","1350839542","1350839554","1350839623","1350839649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b920018bde7087ab539cc90f6841fee.jpg","text":"TemporaryFile(/tmp/multipartBody8149179482389788986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219473390,"filename":"image_09042025_17_55_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2172369e02a8b2cc45f17fdbf732a4f5.jpg","text":"TemporaryFile(/tmp/multipartBody9020802994494290000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219473390,"filename":"image_09042025_17_55_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/4/9/a936a8d3595381adaeb6d2c7e8ef4b19.jpg","text":"TemporaryFile(/tmp/multipartBody8799762953181943670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219473390,"filename":"image_09042025_17_56_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad8823c63b0bc6b121a055415b25b826.jpg","text":"TemporaryFile(/tmp/multipartBody1711309614539077925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219473390,"filename":"image_09042025_17_55_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/4/9/fe32ecd3dc191bd837d57c7074441f5a.jpg","text":"TemporaryFile(/tmp/multipartBody6819060403124342719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219473390,"filename":"image_09042025_17_56_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/4/9/8f9f61b688c5710cd708a8b4427e2725.jpg","text":"TemporaryFile(/tmp/multipartBody2500711779940966723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219473390,"filename":"image_09042025_17_55_25_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350839542","file1":"1350839524","file0":"1350839516","file4":"1350839623","file5":"1350839649","file3":"1350839554"},"map_files_photo_id_array":[{"photo_id":"1350839649","filename":"file5"},{"photo_id":"1350839542","filename":"file2"},{"photo_id":"1350839623","filename":"file4"},{"photo_id":"1350839524","filename":"file1"},{"photo_id":"1350839516","filename":"file0"},{"photo_id":"1350839554","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350839554":["hashtag1","hashtag2"]},{"1350839542":["hashtag1","hashtag2"]},{"1350839623":["hashtag1","hashtag2"]},{"1350839524":["hashtag1","hashtag2"]},{"1350839649":["hashtag1","hashtag2"]},{"1350839516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350839554, 1350839542, 1350839623, 1350839524, 1350839649, 1350839516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90221643447876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:24:32.203843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/56/image_09042025_17_56_35_10352.jpg', '/home/pi/Desktop/images/09042025/17/56/image_09042025_17_56_45_9412.jpg', '/home/pi/Desktop/images/09042025/17/56/image_09042025_17_56_55_10349.jpg', '/home/pi/Desktop/images/09042025/17/56/image_09042025_17_57_05_10376.jpg', '/home/pi/Desktop/images/09042025/17/57/image_09042025_17_57_15_9385.jpg', '/home/pi/Desktop/images/09042025/17/57/image_09042025_17_57_35_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/56/image_09042025_17_56_35_10352.jpg
/home/pi/Desktop/images/09042025/17/56/image_09042025_17_56_45_9412.jpg
/home/pi/Desktop/images/09042025/17/56/image_09042025_17_56_55_10349.jpg
/home/pi/Desktop/images/09042025/17/56/image_09042025_17_57_05_10376.jpg
/home/pi/Desktop/images/09042025/17/57/image_09042025_17_57_15_9385.jpg
/home/pi/Desktop/images/09042025/17/57/image_09042025_17_57_35_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":["1350839734","1350839731","1350839727","1350839742","1350839756","1350839738"],"photo_ids_order":["1350839727","1350839731","1350839734","1350839738","1350839742","1350839756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/155c5a48b12440e2c89b416231793765.jpg","text":"TemporaryFile(/tmp/multipartBody296486873607156230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219532694,"filename":"image_09042025_17_56_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/4/9/b7815ef5085b7263adc26a161debc430.jpg","text":"TemporaryFile(/tmp/multipartBody4776684892445009938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219532694,"filename":"image_09042025_17_56_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/4/9/2ae9983cb0e1e65a60107e8614f93fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6021580762001713658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219532694,"filename":"image_09042025_17_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/4/9/dab17386b1020d1625e0cfca9430a45c.jpg","text":"TemporaryFile(/tmp/multipartBody5690040634264106765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219532694,"filename":"image_09042025_17_57_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/4/9/ce75f9022c6e751b4f7d338ccb1c0bf6.jpg","text":"TemporaryFile(/tmp/multipartBody2312808027847837721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219532694,"filename":"image_09042025_17_57_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/4/9/132219f32ab15dec12777a77a7c0e222.jpg","text":"TemporaryFile(/tmp/multipartBody3521637969419327287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219532694,"filename":"image_09042025_17_57_05_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350839734","file1":"1350839731","file0":"1350839727","file4":"1350839742","file5":"1350839756","file3":"1350839738"},"map_files_photo_id_array":[{"photo_id":"1350839756","filename":"file5"},{"photo_id":"1350839734","filename":"file2"},{"photo_id":"1350839742","filename":"file4"},{"photo_id":"1350839731","filename":"file1"},{"photo_id":"1350839727","filename":"file0"},{"photo_id":"1350839738","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350839734":["hashtag1","hashtag2"]},{"1350839731":["hashtag1","hashtag2"]},{"1350839727":["hashtag1","hashtag2"]},{"1350839742":["hashtag1","hashtag2"]},{"1350839756":["hashtag1","hashtag2"]},{"1350839738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350839734, 1350839731, 1350839727, 1350839742, 1350839756, 1350839738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02298283576965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:25:32.437495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/57/image_09042025_17_57_55_10405.jpg', '/home/pi/Desktop/images/09042025/17/57/image_09042025_17_58_05_9330.jpg', '/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_15_10343.jpg', '/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_25_10448.jpg', '/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_35_9446.jpg', '/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_45_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/57/image_09042025_17_57_55_10405.jpg
/home/pi/Desktop/images/09042025/17/57/image_09042025_17_58_05_9330.jpg
/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_15_10343.jpg
/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_25_10448.jpg
/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_35_9446.jpg
/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_45_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":["1350839836","1350839880","1350839883","1350839936","1350839930","1350839899"],"photo_ids_order":["1350839836","1350839880","1350839883","1350839899","1350839930","1350839936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c20a7acc54d478dc2407060c5315a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4537904360150808709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219592915,"filename":"image_09042025_17_57_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/4/9/962b7c0aec3835f9e5c9c9b56b72a334.jpg","text":"TemporaryFile(/tmp/multipartBody1979971376202288925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219592915,"filename":"image_09042025_17_58_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/4/9/3cf34167edf390b53e09ce615b1a8fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8958295241530482411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219592915,"filename":"image_09042025_17_58_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/4/9/90f45e02229946f4919f8ca7cd434822.jpg","text":"TemporaryFile(/tmp/multipartBody9084265160054414022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219592915,"filename":"image_09042025_17_58_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/4/9/7206108b3387a7266711d0d33e219517.jpg","text":"TemporaryFile(/tmp/multipartBody2360303192980492793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219592915,"filename":"image_09042025_17_58_35_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b0236755a82e408820e0f6230ef256f7.jpg","text":"TemporaryFile(/tmp/multipartBody5598511081955096914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219592915,"filename":"image_09042025_17_58_25_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350839883","file1":"1350839880","file0":"1350839836","file4":"1350839930","file5":"1350839936","file3":"1350839899"},"map_files_photo_id_array":[{"photo_id":"1350839936","filename":"file5"},{"photo_id":"1350839883","filename":"file2"},{"photo_id":"1350839930","filename":"file4"},{"photo_id":"1350839880","filename":"file1"},{"photo_id":"1350839836","filename":"file0"},{"photo_id":"1350839899","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350839836":["hashtag1","hashtag2"]},{"1350839880":["hashtag1","hashtag2"]},{"1350839883":["hashtag1","hashtag2"]},{"1350839936":["hashtag1","hashtag2"]},{"1350839930":["hashtag1","hashtag2"]},{"1350839899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350839836, 1350839880, 1350839883, 1350839936, 1350839930, 1350839899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.610485315322876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:26:32.600413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_55_9355.jpg', '/home/pi/Desktop/images/09042025/17/58/image_09042025_17_59_05_10409.jpg', '/home/pi/Desktop/images/09042025/17/59/image_09042025_17_59_14_9424.jpg', '/home/pi/Desktop/images/09042025/17/59/image_09042025_17_59_25_10348.jpg', '/home/pi/Desktop/images/09042025/17/59/image_09042025_17_59_35_10427.jpg', '/home/pi/Desktop/images/09042025/17/59/image_09042025_17_59_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/17/58/image_09042025_17_58_55_9355.jpg
/home/pi/Desktop/images/09042025/17/58/image_09042025_17_59_05_10409.jpg
/home/pi/Desktop/images/09042025/17/59/image_09042025_17_59_14_9424.jpg
/home/pi/Desktop/images/09042025/17/59/image_09042025_17_59_25_10348.jpg
/home/pi/Desktop/images/09042025/17/59/image_09042025_17_59_35_10427.jpg
/home/pi/Desktop/images/09042025/17/59/image_09042025_17_59_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350840221","1350840241","1350840060","1350840066","1350840153","1350840278"],"photo_ids_order":["1350840060","1350840066","1350840153","1350840221","1350840241","1350840278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/381a76ee47408aaa57819736e69d7f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8659230187119739685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219653169,"filename":"image_09042025_17_59_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/4/9/ab41326f4c4c38c722d94d42715c327f.jpg","text":"TemporaryFile(/tmp/multipartBody4011820093008745497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219653169,"filename":"image_09042025_17_59_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/4/9/d80b22eae7314f2d10fb46a04e280dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6830366412822415682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219653169,"filename":"image_09042025_17_58_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/4/9/8a3f46297e241354d948293f9f12f6f3.jpg","text":"TemporaryFile(/tmp/multipartBody6139162929257941452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219653169,"filename":"image_09042025_17_59_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/4/9/9e0f49e2731560ca6f8913a6552a2024.jpg","text":"TemporaryFile(/tmp/multipartBody91537035301041659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219653169,"filename":"image_09042025_17_59_14_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdccf87ecf9c96b955248245d6af837c.jpg","text":"TemporaryFile(/tmp/multipartBody947762825504020571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219653169,"filename":"image_09042025_17_59_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350840153","file1":"1350840066","file0":"1350840060","file4":"1350840241","file5":"1350840278","file3":"1350840221"},"map_files_photo_id_array":[{"photo_id":"1350840278","filename":"file5"},{"photo_id":"1350840153","filename":"file2"},{"photo_id":"1350840241","filename":"file4"},{"photo_id":"1350840066","filename":"file1"},{"photo_id":"1350840060","filename":"file0"},{"photo_id":"1350840221","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350840221":["hashtag1","hashtag2"]},{"1350840241":["hashtag1","hashtag2"]},{"1350840060":["hashtag1","hashtag2"]},{"1350840066":["hashtag1","hashtag2"]},{"1350840153":["hashtag1","hashtag2"]},{"1350840278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350840221, 1350840241, 1350840060, 1350840066, 1350840153, 1350840278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66221332550049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:27:32.877831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_14_10079.jpg', '/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_25_10394.jpg', '/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_35_10459.jpg', '/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_45_9346.jpg', '/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_55_10352.jpg', '/home/pi/Desktop/images/09042025/18/01/image_09042025_18_02_04_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_14_10079.jpg
/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_25_10394.jpg
/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_35_10459.jpg
/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_45_9346.jpg
/home/pi/Desktop/images/09042025/18/01/image_09042025_18_01_55_10352.jpg
/home/pi/Desktop/images/09042025/18/01/image_09042025_18_02_04_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350840472","1350840520","1350840444","1350840426","1350840497","1350840431"],"photo_ids_order":["1350840426","1350840431","1350840444","1350840472","1350840497","1350840520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b239513f8d9f1866f948e1b925c179fa.jpg","text":"TemporaryFile(/tmp/multipartBody7118266797181106560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219713367,"filename":"image_09042025_18_01_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/4/9/fe6600ba67ff70518b08c8db93206f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3186089933028570721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219713367,"filename":"image_09042025_18_02_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/4/9/70e86576c6f6f5bad2fb957fd5d21083.jpg","text":"TemporaryFile(/tmp/multipartBody6776708098519991592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219713367,"filename":"image_09042025_18_01_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/4/9/5857f3f9f4ca6162dc91bc09654d787a.jpg","text":"TemporaryFile(/tmp/multipartBody6916708802625672012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219713367,"filename":"image_09042025_18_01_14_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a706cc3c391b76ce72aec80287021ae.jpg","text":"TemporaryFile(/tmp/multipartBody7106770308828483503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219713367,"filename":"image_09042025_18_01_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2a9cbf7fd44a3ad1bae7ceea76b72f05.jpg","text":"TemporaryFile(/tmp/multipartBody5872423532745825973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219713367,"filename":"image_09042025_18_01_25_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350840444","file1":"1350840431","file0":"1350840426","file4":"1350840497","file5":"1350840520","file3":"1350840472"},"map_files_photo_id_array":[{"photo_id":"1350840520","filename":"file5"},{"photo_id":"1350840444","filename":"file2"},{"photo_id":"1350840497","filename":"file4"},{"photo_id":"1350840431","filename":"file1"},{"photo_id":"1350840426","filename":"file0"},{"photo_id":"1350840472","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350840472":["hashtag1","hashtag2"]},{"1350840520":["hashtag1","hashtag2"]},{"1350840444":["hashtag1","hashtag2"]},{"1350840426":["hashtag1","hashtag2"]},{"1350840497":["hashtag1","hashtag2"]},{"1350840431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350840472, 1350840520, 1350840444, 1350840426, 1350840497, 1350840431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00919151306152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:28:33.099670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_15_10361.jpg', '/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_25_10381.jpg', '/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_35_9434.jpg', '/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_45_10345.jpg', '/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_54_9388.jpg', '/home/pi/Desktop/images/09042025/18/02/image_09042025_18_03_05_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_15_10361.jpg
/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_25_10381.jpg
/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_35_9434.jpg
/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_45_10345.jpg
/home/pi/Desktop/images/09042025/18/02/image_09042025_18_02_54_9388.jpg
/home/pi/Desktop/images/09042025/18/02/image_09042025_18_03_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":["1350840664","1350840673","1350840655","1350840651","1350840669","1350840660"],"photo_ids_order":["1350840651","1350840655","1350840660","1350840664","1350840669","1350840673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0f959a3d5f463120bf6f7d66cef4e370.jpg","text":"TemporaryFile(/tmp/multipartBody4963105827188865546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219773592,"filename":"image_09042025_18_02_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/4/9/bbb0f4a4c5025b2fb60ed6ae084002f0.jpg","text":"TemporaryFile(/tmp/multipartBody3171936957592349826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219773592,"filename":"image_09042025_18_03_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/4/9/7c092e43a4e0073267892d4d452dee87.jpg","text":"TemporaryFile(/tmp/multipartBody5972215790525791120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219773592,"filename":"image_09042025_18_02_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/4/9/93345018b8fe67c601bfa8c5caee131c.jpg","text":"TemporaryFile(/tmp/multipartBody2357607221483142753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219773592,"filename":"image_09042025_18_02_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23efbd6bd3b12bc9d01b8e7f3aedfe9e.jpg","text":"TemporaryFile(/tmp/multipartBody5325032181210434961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219773592,"filename":"image_09042025_18_02_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/4/9/93d7c6c2a9b123220ffd25f18af7ea1c.jpg","text":"TemporaryFile(/tmp/multipartBody6096899299435100600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219773592,"filename":"image_09042025_18_02_35_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350840660","file1":"1350840655","file0":"1350840651","file4":"1350840669","file5":"1350840673","file3":"1350840664"},"map_files_photo_id_array":[{"photo_id":"1350840673","filename":"file5"},{"photo_id":"1350840660","filename":"file2"},{"photo_id":"1350840669","filename":"file4"},{"photo_id":"1350840655","filename":"file1"},{"photo_id":"1350840651","filename":"file0"},{"photo_id":"1350840664","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350840664":["hashtag1","hashtag2"]},{"1350840673":["hashtag1","hashtag2"]},{"1350840655":["hashtag1","hashtag2"]},{"1350840651":["hashtag1","hashtag2"]},{"1350840669":["hashtag1","hashtag2"]},{"1350840660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350840664, 1350840673, 1350840655, 1350840651, 1350840669, 1350840660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43875288963318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:29:32.419606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_15_10425.jpg', '/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_24_9445.jpg', '/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_35_10333.jpg', '/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_45_10398.jpg', '/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_55_9340.jpg', '/home/pi/Desktop/images/09042025/18/03/image_09042025_18_04_05_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_15_10425.jpg
/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_24_9445.jpg
/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_35_10333.jpg
/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_45_10398.jpg
/home/pi/Desktop/images/09042025/18/03/image_09042025_18_03_55_9340.jpg
/home/pi/Desktop/images/09042025/18/03/image_09042025_18_04_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":["1350840725","1350840707","1350840771","1350840720","1350840714","1350840737"],"photo_ids_order":["1350840707","1350840714","1350840720","1350840725","1350840737","1350840771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4371fb88f32fb4183bac57b1d7825740.jpg","text":"TemporaryFile(/tmp/multipartBody5269622051596097587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219832923,"filename":"image_09042025_18_03_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/4/9/cf60ae86d75d9e36837e94b36fcb4f2e.jpg","text":"TemporaryFile(/tmp/multipartBody5075609465869234928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219832923,"filename":"image_09042025_18_03_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/4/9/9f7466bafc2980fce4d93ff89f332e80.jpg","text":"TemporaryFile(/tmp/multipartBody5018030154715554060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219832923,"filename":"image_09042025_18_04_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/4/9/b41c58a8cf4229f833c59b77e2114893.jpg","text":"TemporaryFile(/tmp/multipartBody8921659186677402446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219832923,"filename":"image_09042025_18_03_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/4/9/c9ad7e2e9b27307911a8e4941ec8743b.jpg","text":"TemporaryFile(/tmp/multipartBody3399556895549069588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219832923,"filename":"image_09042025_18_03_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/043e6e30e2e185ef6aab2c7ed54ab560.jpg","text":"TemporaryFile(/tmp/multipartBody6635861924327913666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219832923,"filename":"image_09042025_18_03_55_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350840720","file1":"1350840714","file0":"1350840707","file4":"1350840737","file5":"1350840771","file3":"1350840725"},"map_files_photo_id_array":[{"photo_id":"1350840771","filename":"file5"},{"photo_id":"1350840720","filename":"file2"},{"photo_id":"1350840737","filename":"file4"},{"photo_id":"1350840714","filename":"file1"},{"photo_id":"1350840707","filename":"file0"},{"photo_id":"1350840725","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350840725":["hashtag1","hashtag2"]},{"1350840707":["hashtag1","hashtag2"]},{"1350840771":["hashtag1","hashtag2"]},{"1350840720":["hashtag1","hashtag2"]},{"1350840714":["hashtag1","hashtag2"]},{"1350840737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350840725, 1350840707, 1350840771, 1350840720, 1350840714, 1350840737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54207515716553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:30:32.481557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_15_10364.jpg', '/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_25_9350.jpg', '/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_35_10414.jpg', '/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_44_9337.jpg', '/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_55_10349.jpg', '/home/pi/Desktop/images/09042025/18/04/image_09042025_18_05_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_15_10364.jpg
/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_25_9350.jpg
/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_35_10414.jpg
/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_44_9337.jpg
/home/pi/Desktop/images/09042025/18/04/image_09042025_18_04_55_10349.jpg
/home/pi/Desktop/images/09042025/18/04/image_09042025_18_05_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":["1350841267","1350841075","1350841159","1350841105","1350841131","1350841049"],"photo_ids_order":["1350841049","1350841075","1350841105","1350841131","1350841159","1350841267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad3d9a9374e2d6b9e46cc2bdc7d1fb95.jpg","text":"TemporaryFile(/tmp/multipartBody7828900665173040644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219892968,"filename":"image_09042025_18_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/4/9/50a655f826604900d0c352dbb852e521.jpg","text":"TemporaryFile(/tmp/multipartBody6689288620794293213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219892968,"filename":"image_09042025_18_04_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/4/9/cfba8685d39e43594bd4a00db9b93871.jpg","text":"TemporaryFile(/tmp/multipartBody5679139878781463311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219892968,"filename":"image_09042025_18_04_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/4/9/45481556a87c872dbefc721c5738ea97.jpg","text":"TemporaryFile(/tmp/multipartBody1393954064910893267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219892968,"filename":"image_09042025_18_04_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/4/9/ed8fc5347a8ef0c61306b0f815ce01ff.jpg","text":"TemporaryFile(/tmp/multipartBody8059956554445582485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219892968,"filename":"image_09042025_18_04_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/4/9/3540a7124c0ccd7881023313a192473c.jpg","text":"TemporaryFile(/tmp/multipartBody7442828747695401861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219892968,"filename":"image_09042025_18_04_15_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350841105","file1":"1350841075","file0":"1350841049","file4":"1350841159","file5":"1350841267","file3":"1350841131"},"map_files_photo_id_array":[{"photo_id":"1350841267","filename":"file5"},{"photo_id":"1350841105","filename":"file2"},{"photo_id":"1350841159","filename":"file4"},{"photo_id":"1350841075","filename":"file1"},{"photo_id":"1350841049","filename":"file0"},{"photo_id":"1350841131","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350841267":["hashtag1","hashtag2"]},{"1350841075":["hashtag1","hashtag2"]},{"1350841159":["hashtag1","hashtag2"]},{"1350841105":["hashtag1","hashtag2"]},{"1350841131":["hashtag1","hashtag2"]},{"1350841049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350841267, 1350841075, 1350841159, 1350841105, 1350841131, 1350841049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.89190483093262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:31:32.660529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_14_9311.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_25_10342.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_35_10390.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_44_9343.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_55_10351.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_06_05_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_14_9311.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_25_10342.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_35_10390.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_44_9343.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_55_10351.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_06_05_10402.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37236690521240234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 19:31:42.756717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_14_9311.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_25_10342.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_35_10390.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_44_9343.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_55_10351.jpg', '/home/pi/Desktop/images/09042025/18/05/image_09042025_18_06_05_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_14_9311.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_25_10342.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_35_10390.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_44_9343.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_05_55_10351.jpg
/home/pi/Desktop/images/09042025/18/05/image_09042025_18_06_05_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350841753","1350841656","1350841605","1350841727","1350841712","1350841681"],"photo_ids_order":["1350841605","1350841656","1350841681","1350841712","1350841727","1350841753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/174b7040a875a0bff94db21fdef0a2d2.jpg","text":"TemporaryFile(/tmp/multipartBody8062490463398619401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219963248,"filename":"image_09042025_18_06_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/4/9/efe817c3b71c0535646e150092b3f847.jpg","text":"TemporaryFile(/tmp/multipartBody8555898574503641482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219963248,"filename":"image_09042025_18_05_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/4/9/853bfd2b764d7032bacc9b1bd920befd.jpg","text":"TemporaryFile(/tmp/multipartBody5990013578042681251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219963248,"filename":"image_09042025_18_05_14_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7d3de7c6e60399104f5849d430e1449.jpg","text":"TemporaryFile(/tmp/multipartBody5549891277967798829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219963248,"filename":"image_09042025_18_05_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/4/9/2dd0049e4930beecbdbcc3d3b947f555.jpg","text":"TemporaryFile(/tmp/multipartBody7900949072073892519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219963248,"filename":"image_09042025_18_05_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/4/9/f6e3517b84029a0c590ba953c5425a1d.jpg","text":"TemporaryFile(/tmp/multipartBody6401452324616634036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744219963248,"filename":"image_09042025_18_05_35_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350841681","file1":"1350841656","file0":"1350841605","file4":"1350841727","file5":"1350841753","file3":"1350841712"},"map_files_photo_id_array":[{"photo_id":"1350841753","filename":"file5"},{"photo_id":"1350841681","filename":"file2"},{"photo_id":"1350841727","filename":"file4"},{"photo_id":"1350841656","filename":"file1"},{"photo_id":"1350841605","filename":"file0"},{"photo_id":"1350841712","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350841753":["hashtag1","hashtag2"]},{"1350841656":["hashtag1","hashtag2"]},{"1350841605":["hashtag1","hashtag2"]},{"1350841727":["hashtag1","hashtag2"]},{"1350841712":["hashtag1","hashtag2"]},{"1350841681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350841753, 1350841656, 1350841605, 1350841727, 1350841712, 1350841681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42409110069275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:32:32.900660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/06/image_09042025_18_06_25_10342.jpg', '/home/pi/Desktop/images/09042025/18/06/image_09042025_18_06_35_10375.jpg', '/home/pi/Desktop/images/09042025/18/06/image_09042025_18_06_45_9387.jpg', '/home/pi/Desktop/images/09042025/18/06/image_09042025_18_06_55_9975.jpg', '/home/pi/Desktop/images/09042025/18/06/image_09042025_18_07_05_10413.jpg', '/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_14_9314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/06/image_09042025_18_06_25_10342.jpg
/home/pi/Desktop/images/09042025/18/06/image_09042025_18_06_35_10375.jpg
/home/pi/Desktop/images/09042025/18/06/image_09042025_18_06_45_9387.jpg
/home/pi/Desktop/images/09042025/18/06/image_09042025_18_06_55_9975.jpg
/home/pi/Desktop/images/09042025/18/06/image_09042025_18_07_05_10413.jpg
/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_14_9314.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350841897","1350842058","1350841995","1350841968","1350842004","1350841919"],"photo_ids_order":["1350841897","1350841919","1350841968","1350841995","1350842004","1350842058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/023d116909a4d59feada0e71a7bb0803.jpg","text":"TemporaryFile(/tmp/multipartBody3084076137031425446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220013478,"filename":"image_09042025_18_06_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/4/9/58286824148635a74c119a27d475f42a.jpg","text":"TemporaryFile(/tmp/multipartBody8846766636504236267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220013478,"filename":"image_09042025_18_07_14_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/655e4fe20a9e29c396b574edc927f46f.jpg","text":"TemporaryFile(/tmp/multipartBody2932464210929081365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220013478,"filename":"image_09042025_18_06_55_9975.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7626713e9c3068bcb0ac0a5b0042331.jpg","text":"TemporaryFile(/tmp/multipartBody5049718655214364766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220013478,"filename":"image_09042025_18_06_45_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c922da23e79525ee956d7a0c0dbbd92e.jpg","text":"TemporaryFile(/tmp/multipartBody4795031769940729505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220013478,"filename":"image_09042025_18_07_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/4/9/df2e212069a2dd1dc4dc463f1477ee1e.jpg","text":"TemporaryFile(/tmp/multipartBody3752807997965816903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220013478,"filename":"image_09042025_18_06_35_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350841968","file1":"1350841919","file0":"1350841897","file4":"1350842004","file5":"1350842058","file3":"1350841995"},"map_files_photo_id_array":[{"photo_id":"1350842058","filename":"file5"},{"photo_id":"1350841968","filename":"file2"},{"photo_id":"1350842004","filename":"file4"},{"photo_id":"1350841919","filename":"file1"},{"photo_id":"1350841897","filename":"file0"},{"photo_id":"1350841995","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350841897":["hashtag1","hashtag2"]},{"1350842058":["hashtag1","hashtag2"]},{"1350841995":["hashtag1","hashtag2"]},{"1350841968":["hashtag1","hashtag2"]},{"1350842004":["hashtag1","hashtag2"]},{"1350841919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350841897, 1350842058, 1350841995, 1350841968, 1350842004, 1350841919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17927169799805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:33:33.140009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_25_10376.jpg', '/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_35_10357.jpg', '/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_44_9340.jpg', '/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_55_10366.jpg', '/home/pi/Desktop/images/09042025/18/07/image_09042025_18_08_05_10460.jpg', '/home/pi/Desktop/images/09042025/18/08/image_09042025_18_08_15_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_25_10376.jpg
/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_35_10357.jpg
/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_44_9340.jpg
/home/pi/Desktop/images/09042025/18/07/image_09042025_18_07_55_10366.jpg
/home/pi/Desktop/images/09042025/18/07/image_09042025_18_08_05_10460.jpg
/home/pi/Desktop/images/09042025/18/08/image_09042025_18_08_15_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350842817","1350842724","1350842894","1350842780","1350843005","1350842753"],"photo_ids_order":["1350842724","1350842753","1350842780","1350842817","1350842894","1350843005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5101fd51b7255ea7b947d48d3ca06da.jpg","text":"TemporaryFile(/tmp/multipartBody4827257220201408053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220073619,"filename":"image_09042025_18_07_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/4/9/0cf4b7c43454fe0f6cea26f4fde80daa.jpg","text":"TemporaryFile(/tmp/multipartBody308892568905818509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220073619,"filename":"image_09042025_18_07_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/4/9/2ffabca01c52046ca2e8903cf445227c.jpg","text":"TemporaryFile(/tmp/multipartBody152230309628051560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220073619,"filename":"image_09042025_18_08_05_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/177c53a2ed1ed188119a23ce09503dec.jpg","text":"TemporaryFile(/tmp/multipartBody1368679561792953157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220073619,"filename":"image_09042025_18_07_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28c7983724b5aa937c52dbeca5afcbca.jpg","text":"TemporaryFile(/tmp/multipartBody9062069839257048376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220073619,"filename":"image_09042025_18_08_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fdcd0b5c8e9481a8e7c64637be57b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1605271311809702529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220073619,"filename":"image_09042025_18_07_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350842780","file1":"1350842753","file0":"1350842724","file4":"1350842894","file5":"1350843005","file3":"1350842817"},"map_files_photo_id_array":[{"photo_id":"1350843005","filename":"file5"},{"photo_id":"1350842780","filename":"file2"},{"photo_id":"1350842894","filename":"file4"},{"photo_id":"1350842753","filename":"file1"},{"photo_id":"1350842724","filename":"file0"},{"photo_id":"1350842817","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350842817":["hashtag1","hashtag2"]},{"1350842724":["hashtag1","hashtag2"]},{"1350842894":["hashtag1","hashtag2"]},{"1350842780":["hashtag1","hashtag2"]},{"1350843005":["hashtag1","hashtag2"]},{"1350842753":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350842817, 1350842724, 1350842894, 1350842780, 1350843005, 1350842753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81376266479492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:34:32.259008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/08/image_09042025_18_08_25_10357.jpg', '/home/pi/Desktop/images/09042025/18/08/image_09042025_18_08_45_10377.jpg', '/home/pi/Desktop/images/09042025/18/08/image_09042025_18_08_55_10359.jpg', '/home/pi/Desktop/images/09042025/18/08/image_09042025_18_09_04_9395.jpg', '/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_15_10343.jpg', '/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_24_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/08/image_09042025_18_08_25_10357.jpg
/home/pi/Desktop/images/09042025/18/08/image_09042025_18_08_45_10377.jpg
/home/pi/Desktop/images/09042025/18/08/image_09042025_18_08_55_10359.jpg
/home/pi/Desktop/images/09042025/18/08/image_09042025_18_09_04_9395.jpg
/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_15_10343.jpg
/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_24_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350843534","1350843476","1350843446","1350843529","1350843379","1350843514"],"photo_ids_order":["1350843379","1350843446","1350843476","1350843514","1350843529","1350843534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77ef7eb943dd087bb046f894f2b78d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6535517195766960441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220132744,"filename":"image_09042025_18_09_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/4/9/cabbf5810b8738e42e7be493ced9671d.jpg","text":"TemporaryFile(/tmp/multipartBody4775671809923116753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220132744,"filename":"image_09042025_18_08_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d201bfd69034cfdfffa4606949712b7.jpg","text":"TemporaryFile(/tmp/multipartBody5262374034843495731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220132744,"filename":"image_09042025_18_08_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/4/9/ad52f9c756844e0a3c9700ad0dbc081f.jpg","text":"TemporaryFile(/tmp/multipartBody6348749847924900838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220132744,"filename":"image_09042025_18_09_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/4/9/b3cd02d6524660896da38333ebd99b69.jpg","text":"TemporaryFile(/tmp/multipartBody8116384722061221698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220132744,"filename":"image_09042025_18_08_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/4/9/27e7e30f10790ee6582d8f68955d0824.jpg","text":"TemporaryFile(/tmp/multipartBody108521698322143469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220132744,"filename":"image_09042025_18_09_04_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350843476","file1":"1350843446","file0":"1350843379","file4":"1350843529","file5":"1350843534","file3":"1350843514"},"map_files_photo_id_array":[{"photo_id":"1350843534","filename":"file5"},{"photo_id":"1350843476","filename":"file2"},{"photo_id":"1350843529","filename":"file4"},{"photo_id":"1350843446","filename":"file1"},{"photo_id":"1350843379","filename":"file0"},{"photo_id":"1350843514","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350843534":["hashtag1","hashtag2"]},{"1350843476":["hashtag1","hashtag2"]},{"1350843446":["hashtag1","hashtag2"]},{"1350843529":["hashtag1","hashtag2"]},{"1350843379":["hashtag1","hashtag2"]},{"1350843514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350843534, 1350843476, 1350843446, 1350843529, 1350843379, 1350843514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09494471549988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:35:32.610452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_35_10359.jpg', '/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_45_10333.jpg', '/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_54_9351.jpg', '/home/pi/Desktop/images/09042025/18/09/image_09042025_18_10_05_10397.jpg', '/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_15_10350.jpg', '/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_24_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_35_10359.jpg
/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_45_10333.jpg
/home/pi/Desktop/images/09042025/18/09/image_09042025_18_09_54_9351.jpg
/home/pi/Desktop/images/09042025/18/09/image_09042025_18_10_05_10397.jpg
/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_15_10350.jpg
/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_24_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350843827","1350843722","1350843830","1350843781","1350843800","1350843763"],"photo_ids_order":["1350843722","1350843763","1350843781","1350843800","1350843827","1350843830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad9324d89356931f1a1bc6dbf57da658.jpg","text":"TemporaryFile(/tmp/multipartBody7022136103335012433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220193098,"filename":"image_09042025_18_10_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/4/9/8a413d5ad490f35f6d976f7eaf5a72df.jpg","text":"TemporaryFile(/tmp/multipartBody109837193845347964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220193098,"filename":"image_09042025_18_09_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/4/9/6e31d5d7b80bc7fcf24641b4b26a01c3.jpg","text":"TemporaryFile(/tmp/multipartBody3539612921200494969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220193098,"filename":"image_09042025_18_10_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/4/9/eb929a0de9fdfb7682b3df14062f6362.jpg","text":"TemporaryFile(/tmp/multipartBody7760114482716125476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220193098,"filename":"image_09042025_18_09_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/4/9/3dc4aaf01dc47f6c93739ec51539dd65.jpg","text":"TemporaryFile(/tmp/multipartBody4482639048940826516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220193098,"filename":"image_09042025_18_10_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/4/9/f3dd47a7fc2060b9ce5d857ad226fb44.jpg","text":"TemporaryFile(/tmp/multipartBody785280122462069026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220193098,"filename":"image_09042025_18_09_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350843781","file1":"1350843763","file0":"1350843722","file4":"1350843827","file5":"1350843830","file3":"1350843800"},"map_files_photo_id_array":[{"photo_id":"1350843830","filename":"file5"},{"photo_id":"1350843781","filename":"file2"},{"photo_id":"1350843827","filename":"file4"},{"photo_id":"1350843763","filename":"file1"},{"photo_id":"1350843722","filename":"file0"},{"photo_id":"1350843800","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350843827":["hashtag1","hashtag2"]},{"1350843722":["hashtag1","hashtag2"]},{"1350843830":["hashtag1","hashtag2"]},{"1350843781":["hashtag1","hashtag2"]},{"1350843800":["hashtag1","hashtag2"]},{"1350843763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350843827, 1350843722, 1350843830, 1350843781, 1350843800, 1350843763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86571383476257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:36:32.697830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_35_10361.jpg', '/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_45_10408.jpg', '/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_55_9337.jpg', '/home/pi/Desktop/images/09042025/18/10/image_09042025_18_11_05_10351.jpg', '/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_14_9336.jpg', '/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_35_10361.jpg
/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_45_10408.jpg
/home/pi/Desktop/images/09042025/18/10/image_09042025_18_10_55_9337.jpg
/home/pi/Desktop/images/09042025/18/10/image_09042025_18_11_05_10351.jpg
/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_14_9336.jpg
/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_25_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":["1350843942","1350843965","1350843953","1350843920","1350843910","1350843913"],"photo_ids_order":["1350843910","1350843913","1350843920","1350843942","1350843953","1350843965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c7f323a496388d4a7b9c4c11b2f2ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1485618301475128788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220253184,"filename":"image_09042025_18_11_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/4/9/0e7ac306ad7626ad5aee719a81f5f301.jpg","text":"TemporaryFile(/tmp/multipartBody730959241841659858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220253184,"filename":"image_09042025_18_11_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/4/9/48ba667c845bb4dbd53b1b0424d3fb3e.jpg","text":"TemporaryFile(/tmp/multipartBody7859531756478700514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220253184,"filename":"image_09042025_18_11_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/4/9/b51aeaa7b23710939394062a340ff57c.jpg","text":"TemporaryFile(/tmp/multipartBody8741216725636115713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220253184,"filename":"image_09042025_18_10_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/4/9/2fee3a2c5d3ee3a5076c87dec1aa7964.jpg","text":"TemporaryFile(/tmp/multipartBody3624913800493024631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220253184,"filename":"image_09042025_18_10_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/4/9/611a451bc025844adc4fec5faf7a48ff.jpg","text":"TemporaryFile(/tmp/multipartBody7647530893150601797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220253184,"filename":"image_09042025_18_10_45_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350843920","file1":"1350843913","file0":"1350843910","file4":"1350843953","file5":"1350843965","file3":"1350843942"},"map_files_photo_id_array":[{"photo_id":"1350843965","filename":"file5"},{"photo_id":"1350843920","filename":"file2"},{"photo_id":"1350843953","filename":"file4"},{"photo_id":"1350843913","filename":"file1"},{"photo_id":"1350843910","filename":"file0"},{"photo_id":"1350843942","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350843942":["hashtag1","hashtag2"]},{"1350843965":["hashtag1","hashtag2"]},{"1350843953":["hashtag1","hashtag2"]},{"1350843920":["hashtag1","hashtag2"]},{"1350843910":["hashtag1","hashtag2"]},{"1350843913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350843942, 1350843965, 1350843953, 1350843920, 1350843910, 1350843913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.311304569244385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:37:33.292498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_35_10361.jpg', '/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_44_9336.jpg', '/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_55_10357.jpg', '/home/pi/Desktop/images/09042025/18/11/image_09042025_18_12_05_10351.jpg', '/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_14_9328.jpg', '/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_25_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_35_10361.jpg
/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_44_9336.jpg
/home/pi/Desktop/images/09042025/18/11/image_09042025_18_11_55_10357.jpg
/home/pi/Desktop/images/09042025/18/11/image_09042025_18_12_05_10351.jpg
/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_14_9328.jpg
/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_25_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":["1350844050","1350844104","1350844082","1350844039","1350844059","1350844149"],"photo_ids_order":["1350844039","1350844050","1350844059","1350844082","1350844104","1350844149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7aff915ea4e55e9c7cacfa7fcc4b705a.jpg","text":"TemporaryFile(/tmp/multipartBody3814614035156867991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220313772,"filename":"image_09042025_18_11_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/4/9/70ba732419fb1b99e6c3df76e62a7452.jpg","text":"TemporaryFile(/tmp/multipartBody5508084772276807422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220313772,"filename":"image_09042025_18_12_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/4/9/4acd0f85d9a79e627ab318e45645a369.jpg","text":"TemporaryFile(/tmp/multipartBody9143441785493678154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220313772,"filename":"image_09042025_18_12_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/4/9/f16af3251c2fc092420b3b608ba11187.jpg","text":"TemporaryFile(/tmp/multipartBody7258696375958900674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220313772,"filename":"image_09042025_18_11_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/743a6d29db92b07979d4c648569e25d3.jpg","text":"TemporaryFile(/tmp/multipartBody3205860240691183234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220313772,"filename":"image_09042025_18_11_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ff658b4660179368e3e09a35be320d8.jpg","text":"TemporaryFile(/tmp/multipartBody8306639021721132194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220313772,"filename":"image_09042025_18_12_25_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350844059","file1":"1350844050","file0":"1350844039","file4":"1350844104","file5":"1350844149","file3":"1350844082"},"map_files_photo_id_array":[{"photo_id":"1350844149","filename":"file5"},{"photo_id":"1350844059","filename":"file2"},{"photo_id":"1350844104","filename":"file4"},{"photo_id":"1350844050","filename":"file1"},{"photo_id":"1350844039","filename":"file0"},{"photo_id":"1350844082","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350844050":["hashtag1","hashtag2"]},{"1350844104":["hashtag1","hashtag2"]},{"1350844082":["hashtag1","hashtag2"]},{"1350844039":["hashtag1","hashtag2"]},{"1350844059":["hashtag1","hashtag2"]},{"1350844149":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350844050, 1350844104, 1350844082, 1350844039, 1350844059, 1350844149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36048913002014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:38:32.505914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_35_10362.jpg', '/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_45_9432.jpg', '/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_55_10456.jpg', '/home/pi/Desktop/images/09042025/18/12/image_09042025_18_13_04_9421.jpg', '/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_15_10330.jpg', '/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_25_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_35_10362.jpg
/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_45_9432.jpg
/home/pi/Desktop/images/09042025/18/12/image_09042025_18_12_55_10456.jpg
/home/pi/Desktop/images/09042025/18/12/image_09042025_18_13_04_9421.jpg
/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_15_10330.jpg
/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_25_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350844224","1350844238","1350844235","1350844208","1350844228","1350844213"],"photo_ids_order":["1350844208","1350844213","1350844224","1350844228","1350844235","1350844238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d65a5e5dc807081759d5c5f4dd47ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2842048882691819187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220372982,"filename":"image_09042025_18_12_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/4/9/56f56ecaef1dca3269eaae30f3f74b2c.jpg","text":"TemporaryFile(/tmp/multipartBody7623961031006303105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220372982,"filename":"image_09042025_18_13_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/4/9/e34ea0b42c4b1a41d8e93bf5356d4775.jpg","text":"TemporaryFile(/tmp/multipartBody6559468041355022787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220372982,"filename":"image_09042025_18_13_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/4/9/d3c12d07897d57f5f2358d691fa4b9e4.jpg","text":"TemporaryFile(/tmp/multipartBody5942403229662448652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220372982,"filename":"image_09042025_18_12_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/4/9/d6649d91f4dc0c21fdc58f7365a606ae.jpg","text":"TemporaryFile(/tmp/multipartBody9133380504756208120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220372982,"filename":"image_09042025_18_13_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/4/9/dbf6929530d5c53d3483ba6803f1cd52.jpg","text":"TemporaryFile(/tmp/multipartBody3674445632609002066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220372982,"filename":"image_09042025_18_12_45_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350844224","file1":"1350844213","file0":"1350844208","file4":"1350844235","file5":"1350844238","file3":"1350844228"},"map_files_photo_id_array":[{"photo_id":"1350844238","filename":"file5"},{"photo_id":"1350844224","filename":"file2"},{"photo_id":"1350844235","filename":"file4"},{"photo_id":"1350844213","filename":"file1"},{"photo_id":"1350844208","filename":"file0"},{"photo_id":"1350844228","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350844224":["hashtag1","hashtag2"]},{"1350844238":["hashtag1","hashtag2"]},{"1350844235":["hashtag1","hashtag2"]},{"1350844208":["hashtag1","hashtag2"]},{"1350844228":["hashtag1","hashtag2"]},{"1350844213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350844224, 1350844238, 1350844235, 1350844208, 1350844228, 1350844213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.875497102737427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:39:32.742432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_35_9393.jpg', '/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_45_10329.jpg', '/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_54_9343.jpg', '/home/pi/Desktop/images/09042025/18/13/image_09042025_18_14_05_10353.jpg', '/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_15_10335.jpg', '/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_24_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_35_9393.jpg
/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_45_10329.jpg
/home/pi/Desktop/images/09042025/18/13/image_09042025_18_13_54_9343.jpg
/home/pi/Desktop/images/09042025/18/13/image_09042025_18_14_05_10353.jpg
/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_15_10335.jpg
/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_24_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350844320","1350844302","1350844331","1350844307","1350844333","1350844327"],"photo_ids_order":["1350844302","1350844307","1350844320","1350844327","1350844331","1350844333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/45a3d0c82f09864ffba42789db6cf9d2.jpg","text":"TemporaryFile(/tmp/multipartBody198920157958576788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220433235,"filename":"image_09042025_18_13_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/4/9/80de81182072869c6491f289df760e06.jpg","text":"TemporaryFile(/tmp/multipartBody6553159312467768630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220433235,"filename":"image_09042025_18_13_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/4/9/87c4e967f4248412370039e32805a955.jpg","text":"TemporaryFile(/tmp/multipartBody8608853741636647302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220433235,"filename":"image_09042025_18_14_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/4/9/67e526bdc2c52340cb3fa05942febaf3.jpg","text":"TemporaryFile(/tmp/multipartBody2267700457027004764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220433235,"filename":"image_09042025_18_13_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/4/9/8b31fc919e634c18b58932adc47fe897.jpg","text":"TemporaryFile(/tmp/multipartBody5752621354650122519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220433235,"filename":"image_09042025_18_14_24_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e842754bd40b1ccb5ca0c47629d07af8.jpg","text":"TemporaryFile(/tmp/multipartBody7322956820847871883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220433235,"filename":"image_09042025_18_14_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350844320","file1":"1350844307","file0":"1350844302","file4":"1350844331","file5":"1350844333","file3":"1350844327"},"map_files_photo_id_array":[{"photo_id":"1350844333","filename":"file5"},{"photo_id":"1350844320","filename":"file2"},{"photo_id":"1350844331","filename":"file4"},{"photo_id":"1350844307","filename":"file1"},{"photo_id":"1350844302","filename":"file0"},{"photo_id":"1350844327","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350844320":["hashtag1","hashtag2"]},{"1350844302":["hashtag1","hashtag2"]},{"1350844331":["hashtag1","hashtag2"]},{"1350844307":["hashtag1","hashtag2"]},{"1350844333":["hashtag1","hashtag2"]},{"1350844327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350844320, 1350844302, 1350844331, 1350844307, 1350844333, 1350844327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35136008262634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:40:32.949552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_35_10361.jpg', '/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_45_10450.jpg', '/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_55_9334.jpg', '/home/pi/Desktop/images/09042025/18/14/image_09042025_18_15_05_10400.jpg', '/home/pi/Desktop/images/09042025/18/15/image_09042025_18_15_14_9407.jpg', '/home/pi/Desktop/images/09042025/18/15/image_09042025_18_15_25_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_35_10361.jpg
/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_45_10450.jpg
/home/pi/Desktop/images/09042025/18/14/image_09042025_18_14_55_9334.jpg
/home/pi/Desktop/images/09042025/18/14/image_09042025_18_15_05_10400.jpg
/home/pi/Desktop/images/09042025/18/15/image_09042025_18_15_14_9407.jpg
/home/pi/Desktop/images/09042025/18/15/image_09042025_18_15_25_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":["1350844401","1350844390","1350844387","1350844408","1350844395","1350844398"],"photo_ids_order":["1350844387","1350844390","1350844395","1350844398","1350844401","1350844408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c37ed90e35fdc79c82bc6fc464771be.jpg","text":"TemporaryFile(/tmp/multipartBody8003973229811549352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220493448,"filename":"image_09042025_18_15_14_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3129a4c6392f416726ce4336844a30cd.jpg","text":"TemporaryFile(/tmp/multipartBody4836886840038638549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220493448,"filename":"image_09042025_18_14_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/4/9/85b27c7b7bbf7847647b6cda9b83f37b.jpg","text":"TemporaryFile(/tmp/multipartBody6497584162564123917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220493448,"filename":"image_09042025_18_14_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/4/9/8e280bec7c7fa0b3d6aeb9cec40c7363.jpg","text":"TemporaryFile(/tmp/multipartBody4639059336775830998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220493448,"filename":"image_09042025_18_15_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/4/9/c6cf28a232c7c2c5d9089fa9f000e228.jpg","text":"TemporaryFile(/tmp/multipartBody4614598916226266109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220493448,"filename":"image_09042025_18_14_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/4/9/e6b7e37a8b75d2656b2a92de41c21071.jpg","text":"TemporaryFile(/tmp/multipartBody1471002868242457186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220493448,"filename":"image_09042025_18_15_05_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350844395","file1":"1350844390","file0":"1350844387","file4":"1350844401","file5":"1350844408","file3":"1350844398"},"map_files_photo_id_array":[{"photo_id":"1350844408","filename":"file5"},{"photo_id":"1350844395","filename":"file2"},{"photo_id":"1350844401","filename":"file4"},{"photo_id":"1350844390","filename":"file1"},{"photo_id":"1350844387","filename":"file0"},{"photo_id":"1350844398","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350844401":["hashtag1","hashtag2"]},{"1350844390":["hashtag1","hashtag2"]},{"1350844387":["hashtag1","hashtag2"]},{"1350844408":["hashtag1","hashtag2"]},{"1350844395":["hashtag1","hashtag2"]},{"1350844398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350844401, 1350844390, 1350844387, 1350844408, 1350844395, 1350844398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77149200439453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:41:32.268015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/15/image_09042025_18_15_35_10439.jpg', '/home/pi/Desktop/images/09042025/18/15/image_09042025_18_15_45_9340.jpg', '/home/pi/Desktop/images/09042025/18/15/image_09042025_18_16_04_9398.jpg', '/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_15_10396.jpg', '/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_24_9474.jpg', '/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/15/image_09042025_18_15_35_10439.jpg
/home/pi/Desktop/images/09042025/18/15/image_09042025_18_15_45_9340.jpg
/home/pi/Desktop/images/09042025/18/15/image_09042025_18_16_04_9398.jpg
/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_15_10396.jpg
/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_24_9474.jpg
/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_35_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":["1350844548","1350844521","1350844538","1350844552","1350844501","1350844587"],"photo_ids_order":["1350844501","1350844521","1350844538","1350844548","1350844552","1350844587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/270148708fe01ebb372a55167f22899d.jpg","text":"TemporaryFile(/tmp/multipartBody1024775274105010486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220552747,"filename":"image_09042025_18_16_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/4/9/aa314a9fb0b9867939ab1582a1a3a771.jpg","text":"TemporaryFile(/tmp/multipartBody6824532995206608623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220552747,"filename":"image_09042025_18_15_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/4/9/8e9c48eb3ee0444bb065121cea396a32.jpg","text":"TemporaryFile(/tmp/multipartBody6705008370350953368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220552747,"filename":"image_09042025_18_16_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/4/9/dd537b70f53068507d4a9a525e879c48.jpg","text":"TemporaryFile(/tmp/multipartBody881990846819259924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220552747,"filename":"image_09042025_18_16_24_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a1ea2426d1c238b405d53ce4b67992e.jpg","text":"TemporaryFile(/tmp/multipartBody6592727358425120953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220552747,"filename":"image_09042025_18_15_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b3df7c35521964195cdb36edccc8b632.jpg","text":"TemporaryFile(/tmp/multipartBody2813872986888490996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220552747,"filename":"image_09042025_18_16_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350844538","file1":"1350844521","file0":"1350844501","file4":"1350844552","file5":"1350844587","file3":"1350844548"},"map_files_photo_id_array":[{"photo_id":"1350844587","filename":"file5"},{"photo_id":"1350844538","filename":"file2"},{"photo_id":"1350844552","filename":"file4"},{"photo_id":"1350844521","filename":"file1"},{"photo_id":"1350844501","filename":"file0"},{"photo_id":"1350844548","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350844548":["hashtag1","hashtag2"]},{"1350844521":["hashtag1","hashtag2"]},{"1350844538":["hashtag1","hashtag2"]},{"1350844552":["hashtag1","hashtag2"]},{"1350844501":["hashtag1","hashtag2"]},{"1350844587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350844548, 1350844521, 1350844538, 1350844552, 1350844501, 1350844587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19495391845703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:42:32.630406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_45_10361.jpg', '/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_54_9408.jpg', '/home/pi/Desktop/images/09042025/18/16/image_09042025_18_17_05_10424.jpg', '/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_15_10391.jpg', '/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_25_9344.jpg', '/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_35_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_45_10361.jpg
/home/pi/Desktop/images/09042025/18/16/image_09042025_18_16_54_9408.jpg
/home/pi/Desktop/images/09042025/18/16/image_09042025_18_17_05_10424.jpg
/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_15_10391.jpg
/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_25_9344.jpg
/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_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":["1350844800","1350844829","1350844756","1350844663","1350844708","1350844692"],"photo_ids_order":["1350844663","1350844692","1350844708","1350844756","1350844800","1350844829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b44653b324b0a34cb4f5b66245af904b.jpg","text":"TemporaryFile(/tmp/multipartBody6775968371808786924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220613107,"filename":"image_09042025_18_17_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/4/9/4d96627493755f3c5c5cf990e6658e94.jpg","text":"TemporaryFile(/tmp/multipartBody4529695403731728395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220613107,"filename":"image_09042025_18_17_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44b43e6a50e5835e5fc3f79dad2fe1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1836497213843358983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220613107,"filename":"image_09042025_18_17_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/4/9/984abf96cdd3853d07ccb0415a362b44.jpg","text":"TemporaryFile(/tmp/multipartBody5150672263293211066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220613107,"filename":"image_09042025_18_16_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/626f608191e77bf008d8cb8a512aace5.jpg","text":"TemporaryFile(/tmp/multipartBody4770617868310517418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220613107,"filename":"image_09042025_18_17_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/4/9/59b74224f4f2b33e6cb5ed5cf27fb9de.jpg","text":"TemporaryFile(/tmp/multipartBody1796077559736983306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220613107,"filename":"image_09042025_18_16_54_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350844708","file1":"1350844692","file0":"1350844663","file4":"1350844800","file5":"1350844829","file3":"1350844756"},"map_files_photo_id_array":[{"photo_id":"1350844829","filename":"file5"},{"photo_id":"1350844708","filename":"file2"},{"photo_id":"1350844800","filename":"file4"},{"photo_id":"1350844692","filename":"file1"},{"photo_id":"1350844663","filename":"file0"},{"photo_id":"1350844756","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350844800":["hashtag1","hashtag2"]},{"1350844829":["hashtag1","hashtag2"]},{"1350844756":["hashtag1","hashtag2"]},{"1350844663":["hashtag1","hashtag2"]},{"1350844708":["hashtag1","hashtag2"]},{"1350844692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350844800, 1350844829, 1350844756, 1350844663, 1350844708, 1350844692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39355969429016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:43:32.883505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_44_9360.jpg', '/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_55_10374.jpg', '/home/pi/Desktop/images/09042025/18/17/image_09042025_18_18_05_10409.jpg', '/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_14_9424.jpg', '/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_25_10362.jpg', '/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_34_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_44_9360.jpg
/home/pi/Desktop/images/09042025/18/17/image_09042025_18_17_55_10374.jpg
/home/pi/Desktop/images/09042025/18/17/image_09042025_18_18_05_10409.jpg
/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_14_9424.jpg
/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_25_10362.jpg
/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_34_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":["1350845081","1350845105","1350845119","1350845061","1350845037","1350845016"],"photo_ids_order":["1350845016","1350845037","1350845061","1350845081","1350845105","1350845119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/371e3c8c9641f6d3348f7d3f0cb2b0b6.jpg","text":"TemporaryFile(/tmp/multipartBody1154657363258916707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220673356,"filename":"image_09042025_18_18_14_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4660348d6c78eda1d2b753667909d31b.jpg","text":"TemporaryFile(/tmp/multipartBody829179071963432075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220673356,"filename":"image_09042025_18_18_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/4/9/c4fe95258f917e5885c869ea87b94da8.jpg","text":"TemporaryFile(/tmp/multipartBody2789370403015477532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220673356,"filename":"image_09042025_18_18_34_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5ae0b734fa81743f564b52ee8e605c69.jpg","text":"TemporaryFile(/tmp/multipartBody6287468291295844237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220673356,"filename":"image_09042025_18_18_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/4/9/acd9e648695a162f8cbb170870d7c2ad.jpg","text":"TemporaryFile(/tmp/multipartBody1696183867542789957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220673356,"filename":"image_09042025_18_17_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/4/9/6f85476b95bf921c73e38e61c642ee17.jpg","text":"TemporaryFile(/tmp/multipartBody7717591423203327574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220673356,"filename":"image_09042025_18_17_44_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350845061","file1":"1350845037","file0":"1350845016","file4":"1350845105","file5":"1350845119","file3":"1350845081"},"map_files_photo_id_array":[{"photo_id":"1350845119","filename":"file5"},{"photo_id":"1350845061","filename":"file2"},{"photo_id":"1350845105","filename":"file4"},{"photo_id":"1350845037","filename":"file1"},{"photo_id":"1350845016","filename":"file0"},{"photo_id":"1350845081","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350845081":["hashtag1","hashtag2"]},{"1350845105":["hashtag1","hashtag2"]},{"1350845119":["hashtag1","hashtag2"]},{"1350845061":["hashtag1","hashtag2"]},{"1350845037":["hashtag1","hashtag2"]},{"1350845016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350845081, 1350845105, 1350845119, 1350845061, 1350845037, 1350845016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.610748291015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:44:33.081654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_45_10423.jpg', '/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_55_10423.jpg', '/home/pi/Desktop/images/09042025/18/18/image_09042025_18_19_05_9425.jpg', '/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_15_10353.jpg', '/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_24_9364.jpg', '/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_35_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_45_10423.jpg
/home/pi/Desktop/images/09042025/18/18/image_09042025_18_18_55_10423.jpg
/home/pi/Desktop/images/09042025/18/18/image_09042025_18_19_05_9425.jpg
/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_15_10353.jpg
/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_24_9364.jpg
/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_35_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":["1350845369","1350845417","1350845415","1350845364","1350845346","1350845412"],"photo_ids_order":["1350845346","1350845364","1350845369","1350845412","1350845415","1350845417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/95cd30c293110202e9d6d4ed6addd0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3483585619534317565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220733559,"filename":"image_09042025_18_19_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/4/9/a7e0bfc84e22f63b8fd62ba46d87343c.jpg","text":"TemporaryFile(/tmp/multipartBody6379616414650623410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220733559,"filename":"image_09042025_18_19_35_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79a0b58406f92e5ec03e8ebb8012aaa6.jpg","text":"TemporaryFile(/tmp/multipartBody4860200559917435632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220733559,"filename":"image_09042025_18_19_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/4/9/684024201d840bdb02da2f28d7338255.jpg","text":"TemporaryFile(/tmp/multipartBody3709930699624491672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220733559,"filename":"image_09042025_18_18_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/4/9/ece528266b310c33a225bf6b3acab91b.jpg","text":"TemporaryFile(/tmp/multipartBody1334497668618253139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220733559,"filename":"image_09042025_18_18_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/4/9/394738b3f5b6ffe3d88c5be982c7a173.jpg","text":"TemporaryFile(/tmp/multipartBody3302872575800958755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220733559,"filename":"image_09042025_18_19_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350845369","file1":"1350845364","file0":"1350845346","file4":"1350845415","file5":"1350845417","file3":"1350845412"},"map_files_photo_id_array":[{"photo_id":"1350845417","filename":"file5"},{"photo_id":"1350845369","filename":"file2"},{"photo_id":"1350845415","filename":"file4"},{"photo_id":"1350845364","filename":"file1"},{"photo_id":"1350845346","filename":"file0"},{"photo_id":"1350845412","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350845369":["hashtag1","hashtag2"]},{"1350845417":["hashtag1","hashtag2"]},{"1350845415":["hashtag1","hashtag2"]},{"1350845364":["hashtag1","hashtag2"]},{"1350845346":["hashtag1","hashtag2"]},{"1350845412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350845369, 1350845417, 1350845415, 1350845364, 1350845346, 1350845412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38046145439148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:45:32.439485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_45_10364.jpg', '/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_54_9414.jpg', '/home/pi/Desktop/images/09042025/18/19/image_09042025_18_20_05_10421.jpg', '/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_14_9417.jpg', '/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_25_10343.jpg', '/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_35_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_45_10364.jpg
/home/pi/Desktop/images/09042025/18/19/image_09042025_18_19_54_9414.jpg
/home/pi/Desktop/images/09042025/18/19/image_09042025_18_20_05_10421.jpg
/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_14_9417.jpg
/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_25_10343.jpg
/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_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":["1350845650","1350845644","1350845664","1350845667","1350845646","1350845607"],"photo_ids_order":["1350845607","1350845644","1350845646","1350845650","1350845664","1350845667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/58ca4b1c00d58b798c448208a28a68d3.jpg","text":"TemporaryFile(/tmp/multipartBody8686981296141817684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220792919,"filename":"image_09042025_18_20_14_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a8053ffce854cb7d5c4b76316577fcfb.jpg","text":"TemporaryFile(/tmp/multipartBody1136477476980156634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220792919,"filename":"image_09042025_18_19_54_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad3679980ba6d1ab59dc3b12ff7c92bd.jpg","text":"TemporaryFile(/tmp/multipartBody337710998975758209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220792919,"filename":"image_09042025_18_20_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/4/9/033ff15b22947603ad7a3e66b80473e9.jpg","text":"TemporaryFile(/tmp/multipartBody8339314927322749871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220792919,"filename":"image_09042025_18_20_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/4/9/5bd8162ac8765cfd58fe2c724654a954.jpg","text":"TemporaryFile(/tmp/multipartBody7650465104032849350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220792919,"filename":"image_09042025_18_20_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/4/9/577fa962bf418193c638045a391dd4c3.jpg","text":"TemporaryFile(/tmp/multipartBody1238206263563037868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220792919,"filename":"image_09042025_18_19_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350845646","file1":"1350845644","file0":"1350845607","file4":"1350845664","file5":"1350845667","file3":"1350845650"},"map_files_photo_id_array":[{"photo_id":"1350845667","filename":"file5"},{"photo_id":"1350845646","filename":"file2"},{"photo_id":"1350845664","filename":"file4"},{"photo_id":"1350845644","filename":"file1"},{"photo_id":"1350845607","filename":"file0"},{"photo_id":"1350845650","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350845650":["hashtag1","hashtag2"]},{"1350845644":["hashtag1","hashtag2"]},{"1350845664":["hashtag1","hashtag2"]},{"1350845667":["hashtag1","hashtag2"]},{"1350845646":["hashtag1","hashtag2"]},{"1350845607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350845650, 1350845644, 1350845664, 1350845667, 1350845646, 1350845607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21668195724487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:46:32.649985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_44_9422.jpg', '/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_55_10365.jpg', '/home/pi/Desktop/images/09042025/18/20/image_09042025_18_21_04_9435.jpg', '/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_15_10332.jpg', '/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_25_10347.jpg', '/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_34_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_44_9422.jpg
/home/pi/Desktop/images/09042025/18/20/image_09042025_18_20_55_10365.jpg
/home/pi/Desktop/images/09042025/18/20/image_09042025_18_21_04_9435.jpg
/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_15_10332.jpg
/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_25_10347.jpg
/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_34_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":["1350845849","1350845893","1350845947","1350845830","1350845922","1350845987"],"photo_ids_order":["1350845830","1350845849","1350845893","1350845922","1350845947","1350845987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eaad7e13de1a46a196a18c98beed35c3.jpg","text":"TemporaryFile(/tmp/multipartBody3826039686710700660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220853128,"filename":"image_09042025_18_20_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/4/9/0315bd5feb0a71dae9a7b88df0cde355.jpg","text":"TemporaryFile(/tmp/multipartBody9100061201755642768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220853128,"filename":"image_09042025_18_21_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/4/9/9336a5f5f08706eb448788c35cd04d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5014330733658832098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220853128,"filename":"image_09042025_18_21_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/4/9/a2169be838377fc01de2b8b85ffef5ae.jpg","text":"TemporaryFile(/tmp/multipartBody5832916979112949022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220853128,"filename":"image_09042025_18_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/4/9/6ce3a4c4a74085c70e1acb43d77111c4.jpg","text":"TemporaryFile(/tmp/multipartBody7627718165848818262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220853128,"filename":"image_09042025_18_21_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/4/9/2ef399499776a5f6b6f698b451b5ae43.jpg","text":"TemporaryFile(/tmp/multipartBody2622710132113986237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220853128,"filename":"image_09042025_18_21_34_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350845893","file1":"1350845849","file0":"1350845830","file4":"1350845947","file5":"1350845987","file3":"1350845922"},"map_files_photo_id_array":[{"photo_id":"1350845987","filename":"file5"},{"photo_id":"1350845893","filename":"file2"},{"photo_id":"1350845947","filename":"file4"},{"photo_id":"1350845849","filename":"file1"},{"photo_id":"1350845830","filename":"file0"},{"photo_id":"1350845922","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350845849":["hashtag1","hashtag2"]},{"1350845893":["hashtag1","hashtag2"]},{"1350845947":["hashtag1","hashtag2"]},{"1350845830":["hashtag1","hashtag2"]},{"1350845922":["hashtag1","hashtag2"]},{"1350845987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350845849, 1350845893, 1350845947, 1350845830, 1350845922, 1350845987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.127235412597656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:47:32.969231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_45_10340.jpg', '/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_55_10351.jpg', '/home/pi/Desktop/images/09042025/18/21/image_09042025_18_22_04_9420.jpg', '/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_15_10336.jpg', '/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_24_9446.jpg', '/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_35_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_45_10340.jpg
/home/pi/Desktop/images/09042025/18/21/image_09042025_18_21_55_10351.jpg
/home/pi/Desktop/images/09042025/18/21/image_09042025_18_22_04_9420.jpg
/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_15_10336.jpg
/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_24_9446.jpg
/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_35_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350846325","1350846276","1350846306","1350846296","1350846338","1350846269"],"photo_ids_order":["1350846269","1350846276","1350846296","1350846306","1350846325","1350846338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f80e7ce992dcd0127154c97c62737c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7631191216881945523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220913458,"filename":"image_09042025_18_22_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/4/9/2f5766e465ab7b8767f7d628205f8a1b.jpg","text":"TemporaryFile(/tmp/multipartBody9100835055134200470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220913458,"filename":"image_09042025_18_21_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/4/9/c2da168ad24aa0d750a3ed8a2498f14b.jpg","text":"TemporaryFile(/tmp/multipartBody6783107057336553405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220913458,"filename":"image_09042025_18_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/4/9/4b581d3880f6e28fea39aa667ef6b98e.jpg","text":"TemporaryFile(/tmp/multipartBody5993990911812054885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220913458,"filename":"image_09042025_18_22_04_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d0349764a1ae2c5f40fc6cb37ed027c1.jpg","text":"TemporaryFile(/tmp/multipartBody3997967756899287527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220913458,"filename":"image_09042025_18_22_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/4/9/9c000c9254995dcac2ad703c0239c953.jpg","text":"TemporaryFile(/tmp/multipartBody4941149463460451937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220913458,"filename":"image_09042025_18_21_45_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350846296","file1":"1350846276","file0":"1350846269","file4":"1350846325","file5":"1350846338","file3":"1350846306"},"map_files_photo_id_array":[{"photo_id":"1350846338","filename":"file5"},{"photo_id":"1350846296","filename":"file2"},{"photo_id":"1350846325","filename":"file4"},{"photo_id":"1350846276","filename":"file1"},{"photo_id":"1350846269","filename":"file0"},{"photo_id":"1350846306","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350846325":["hashtag1","hashtag2"]},{"1350846276":["hashtag1","hashtag2"]},{"1350846306":["hashtag1","hashtag2"]},{"1350846296":["hashtag1","hashtag2"]},{"1350846338":["hashtag1","hashtag2"]},{"1350846269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350846325, 1350846276, 1350846306, 1350846296, 1350846338, 1350846269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.820552825927734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:48:33.208466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_45_10352.jpg', '/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_54_9358.jpg', '/home/pi/Desktop/images/09042025/18/22/image_09042025_18_23_05_10349.jpg', '/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_15_10332.jpg', '/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_24_9435.jpg', '/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_45_10352.jpg
/home/pi/Desktop/images/09042025/18/22/image_09042025_18_22_54_9358.jpg
/home/pi/Desktop/images/09042025/18/22/image_09042025_18_23_05_10349.jpg
/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_15_10332.jpg
/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_24_9435.jpg
/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_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":["1350846484","1350846511","1350846390","1350846525","1350846432","1350846386"],"photo_ids_order":["1350846386","1350846390","1350846432","1350846484","1350846511","1350846525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e904bb50197702760c02e6a337bb0533.jpg","text":"TemporaryFile(/tmp/multipartBody8548668913432728784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220973683,"filename":"image_09042025_18_23_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b6675769fdda8b2e7ce14cbff90649fd.jpg","text":"TemporaryFile(/tmp/multipartBody844910573049428919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220973683,"filename":"image_09042025_18_23_24_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bedd8717387123823c109f61a90fae36.jpg","text":"TemporaryFile(/tmp/multipartBody369613729024177531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220973683,"filename":"image_09042025_18_22_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/4/9/263adb940f7178c80792d01b53b43131.jpg","text":"TemporaryFile(/tmp/multipartBody3001439533368286402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220973683,"filename":"image_09042025_18_23_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/4/9/6daac9316e1d2a51c893b1f38cf04eaf.jpg","text":"TemporaryFile(/tmp/multipartBody5841423913968981023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220973683,"filename":"image_09042025_18_23_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/4/9/0bb56c93649c563cb0606060b8a676de.jpg","text":"TemporaryFile(/tmp/multipartBody2799969216988975826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744220973683,"filename":"image_09042025_18_22_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350846432","file1":"1350846390","file0":"1350846386","file4":"1350846511","file5":"1350846525","file3":"1350846484"},"map_files_photo_id_array":[{"photo_id":"1350846525","filename":"file5"},{"photo_id":"1350846432","filename":"file2"},{"photo_id":"1350846511","filename":"file4"},{"photo_id":"1350846390","filename":"file1"},{"photo_id":"1350846386","filename":"file0"},{"photo_id":"1350846484","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350846484":["hashtag1","hashtag2"]},{"1350846511":["hashtag1","hashtag2"]},{"1350846390":["hashtag1","hashtag2"]},{"1350846525":["hashtag1","hashtag2"]},{"1350846432":["hashtag1","hashtag2"]},{"1350846386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350846484, 1350846511, 1350846390, 1350846525, 1350846432, 1350846386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26495099067688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:49:32.302913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_45_10395.jpg', '/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_55_9354.jpg', '/home/pi/Desktop/images/09042025/18/23/image_09042025_18_24_05_10364.jpg', '/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_14_9417.jpg', '/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_25_10403.jpg', '/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_35_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_45_10395.jpg
/home/pi/Desktop/images/09042025/18/23/image_09042025_18_23_55_9354.jpg
/home/pi/Desktop/images/09042025/18/23/image_09042025_18_24_05_10364.jpg
/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_14_9417.jpg
/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_25_10403.jpg
/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_35_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":["1350846598","1350846613","1350846616","1350846619","1350846593","1350846596"],"photo_ids_order":["1350846593","1350846596","1350846598","1350846613","1350846616","1350846619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85523ff63062d53163f648e25ad046bf.jpg","text":"TemporaryFile(/tmp/multipartBody4960177100970529650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221032774,"filename":"image_09042025_18_24_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/4/9/5011f2fe2a7ad4384babd4c1c116659a.jpg","text":"TemporaryFile(/tmp/multipartBody1463985896241576844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221032774,"filename":"image_09042025_18_24_14_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98d32b4cb3d177d4bd442b527c025aa0.jpg","text":"TemporaryFile(/tmp/multipartBody8448291485110650090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221032774,"filename":"image_09042025_18_24_25_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a9980588a6f22c61cd3c547e7ae2b31.jpg","text":"TemporaryFile(/tmp/multipartBody4118500223059532479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221032774,"filename":"image_09042025_18_24_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57a649a385fbb350e8a7673de310ba97.jpg","text":"TemporaryFile(/tmp/multipartBody7397213969349054458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221032774,"filename":"image_09042025_18_23_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/986e6f4bb75d88e7fadb3ddab387cb83.jpg","text":"TemporaryFile(/tmp/multipartBody8188284955351529523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221032774,"filename":"image_09042025_18_23_55_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350846598","file1":"1350846596","file0":"1350846593","file4":"1350846616","file5":"1350846619","file3":"1350846613"},"map_files_photo_id_array":[{"photo_id":"1350846619","filename":"file5"},{"photo_id":"1350846598","filename":"file2"},{"photo_id":"1350846616","filename":"file4"},{"photo_id":"1350846596","filename":"file1"},{"photo_id":"1350846593","filename":"file0"},{"photo_id":"1350846613","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350846598":["hashtag1","hashtag2"]},{"1350846613":["hashtag1","hashtag2"]},{"1350846616":["hashtag1","hashtag2"]},{"1350846619":["hashtag1","hashtag2"]},{"1350846593":["hashtag1","hashtag2"]},{"1350846596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350846598, 1350846613, 1350846616, 1350846619, 1350846593, 1350846596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0246787071228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:50:32.570861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_44_9378.jpg', '/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_55_10375.jpg', '/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_15_10326.jpg', '/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_25_10359.jpg', '/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_34_9354.jpg', '/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_45_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_44_9378.jpg
/home/pi/Desktop/images/09042025/18/24/image_09042025_18_24_55_10375.jpg
/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_15_10326.jpg
/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_25_10359.jpg
/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_34_9354.jpg
/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_45_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350846652","1350846661","1350846663","1350846647","1350846656","1350846659"],"photo_ids_order":["1350846647","1350846652","1350846656","1350846659","1350846661","1350846663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b488259602b9aafff57c4082fd8ee439.jpg","text":"TemporaryFile(/tmp/multipartBody6581336178573870291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221093045,"filename":"image_09042025_18_24_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/4/9/100555f1bc3a8b9f09477a0cb0246294.jpg","text":"TemporaryFile(/tmp/multipartBody6312842305854491900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221093045,"filename":"image_09042025_18_25_34_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c884bc47876579167e634abda0f89df.jpg","text":"TemporaryFile(/tmp/multipartBody326093339309426067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221093045,"filename":"image_09042025_18_25_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/214634834a34ef0cfa5aa19b514f2fef.jpg","text":"TemporaryFile(/tmp/multipartBody3931282359400353857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221093045,"filename":"image_09042025_18_24_44_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69ca29b058d9d26973bc3af46debccae.jpg","text":"TemporaryFile(/tmp/multipartBody6127516659960235835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221093045,"filename":"image_09042025_18_25_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/4/9/ac9b4404123a92a388efa625ca26b2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6771522501679822399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221093045,"filename":"image_09042025_18_25_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350846656","file1":"1350846652","file0":"1350846647","file4":"1350846661","file5":"1350846663","file3":"1350846659"},"map_files_photo_id_array":[{"photo_id":"1350846663","filename":"file5"},{"photo_id":"1350846656","filename":"file2"},{"photo_id":"1350846661","filename":"file4"},{"photo_id":"1350846652","filename":"file1"},{"photo_id":"1350846647","filename":"file0"},{"photo_id":"1350846659","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350846652":["hashtag1","hashtag2"]},{"1350846661":["hashtag1","hashtag2"]},{"1350846663":["hashtag1","hashtag2"]},{"1350846647":["hashtag1","hashtag2"]},{"1350846656":["hashtag1","hashtag2"]},{"1350846659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350846652, 1350846661, 1350846663, 1350846647, 1350846656, 1350846659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6561279296875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:51:32.795170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_55_10354.jpg', '/home/pi/Desktop/images/09042025/18/25/image_09042025_18_26_04_9417.jpg', '/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_15_10364.jpg', '/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_24_9443.jpg', '/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_35_10361.jpg', '/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_45_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/25/image_09042025_18_25_55_10354.jpg
/home/pi/Desktop/images/09042025/18/25/image_09042025_18_26_04_9417.jpg
/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_15_10364.jpg
/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_24_9443.jpg
/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_35_10361.jpg
/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_45_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350846704","1350846697","1350846715","1350846718","1350846708","1350846701"],"photo_ids_order":["1350846697","1350846701","1350846704","1350846708","1350846715","1350846718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/47945cb4bbdeb7354c530b2fdd1d127c.jpg","text":"TemporaryFile(/tmp/multipartBody922594092067203220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221153246,"filename":"image_09042025_18_26_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/4/9/51be3e292f7fc7d95bae1b12570e9d68.jpg","text":"TemporaryFile(/tmp/multipartBody6601083900783728910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221153246,"filename":"image_09042025_18_25_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/4/9/76d5322be2b3ae1c5dcd59ca7ba9300a.jpg","text":"TemporaryFile(/tmp/multipartBody3015737556503690708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221153246,"filename":"image_09042025_18_26_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/4/9/113940dfc52f47390b94aeeb923a7398.jpg","text":"TemporaryFile(/tmp/multipartBody7693544960979830996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221153246,"filename":"image_09042025_18_26_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de0bc610f2359e072e388f4f9333c639.jpg","text":"TemporaryFile(/tmp/multipartBody1696127728504550645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221153246,"filename":"image_09042025_18_26_24_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/003bcbf071020b342d31b5a70ea2cd98.jpg","text":"TemporaryFile(/tmp/multipartBody6637418355327720500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221153246,"filename":"image_09042025_18_26_04_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350846704","file1":"1350846701","file0":"1350846697","file4":"1350846715","file5":"1350846718","file3":"1350846708"},"map_files_photo_id_array":[{"photo_id":"1350846718","filename":"file5"},{"photo_id":"1350846704","filename":"file2"},{"photo_id":"1350846715","filename":"file4"},{"photo_id":"1350846701","filename":"file1"},{"photo_id":"1350846697","filename":"file0"},{"photo_id":"1350846708","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350846704":["hashtag1","hashtag2"]},{"1350846697":["hashtag1","hashtag2"]},{"1350846715":["hashtag1","hashtag2"]},{"1350846718":["hashtag1","hashtag2"]},{"1350846708":["hashtag1","hashtag2"]},{"1350846701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350846704, 1350846697, 1350846715, 1350846718, 1350846708, 1350846701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.994139432907104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:52:32.922821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_54_9343.jpg', '/home/pi/Desktop/images/09042025/18/26/image_09042025_18_27_05_10339.jpg', '/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_15_10322.jpg', '/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_24_9433.jpg', '/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_35_10345.jpg', '/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_44_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/26/image_09042025_18_26_54_9343.jpg
/home/pi/Desktop/images/09042025/18/26/image_09042025_18_27_05_10339.jpg
/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_15_10322.jpg
/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_24_9433.jpg
/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_35_10345.jpg
/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_44_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":["1350846793","1350846823","1350846795","1350846789","1350846816","1350846810"],"photo_ids_order":["1350846789","1350846793","1350846795","1350846810","1350846816","1350846823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3775082a1cef979aa6be1f036585754.jpg","text":"TemporaryFile(/tmp/multipartBody5544138644702601941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221213371,"filename":"image_09042025_18_27_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/4/9/869ca2d5902c682212662ada5f43f562.jpg","text":"TemporaryFile(/tmp/multipartBody1894686990949578191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221213371,"filename":"image_09042025_18_27_44_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/290cada7d52d38c451753159c1192b65.jpg","text":"TemporaryFile(/tmp/multipartBody992580617136696101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221213371,"filename":"image_09042025_18_27_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/4/9/4b53d9b8d4798f2e8d0d685d543c5d08.jpg","text":"TemporaryFile(/tmp/multipartBody1497385591684442866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221213371,"filename":"image_09042025_18_26_54_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52a4da5eaa44cc5cf03f08d183f57a38.jpg","text":"TemporaryFile(/tmp/multipartBody7556795402054016016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221213371,"filename":"image_09042025_18_27_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/4/9/1afbb69ec3f8d9e643c5406c2b85caf7.jpg","text":"TemporaryFile(/tmp/multipartBody8464152954323525468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221213371,"filename":"image_09042025_18_27_24_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350846795","file1":"1350846793","file0":"1350846789","file4":"1350846816","file5":"1350846823","file3":"1350846810"},"map_files_photo_id_array":[{"photo_id":"1350846823","filename":"file5"},{"photo_id":"1350846795","filename":"file2"},{"photo_id":"1350846816","filename":"file4"},{"photo_id":"1350846793","filename":"file1"},{"photo_id":"1350846789","filename":"file0"},{"photo_id":"1350846810","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350846793":["hashtag1","hashtag2"]},{"1350846823":["hashtag1","hashtag2"]},{"1350846795":["hashtag1","hashtag2"]},{"1350846789":["hashtag1","hashtag2"]},{"1350846816":["hashtag1","hashtag2"]},{"1350846810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350846793, 1350846823, 1350846795, 1350846789, 1350846816, 1350846810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.019810438156128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:53:33.149158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_55_10389.jpg', '/home/pi/Desktop/images/09042025/18/27/image_09042025_18_28_05_10404.jpg', '/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_14_9411.jpg', '/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_25_10363.jpg', '/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_34_9416.jpg', '/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_45_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/27/image_09042025_18_27_55_10389.jpg
/home/pi/Desktop/images/09042025/18/27/image_09042025_18_28_05_10404.jpg
/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_14_9411.jpg
/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_25_10363.jpg
/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_34_9416.jpg
/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350846976","1350847012","1350847050","1350846928","1350846870","1350846951"],"photo_ids_order":["1350846870","1350846928","1350846951","1350846976","1350847012","1350847050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c2a3c384da33fcf53755fe6f5dd8ccb.jpg","text":"TemporaryFile(/tmp/multipartBody7431123206205178025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221273663,"filename":"image_09042025_18_28_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/4/9/78ff7e1b51d09bff8c11b419f0edb632.jpg","text":"TemporaryFile(/tmp/multipartBody602281555676012965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221273663,"filename":"image_09042025_18_28_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/4/9/9a5bea6ceef38fa5d2da8462fa5cb173.jpg","text":"TemporaryFile(/tmp/multipartBody465307099881517228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221273663,"filename":"image_09042025_18_28_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/4/9/c0d8cb37c00c8f5135b29fff53ca3bfc.jpg","text":"TemporaryFile(/tmp/multipartBody2069937408382067737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221273663,"filename":"image_09042025_18_28_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/4/9/36b09c6968ad4529719b0c6cbe6b438d.jpg","text":"TemporaryFile(/tmp/multipartBody5827838616130516263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221273663,"filename":"image_09042025_18_27_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09c3a7b5cb3efbbbe4e8e50be3102a9c.jpg","text":"TemporaryFile(/tmp/multipartBody7119556686326025798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221273663,"filename":"image_09042025_18_28_14_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350846951","file1":"1350846928","file0":"1350846870","file4":"1350847012","file5":"1350847050","file3":"1350846976"},"map_files_photo_id_array":[{"photo_id":"1350847050","filename":"file5"},{"photo_id":"1350846951","filename":"file2"},{"photo_id":"1350847012","filename":"file4"},{"photo_id":"1350846928","filename":"file1"},{"photo_id":"1350846870","filename":"file0"},{"photo_id":"1350846976","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350846976":["hashtag1","hashtag2"]},{"1350847012":["hashtag1","hashtag2"]},{"1350847050":["hashtag1","hashtag2"]},{"1350846928":["hashtag1","hashtag2"]},{"1350846870":["hashtag1","hashtag2"]},{"1350846951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350846976, 1350847012, 1350847050, 1350846928, 1350846870, 1350846951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53319811820984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:54:32.354761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_55_10355.jpg', '/home/pi/Desktop/images/09042025/18/28/image_09042025_18_29_04_9351.jpg', '/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_15_10415.jpg', '/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_25_10373.jpg', '/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_34_9338.jpg', '/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/28/image_09042025_18_28_55_10355.jpg
/home/pi/Desktop/images/09042025/18/28/image_09042025_18_29_04_9351.jpg
/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_15_10415.jpg
/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_25_10373.jpg
/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_34_9338.jpg
/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_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":["1350847174","1350847219","1350847213","1350847164","1350847169","1350847217"],"photo_ids_order":["1350847164","1350847169","1350847174","1350847213","1350847217","1350847219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1caa5b4503b59972e22a8676cbd7d313.jpg","text":"TemporaryFile(/tmp/multipartBody8674798581428946948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221332893,"filename":"image_09042025_18_29_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/314791f3c8cd58e38e87f19594125012.jpg","text":"TemporaryFile(/tmp/multipartBody9039768044504315491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221332893,"filename":"image_09042025_18_29_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/4/9/fd73e0834cadefe59b5eeeb877a8e766.jpg","text":"TemporaryFile(/tmp/multipartBody3652617638452149242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221332893,"filename":"image_09042025_18_29_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/994a0b00da236af75d44e4478af87b9f.jpg","text":"TemporaryFile(/tmp/multipartBody1202409353958843201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221332893,"filename":"image_09042025_18_28_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/4/9/e8924463a5ef397e5b606358fad5f829.jpg","text":"TemporaryFile(/tmp/multipartBody5899100085494956486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221332893,"filename":"image_09042025_18_29_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/4/9/f6ed9ae1cb4e5d4892838b1a861c9259.jpg","text":"TemporaryFile(/tmp/multipartBody1256428121367654826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221332893,"filename":"image_09042025_18_29_34_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350847174","file1":"1350847169","file0":"1350847164","file4":"1350847217","file5":"1350847219","file3":"1350847213"},"map_files_photo_id_array":[{"photo_id":"1350847219","filename":"file5"},{"photo_id":"1350847174","filename":"file2"},{"photo_id":"1350847217","filename":"file4"},{"photo_id":"1350847169","filename":"file1"},{"photo_id":"1350847164","filename":"file0"},{"photo_id":"1350847213","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350847174":["hashtag1","hashtag2"]},{"1350847219":["hashtag1","hashtag2"]},{"1350847213":["hashtag1","hashtag2"]},{"1350847164":["hashtag1","hashtag2"]},{"1350847169":["hashtag1","hashtag2"]},{"1350847217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350847174, 1350847219, 1350847213, 1350847164, 1350847169, 1350847217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.391807317733765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:55:32.529815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_55_10408.jpg', '/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_15_10396.jpg', '/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_24_9439.jpg', '/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_35_10338.jpg', '/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_44_9469.jpg', '/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/29/image_09042025_18_29_55_10408.jpg
/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_15_10396.jpg
/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_24_9439.jpg
/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_35_10338.jpg
/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_44_9469.jpg
/home/pi/Desktop/images/09042025/18/30/image_09042025_18_30_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":["1350847330","1350847318","1350847274","1350847310","1350847291","1350847285"],"photo_ids_order":["1350847274","1350847285","1350847291","1350847310","1350847318","1350847330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/960bc432463fc130198261fa80643aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5077599791361056242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221393007,"filename":"image_09042025_18_30_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/4/9/be1cd6d664eb5269e7835209327ad90c.jpg","text":"TemporaryFile(/tmp/multipartBody8326487099993274809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221393007,"filename":"image_09042025_18_30_44_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/570cf755f517947c27a08db316ff27c4.jpg","text":"TemporaryFile(/tmp/multipartBody1831222211545571388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221393007,"filename":"image_09042025_18_29_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/4/9/16ebe422aa1d60f2cd71cec0d22152a9.jpg","text":"TemporaryFile(/tmp/multipartBody5299162738739036988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221393007,"filename":"image_09042025_18_30_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/4/9/1c0a27c5893b71b225892eafd6f69312.jpg","text":"TemporaryFile(/tmp/multipartBody5423257772689726373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221393007,"filename":"image_09042025_18_30_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/4/9/002f1cbbab7cdea92ad1ad376734cf72.jpg","text":"TemporaryFile(/tmp/multipartBody263790785614133440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221393007,"filename":"image_09042025_18_30_15_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350847291","file1":"1350847285","file0":"1350847274","file4":"1350847318","file5":"1350847330","file3":"1350847310"},"map_files_photo_id_array":[{"photo_id":"1350847330","filename":"file5"},{"photo_id":"1350847291","filename":"file2"},{"photo_id":"1350847318","filename":"file4"},{"photo_id":"1350847285","filename":"file1"},{"photo_id":"1350847274","filename":"file0"},{"photo_id":"1350847310","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350847330":["hashtag1","hashtag2"]},{"1350847318":["hashtag1","hashtag2"]},{"1350847274":["hashtag1","hashtag2"]},{"1350847310":["hashtag1","hashtag2"]},{"1350847291":["hashtag1","hashtag2"]},{"1350847285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350847330, 1350847318, 1350847274, 1350847310, 1350847291, 1350847285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41771411895752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:56:32.763255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/30/image_09042025_18_31_05_10353.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_14_9397.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_25_10372.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_35_10358.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_44_9360.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_55_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/30/image_09042025_18_31_05_10353.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_14_9397.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_25_10372.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_35_10358.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_44_9360.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_55_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37656545639038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 19:56:42.755541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/30/image_09042025_18_31_05_10353.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_14_9397.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_25_10372.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_35_10358.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_44_9360.jpg', '/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_55_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/30/image_09042025_18_31_05_10353.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_14_9397.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_25_10372.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_35_10358.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_44_9360.jpg
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_31_55_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":["1350847392","1350847377","1350847385","1350847388","1350847381","1350847400"],"photo_ids_order":["1350847377","1350847381","1350847385","1350847388","1350847392","1350847400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8de248dbedf2bbb0cf0e729e5dd7a7b.jpg","text":"TemporaryFile(/tmp/multipartBody1648212883606546506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221463239,"filename":"image_09042025_18_31_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/4/9/f07e4bab38873b211ae0278f91e34448.jpg","text":"TemporaryFile(/tmp/multipartBody2494174587210622860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221463239,"filename":"image_09042025_18_31_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/258ea3db867eda217804525243aba60b.jpg","text":"TemporaryFile(/tmp/multipartBody7334709949377323604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221463239,"filename":"image_09042025_18_31_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/4/9/8b690c394be4a18d5d175e47b5402f07.jpg","text":"TemporaryFile(/tmp/multipartBody2356997190510570120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221463239,"filename":"image_09042025_18_31_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/4/9/a2d891c0d6db259eb2348da38a793acd.jpg","text":"TemporaryFile(/tmp/multipartBody5801033407148748461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221463239,"filename":"image_09042025_18_31_14_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1e66f662873a018007795a3226b00b7.jpg","text":"TemporaryFile(/tmp/multipartBody236695166126696177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221463239,"filename":"image_09042025_18_31_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350847385","file1":"1350847381","file0":"1350847377","file4":"1350847392","file5":"1350847400","file3":"1350847388"},"map_files_photo_id_array":[{"photo_id":"1350847400","filename":"file5"},{"photo_id":"1350847385","filename":"file2"},{"photo_id":"1350847392","filename":"file4"},{"photo_id":"1350847381","filename":"file1"},{"photo_id":"1350847377","filename":"file0"},{"photo_id":"1350847388","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350847392":["hashtag1","hashtag2"]},{"1350847377":["hashtag1","hashtag2"]},{"1350847385":["hashtag1","hashtag2"]},{"1350847388":["hashtag1","hashtag2"]},{"1350847381":["hashtag1","hashtag2"]},{"1350847400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350847392, 1350847377, 1350847385, 1350847388, 1350847381, 1350847400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58638334274292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:57:33.090525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/31/image_09042025_18_32_04_9463.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_15_10321.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_25_10361.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_45_10438.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_54_9436.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_33_05_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_32_04_9463.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_15_10321.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_25_10361.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_45_10438.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_54_9436.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_33_05_10346.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 19:59:04.459222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/31/image_09042025_18_32_04_9463.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_15_10321.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_25_10361.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_45_10438.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_54_9436.jpg', '/home/pi/Desktop/images/09042025/18/32/image_09042025_18_33_05_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/31/image_09042025_18_32_04_9463.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_15_10321.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_25_10361.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_45_10438.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_32_54_9436.jpg
/home/pi/Desktop/images/09042025/18/32/image_09042025_18_33_05_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":["1350848751","1350848436","1350848700","1350848489","1350848540","1350848581"],"photo_ids_order":["1350848436","1350848489","1350848540","1350848581","1350848700","1350848751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3723cbc54c51fd752383fa2d011d76da.jpg","text":"TemporaryFile(/tmp/multipartBody6838316340734552179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221605079,"filename":"image_09042025_18_33_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37f70c0ea14c37b8f3b6ad09f1216743.jpg","text":"TemporaryFile(/tmp/multipartBody2975370543127491783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221605079,"filename":"image_09042025_18_32_04_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bbe04aad46f3d87f18dfbedd244ea01b.jpg","text":"TemporaryFile(/tmp/multipartBody6086284807468488788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221605079,"filename":"image_09042025_18_32_54_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/274012a61afa94a7a920f342d15da34d.jpg","text":"TemporaryFile(/tmp/multipartBody5170443113074274518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221605079,"filename":"image_09042025_18_32_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/4/9/d17845253f11ab12c22ccbb21de92392.jpg","text":"TemporaryFile(/tmp/multipartBody1525143331473020306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221605079,"filename":"image_09042025_18_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/4/9/4e4e6fd9c376232e3040fd6cbeb427bd.jpg","text":"TemporaryFile(/tmp/multipartBody7940567483203956815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221605079,"filename":"image_09042025_18_32_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350848540","file1":"1350848489","file0":"1350848436","file4":"1350848700","file5":"1350848751","file3":"1350848581"},"map_files_photo_id_array":[{"photo_id":"1350848751","filename":"file5"},{"photo_id":"1350848540","filename":"file2"},{"photo_id":"1350848700","filename":"file4"},{"photo_id":"1350848489","filename":"file1"},{"photo_id":"1350848436","filename":"file0"},{"photo_id":"1350848581","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350848751":["hashtag1","hashtag2"]},{"1350848436":["hashtag1","hashtag2"]},{"1350848700":["hashtag1","hashtag2"]},{"1350848489":["hashtag1","hashtag2"]},{"1350848540":["hashtag1","hashtag2"]},{"1350848581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350848751, 1350848436, 1350848700, 1350848489, 1350848540, 1350848581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21871638298035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 19:59:52.872906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_15_10402.jpg', '/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_24_9441.jpg', '/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_35_10362.jpg', '/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_44_9400.jpg', '/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_55_10355.jpg', '/home/pi/Desktop/images/09042025/18/33/image_09042025_18_34_05_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_15_10402.jpg
/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_24_9441.jpg
/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_35_10362.jpg
/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_44_9400.jpg
/home/pi/Desktop/images/09042025/18/33/image_09042025_18_33_55_10355.jpg
/home/pi/Desktop/images/09042025/18/33/image_09042025_18_34_05_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":["1350849057","1350849201","1350849138","1350849108","1350849184","1350849232"],"photo_ids_order":["1350849057","1350849108","1350849138","1350849184","1350849201","1350849232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/735743f030261b79de0a5c3c94cd7938.jpg","text":"TemporaryFile(/tmp/multipartBody8423072729456000003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221653368,"filename":"image_09042025_18_33_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/4/9/b7c3712e788558e6f10e1afb210e41cb.jpg","text":"TemporaryFile(/tmp/multipartBody1937232380019876932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221653368,"filename":"image_09042025_18_33_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/4/9/372442e0280cecaf9440cac9390e2cd3.jpg","text":"TemporaryFile(/tmp/multipartBody4691481373851352260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221653368,"filename":"image_09042025_18_33_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/4/9/35ef7436358800fe265ed270014d3e77.jpg","text":"TemporaryFile(/tmp/multipartBody7460207932121517620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221653368,"filename":"image_09042025_18_33_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bc1802e6bece99011b6b4cde060b69c8.jpg","text":"TemporaryFile(/tmp/multipartBody4431211513139059948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221653368,"filename":"image_09042025_18_33_44_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98871a1f07a3eb545f5aa0e7fef6742d.jpg","text":"TemporaryFile(/tmp/multipartBody5906418416913570820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221653368,"filename":"image_09042025_18_34_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350849138","file1":"1350849108","file0":"1350849057","file4":"1350849201","file5":"1350849232","file3":"1350849184"},"map_files_photo_id_array":[{"photo_id":"1350849232","filename":"file5"},{"photo_id":"1350849138","filename":"file2"},{"photo_id":"1350849201","filename":"file4"},{"photo_id":"1350849108","filename":"file1"},{"photo_id":"1350849057","filename":"file0"},{"photo_id":"1350849184","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350849057":["hashtag1","hashtag2"]},{"1350849201":["hashtag1","hashtag2"]},{"1350849138":["hashtag1","hashtag2"]},{"1350849108":["hashtag1","hashtag2"]},{"1350849184":["hashtag1","hashtag2"]},{"1350849232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350849057, 1350849201, 1350849138, 1350849108, 1350849184, 1350849232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9390811920166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 20:00:43.161249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_14_9332.jpg', '/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_25_10361.jpg', '/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_35_10350.jpg', '/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_44_9433.jpg', '/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_55_10444.jpg', '/home/pi/Desktop/images/09042025/18/34/image_09042025_18_35_04_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_14_9332.jpg
/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_25_10361.jpg
/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_35_10350.jpg
/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_44_9433.jpg
/home/pi/Desktop/images/09042025/18/34/image_09042025_18_34_55_10444.jpg
/home/pi/Desktop/images/09042025/18/34/image_09042025_18_35_04_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":["1350849444","1350849354","1350849380","1350849524","1350849490","1350849409"],"photo_ids_order":["1350849354","1350849380","1350849409","1350849444","1350849490","1350849524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b8edccf50308a51aec8ff6322e156ff.jpg","text":"TemporaryFile(/tmp/multipartBody2713420007967870912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221703633,"filename":"image_09042025_18_34_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/4/9/5d422d6531a38ced1106318aa8c5fa8c.jpg","text":"TemporaryFile(/tmp/multipartBody2366399017499907345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221703633,"filename":"image_09042025_18_34_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/4/9/920c70742d2e28878b0dfe4c3af8c45b.jpg","text":"TemporaryFile(/tmp/multipartBody4847041178428195322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221703633,"filename":"image_09042025_18_34_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/4/9/42b4f194a9d7937d41c7382865832f02.jpg","text":"TemporaryFile(/tmp/multipartBody262569401288522663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221703633,"filename":"image_09042025_18_35_04_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a85f673c93602f25d67b0f70c57e408d.jpg","text":"TemporaryFile(/tmp/multipartBody596946392758009647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221703633,"filename":"image_09042025_18_34_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6fd4d58b802cb0f416cd78c0f18c49ee.jpg","text":"TemporaryFile(/tmp/multipartBody3882715702766540734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221703633,"filename":"image_09042025_18_34_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350849409","file1":"1350849380","file0":"1350849354","file4":"1350849490","file5":"1350849524","file3":"1350849444"},"map_files_photo_id_array":[{"photo_id":"1350849524","filename":"file5"},{"photo_id":"1350849409","filename":"file2"},{"photo_id":"1350849490","filename":"file4"},{"photo_id":"1350849380","filename":"file1"},{"photo_id":"1350849354","filename":"file0"},{"photo_id":"1350849444","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350849444":["hashtag1","hashtag2"]},{"1350849354":["hashtag1","hashtag2"]},{"1350849380":["hashtag1","hashtag2"]},{"1350849524":["hashtag1","hashtag2"]},{"1350849490":["hashtag1","hashtag2"]},{"1350849409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350849444, 1350849354, 1350849380, 1350849524, 1350849490, 1350849409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95393633842468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:01:32.320540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/35/image_09042025_18_35_15_10346.jpg', '/home/pi/Desktop/images/09042025/18/35/image_09042025_18_35_45_10379.jpg', '/home/pi/Desktop/images/09042025/18/35/image_09042025_18_35_54_9490.jpg', '/home/pi/Desktop/images/09042025/18/35/image_09042025_18_36_05_10439.jpg', '/home/pi/Desktop/images/09042025/18/36/image_09042025_18_36_15_10332.jpg', '/home/pi/Desktop/images/09042025/18/36/image_09042025_18_36_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/35/image_09042025_18_35_15_10346.jpg
/home/pi/Desktop/images/09042025/18/35/image_09042025_18_35_45_10379.jpg
/home/pi/Desktop/images/09042025/18/35/image_09042025_18_35_54_9490.jpg
/home/pi/Desktop/images/09042025/18/35/image_09042025_18_36_05_10439.jpg
/home/pi/Desktop/images/09042025/18/36/image_09042025_18_36_15_10332.jpg
/home/pi/Desktop/images/09042025/18/36/image_09042025_18_36_35_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350849779","1350849965","1350849932","1350850034","1350849739","1350849897"],"photo_ids_order":["1350849739","1350849779","1350849897","1350849932","1350849965","1350850034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6674bbff940f7be2c4a6dec09992081a.jpg","text":"TemporaryFile(/tmp/multipartBody8127502527542875033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221752797,"filename":"image_09042025_18_35_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/4/9/d86ca4af790944490d0b4e0c76c10b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3246611962642037513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221752797,"filename":"image_09042025_18_36_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/4/9/fc2d1cc491e27b3ee347bb3716e2f7dd.jpg","text":"TemporaryFile(/tmp/multipartBody8924428955635272531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221752797,"filename":"image_09042025_18_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/4/9/772ce6d0619e587435091c57b64586ea.jpg","text":"TemporaryFile(/tmp/multipartBody7454380565769951789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221752797,"filename":"image_09042025_18_36_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/4/9/7c1fd23da746fd4fca9b8bfcaab205d3.jpg","text":"TemporaryFile(/tmp/multipartBody1977733695960622845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221752797,"filename":"image_09042025_18_35_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/4/9/ca4c388f61316f5f62d3872e577e022d.jpg","text":"TemporaryFile(/tmp/multipartBody4666837311880373567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221752797,"filename":"image_09042025_18_35_54_9490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350849897","file1":"1350849779","file0":"1350849739","file4":"1350849965","file5":"1350850034","file3":"1350849932"},"map_files_photo_id_array":[{"photo_id":"1350850034","filename":"file5"},{"photo_id":"1350849897","filename":"file2"},{"photo_id":"1350849965","filename":"file4"},{"photo_id":"1350849779","filename":"file1"},{"photo_id":"1350849739","filename":"file0"},{"photo_id":"1350849932","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350849779":["hashtag1","hashtag2"]},{"1350849965":["hashtag1","hashtag2"]},{"1350849932":["hashtag1","hashtag2"]},{"1350850034":["hashtag1","hashtag2"]},{"1350849739":["hashtag1","hashtag2"]},{"1350849897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350849779, 1350849965, 1350849932, 1350850034, 1350849739, 1350849897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.591906785964966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:02:32.666209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/36/image_09042025_18_36_45_10399.jpg', '/home/pi/Desktop/images/09042025/18/36/image_09042025_18_36_55_9352.jpg', '/home/pi/Desktop/images/09042025/18/36/image_09042025_18_37_05_10352.jpg', '/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_14_9372.jpg', '/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_25_10368.jpg', '/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/36/image_09042025_18_36_45_10399.jpg
/home/pi/Desktop/images/09042025/18/36/image_09042025_18_36_55_9352.jpg
/home/pi/Desktop/images/09042025/18/36/image_09042025_18_37_05_10352.jpg
/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_14_9372.jpg
/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_25_10368.jpg
/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_35_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350850530","1350850413","1350850460","1350850376","1350850552","1350850432"],"photo_ids_order":["1350850376","1350850413","1350850432","1350850460","1350850530","1350850552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e47ae7f246ee3a5c0d31b1f0df0d3b8.jpg","text":"TemporaryFile(/tmp/multipartBody456448847760963009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221813154,"filename":"image_09042025_18_37_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e98f90e84967c1db1a97712a002a9be5.jpg","text":"TemporaryFile(/tmp/multipartBody4057716150322642643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221813154,"filename":"image_09042025_18_36_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/4/9/c09ae48075b804020dc3f5eaf5fb1de0.jpg","text":"TemporaryFile(/tmp/multipartBody4764659798463984183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221813154,"filename":"image_09042025_18_37_14_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/83c79369ff1664439df9258f441fb369.jpg","text":"TemporaryFile(/tmp/multipartBody7435101294329344859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221813154,"filename":"image_09042025_18_36_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e32caedab851700d3e85c7230123ebb2.jpg","text":"TemporaryFile(/tmp/multipartBody5551309256536477952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221813154,"filename":"image_09042025_18_37_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/4/9/e5b13bb51eb34fd752cea04a4eba6e8a.jpg","text":"TemporaryFile(/tmp/multipartBody846154145209973099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221813154,"filename":"image_09042025_18_37_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350850432","file1":"1350850413","file0":"1350850376","file4":"1350850530","file5":"1350850552","file3":"1350850460"},"map_files_photo_id_array":[{"photo_id":"1350850552","filename":"file5"},{"photo_id":"1350850432","filename":"file2"},{"photo_id":"1350850530","filename":"file4"},{"photo_id":"1350850413","filename":"file1"},{"photo_id":"1350850376","filename":"file0"},{"photo_id":"1350850460","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350850530":["hashtag1","hashtag2"]},{"1350850413":["hashtag1","hashtag2"]},{"1350850460":["hashtag1","hashtag2"]},{"1350850376":["hashtag1","hashtag2"]},{"1350850552":["hashtag1","hashtag2"]},{"1350850432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350850530, 1350850413, 1350850460, 1350850376, 1350850552, 1350850432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.203330755233765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:03:32.708591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_44_9422.jpg', '/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_55_10403.jpg', '/home/pi/Desktop/images/09042025/18/37/image_09042025_18_38_04_9395.jpg', '/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_15_10358.jpg', '/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_25_10365.jpg', '/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_34_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_44_9422.jpg
/home/pi/Desktop/images/09042025/18/37/image_09042025_18_37_55_10403.jpg
/home/pi/Desktop/images/09042025/18/37/image_09042025_18_38_04_9395.jpg
/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_15_10358.jpg
/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_25_10365.jpg
/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_34_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350850868","1350850940","1350850894","1350850840","1350850921","1350850765"],"photo_ids_order":["1350850765","1350850840","1350850868","1350850894","1350850921","1350850940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9044ff1de0007cb5ac9d4fa3d255a1a2.jpg","text":"TemporaryFile(/tmp/multipartBody6102962482301288453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221873187,"filename":"image_09042025_18_38_04_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df1875c7954fab980ace0d6d7729236f.jpg","text":"TemporaryFile(/tmp/multipartBody2977283001315880940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221873187,"filename":"image_09042025_18_38_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdea17105555d0d5b9b602b6da780a4f.jpg","text":"TemporaryFile(/tmp/multipartBody1708518687706824232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221873187,"filename":"image_09042025_18_38_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/4/9/fff1ce53bbd150e7b03efab991e13306.jpg","text":"TemporaryFile(/tmp/multipartBody6028736775370319561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221873187,"filename":"image_09042025_18_37_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/4/9/f36abe9411a4c06a3a5cc323d00f1121.jpg","text":"TemporaryFile(/tmp/multipartBody3757944759957062199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221873187,"filename":"image_09042025_18_38_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/4/9/bc1b68c1e5a0e9655012b29d66ad17e1.jpg","text":"TemporaryFile(/tmp/multipartBody5365725476840883339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221873187,"filename":"image_09042025_18_37_44_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350850868","file1":"1350850840","file0":"1350850765","file4":"1350850921","file5":"1350850940","file3":"1350850894"},"map_files_photo_id_array":[{"photo_id":"1350850940","filename":"file5"},{"photo_id":"1350850868","filename":"file2"},{"photo_id":"1350850921","filename":"file4"},{"photo_id":"1350850840","filename":"file1"},{"photo_id":"1350850765","filename":"file0"},{"photo_id":"1350850894","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350850868":["hashtag1","hashtag2"]},{"1350850940":["hashtag1","hashtag2"]},{"1350850894":["hashtag1","hashtag2"]},{"1350850840":["hashtag1","hashtag2"]},{"1350850921":["hashtag1","hashtag2"]},{"1350850765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350850868, 1350850940, 1350850894, 1350850840, 1350850921, 1350850765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2814519405365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:04:32.943012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_45_10338.jpg', '/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_55_9898.jpg', '/home/pi/Desktop/images/09042025/18/38/image_09042025_18_39_05_10415.jpg', '/home/pi/Desktop/images/09042025/18/39/image_09042025_18_39_25_10343.jpg', '/home/pi/Desktop/images/09042025/18/39/image_09042025_18_39_34_9400.jpg', '/home/pi/Desktop/images/09042025/18/39/image_09042025_18_39_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_45_10338.jpg
/home/pi/Desktop/images/09042025/18/38/image_09042025_18_38_55_9898.jpg
/home/pi/Desktop/images/09042025/18/38/image_09042025_18_39_05_10415.jpg
/home/pi/Desktop/images/09042025/18/39/image_09042025_18_39_25_10343.jpg
/home/pi/Desktop/images/09042025/18/39/image_09042025_18_39_34_9400.jpg
/home/pi/Desktop/images/09042025/18/39/image_09042025_18_39_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":["1350851313","1350851258","1350851323","1350851317","1350851286","1350851218"],"photo_ids_order":["1350851218","1350851258","1350851286","1350851313","1350851317","1350851323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea54f627a187cc6853bc38b0fcc350a2.jpg","text":"TemporaryFile(/tmp/multipartBody6789673803039935465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221933417,"filename":"image_09042025_18_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/4/9/70a661f0026b33890f519cfa6bddd8fd.jpg","text":"TemporaryFile(/tmp/multipartBody6764210449879732274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221933417,"filename":"image_09042025_18_38_55_9898.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65db209a91030e4addb8a1b374d5f4ef.jpg","text":"TemporaryFile(/tmp/multipartBody5556660385529122811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221933417,"filename":"image_09042025_18_39_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c9edeace9465746c9b731f34b6233d2.jpg","text":"TemporaryFile(/tmp/multipartBody6872182035905546878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221933417,"filename":"image_09042025_18_39_34_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c305c272e35ea62bef4f3fc6e3c822c.jpg","text":"TemporaryFile(/tmp/multipartBody1795255293726534795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221933417,"filename":"image_09042025_18_39_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/4/9/8be861a716c6f8d50f6aa29589ed1b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4278861845225108411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221933417,"filename":"image_09042025_18_38_45_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350851286","file1":"1350851258","file0":"1350851218","file4":"1350851317","file5":"1350851323","file3":"1350851313"},"map_files_photo_id_array":[{"photo_id":"1350851323","filename":"file5"},{"photo_id":"1350851286","filename":"file2"},{"photo_id":"1350851317","filename":"file4"},{"photo_id":"1350851258","filename":"file1"},{"photo_id":"1350851218","filename":"file0"},{"photo_id":"1350851313","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350851313":["hashtag1","hashtag2"]},{"1350851258":["hashtag1","hashtag2"]},{"1350851323":["hashtag1","hashtag2"]},{"1350851317":["hashtag1","hashtag2"]},{"1350851286":["hashtag1","hashtag2"]},{"1350851218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350851313, 1350851258, 1350851323, 1350851317, 1350851286, 1350851218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.34957551956177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:05:33.084857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/39/image_09042025_18_39_55_10359.jpg', '/home/pi/Desktop/images/09042025/18/39/image_09042025_18_40_04_9424.jpg', '/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_15_10340.jpg', '/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_25_10361.jpg', '/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_34_9406.jpg', '/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_45_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/39/image_09042025_18_39_55_10359.jpg
/home/pi/Desktop/images/09042025/18/39/image_09042025_18_40_04_9424.jpg
/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_15_10340.jpg
/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_25_10361.jpg
/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_34_9406.jpg
/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_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":["1350851406","1350851399","1350851402","1350851365","1350851394","1350851367"],"photo_ids_order":["1350851365","1350851367","1350851394","1350851399","1350851402","1350851406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a8d4a9b276fd20eb178073bae6c0f0ae.jpg","text":"TemporaryFile(/tmp/multipartBody759636051154367923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221993562,"filename":"image_09042025_18_40_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/93de53eea29eb24289c604da76d0d83a.jpg","text":"TemporaryFile(/tmp/multipartBody6455945779549892004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221993562,"filename":"image_09042025_18_40_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/4/9/75752292e86f662036b3e3d4da75960d.jpg","text":"TemporaryFile(/tmp/multipartBody865962359335235238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221993562,"filename":"image_09042025_18_40_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/4/9/7781490b15cb541b864c9ca1f8afbe1f.jpg","text":"TemporaryFile(/tmp/multipartBody1397388786388626757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221993562,"filename":"image_09042025_18_39_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/4/9/e944faeb7a8cb74f161c835f44b66e26.jpg","text":"TemporaryFile(/tmp/multipartBody2629196011718471601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221993562,"filename":"image_09042025_18_40_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/4/9/0374923c558684f2c1fc356da33d5628.jpg","text":"TemporaryFile(/tmp/multipartBody3677122496549624873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744221993562,"filename":"image_09042025_18_40_04_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350851394","file1":"1350851367","file0":"1350851365","file4":"1350851402","file5":"1350851406","file3":"1350851399"},"map_files_photo_id_array":[{"photo_id":"1350851406","filename":"file5"},{"photo_id":"1350851394","filename":"file2"},{"photo_id":"1350851402","filename":"file4"},{"photo_id":"1350851367","filename":"file1"},{"photo_id":"1350851365","filename":"file0"},{"photo_id":"1350851399","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350851406":["hashtag1","hashtag2"]},{"1350851399":["hashtag1","hashtag2"]},{"1350851402":["hashtag1","hashtag2"]},{"1350851365":["hashtag1","hashtag2"]},{"1350851394":["hashtag1","hashtag2"]},{"1350851367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350851406, 1350851399, 1350851402, 1350851365, 1350851394, 1350851367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47189283370972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:06:32.343755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_54_9406.jpg', '/home/pi/Desktop/images/09042025/18/40/image_09042025_18_41_05_10437.jpg', '/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_15_10337.jpg', '/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_24_9372.jpg', '/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_35_10351.jpg', '/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_45_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/40/image_09042025_18_40_54_9406.jpg
/home/pi/Desktop/images/09042025/18/40/image_09042025_18_41_05_10437.jpg
/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_15_10337.jpg
/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_24_9372.jpg
/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_35_10351.jpg
/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_45_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350851672","1350851654","1350851597","1350851600","1350851593","1350851608"],"photo_ids_order":["1350851593","1350851597","1350851600","1350851608","1350851654","1350851672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6dbef7d2f70fc5cbf237c117a2a5eba2.jpg","text":"TemporaryFile(/tmp/multipartBody4968332354408401115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222052817,"filename":"image_09042025_18_41_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/4/9/241a9997617edc427196ef950d0c84fc.jpg","text":"TemporaryFile(/tmp/multipartBody2790175453209823050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222052817,"filename":"image_09042025_18_41_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/4/9/1467e98214d78eddb99a1cbb74ac65db.jpg","text":"TemporaryFile(/tmp/multipartBody1712582808713446775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222052817,"filename":"image_09042025_18_41_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/4/9/ab441bde0d1e8e7c2dbde7adc3b140c7.jpg","text":"TemporaryFile(/tmp/multipartBody2882052473886102675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222052817,"filename":"image_09042025_18_41_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f80a7310767ff3bc96e2044708ce1aff.jpg","text":"TemporaryFile(/tmp/multipartBody1908253281654004787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222052817,"filename":"image_09042025_18_40_54_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/afccf212221ac7bb30708ff4be1361ed.jpg","text":"TemporaryFile(/tmp/multipartBody8770502748932984441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222052817,"filename":"image_09042025_18_41_24_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350851600","file1":"1350851597","file0":"1350851593","file4":"1350851654","file5":"1350851672","file3":"1350851608"},"map_files_photo_id_array":[{"photo_id":"1350851672","filename":"file5"},{"photo_id":"1350851600","filename":"file2"},{"photo_id":"1350851654","filename":"file4"},{"photo_id":"1350851597","filename":"file1"},{"photo_id":"1350851593","filename":"file0"},{"photo_id":"1350851608","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350851672":["hashtag1","hashtag2"]},{"1350851654":["hashtag1","hashtag2"]},{"1350851597":["hashtag1","hashtag2"]},{"1350851600":["hashtag1","hashtag2"]},{"1350851593":["hashtag1","hashtag2"]},{"1350851608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350851672, 1350851654, 1350851597, 1350851600, 1350851593, 1350851608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.555012464523315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:07:32.663071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_54_9395.jpg', '/home/pi/Desktop/images/09042025/18/41/image_09042025_18_42_05_10359.jpg', '/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_14_9452.jpg', '/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_25_10343.jpg', '/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_35_10389.jpg', '/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_44_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/41/image_09042025_18_41_54_9395.jpg
/home/pi/Desktop/images/09042025/18/41/image_09042025_18_42_05_10359.jpg
/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_14_9452.jpg
/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_25_10343.jpg
/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_35_10389.jpg
/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_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":["1350851871","1350851823","1350851847","1350851826","1350851807","1350851944"],"photo_ids_order":["1350851807","1350851823","1350851826","1350851847","1350851871","1350851944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97245af3b3000423e998c060629e0820.jpg","text":"TemporaryFile(/tmp/multipartBody8687906214598052346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222113145,"filename":"image_09042025_18_42_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56a9c5d3132dd82f457dbc2a561d0bd4.jpg","text":"TemporaryFile(/tmp/multipartBody202200143219299437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222113145,"filename":"image_09042025_18_42_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/4/9/7b8e2a8f74859f63cfc4c5e8174e6e58.jpg","text":"TemporaryFile(/tmp/multipartBody1270183141095746654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222113145,"filename":"image_09042025_18_42_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2582fcaefe50076f1f15e9b143ba19dc.jpg","text":"TemporaryFile(/tmp/multipartBody8441878652985771616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222113145,"filename":"image_09042025_18_42_14_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f69b6502e7adde05629b98bee3c5fa0e.jpg","text":"TemporaryFile(/tmp/multipartBody4187217145095176510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222113145,"filename":"image_09042025_18_41_54_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0cb7b42257a5f0bb3d014925e9e21260.jpg","text":"TemporaryFile(/tmp/multipartBody7361545554853752477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222113145,"filename":"image_09042025_18_42_44_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350851826","file1":"1350851823","file0":"1350851807","file4":"1350851871","file5":"1350851944","file3":"1350851847"},"map_files_photo_id_array":[{"photo_id":"1350851944","filename":"file5"},{"photo_id":"1350851826","filename":"file2"},{"photo_id":"1350851871","filename":"file4"},{"photo_id":"1350851823","filename":"file1"},{"photo_id":"1350851807","filename":"file0"},{"photo_id":"1350851847","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350851871":["hashtag1","hashtag2"]},{"1350851823":["hashtag1","hashtag2"]},{"1350851847":["hashtag1","hashtag2"]},{"1350851826":["hashtag1","hashtag2"]},{"1350851807":["hashtag1","hashtag2"]},{"1350851944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350851871, 1350851823, 1350851847, 1350851826, 1350851807, 1350851944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.21741247177124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:08:32.933928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_55_10362.jpg', '/home/pi/Desktop/images/09042025/18/42/image_09042025_18_43_05_10345.jpg', '/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_14_9412.jpg', '/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_25_10359.jpg', '/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_34_9491.jpg', '/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/42/image_09042025_18_42_55_10362.jpg
/home/pi/Desktop/images/09042025/18/42/image_09042025_18_43_05_10345.jpg
/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_14_9412.jpg
/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_25_10359.jpg
/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_34_9491.jpg
/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_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":["1350852164","1350852107","1350852154","1350852127","1350852099","1350852096"],"photo_ids_order":["1350852096","1350852099","1350852107","1350852127","1350852154","1350852164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aaa0093d4f07f0e2e1190cf73aef9c22.jpg","text":"TemporaryFile(/tmp/multipartBody7049838692513627044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222173432,"filename":"image_09042025_18_43_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/4/9/e10ab76fc820e3244cd50c8f53878006.jpg","text":"TemporaryFile(/tmp/multipartBody1006926531294364905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222173432,"filename":"image_09042025_18_43_14_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30125fdc6730973ccc1e324072a079c3.jpg","text":"TemporaryFile(/tmp/multipartBody7795289474967699118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222173432,"filename":"image_09042025_18_43_34_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c47197b2a66a9d32513666a108b3a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2713389088883759479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222173432,"filename":"image_09042025_18_43_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/4/9/60f127a48149c83d6f2cc5e4a432dd65.jpg","text":"TemporaryFile(/tmp/multipartBody6741192024047440306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222173432,"filename":"image_09042025_18_43_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/4/9/17477c5cec5ac2453fc39d204f6456d3.jpg","text":"TemporaryFile(/tmp/multipartBody3234498075043215765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222173432,"filename":"image_09042025_18_42_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350852107","file1":"1350852099","file0":"1350852096","file4":"1350852154","file5":"1350852164","file3":"1350852127"},"map_files_photo_id_array":[{"photo_id":"1350852164","filename":"file5"},{"photo_id":"1350852107","filename":"file2"},{"photo_id":"1350852154","filename":"file4"},{"photo_id":"1350852099","filename":"file1"},{"photo_id":"1350852096","filename":"file0"},{"photo_id":"1350852127","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350852164":["hashtag1","hashtag2"]},{"1350852107":["hashtag1","hashtag2"]},{"1350852154":["hashtag1","hashtag2"]},{"1350852127":["hashtag1","hashtag2"]},{"1350852099":["hashtag1","hashtag2"]},{"1350852096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350852164, 1350852107, 1350852154, 1350852127, 1350852099, 1350852096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1110680103302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:09:33.198727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_55_10420.jpg', '/home/pi/Desktop/images/09042025/18/43/image_09042025_18_44_05_9432.jpg', '/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_15_10359.jpg', '/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_24_9458.jpg', '/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_35_10403.jpg', '/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/43/image_09042025_18_43_55_10420.jpg
/home/pi/Desktop/images/09042025/18/43/image_09042025_18_44_05_9432.jpg
/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_15_10359.jpg
/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_24_9458.jpg
/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_35_10403.jpg
/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350852272","1350852311","1350852302","1350852421","1350852364","1350852393"],"photo_ids_order":["1350852272","1350852302","1350852311","1350852364","1350852393","1350852421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a255334e4c5b506f78a13b5e59c0a111.jpg","text":"TemporaryFile(/tmp/multipartBody6750435270513037474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222233693,"filename":"image_09042025_18_43_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/4/9/5c4ce29074210c683db68ee266dfac57.jpg","text":"TemporaryFile(/tmp/multipartBody6282827149172678452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222233693,"filename":"image_09042025_18_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/4/9/785b02cfb0baab29e324f2b051fa4d76.jpg","text":"TemporaryFile(/tmp/multipartBody6681046857410979782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222233693,"filename":"image_09042025_18_44_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/4/9/7bead9062118c2fbbdadbfbf566a3663.jpg","text":"TemporaryFile(/tmp/multipartBody1624374023702103703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222233693,"filename":"image_09042025_18_44_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d999548b5dd113fba673f4c5eacd43e8.jpg","text":"TemporaryFile(/tmp/multipartBody4869361100278299688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222233693,"filename":"image_09042025_18_44_24_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d671a353962faecee4370b2fb239e4cc.jpg","text":"TemporaryFile(/tmp/multipartBody4408445245014416547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222233693,"filename":"image_09042025_18_44_35_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350852311","file1":"1350852302","file0":"1350852272","file4":"1350852393","file5":"1350852421","file3":"1350852364"},"map_files_photo_id_array":[{"photo_id":"1350852421","filename":"file5"},{"photo_id":"1350852311","filename":"file2"},{"photo_id":"1350852393","filename":"file4"},{"photo_id":"1350852302","filename":"file1"},{"photo_id":"1350852272","filename":"file0"},{"photo_id":"1350852364","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350852272":["hashtag1","hashtag2"]},{"1350852311":["hashtag1","hashtag2"]},{"1350852302":["hashtag1","hashtag2"]},{"1350852421":["hashtag1","hashtag2"]},{"1350852364":["hashtag1","hashtag2"]},{"1350852393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350852272, 1350852311, 1350852302, 1350852421, 1350852364, 1350852393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.333311796188354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:10:32.428938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_54_9386.jpg', '/home/pi/Desktop/images/09042025/18/44/image_09042025_18_45_05_10362.jpg', '/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_14_9414.jpg', '/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_25_10331.jpg', '/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_35_10387.jpg', '/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_44_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/44/image_09042025_18_44_54_9386.jpg
/home/pi/Desktop/images/09042025/18/44/image_09042025_18_45_05_10362.jpg
/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_14_9414.jpg
/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_25_10331.jpg
/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_35_10387.jpg
/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_44_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350852692","1350852731","1350852897","1350852780","1350852849","1350852819"],"photo_ids_order":["1350852692","1350852731","1350852780","1350852819","1350852849","1350852897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6fb35d413cb739152a2e5ab4f2b65f97.jpg","text":"TemporaryFile(/tmp/multipartBody7215692523781518915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222292918,"filename":"image_09042025_18_44_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/4/9/902e7009e03c9cc7df51ea8f3c8f5117.jpg","text":"TemporaryFile(/tmp/multipartBody7523048699647286289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222292918,"filename":"image_09042025_18_45_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/4/9/7f7d23f4da4e55ab770238efed0f34f9.jpg","text":"TemporaryFile(/tmp/multipartBody3091383389677280740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222292918,"filename":"image_09042025_18_45_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/4/9/6c82d89ffb9942d10003f1a378a95e90.jpg","text":"TemporaryFile(/tmp/multipartBody1330173130037945584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222292918,"filename":"image_09042025_18_45_14_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fa401655b1fb83fbe9a889eabdea7e46.jpg","text":"TemporaryFile(/tmp/multipartBody3705007080956361386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222292918,"filename":"image_09042025_18_45_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1322e095b9a737eff38a62fd0f18187.jpg","text":"TemporaryFile(/tmp/multipartBody1107041314303870806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222292918,"filename":"image_09042025_18_45_25_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350852780","file1":"1350852731","file0":"1350852692","file4":"1350852849","file5":"1350852897","file3":"1350852819"},"map_files_photo_id_array":[{"photo_id":"1350852897","filename":"file5"},{"photo_id":"1350852780","filename":"file2"},{"photo_id":"1350852849","filename":"file4"},{"photo_id":"1350852731","filename":"file1"},{"photo_id":"1350852692","filename":"file0"},{"photo_id":"1350852819","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350852692":["hashtag1","hashtag2"]},{"1350852731":["hashtag1","hashtag2"]},{"1350852897":["hashtag1","hashtag2"]},{"1350852780":["hashtag1","hashtag2"]},{"1350852849":["hashtag1","hashtag2"]},{"1350852819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350852692, 1350852731, 1350852897, 1350852780, 1350852849, 1350852819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86295485496521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:11:32.672573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_55_10367.jpg', '/home/pi/Desktop/images/09042025/18/45/image_09042025_18_46_05_10408.jpg', '/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_15_9339.jpg', '/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_25_10414.jpg', '/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_34_9382.jpg', '/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_45_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/45/image_09042025_18_45_55_10367.jpg
/home/pi/Desktop/images/09042025/18/45/image_09042025_18_46_05_10408.jpg
/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_15_9339.jpg
/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_25_10414.jpg
/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_34_9382.jpg
/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_45_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350853087","1350853075","1350853059","1350853035","1350853020","1350853038"],"photo_ids_order":["1350853020","1350853035","1350853038","1350853059","1350853075","1350853087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb92591c1eded60872ac8b032c324a64.jpg","text":"TemporaryFile(/tmp/multipartBody8469989080541297101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222353154,"filename":"image_09042025_18_46_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/4/9/ee5aff704fedc2b4179ce9455f80a798.jpg","text":"TemporaryFile(/tmp/multipartBody6271354250795120919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222353154,"filename":"image_09042025_18_46_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/4/9/f09c0c086bd081ae9ae370573c79333e.jpg","text":"TemporaryFile(/tmp/multipartBody9065845611682398874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222353154,"filename":"image_09042025_18_46_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/4/9/ef08a0682123ed9c0c62900918cd8e79.jpg","text":"TemporaryFile(/tmp/multipartBody2755655953626963683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222353154,"filename":"image_09042025_18_46_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/4/9/3a88e159148474884e468e9baba832e7.jpg","text":"TemporaryFile(/tmp/multipartBody1674990355278535155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222353154,"filename":"image_09042025_18_45_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/4/9/cffa5da951e457db5f74d63442d0a80d.jpg","text":"TemporaryFile(/tmp/multipartBody6840570230634289459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222353154,"filename":"image_09042025_18_46_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350853038","file1":"1350853035","file0":"1350853020","file4":"1350853075","file5":"1350853087","file3":"1350853059"},"map_files_photo_id_array":[{"photo_id":"1350853087","filename":"file5"},{"photo_id":"1350853038","filename":"file2"},{"photo_id":"1350853075","filename":"file4"},{"photo_id":"1350853035","filename":"file1"},{"photo_id":"1350853020","filename":"file0"},{"photo_id":"1350853059","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350853087":["hashtag1","hashtag2"]},{"1350853075":["hashtag1","hashtag2"]},{"1350853059":["hashtag1","hashtag2"]},{"1350853035":["hashtag1","hashtag2"]},{"1350853020":["hashtag1","hashtag2"]},{"1350853038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350853087, 1350853075, 1350853059, 1350853035, 1350853020, 1350853038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.427998781204224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:12:32.880413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_55_10350.jpg', '/home/pi/Desktop/images/09042025/18/46/image_09042025_18_47_04_9329.jpg', '/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_15_10352.jpg', '/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_25_10353.jpg', '/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_34_9384.jpg', '/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/46/image_09042025_18_46_55_10350.jpg
/home/pi/Desktop/images/09042025/18/46/image_09042025_18_47_04_9329.jpg
/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_15_10352.jpg
/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_25_10353.jpg
/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_34_9384.jpg
/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_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":["1350853241","1350853297","1350853257","1350853305","1350853274","1350853268"],"photo_ids_order":["1350853241","1350853257","1350853268","1350853274","1350853297","1350853305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/453dcc22ca3e2f426a3167c0a7c0e73c.jpg","text":"TemporaryFile(/tmp/multipartBody6985159743946473580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222413361,"filename":"image_09042025_18_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/4/9/9c977d2306ee2c9e436082254039701f.jpg","text":"TemporaryFile(/tmp/multipartBody389735636327889954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222413361,"filename":"image_09042025_18_47_34_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a20097e1829a03aa4ef9e3eb5475bf0.jpg","text":"TemporaryFile(/tmp/multipartBody4800386732417588296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222413361,"filename":"image_09042025_18_47_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/4/9/32365d8f308cd4ed8931055e6b624567.jpg","text":"TemporaryFile(/tmp/multipartBody4008338730543029005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222413361,"filename":"image_09042025_18_47_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/4/9/19b5ad4fb5b13f59fb553727e948aeef.jpg","text":"TemporaryFile(/tmp/multipartBody3126294209249565767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222413361,"filename":"image_09042025_18_47_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/4/9/79cdd818d2ecd5a178c82cc5fb6b56c8.jpg","text":"TemporaryFile(/tmp/multipartBody9114620004545848478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222413361,"filename":"image_09042025_18_47_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350853268","file1":"1350853257","file0":"1350853241","file4":"1350853297","file5":"1350853305","file3":"1350853274"},"map_files_photo_id_array":[{"photo_id":"1350853305","filename":"file5"},{"photo_id":"1350853268","filename":"file2"},{"photo_id":"1350853297","filename":"file4"},{"photo_id":"1350853257","filename":"file1"},{"photo_id":"1350853241","filename":"file0"},{"photo_id":"1350853274","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350853241":["hashtag1","hashtag2"]},{"1350853297":["hashtag1","hashtag2"]},{"1350853257":["hashtag1","hashtag2"]},{"1350853305":["hashtag1","hashtag2"]},{"1350853274":["hashtag1","hashtag2"]},{"1350853268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350853241, 1350853297, 1350853257, 1350853305, 1350853274, 1350853268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69864511489868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:13:33.194144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_54_9404.jpg', '/home/pi/Desktop/images/09042025/18/47/image_09042025_18_48_05_10345.jpg', '/home/pi/Desktop/images/09042025/18/48/image_09042025_18_48_15_10331.jpg', '/home/pi/Desktop/images/09042025/18/48/image_09042025_18_48_35_10353.jpg', '/home/pi/Desktop/images/09042025/18/48/image_09042025_18_48_45_10349.jpg', '/home/pi/Desktop/images/09042025/18/48/image_09042025_18_48_55_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/47/image_09042025_18_47_54_9404.jpg
/home/pi/Desktop/images/09042025/18/47/image_09042025_18_48_05_10345.jpg
/home/pi/Desktop/images/09042025/18/48/image_09042025_18_48_15_10331.jpg
/home/pi/Desktop/images/09042025/18/48/image_09042025_18_48_35_10353.jpg
/home/pi/Desktop/images/09042025/18/48/image_09042025_18_48_45_10349.jpg
/home/pi/Desktop/images/09042025/18/48/image_09042025_18_48_55_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":["1350853511","1350853510","1350853441","1350853481","1350853515","1350853493"],"photo_ids_order":["1350853441","1350853481","1350853493","1350853510","1350853511","1350853515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2e1fe974e8de43f9edf1d1fadcf36aff.jpg","text":"TemporaryFile(/tmp/multipartBody6515995137077810206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222473666,"filename":"image_09042025_18_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/4/9/6f496c22f0d818978540e20e037aed73.jpg","text":"TemporaryFile(/tmp/multipartBody5838096521786870283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222473666,"filename":"image_09042025_18_48_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/4/9/a34b7eafed4c1af0b179e339652f24ca.jpg","text":"TemporaryFile(/tmp/multipartBody6983962410439128998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222473666,"filename":"image_09042025_18_47_54_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f56b80ee46fb026a7ea7aab25833a08.jpg","text":"TemporaryFile(/tmp/multipartBody2955757948264050266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222473666,"filename":"image_09042025_18_48_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/4/9/e105f36bedc1deea103106b3c126ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody3139792472850080854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222473666,"filename":"image_09042025_18_48_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/4/9/943e15d6deede0f06ec0334bc04a4996.jpg","text":"TemporaryFile(/tmp/multipartBody7517121837988189635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222473666,"filename":"image_09042025_18_48_15_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350853493","file1":"1350853481","file0":"1350853441","file4":"1350853511","file5":"1350853515","file3":"1350853510"},"map_files_photo_id_array":[{"photo_id":"1350853515","filename":"file5"},{"photo_id":"1350853493","filename":"file2"},{"photo_id":"1350853511","filename":"file4"},{"photo_id":"1350853481","filename":"file1"},{"photo_id":"1350853441","filename":"file0"},{"photo_id":"1350853510","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350853511":["hashtag1","hashtag2"]},{"1350853510":["hashtag1","hashtag2"]},{"1350853441":["hashtag1","hashtag2"]},{"1350853481":["hashtag1","hashtag2"]},{"1350853515":["hashtag1","hashtag2"]},{"1350853493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350853511, 1350853510, 1350853441, 1350853481, 1350853515, 1350853493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32982015609741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:14:32.524164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/48/image_09042025_18_49_05_10330.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_14_9480.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_25_10451.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_34_9449.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_45_10359.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_55_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/48/image_09042025_18_49_05_10330.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_14_9480.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_25_10451.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_34_9449.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_45_10359.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_55_10376.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3700857162475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 20:14:42.391423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/48/image_09042025_18_49_05_10330.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_14_9480.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_25_10451.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_34_9449.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_45_10359.jpg', '/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_55_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/48/image_09042025_18_49_05_10330.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_14_9480.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_25_10451.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_34_9449.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_45_10359.jpg
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_49_55_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350853853","1350853774","1350853837","1350853761","1350853710","1350853742"],"photo_ids_order":["1350853710","1350853742","1350853761","1350853774","1350853837","1350853853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52798fa0e486955c44607cfc19afdff1.jpg","text":"TemporaryFile(/tmp/multipartBody8646020407002800038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222542873,"filename":"image_09042025_18_49_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/4/9/c6132527e1ba02ccc192d1a1e48afb02.jpg","text":"TemporaryFile(/tmp/multipartBody6534144363487842638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222542873,"filename":"image_09042025_18_49_34_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c38cff2664cf78aaba2cb4c2bfa572c.jpg","text":"TemporaryFile(/tmp/multipartBody7108501614833878553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222542873,"filename":"image_09042025_18_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/4/9/0a1f0ad14e5578625514c121cf368954.jpg","text":"TemporaryFile(/tmp/multipartBody8477438955422807226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222542873,"filename":"image_09042025_18_49_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/4/9/0bb83486af9cd168a7f3a98c306f4a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5940973507431959159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222542873,"filename":"image_09042025_18_49_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/4/9/c00123c9efc8252c707283c7c87c589d.jpg","text":"TemporaryFile(/tmp/multipartBody8008739644198751410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222542873,"filename":"image_09042025_18_49_14_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350853761","file1":"1350853742","file0":"1350853710","file4":"1350853837","file5":"1350853853","file3":"1350853774"},"map_files_photo_id_array":[{"photo_id":"1350853853","filename":"file5"},{"photo_id":"1350853761","filename":"file2"},{"photo_id":"1350853837","filename":"file4"},{"photo_id":"1350853742","filename":"file1"},{"photo_id":"1350853710","filename":"file0"},{"photo_id":"1350853774","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350853853":["hashtag1","hashtag2"]},{"1350853774":["hashtag1","hashtag2"]},{"1350853837":["hashtag1","hashtag2"]},{"1350853761":["hashtag1","hashtag2"]},{"1350853710":["hashtag1","hashtag2"]},{"1350853742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350853853, 1350853774, 1350853837, 1350853761, 1350853710, 1350853742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.977269649505615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:15:32.677114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/49/image_09042025_18_50_04_9431.jpg', '/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_15_10346.jpg', '/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_25_10359.jpg', '/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_35_9406.jpg', '/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_45_10352.jpg', '/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_54_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/49/image_09042025_18_50_04_9431.jpg
/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_15_10346.jpg
/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_25_10359.jpg
/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_35_9406.jpg
/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_45_10352.jpg
/home/pi/Desktop/images/09042025/18/50/image_09042025_18_50_54_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":["1350854111","1350854032","1350853963","1350853980","1350854075","1350854156"],"photo_ids_order":["1350853963","1350853980","1350854032","1350854075","1350854111","1350854156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9340b3227610387369094dd259ad5413.jpg","text":"TemporaryFile(/tmp/multipartBody5864676578337696146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222593156,"filename":"image_09042025_18_50_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/4/9/4a713132f31c53b3c2bf093e5b7ec6d1.jpg","text":"TemporaryFile(/tmp/multipartBody6094563526280164217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222593156,"filename":"image_09042025_18_50_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/4/9/a243074a6cf5eda840f1d8382ac5f844.jpg","text":"TemporaryFile(/tmp/multipartBody6472638715284284461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222593156,"filename":"image_09042025_18_50_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b6be642a2ec8f52f9e57d5725793eac2.jpg","text":"TemporaryFile(/tmp/multipartBody7575878656931930849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222593156,"filename":"image_09042025_18_50_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/4/9/9f6ad202682b1971571436f4a0d6702f.jpg","text":"TemporaryFile(/tmp/multipartBody3117052230027719424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222593156,"filename":"image_09042025_18_50_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7ca9f1015a434d25d4e2fc1d005da580.jpg","text":"TemporaryFile(/tmp/multipartBody4067412826813786988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222593156,"filename":"image_09042025_18_50_54_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350854032","file1":"1350853980","file0":"1350853963","file4":"1350854111","file5":"1350854156","file3":"1350854075"},"map_files_photo_id_array":[{"photo_id":"1350854156","filename":"file5"},{"photo_id":"1350854032","filename":"file2"},{"photo_id":"1350854111","filename":"file4"},{"photo_id":"1350853980","filename":"file1"},{"photo_id":"1350853963","filename":"file0"},{"photo_id":"1350854075","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350854111":["hashtag1","hashtag2"]},{"1350854032":["hashtag1","hashtag2"]},{"1350853963":["hashtag1","hashtag2"]},{"1350853980":["hashtag1","hashtag2"]},{"1350854075":["hashtag1","hashtag2"]},{"1350854156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350854111, 1350854032, 1350853963, 1350853980, 1350854075, 1350854156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3014395236969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:16:32.940917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/50/image_09042025_18_51_05_10341.jpg', '/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_15_10350.jpg', '/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_24_9433.jpg', '/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_35_10358.jpg', '/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_45_10418.jpg', '/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_55_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/50/image_09042025_18_51_05_10341.jpg
/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_15_10350.jpg
/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_24_9433.jpg
/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_35_10358.jpg
/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_45_10418.jpg
/home/pi/Desktop/images/09042025/18/51/image_09042025_18_51_55_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":["1350854324","1350854374","1350854368","1350854371","1350854376","1350854360"],"photo_ids_order":["1350854324","1350854360","1350854368","1350854371","1350854374","1350854376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f378a3f529f066f6cb0b621126bf90f0.jpg","text":"TemporaryFile(/tmp/multipartBody7898080206643657488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222653427,"filename":"image_09042025_18_51_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7717d32529993e758fc3c80089d1bbed.jpg","text":"TemporaryFile(/tmp/multipartBody1772292461609275231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222653427,"filename":"image_09042025_18_51_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/efb0bffbeed3e8ffec915c16cb4af305.jpg","text":"TemporaryFile(/tmp/multipartBody1489044904484015710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222653427,"filename":"image_09042025_18_51_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/4/9/2a6dbbdc889472066e8588c5b052e0ba.jpg","text":"TemporaryFile(/tmp/multipartBody4178018229534858722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222653427,"filename":"image_09042025_18_51_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/4/9/9b0b5d0e5ebf7bff0a1ff9d752e155bb.jpg","text":"TemporaryFile(/tmp/multipartBody2095942170338537708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222653427,"filename":"image_09042025_18_51_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/4/9/2122f76f39ea993622cd62d5195a33ee.jpg","text":"TemporaryFile(/tmp/multipartBody7433414174306695343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222653427,"filename":"image_09042025_18_51_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350854368","file1":"1350854360","file0":"1350854324","file4":"1350854374","file5":"1350854376","file3":"1350854371"},"map_files_photo_id_array":[{"photo_id":"1350854376","filename":"file5"},{"photo_id":"1350854368","filename":"file2"},{"photo_id":"1350854374","filename":"file4"},{"photo_id":"1350854360","filename":"file1"},{"photo_id":"1350854324","filename":"file0"},{"photo_id":"1350854371","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350854324":["hashtag1","hashtag2"]},{"1350854374":["hashtag1","hashtag2"]},{"1350854368":["hashtag1","hashtag2"]},{"1350854371":["hashtag1","hashtag2"]},{"1350854376":["hashtag1","hashtag2"]},{"1350854360":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350854324, 1350854374, 1350854368, 1350854371, 1350854376, 1350854360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64712190628052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:17:33.238461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/51/image_09042025_18_52_05_10348.jpg', '/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_14_9420.jpg', '/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_25_10385.jpg', '/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_35_10356.jpg', '/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_44_9442.jpg', '/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_55_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/51/image_09042025_18_52_05_10348.jpg
/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_14_9420.jpg
/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_25_10385.jpg
/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_35_10356.jpg
/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_44_9442.jpg
/home/pi/Desktop/images/09042025/18/52/image_09042025_18_52_55_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350854503","1350854496","1350854499","1350854493","1350854487","1350854429"],"photo_ids_order":["1350854429","1350854487","1350854493","1350854496","1350854499","1350854503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d5fa20ea2ad797e281de3c1d5f23440.jpg","text":"TemporaryFile(/tmp/multipartBody5448171921851499346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222713715,"filename":"image_09042025_18_52_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/4/9/dc45df51a30966c508c2fd33494dce6c.jpg","text":"TemporaryFile(/tmp/multipartBody8705224240822466645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222713715,"filename":"image_09042025_18_52_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/4/9/1b51d5ddae1471809296f0466a28365a.jpg","text":"TemporaryFile(/tmp/multipartBody5092189838304057822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222713715,"filename":"image_09042025_18_52_44_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/851c7bf4d85f54d309ada3ca68d63a1a.jpg","text":"TemporaryFile(/tmp/multipartBody404634996633312386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222713715,"filename":"image_09042025_18_52_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/4/9/4d22c202f0370a41a470589ea3ce40f9.jpg","text":"TemporaryFile(/tmp/multipartBody3154362769177745471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222713715,"filename":"image_09042025_18_52_14_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/538a050d32fee9a936408bc6c7e23257.jpg","text":"TemporaryFile(/tmp/multipartBody7157541177212786961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222713715,"filename":"image_09042025_18_52_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350854493","file1":"1350854487","file0":"1350854429","file4":"1350854499","file5":"1350854503","file3":"1350854496"},"map_files_photo_id_array":[{"photo_id":"1350854503","filename":"file5"},{"photo_id":"1350854493","filename":"file2"},{"photo_id":"1350854499","filename":"file4"},{"photo_id":"1350854487","filename":"file1"},{"photo_id":"1350854429","filename":"file0"},{"photo_id":"1350854496","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350854503":["hashtag1","hashtag2"]},{"1350854496":["hashtag1","hashtag2"]},{"1350854499":["hashtag1","hashtag2"]},{"1350854493":["hashtag1","hashtag2"]},{"1350854487":["hashtag1","hashtag2"]},{"1350854429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350854503, 1350854496, 1350854499, 1350854493, 1350854487, 1350854429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87564253807068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:18:32.453791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/52/image_09042025_18_53_05_10382.jpg', '/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_15_9356.jpg', '/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_25_10341.jpg', '/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_34_9403.jpg', '/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_45_10376.jpg', '/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_55_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/52/image_09042025_18_53_05_10382.jpg
/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_15_9356.jpg
/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_25_10341.jpg
/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_34_9403.jpg
/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_45_10376.jpg
/home/pi/Desktop/images/09042025/18/53/image_09042025_18_53_55_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350854559","1350854553","1350854532","1350854538","1350854561","1350854528"],"photo_ids_order":["1350854528","1350854532","1350854538","1350854553","1350854559","1350854561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d7568594aeb7911ba82a11ec258e598.jpg","text":"TemporaryFile(/tmp/multipartBody1159710136314076879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222772933,"filename":"image_09042025_18_53_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/4/9/b147b4b51ee515a4b6aec6296eaac26f.jpg","text":"TemporaryFile(/tmp/multipartBody7230612515005565118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222772933,"filename":"image_09042025_18_53_34_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03f57a4043fa4d64afe0c1621504a7a8.jpg","text":"TemporaryFile(/tmp/multipartBody5146493667250441222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222772933,"filename":"image_09042025_18_53_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/4/9/e86c7ded789fabaad6fc337c30506565.jpg","text":"TemporaryFile(/tmp/multipartBody2661937371118783471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222772933,"filename":"image_09042025_18_53_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/4/9/be51c60d704911344c24b9d565376436.jpg","text":"TemporaryFile(/tmp/multipartBody7077878718948048514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222772933,"filename":"image_09042025_18_53_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/4/9/c79e695bd00ae4b015cd6a3f38dee0e4.jpg","text":"TemporaryFile(/tmp/multipartBody8812805913189363240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222772933,"filename":"image_09042025_18_53_05_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350854538","file1":"1350854532","file0":"1350854528","file4":"1350854559","file5":"1350854561","file3":"1350854553"},"map_files_photo_id_array":[{"photo_id":"1350854561","filename":"file5"},{"photo_id":"1350854538","filename":"file2"},{"photo_id":"1350854559","filename":"file4"},{"photo_id":"1350854532","filename":"file1"},{"photo_id":"1350854528","filename":"file0"},{"photo_id":"1350854553","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350854559":["hashtag1","hashtag2"]},{"1350854553":["hashtag1","hashtag2"]},{"1350854532":["hashtag1","hashtag2"]},{"1350854538":["hashtag1","hashtag2"]},{"1350854561":["hashtag1","hashtag2"]},{"1350854528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350854559, 1350854553, 1350854532, 1350854538, 1350854561, 1350854528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12720012664795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:19:32.709373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/53/image_09042025_18_54_05_9441.jpg', '/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_15_10349.jpg', '/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_24_9419.jpg', '/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_35_10348.jpg', '/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_45_10341.jpg', '/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_54_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/53/image_09042025_18_54_05_9441.jpg
/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_15_10349.jpg
/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_24_9419.jpg
/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_35_10348.jpg
/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_45_10341.jpg
/home/pi/Desktop/images/09042025/18/54/image_09042025_18_54_54_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":["1350854680","1350854737","1350854661","1350854667","1350854631","1350854700"],"photo_ids_order":["1350854631","1350854661","1350854667","1350854680","1350854700","1350854737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d98d0341fab8aff62e9ed31c9f1573c.jpg","text":"TemporaryFile(/tmp/multipartBody447501296507059729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222833215,"filename":"image_09042025_18_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/4/9/a5339d89146fd14e316a9acf4620697c.jpg","text":"TemporaryFile(/tmp/multipartBody5247398496092589096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222833215,"filename":"image_09042025_18_54_54_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38179fa14be5a9840eb4eaae727f0e22.jpg","text":"TemporaryFile(/tmp/multipartBody2516994194613944697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222833215,"filename":"image_09042025_18_54_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/296c0669b2d874b39c3e14be5d1c94ec.jpg","text":"TemporaryFile(/tmp/multipartBody6297936792018410495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222833215,"filename":"image_09042025_18_54_24_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2b1c7857fd3ba1aa18a9112c76a146b9.jpg","text":"TemporaryFile(/tmp/multipartBody227622373189378435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222833215,"filename":"image_09042025_18_54_05_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b33d0352a994880b3de78098eb7ab9d0.jpg","text":"TemporaryFile(/tmp/multipartBody2898479540375610327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222833215,"filename":"image_09042025_18_54_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350854667","file1":"1350854661","file0":"1350854631","file4":"1350854700","file5":"1350854737","file3":"1350854680"},"map_files_photo_id_array":[{"photo_id":"1350854737","filename":"file5"},{"photo_id":"1350854667","filename":"file2"},{"photo_id":"1350854700","filename":"file4"},{"photo_id":"1350854661","filename":"file1"},{"photo_id":"1350854631","filename":"file0"},{"photo_id":"1350854680","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350854680":["hashtag1","hashtag2"]},{"1350854737":["hashtag1","hashtag2"]},{"1350854661":["hashtag1","hashtag2"]},{"1350854667":["hashtag1","hashtag2"]},{"1350854631":["hashtag1","hashtag2"]},{"1350854700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350854680, 1350854737, 1350854661, 1350854667, 1350854631, 1350854700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36786651611328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:20:32.938639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/54/image_09042025_18_55_05_10338.jpg', '/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_15_10344.jpg', '/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_24_9399.jpg', '/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_35_10360.jpg', '/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_45_10395.jpg', '/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_55_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/54/image_09042025_18_55_05_10338.jpg
/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_15_10344.jpg
/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_24_9399.jpg
/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_35_10360.jpg
/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_45_10395.jpg
/home/pi/Desktop/images/09042025/18/55/image_09042025_18_55_55_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":["1350854853","1350854862","1350854847","1350854876","1350854855","1350854858"],"photo_ids_order":["1350854847","1350854853","1350854855","1350854858","1350854862","1350854876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b030365271a4c7155d2bfa22d84bf16c.jpg","text":"TemporaryFile(/tmp/multipartBody617921905315646605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222893527,"filename":"image_09042025_18_55_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/4/9/c7231274a79a847a2f432875b04a6366.jpg","text":"TemporaryFile(/tmp/multipartBody3390836338526919216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222893527,"filename":"image_09042025_18_55_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/4/9/5ea0f96a5c0d21c61eceb1504b607bd3.jpg","text":"TemporaryFile(/tmp/multipartBody516363122800924071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222893527,"filename":"image_09042025_18_55_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/4/9/7c0723f89ed40a80d7271ded0704ccb9.jpg","text":"TemporaryFile(/tmp/multipartBody3818466292807067149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222893527,"filename":"image_09042025_18_55_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/4/9/7a29ac2322cadce3a441f2e9f277d47e.jpg","text":"TemporaryFile(/tmp/multipartBody2697673992915465664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222893527,"filename":"image_09042025_18_55_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/33e10bdb773259dfba74997ebae302bc.jpg","text":"TemporaryFile(/tmp/multipartBody6160120262038408126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222893527,"filename":"image_09042025_18_55_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350854855","file1":"1350854853","file0":"1350854847","file4":"1350854862","file5":"1350854876","file3":"1350854858"},"map_files_photo_id_array":[{"photo_id":"1350854876","filename":"file5"},{"photo_id":"1350854855","filename":"file2"},{"photo_id":"1350854862","filename":"file4"},{"photo_id":"1350854853","filename":"file1"},{"photo_id":"1350854847","filename":"file0"},{"photo_id":"1350854858","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350854853":["hashtag1","hashtag2"]},{"1350854862":["hashtag1","hashtag2"]},{"1350854847":["hashtag1","hashtag2"]},{"1350854876":["hashtag1","hashtag2"]},{"1350854855":["hashtag1","hashtag2"]},{"1350854858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350854853, 1350854862, 1350854847, 1350854876, 1350854855, 1350854858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.12568211555481 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:21:33.077162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/55/image_09042025_18_56_05_10364.jpg', '/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_14_9407.jpg', '/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_25_10351.jpg', '/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_35_10339.jpg', '/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_44_9404.jpg', '/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_55_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/55/image_09042025_18_56_05_10364.jpg
/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_14_9407.jpg
/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_25_10351.jpg
/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_35_10339.jpg
/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_44_9404.jpg
/home/pi/Desktop/images/09042025/18/56/image_09042025_18_56_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":["1350854923","1350854934","1350854937","1350854925","1350854928","1350854939"],"photo_ids_order":["1350854923","1350854925","1350854928","1350854934","1350854937","1350854939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99760e5ea867f106c2bd31782958695a.jpg","text":"TemporaryFile(/tmp/multipartBody7474547467006921124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222953555,"filename":"image_09042025_18_56_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf0cebb70d7f4acd2878de9f3d97aabc.jpg","text":"TemporaryFile(/tmp/multipartBody8271401776626403131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222953555,"filename":"image_09042025_18_56_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/4/9/d9be636a6e7570b57a6152e3a7ade1c5.jpg","text":"TemporaryFile(/tmp/multipartBody6388952062432942762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222953555,"filename":"image_09042025_18_56_44_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0780904f50e33403ef58773c9a5d6f70.jpg","text":"TemporaryFile(/tmp/multipartBody5583364397972053660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222953555,"filename":"image_09042025_18_56_14_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75b20858314833f51f9c0a92bb67b1ca.jpg","text":"TemporaryFile(/tmp/multipartBody2365581475793719858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222953555,"filename":"image_09042025_18_56_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/4/9/20c893e3c7a89cf32872aaed275dff3a.jpg","text":"TemporaryFile(/tmp/multipartBody5720031912908557980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744222953555,"filename":"image_09042025_18_56_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350854928","file1":"1350854925","file0":"1350854923","file4":"1350854937","file5":"1350854939","file3":"1350854934"},"map_files_photo_id_array":[{"photo_id":"1350854939","filename":"file5"},{"photo_id":"1350854928","filename":"file2"},{"photo_id":"1350854937","filename":"file4"},{"photo_id":"1350854925","filename":"file1"},{"photo_id":"1350854923","filename":"file0"},{"photo_id":"1350854934","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350854923":["hashtag1","hashtag2"]},{"1350854934":["hashtag1","hashtag2"]},{"1350854937":["hashtag1","hashtag2"]},{"1350854925":["hashtag1","hashtag2"]},{"1350854928":["hashtag1","hashtag2"]},{"1350854939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350854923, 1350854934, 1350854937, 1350854925, 1350854928, 1350854939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92901039123535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:22:32.334255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/56/image_09042025_18_57_05_10407.jpg', '/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_15_9333.jpg', '/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_25_10343.jpg', '/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_34_9355.jpg', '/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_45_10359.jpg', '/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_55_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/56/image_09042025_18_57_05_10407.jpg
/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_15_9333.jpg
/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_25_10343.jpg
/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_34_9355.jpg
/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_45_10359.jpg
/home/pi/Desktop/images/09042025/18/57/image_09042025_18_57_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":["1350854982","1350855006","1350855009","1350855000","1350855008","1350854992"],"photo_ids_order":["1350854982","1350854992","1350855000","1350855006","1350855008","1350855009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9e7f1df95f2252f41dbd7d0c0ab40d9.jpg","text":"TemporaryFile(/tmp/multipartBody1972550306405114967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223012825,"filename":"image_09042025_18_57_05_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b5092e55338774f96764fe6df8a83ea7.jpg","text":"TemporaryFile(/tmp/multipartBody4853577154973820714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223012825,"filename":"image_09042025_18_57_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/4/9/8addd40cf8e3c0aa032d5e1569032aac.jpg","text":"TemporaryFile(/tmp/multipartBody8113589987718063288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223012825,"filename":"image_09042025_18_57_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/4/9/be9a6bcd3ef404cbaac741dc009500d4.jpg","text":"TemporaryFile(/tmp/multipartBody965011897462386116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223012825,"filename":"image_09042025_18_57_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/4/9/3bb610c6e89d0c0456275d0ff6533e99.jpg","text":"TemporaryFile(/tmp/multipartBody2474606443231876125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223012825,"filename":"image_09042025_18_57_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/4/9/9cbe739b4729bdd5595f3ab0b5b140bf.jpg","text":"TemporaryFile(/tmp/multipartBody3888161668844807244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223012825,"filename":"image_09042025_18_57_15_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855000","file1":"1350854992","file0":"1350854982","file4":"1350855008","file5":"1350855009","file3":"1350855006"},"map_files_photo_id_array":[{"photo_id":"1350855009","filename":"file5"},{"photo_id":"1350855000","filename":"file2"},{"photo_id":"1350855008","filename":"file4"},{"photo_id":"1350854992","filename":"file1"},{"photo_id":"1350854982","filename":"file0"},{"photo_id":"1350855006","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350854982":["hashtag1","hashtag2"]},{"1350855006":["hashtag1","hashtag2"]},{"1350855009":["hashtag1","hashtag2"]},{"1350855000":["hashtag1","hashtag2"]},{"1350855008":["hashtag1","hashtag2"]},{"1350854992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350854982, 1350855006, 1350855009, 1350855000, 1350855008, 1350854992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.562670946121216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:23:32.584764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/57/image_09042025_18_58_04_9334.jpg', '/home/pi/Desktop/images/09042025/18/58/image_09042025_18_58_15_10431.jpg', '/home/pi/Desktop/images/09042025/18/58/image_09042025_18_58_34_9346.jpg', '/home/pi/Desktop/images/09042025/18/58/image_09042025_18_58_45_10341.jpg', '/home/pi/Desktop/images/09042025/18/58/image_09042025_18_58_55_10353.jpg', '/home/pi/Desktop/images/09042025/18/58/image_09042025_18_59_05_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/57/image_09042025_18_58_04_9334.jpg
/home/pi/Desktop/images/09042025/18/58/image_09042025_18_58_15_10431.jpg
/home/pi/Desktop/images/09042025/18/58/image_09042025_18_58_34_9346.jpg
/home/pi/Desktop/images/09042025/18/58/image_09042025_18_58_45_10341.jpg
/home/pi/Desktop/images/09042025/18/58/image_09042025_18_58_55_10353.jpg
/home/pi/Desktop/images/09042025/18/58/image_09042025_18_59_05_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350855153","1350855176","1350855191","1350855170","1350855199","1350855172"],"photo_ids_order":["1350855153","1350855170","1350855172","1350855176","1350855191","1350855199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/54f210a1d921ce81c4bb968f9cf29438.jpg","text":"TemporaryFile(/tmp/multipartBody7018949499549732698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223073060,"filename":"image_09042025_18_58_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/4/9/f2e5c3889f22df267c1e1a5fb1715bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8134278927323586782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223073060,"filename":"image_09042025_18_58_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/4/9/5df4f31bdb16c6e98cfedf7f440b34f3.jpg","text":"TemporaryFile(/tmp/multipartBody5414246508949293032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223073060,"filename":"image_09042025_18_58_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/4/9/cc20e9dd58b91d6dc1bf79fa67da8bc8.jpg","text":"TemporaryFile(/tmp/multipartBody7923858951389026341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223073060,"filename":"image_09042025_18_58_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/4/9/018f32c322681e61ab31b4757ec7c522.jpg","text":"TemporaryFile(/tmp/multipartBody8963819948018980241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223073060,"filename":"image_09042025_18_59_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/4/9/8788f64b33528a1bd8a72c0a9ce0f41a.jpg","text":"TemporaryFile(/tmp/multipartBody2126008741790596264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223073060,"filename":"image_09042025_18_58_34_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855172","file1":"1350855170","file0":"1350855153","file4":"1350855191","file5":"1350855199","file3":"1350855176"},"map_files_photo_id_array":[{"photo_id":"1350855199","filename":"file5"},{"photo_id":"1350855172","filename":"file2"},{"photo_id":"1350855191","filename":"file4"},{"photo_id":"1350855170","filename":"file1"},{"photo_id":"1350855153","filename":"file0"},{"photo_id":"1350855176","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350855153":["hashtag1","hashtag2"]},{"1350855176":["hashtag1","hashtag2"]},{"1350855191":["hashtag1","hashtag2"]},{"1350855170":["hashtag1","hashtag2"]},{"1350855199":["hashtag1","hashtag2"]},{"1350855172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350855153, 1350855176, 1350855191, 1350855170, 1350855199, 1350855172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80735802650452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:24:32.758285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_15_10383.jpg', '/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_24_9377.jpg', '/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_35_10408.jpg', '/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_45_10356.jpg', '/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_54_9440.jpg', '/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_16_10072.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_15_10383.jpg
/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_24_9377.jpg
/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_35_10408.jpg
/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_45_10356.jpg
/home/pi/Desktop/images/09042025/18/59/image_09042025_18_59_54_9440.jpg
/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_16_10072.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350855241","1350855244","1350855238","1350855246","1350855234","1350855251"],"photo_ids_order":["1350855234","1350855238","1350855241","1350855244","1350855246","1350855251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d3d2e455ab08f9b285eb92abc4c29ee.jpg","text":"TemporaryFile(/tmp/multipartBody8394282846519811910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223133248,"filename":"image_09042025_18_59_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/4/9/0f6e9532f0ec02048abfea101c30883b.jpg","text":"TemporaryFile(/tmp/multipartBody1013900288241956760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223133248,"filename":"image_09042025_18_59_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/088cd892d7ad683582024ee1c169b00a.jpg","text":"TemporaryFile(/tmp/multipartBody7073688826090146367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223133248,"filename":"image_09042025_18_59_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/4/9/9b65a2ba0b584f0d4b9782a6327571ac.jpg","text":"TemporaryFile(/tmp/multipartBody4728917512919790575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223133248,"filename":"image_09042025_18_59_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a9ed8969ec97b764486ecc3e90278fa.jpg","text":"TemporaryFile(/tmp/multipartBody6226162832820938376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223133248,"filename":"image_09042025_18_59_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/4/9/2fe7f031dfd35a416f99288600f0520b.jpg","text":"TemporaryFile(/tmp/multipartBody7416328941584849182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223133248,"filename":"image_09042025_19_00_16_10072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855241","file1":"1350855238","file0":"1350855234","file4":"1350855246","file5":"1350855251","file3":"1350855244"},"map_files_photo_id_array":[{"photo_id":"1350855251","filename":"file5"},{"photo_id":"1350855241","filename":"file2"},{"photo_id":"1350855246","filename":"file4"},{"photo_id":"1350855238","filename":"file1"},{"photo_id":"1350855234","filename":"file0"},{"photo_id":"1350855244","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350855241":["hashtag1","hashtag2"]},{"1350855244":["hashtag1","hashtag2"]},{"1350855238":["hashtag1","hashtag2"]},{"1350855246":["hashtag1","hashtag2"]},{"1350855234":["hashtag1","hashtag2"]},{"1350855251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350855241, 1350855244, 1350855238, 1350855246, 1350855234, 1350855251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91121482849121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:25:32.974300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_27_10428.jpg', '/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_37_10368.jpg', '/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_46_9371.jpg', '/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_57_10368.jpg', '/home/pi/Desktop/images/09042025/19/00/image_09042025_19_01_07_10349.jpg', '/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_16_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_27_10428.jpg
/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_37_10368.jpg
/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_46_9371.jpg
/home/pi/Desktop/images/09042025/19/00/image_09042025_19_00_57_10368.jpg
/home/pi/Desktop/images/09042025/19/00/image_09042025_19_01_07_10349.jpg
/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_16_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":["1350855355","1350855387","1350855390","1350855363","1350855417","1350855362"],"photo_ids_order":["1350855355","1350855362","1350855363","1350855387","1350855390","1350855417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ece8233e40ad4195201fa7ff7fe5072a.jpg","text":"TemporaryFile(/tmp/multipartBody1179402855640511188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223193452,"filename":"image_09042025_19_00_27_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/319caf33123f030a57239f41f58b9d85.jpg","text":"TemporaryFile(/tmp/multipartBody1307821128834039731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223193452,"filename":"image_09042025_19_00_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/72695b96ec355f0b33a6f22f53d86beb.jpg","text":"TemporaryFile(/tmp/multipartBody58924382795596635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223193452,"filename":"image_09042025_19_01_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/4/9/4af40fba9520e5fce345954a51e3ab6d.jpg","text":"TemporaryFile(/tmp/multipartBody8179117506883799440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223193452,"filename":"image_09042025_19_00_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/4/9/1e1ac8b69418e771e31c07456808a7ca.jpg","text":"TemporaryFile(/tmp/multipartBody8907589262868122352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223193452,"filename":"image_09042025_19_01_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/4/9/6749aef0243d3def273b990c4d724054.jpg","text":"TemporaryFile(/tmp/multipartBody7322246305940713520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223193452,"filename":"image_09042025_19_00_37_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855363","file1":"1350855362","file0":"1350855355","file4":"1350855390","file5":"1350855417","file3":"1350855387"},"map_files_photo_id_array":[{"photo_id":"1350855417","filename":"file5"},{"photo_id":"1350855363","filename":"file2"},{"photo_id":"1350855390","filename":"file4"},{"photo_id":"1350855362","filename":"file1"},{"photo_id":"1350855355","filename":"file0"},{"photo_id":"1350855387","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350855355":["hashtag1","hashtag2"]},{"1350855387":["hashtag1","hashtag2"]},{"1350855390":["hashtag1","hashtag2"]},{"1350855363":["hashtag1","hashtag2"]},{"1350855417":["hashtag1","hashtag2"]},{"1350855362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350855355, 1350855387, 1350855390, 1350855363, 1350855417, 1350855362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.838451623916626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:26:32.249161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_27_10360.jpg', '/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_36_9514.jpg', '/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_47_10349.jpg', '/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_57_10350.jpg', '/home/pi/Desktop/images/09042025/19/01/image_09042025_19_02_06_9335.jpg', '/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_17_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_27_10360.jpg
/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_36_9514.jpg
/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_47_10349.jpg
/home/pi/Desktop/images/09042025/19/01/image_09042025_19_01_57_10350.jpg
/home/pi/Desktop/images/09042025/19/01/image_09042025_19_02_06_9335.jpg
/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_17_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350855567","1350855582","1350855578","1350855572","1350855575","1350855548"],"photo_ids_order":["1350855548","1350855567","1350855572","1350855575","1350855578","1350855582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ddf15d1d0cb30b1d2a3a98ba6cb66b77.jpg","text":"TemporaryFile(/tmp/multipartBody403111478852636597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223252736,"filename":"image_09042025_19_01_36_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fc938faad6ecee077dad6b61f072db4.jpg","text":"TemporaryFile(/tmp/multipartBody9082928471779693205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223252736,"filename":"image_09042025_19_02_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9d7cb338159dbe41ad1971a0d5ec053.jpg","text":"TemporaryFile(/tmp/multipartBody5972857906624509302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223252736,"filename":"image_09042025_19_02_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/4/9/346c94c456f3d7b4e8d161598a06782f.jpg","text":"TemporaryFile(/tmp/multipartBody8124024241446982170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223252736,"filename":"image_09042025_19_01_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/4/9/f49460de26ebbbc0e4e47488928d2ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1983644709190984165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223252736,"filename":"image_09042025_19_01_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/4/9/32cb87189cd2d66417e9000ec76057f3.jpg","text":"TemporaryFile(/tmp/multipartBody2027098229997392683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223252736,"filename":"image_09042025_19_01_27_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855572","file1":"1350855567","file0":"1350855548","file4":"1350855578","file5":"1350855582","file3":"1350855575"},"map_files_photo_id_array":[{"photo_id":"1350855582","filename":"file5"},{"photo_id":"1350855572","filename":"file2"},{"photo_id":"1350855578","filename":"file4"},{"photo_id":"1350855567","filename":"file1"},{"photo_id":"1350855548","filename":"file0"},{"photo_id":"1350855575","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350855567":["hashtag1","hashtag2"]},{"1350855582":["hashtag1","hashtag2"]},{"1350855578":["hashtag1","hashtag2"]},{"1350855572":["hashtag1","hashtag2"]},{"1350855575":["hashtag1","hashtag2"]},{"1350855548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350855567, 1350855582, 1350855578, 1350855572, 1350855575, 1350855548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.175618171691895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:27:32.409535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_27_10371.jpg', '/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_36_9335.jpg', '/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_47_10350.jpg', '/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_56_9358.jpg', '/home/pi/Desktop/images/09042025/19/02/image_09042025_19_03_06_10426.jpg', '/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_17_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_27_10371.jpg
/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_36_9335.jpg
/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_47_10350.jpg
/home/pi/Desktop/images/09042025/19/02/image_09042025_19_02_56_9358.jpg
/home/pi/Desktop/images/09042025/19/02/image_09042025_19_03_06_10426.jpg
/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_17_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350855628","1350855633","1350855668","1350855641","1350855629","1350855626"],"photo_ids_order":["1350855626","1350855628","1350855629","1350855633","1350855641","1350855668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a4390e2dbaf8aa09ea7fe104df4b73af.jpg","text":"TemporaryFile(/tmp/multipartBody5094438355159070624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223312894,"filename":"image_09042025_19_02_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/4/9/b70f891c60fb4396e1174904056ad998.jpg","text":"TemporaryFile(/tmp/multipartBody479526417661654368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223312894,"filename":"image_09042025_19_02_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/4/9/9e2e90ff5c59d2b4f88cc4a1327e932b.jpg","text":"TemporaryFile(/tmp/multipartBody8082970848358036138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223312894,"filename":"image_09042025_19_03_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/778de84d7e511394424310befb2787d6.jpg","text":"TemporaryFile(/tmp/multipartBody4367038835457386418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223312894,"filename":"image_09042025_19_03_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/4/9/a08d3c9e086c99f6491229e830f4cb22.jpg","text":"TemporaryFile(/tmp/multipartBody5876688266159808842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223312894,"filename":"image_09042025_19_02_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69fb191f2f085db9187bf650640df159.jpg","text":"TemporaryFile(/tmp/multipartBody6998676175340203865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223312894,"filename":"image_09042025_19_02_27_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855629","file1":"1350855628","file0":"1350855626","file4":"1350855641","file5":"1350855668","file3":"1350855633"},"map_files_photo_id_array":[{"photo_id":"1350855668","filename":"file5"},{"photo_id":"1350855629","filename":"file2"},{"photo_id":"1350855641","filename":"file4"},{"photo_id":"1350855628","filename":"file1"},{"photo_id":"1350855626","filename":"file0"},{"photo_id":"1350855633","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350855628":["hashtag1","hashtag2"]},{"1350855633":["hashtag1","hashtag2"]},{"1350855668":["hashtag1","hashtag2"]},{"1350855641":["hashtag1","hashtag2"]},{"1350855629":["hashtag1","hashtag2"]},{"1350855626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350855628, 1350855633, 1350855668, 1350855641, 1350855629, 1350855626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.55397081375122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:28:32.732554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_26_9439.jpg', '/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_37_10346.jpg', '/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_47_10349.jpg', '/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_56_9368.jpg', '/home/pi/Desktop/images/09042025/19/03/image_09042025_19_04_07_10320.jpg', '/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_17_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_26_9439.jpg
/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_37_10346.jpg
/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_47_10349.jpg
/home/pi/Desktop/images/09042025/19/03/image_09042025_19_03_56_9368.jpg
/home/pi/Desktop/images/09042025/19/03/image_09042025_19_04_07_10320.jpg
/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_17_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350855751","1350855744","1350855785","1350855770","1350855773","1350855778"],"photo_ids_order":["1350855744","1350855751","1350855770","1350855773","1350855778","1350855785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b359a0d2ffb39e680b830c9f10e76e70.jpg","text":"TemporaryFile(/tmp/multipartBody1118639356182090066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223373217,"filename":"image_09042025_19_03_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/311664c10b57505f43091597a9059535.jpg","text":"TemporaryFile(/tmp/multipartBody6109313327025578800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223373217,"filename":"image_09042025_19_03_26_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/626d0a557c8ce3c4c5b9fa6712ff95eb.jpg","text":"TemporaryFile(/tmp/multipartBody684666659732503125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223373217,"filename":"image_09042025_19_04_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/4/9/b77a386f5d639175f09d3c03c7bb8e47.jpg","text":"TemporaryFile(/tmp/multipartBody3807031036511316884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223373217,"filename":"image_09042025_19_03_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/4/9/c19dfea9cef75fbc05b925492284b5a8.jpg","text":"TemporaryFile(/tmp/multipartBody693221109932234096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223373217,"filename":"image_09042025_19_03_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/4/9/3127abe2dd1466db8accecd8f1ea41c0.jpg","text":"TemporaryFile(/tmp/multipartBody569763682185267287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223373217,"filename":"image_09042025_19_04_07_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855770","file1":"1350855751","file0":"1350855744","file4":"1350855778","file5":"1350855785","file3":"1350855773"},"map_files_photo_id_array":[{"photo_id":"1350855785","filename":"file5"},{"photo_id":"1350855770","filename":"file2"},{"photo_id":"1350855778","filename":"file4"},{"photo_id":"1350855751","filename":"file1"},{"photo_id":"1350855744","filename":"file0"},{"photo_id":"1350855773","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350855751":["hashtag1","hashtag2"]},{"1350855744":["hashtag1","hashtag2"]},{"1350855785":["hashtag1","hashtag2"]},{"1350855770":["hashtag1","hashtag2"]},{"1350855773":["hashtag1","hashtag2"]},{"1350855778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350855751, 1350855744, 1350855785, 1350855770, 1350855773, 1350855778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.054306983947754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:29:33.036358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_26_9338.jpg', '/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_37_10341.jpg', '/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_46_9429.jpg', '/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_57_10422.jpg', '/home/pi/Desktop/images/09042025/19/04/image_09042025_19_05_07_10324.jpg', '/home/pi/Desktop/images/09042025/19/05/image_09042025_19_05_16_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_26_9338.jpg
/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_37_10341.jpg
/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_46_9429.jpg
/home/pi/Desktop/images/09042025/19/04/image_09042025_19_04_57_10422.jpg
/home/pi/Desktop/images/09042025/19/04/image_09042025_19_05_07_10324.jpg
/home/pi/Desktop/images/09042025/19/05/image_09042025_19_05_16_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":["1350855826","1350855846","1350855831","1350855825","1350855851","1350855848"],"photo_ids_order":["1350855825","1350855826","1350855831","1350855846","1350855848","1350855851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c8f18c27b44d33aa81e9cc86cf7f137.jpg","text":"TemporaryFile(/tmp/multipartBody5632271792941751304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223433518,"filename":"image_09042025_19_04_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5168303d6d3faa87ba83c6d49ef8a1f7.jpg","text":"TemporaryFile(/tmp/multipartBody2878796299191946241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223433518,"filename":"image_09042025_19_04_57_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c823b88ce896bcb8a6324a8c81dc0d3.jpg","text":"TemporaryFile(/tmp/multipartBody7712659364811228516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223433518,"filename":"image_09042025_19_04_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37e6fc5e94435fcb6147a98c358395a4.jpg","text":"TemporaryFile(/tmp/multipartBody1850874040301048696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223433518,"filename":"image_09042025_19_04_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/4/9/2c7271d8b5c39f22481a2ee2681e8a18.jpg","text":"TemporaryFile(/tmp/multipartBody7853155836938721569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223433518,"filename":"image_09042025_19_05_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dee4b5cc8609643a5cdb2191bf259487.jpg","text":"TemporaryFile(/tmp/multipartBody7363086239698763541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223433518,"filename":"image_09042025_19_05_07_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855831","file1":"1350855826","file0":"1350855825","file4":"1350855848","file5":"1350855851","file3":"1350855846"},"map_files_photo_id_array":[{"photo_id":"1350855851","filename":"file5"},{"photo_id":"1350855831","filename":"file2"},{"photo_id":"1350855848","filename":"file4"},{"photo_id":"1350855826","filename":"file1"},{"photo_id":"1350855825","filename":"file0"},{"photo_id":"1350855846","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350855826":["hashtag1","hashtag2"]},{"1350855846":["hashtag1","hashtag2"]},{"1350855831":["hashtag1","hashtag2"]},{"1350855825":["hashtag1","hashtag2"]},{"1350855851":["hashtag1","hashtag2"]},{"1350855848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350855826, 1350855846, 1350855831, 1350855825, 1350855851, 1350855848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59939694404602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:30:32.243499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/05/image_09042025_19_05_27_10342.jpg', '/home/pi/Desktop/images/09042025/19/05/image_09042025_19_05_46_9377.jpg', '/home/pi/Desktop/images/09042025/19/05/image_09042025_19_05_57_10357.jpg', '/home/pi/Desktop/images/09042025/19/05/image_09042025_19_06_07_10345.jpg', '/home/pi/Desktop/images/09042025/19/06/image_09042025_19_06_16_9339.jpg', '/home/pi/Desktop/images/09042025/19/06/image_09042025_19_06_36_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/05/image_09042025_19_05_27_10342.jpg
/home/pi/Desktop/images/09042025/19/05/image_09042025_19_05_46_9377.jpg
/home/pi/Desktop/images/09042025/19/05/image_09042025_19_05_57_10357.jpg
/home/pi/Desktop/images/09042025/19/05/image_09042025_19_06_07_10345.jpg
/home/pi/Desktop/images/09042025/19/06/image_09042025_19_06_16_9339.jpg
/home/pi/Desktop/images/09042025/19/06/image_09042025_19_06_36_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":["1350855886","1350855889","1350855880","1350855874","1350855883","1350855877"],"photo_ids_order":["1350855874","1350855877","1350855880","1350855883","1350855886","1350855889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0bfca165692c138207693d32aa57edfb.jpg","text":"TemporaryFile(/tmp/multipartBody6095564736629976910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223492721,"filename":"image_09042025_19_06_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/4/9/40cd6fe79ab75e0783e1acffb67b5b50.jpg","text":"TemporaryFile(/tmp/multipartBody5093781291431537078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223492721,"filename":"image_09042025_19_06_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bab1b286ca930fb635d11d1083412b84.jpg","text":"TemporaryFile(/tmp/multipartBody532764937835946913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223492721,"filename":"image_09042025_19_05_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/4/9/41e60fe9f96b7ff4d0869a9edd3a4027.jpg","text":"TemporaryFile(/tmp/multipartBody224618174456451767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223492721,"filename":"image_09042025_19_05_27_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/882b6d4239c367c4ef6fdcf3d7ebddc2.jpg","text":"TemporaryFile(/tmp/multipartBody9197680385881799562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223492721,"filename":"image_09042025_19_06_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/4/9/29c9b4c595d0a51c87a0be768e3b8814.jpg","text":"TemporaryFile(/tmp/multipartBody5038832695339955215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223492721,"filename":"image_09042025_19_05_46_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855880","file1":"1350855877","file0":"1350855874","file4":"1350855886","file5":"1350855889","file3":"1350855883"},"map_files_photo_id_array":[{"photo_id":"1350855889","filename":"file5"},{"photo_id":"1350855880","filename":"file2"},{"photo_id":"1350855886","filename":"file4"},{"photo_id":"1350855877","filename":"file1"},{"photo_id":"1350855874","filename":"file0"},{"photo_id":"1350855883","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350855886":["hashtag1","hashtag2"]},{"1350855889":["hashtag1","hashtag2"]},{"1350855880":["hashtag1","hashtag2"]},{"1350855874":["hashtag1","hashtag2"]},{"1350855883":["hashtag1","hashtag2"]},{"1350855877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350855886, 1350855889, 1350855880, 1350855874, 1350855883, 1350855877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.543031454086304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:31:32.388817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/06/image_09042025_19_06_57_10404.jpg', '/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_17_10375.jpg', '/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_27_10361.jpg', '/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_36_9444.jpg', '/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_47_10360.jpg', '/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_56_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/06/image_09042025_19_06_57_10404.jpg
/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_17_10375.jpg
/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_27_10361.jpg
/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_36_9444.jpg
/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_47_10360.jpg
/home/pi/Desktop/images/09042025/19/07/image_09042025_19_07_56_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350856044","1350856055","1350855983","1350855991","1350855985","1350855988"],"photo_ids_order":["1350855983","1350855985","1350855988","1350855991","1350856044","1350856055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81992794301c8edd844cc2c9a2b0bd0d.jpg","text":"TemporaryFile(/tmp/multipartBody5253757240370512156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223552868,"filename":"image_09042025_19_07_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3a992749ae9c97bb683eefdb317b9e1.jpg","text":"TemporaryFile(/tmp/multipartBody2115606484813916631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223552868,"filename":"image_09042025_19_07_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/4/9/9e51bcb8eb39ca58bf361a75487a944a.jpg","text":"TemporaryFile(/tmp/multipartBody8840586579826754256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223552868,"filename":"image_09042025_19_06_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/4/9/7a52ef7fc6841b6108d9c0f000b68f66.jpg","text":"TemporaryFile(/tmp/multipartBody2533863094750863319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223552868,"filename":"image_09042025_19_07_36_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/742e403719d1e32ec16994200899c4a4.jpg","text":"TemporaryFile(/tmp/multipartBody5297982382375778726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223552868,"filename":"image_09042025_19_07_17_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cfb024f95c9abd2fc0e936458276ec9d.jpg","text":"TemporaryFile(/tmp/multipartBody7658016421071315357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223552868,"filename":"image_09042025_19_07_27_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350855988","file1":"1350855985","file0":"1350855983","file4":"1350856044","file5":"1350856055","file3":"1350855991"},"map_files_photo_id_array":[{"photo_id":"1350856055","filename":"file5"},{"photo_id":"1350855988","filename":"file2"},{"photo_id":"1350856044","filename":"file4"},{"photo_id":"1350855985","filename":"file1"},{"photo_id":"1350855983","filename":"file0"},{"photo_id":"1350855991","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350856044":["hashtag1","hashtag2"]},{"1350856055":["hashtag1","hashtag2"]},{"1350855983":["hashtag1","hashtag2"]},{"1350855991":["hashtag1","hashtag2"]},{"1350855985":["hashtag1","hashtag2"]},{"1350855988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350856044, 1350856055, 1350855983, 1350855991, 1350855985, 1350855988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.55757808685303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:32:32.575315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/07/image_09042025_19_08_07_10420.jpg', '/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_17_10446.jpg', '/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_26_9358.jpg', '/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_37_10362.jpg', '/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_46_9366.jpg', '/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_56_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/07/image_09042025_19_08_07_10420.jpg
/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_17_10446.jpg
/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_26_9358.jpg
/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_37_10362.jpg
/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_46_9366.jpg
/home/pi/Desktop/images/09042025/19/08/image_09042025_19_08_56_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":["1350856143","1350856178","1350856151","1350856124","1350856165","1350856156"],"photo_ids_order":["1350856124","1350856143","1350856151","1350856156","1350856165","1350856178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ea495f34f4f0311321a3eb7dec4e8b3.jpg","text":"TemporaryFile(/tmp/multipartBody6241727026469849727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223613064,"filename":"image_09042025_19_08_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/4/9/e7eac03001c270ec6e68016cc3ed09fa.jpg","text":"TemporaryFile(/tmp/multipartBody383635046101183019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223613064,"filename":"image_09042025_19_08_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/4/9/d6c0d6d19a34fad7f19c6bc0c5e3b7ac.jpg","text":"TemporaryFile(/tmp/multipartBody5118797194779840120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223613064,"filename":"image_09042025_19_08_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d816e61de234acb76fc511a563b60aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8495570305814045137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223613064,"filename":"image_09042025_19_08_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/4/9/ca67cc3d2996b6299bf4e74f79b4fd71.jpg","text":"TemporaryFile(/tmp/multipartBody8847689103699980413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223613064,"filename":"image_09042025_19_08_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3500fd6c79277cc77a77b885ebcc0569.jpg","text":"TemporaryFile(/tmp/multipartBody8249575403941654345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223613064,"filename":"image_09042025_19_08_37_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350856151","file1":"1350856143","file0":"1350856124","file4":"1350856165","file5":"1350856178","file3":"1350856156"},"map_files_photo_id_array":[{"photo_id":"1350856178","filename":"file5"},{"photo_id":"1350856151","filename":"file2"},{"photo_id":"1350856165","filename":"file4"},{"photo_id":"1350856143","filename":"file1"},{"photo_id":"1350856124","filename":"file0"},{"photo_id":"1350856156","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350856143":["hashtag1","hashtag2"]},{"1350856178":["hashtag1","hashtag2"]},{"1350856151":["hashtag1","hashtag2"]},{"1350856124":["hashtag1","hashtag2"]},{"1350856165":["hashtag1","hashtag2"]},{"1350856156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350856143, 1350856178, 1350856151, 1350856124, 1350856165, 1350856156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28998589515686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:33:32.759292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/08/image_09042025_19_09_07_10374.jpg', '/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_16_9393.jpg', '/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_27_10403.jpg', '/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_37_10332.jpg', '/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_46_9395.jpg', '/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_57_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/08/image_09042025_19_09_07_10374.jpg
/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_16_9393.jpg
/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_27_10403.jpg
/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_37_10332.jpg
/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_46_9395.jpg
/home/pi/Desktop/images/09042025/19/09/image_09042025_19_09_57_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":["1350856298","1350856301","1350856424","1350856418","1350856294","1350856366"],"photo_ids_order":["1350856294","1350856298","1350856301","1350856366","1350856418","1350856424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9c817141e23ef8b85b1083aab1edb53.jpg","text":"TemporaryFile(/tmp/multipartBody1048750129323529850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223673241,"filename":"image_09042025_19_09_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/4/9/ec2fb1c50f3b994e11546a8c3224d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody615593428883576514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223673241,"filename":"image_09042025_19_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/4/9/1353b16502d5237cd37e107dfd4bd544.jpg","text":"TemporaryFile(/tmp/multipartBody3011519163848458263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223673241,"filename":"image_09042025_19_09_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2aa77c20e87b2be85ddb6b14d9578c0c.jpg","text":"TemporaryFile(/tmp/multipartBody5690525593333278906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223673241,"filename":"image_09042025_19_09_46_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dab416f1a967cb1ced0ea51a8a249caf.jpg","text":"TemporaryFile(/tmp/multipartBody583210485424389109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223673241,"filename":"image_09042025_19_09_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a9e824f759b1e8e3455e6d2412ea9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1670228488848070733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223673241,"filename":"image_09042025_19_09_37_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350856301","file1":"1350856298","file0":"1350856294","file4":"1350856418","file5":"1350856424","file3":"1350856366"},"map_files_photo_id_array":[{"photo_id":"1350856424","filename":"file5"},{"photo_id":"1350856301","filename":"file2"},{"photo_id":"1350856418","filename":"file4"},{"photo_id":"1350856298","filename":"file1"},{"photo_id":"1350856294","filename":"file0"},{"photo_id":"1350856366","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350856298":["hashtag1","hashtag2"]},{"1350856301":["hashtag1","hashtag2"]},{"1350856424":["hashtag1","hashtag2"]},{"1350856418":["hashtag1","hashtag2"]},{"1350856294":["hashtag1","hashtag2"]},{"1350856366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350856298, 1350856301, 1350856424, 1350856418, 1350856294, 1350856366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93794870376587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:34:33.020472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/09/image_09042025_19_10_06_9349.jpg', '/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_16_10420.jpg', '/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_27_10377.jpg', '/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_36_9489.jpg', '/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_47_10357.jpg', '/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_56_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/09/image_09042025_19_10_06_9349.jpg
/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_16_10420.jpg
/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_27_10377.jpg
/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_36_9489.jpg
/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_47_10357.jpg
/home/pi/Desktop/images/09042025/19/10/image_09042025_19_10_56_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":["1350856501","1350856491","1350856494","1350856545","1350856509","1350856497"],"photo_ids_order":["1350856491","1350856494","1350856497","1350856501","1350856509","1350856545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/035722632c6e689f9fab33116b68638a.jpg","text":"TemporaryFile(/tmp/multipartBody9159304097435211513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223733500,"filename":"image_09042025_19_10_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/4/9/35642923f66cb52dc78a630fa46d40ea.jpg","text":"TemporaryFile(/tmp/multipartBody5548143066614659922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223733500,"filename":"image_09042025_19_10_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/4/9/00d0f1b1f66969235a6b34859f0ee2ff.jpg","text":"TemporaryFile(/tmp/multipartBody1258424549589987707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223733500,"filename":"image_09042025_19_10_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0668dfe56bc08bbe19cceed326960fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3661697607721405732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223733500,"filename":"image_09042025_19_10_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/4/9/033f942be243e7d603cda6962fb42f0e.jpg","text":"TemporaryFile(/tmp/multipartBody6997469987528856381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223733500,"filename":"image_09042025_19_10_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/4/9/830ef767528ff6ef8984ef92c29a484f.jpg","text":"TemporaryFile(/tmp/multipartBody7527679188428835450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223733500,"filename":"image_09042025_19_10_27_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350856497","file1":"1350856494","file0":"1350856491","file4":"1350856509","file5":"1350856545","file3":"1350856501"},"map_files_photo_id_array":[{"photo_id":"1350856545","filename":"file5"},{"photo_id":"1350856497","filename":"file2"},{"photo_id":"1350856509","filename":"file4"},{"photo_id":"1350856494","filename":"file1"},{"photo_id":"1350856491","filename":"file0"},{"photo_id":"1350856501","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350856501":["hashtag1","hashtag2"]},{"1350856491":["hashtag1","hashtag2"]},{"1350856494":["hashtag1","hashtag2"]},{"1350856545":["hashtag1","hashtag2"]},{"1350856509":["hashtag1","hashtag2"]},{"1350856497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350856501, 1350856491, 1350856494, 1350856545, 1350856509, 1350856497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.16809344291687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:35:32.300361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/10/image_09042025_19_11_06_10341.jpg', '/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_17_10342.jpg', '/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_26_9356.jpg', '/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_36_10353.jpg', '/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_47_10415.jpg', '/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_56_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/10/image_09042025_19_11_06_10341.jpg
/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_17_10342.jpg
/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_26_9356.jpg
/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_36_10353.jpg
/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_47_10415.jpg
/home/pi/Desktop/images/09042025/19/11/image_09042025_19_11_56_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350856600","1350856592","1350856607","1350856604","1350856603","1350856596"],"photo_ids_order":["1350856592","1350856596","1350856600","1350856603","1350856604","1350856607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/984dc11d8498f8f5a2fe132af59cc34e.jpg","text":"TemporaryFile(/tmp/multipartBody5932020387564624800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223792758,"filename":"image_09042025_19_11_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9eb1a9f534871bc23e31edf21736ebe6.jpg","text":"TemporaryFile(/tmp/multipartBody3501513513286469428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223792758,"filename":"image_09042025_19_11_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f46b08f80154e81f81411c539a55958.jpg","text":"TemporaryFile(/tmp/multipartBody6886081618442147184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223792758,"filename":"image_09042025_19_11_56_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96b472ed9b2f3d5c6bc47c8a7cdaf354.jpg","text":"TemporaryFile(/tmp/multipartBody9204585492158266361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223792758,"filename":"image_09042025_19_11_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/4/9/6ff634c4500fddbd37a8a5c52131709f.jpg","text":"TemporaryFile(/tmp/multipartBody914692629240806228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223792758,"filename":"image_09042025_19_11_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e697c7208c9c2d79972a2401b01dda85.jpg","text":"TemporaryFile(/tmp/multipartBody7721028681157377271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223792758,"filename":"image_09042025_19_11_17_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350856600","file1":"1350856596","file0":"1350856592","file4":"1350856604","file5":"1350856607","file3":"1350856603"},"map_files_photo_id_array":[{"photo_id":"1350856607","filename":"file5"},{"photo_id":"1350856600","filename":"file2"},{"photo_id":"1350856604","filename":"file4"},{"photo_id":"1350856596","filename":"file1"},{"photo_id":"1350856592","filename":"file0"},{"photo_id":"1350856603","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350856600":["hashtag1","hashtag2"]},{"1350856592":["hashtag1","hashtag2"]},{"1350856607":["hashtag1","hashtag2"]},{"1350856604":["hashtag1","hashtag2"]},{"1350856603":["hashtag1","hashtag2"]},{"1350856596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350856600, 1350856592, 1350856607, 1350856604, 1350856603, 1350856596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.179140329360962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:36:32.451997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/11/image_09042025_19_12_07_10343.jpg', '/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_17_10352.jpg', '/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_26_9424.jpg', '/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_37_10348.jpg', '/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_46_9347.jpg', '/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_56_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/11/image_09042025_19_12_07_10343.jpg
/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_17_10352.jpg
/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_26_9424.jpg
/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_37_10348.jpg
/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_46_9347.jpg
/home/pi/Desktop/images/09042025/19/12/image_09042025_19_12_56_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":["1350856764","1350856716","1350856658","1350856820","1350856693","1350856663"],"photo_ids_order":["1350856658","1350856663","1350856693","1350856716","1350856764","1350856820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d72d3cebd2a19196a41ffb8d7d481f16.jpg","text":"TemporaryFile(/tmp/multipartBody7478214694247560536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223852950,"filename":"image_09042025_19_12_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/4/9/9b7ab63240d2d5222bff8d1402cb49bc.jpg","text":"TemporaryFile(/tmp/multipartBody4586369091810509291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223852950,"filename":"image_09042025_19_12_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/4/9/9700c800c35bedd9ce9ba3c902f86e56.jpg","text":"TemporaryFile(/tmp/multipartBody8247951257365222954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223852950,"filename":"image_09042025_19_12_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c503fa803de372bfe866a695589d4f59.jpg","text":"TemporaryFile(/tmp/multipartBody6225197328760826816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223852950,"filename":"image_09042025_19_12_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/4/9/1e9070b1242187e0745d22b1daa86073.jpg","text":"TemporaryFile(/tmp/multipartBody5458735415104381045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223852950,"filename":"image_09042025_19_12_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/4/9/8bc3587b4ba63c54a18bd4468e79aacd.jpg","text":"TemporaryFile(/tmp/multipartBody7854211653786465098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223852950,"filename":"image_09042025_19_12_17_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350856693","file1":"1350856663","file0":"1350856658","file4":"1350856764","file5":"1350856820","file3":"1350856716"},"map_files_photo_id_array":[{"photo_id":"1350856820","filename":"file5"},{"photo_id":"1350856693","filename":"file2"},{"photo_id":"1350856764","filename":"file4"},{"photo_id":"1350856663","filename":"file1"},{"photo_id":"1350856658","filename":"file0"},{"photo_id":"1350856716","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350856764":["hashtag1","hashtag2"]},{"1350856716":["hashtag1","hashtag2"]},{"1350856658":["hashtag1","hashtag2"]},{"1350856820":["hashtag1","hashtag2"]},{"1350856693":["hashtag1","hashtag2"]},{"1350856663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350856764, 1350856716, 1350856658, 1350856820, 1350856693, 1350856663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.788161754608154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:37:32.689576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/12/image_09042025_19_13_07_10396.jpg', '/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_16_9470.jpg', '/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_27_10376.jpg', '/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_46_10415.jpg', '/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_57_10348.jpg', '/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_17_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/12/image_09042025_19_13_07_10396.jpg
/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_16_9470.jpg
/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_27_10376.jpg
/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_46_10415.jpg
/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_57_10348.jpg
/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_17_10371.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47743892669677734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 20:37:42.819130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/12/image_09042025_19_13_07_10396.jpg', '/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_16_9470.jpg', '/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_27_10376.jpg', '/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_46_10415.jpg', '/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_57_10348.jpg', '/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_17_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/12/image_09042025_19_13_07_10396.jpg
/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_16_9470.jpg
/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_27_10376.jpg
/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_46_10415.jpg
/home/pi/Desktop/images/09042025/19/13/image_09042025_19_13_57_10348.jpg
/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_17_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":["1350856983","1350857054","1350857126","1350856987","1350856966","1350857067"],"photo_ids_order":["1350856966","1350856983","1350856987","1350857054","1350857067","1350857126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dc55dd22b99f708e75b2a590d8c3cdd6.jpg","text":"TemporaryFile(/tmp/multipartBody9033375397418364785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223923310,"filename":"image_09042025_19_13_16_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b8563485659303326418875e40fddb61.jpg","text":"TemporaryFile(/tmp/multipartBody4539413175964889392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223923310,"filename":"image_09042025_19_13_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/4/9/dda62254c3f76118f8e2c0a9976ddd0a.jpg","text":"TemporaryFile(/tmp/multipartBody2783642873228812205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223923310,"filename":"image_09042025_19_14_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/feb444fe2f268e2484640b79b2a5106c.jpg","text":"TemporaryFile(/tmp/multipartBody2449952482986786040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223923310,"filename":"image_09042025_19_13_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/4/9/27d4a7864e2ab4bf33e75e0b922979cc.jpg","text":"TemporaryFile(/tmp/multipartBody4458098382565481727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223923310,"filename":"image_09042025_19_13_07_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a16e0509e979e22345fa71822371955.jpg","text":"TemporaryFile(/tmp/multipartBody2572895392946855988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223923310,"filename":"image_09042025_19_13_57_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350856987","file1":"1350856983","file0":"1350856966","file4":"1350857067","file5":"1350857126","file3":"1350857054"},"map_files_photo_id_array":[{"photo_id":"1350857126","filename":"file5"},{"photo_id":"1350856987","filename":"file2"},{"photo_id":"1350857067","filename":"file4"},{"photo_id":"1350856983","filename":"file1"},{"photo_id":"1350856966","filename":"file0"},{"photo_id":"1350857054","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350856983":["hashtag1","hashtag2"]},{"1350857054":["hashtag1","hashtag2"]},{"1350857126":["hashtag1","hashtag2"]},{"1350856987":["hashtag1","hashtag2"]},{"1350856966":["hashtag1","hashtag2"]},{"1350857067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350856983, 1350857054, 1350857126, 1350856987, 1350856966, 1350857067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.164159297943115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:38:33.067135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_36_9337.jpg', '/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_47_10370.jpg', '/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_56_9354.jpg', '/home/pi/Desktop/images/09042025/19/15/image_09042025_19_15_27_10397.jpg', '/home/pi/Desktop/images/09042025/19/15/image_09042025_19_15_37_10389.jpg', '/home/pi/Desktop/images/09042025/19/15/image_09042025_19_15_46_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_36_9337.jpg
/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_47_10370.jpg
/home/pi/Desktop/images/09042025/19/14/image_09042025_19_14_56_9354.jpg
/home/pi/Desktop/images/09042025/19/15/image_09042025_19_15_27_10397.jpg
/home/pi/Desktop/images/09042025/19/15/image_09042025_19_15_37_10389.jpg
/home/pi/Desktop/images/09042025/19/15/image_09042025_19_15_46_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350857229","1350857205","1350857312","1350857284","1350857203","1350857253"],"photo_ids_order":["1350857203","1350857205","1350857229","1350857253","1350857284","1350857312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf32d761c6fb0f64d5fcdd6b17c1eb7f.jpg","text":"TemporaryFile(/tmp/multipartBody3293895045575087282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223973530,"filename":"image_09042025_19_14_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/4/9/8cae259556e0c440723c24b79e7e46a6.jpg","text":"TemporaryFile(/tmp/multipartBody4195044702311093691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223973530,"filename":"image_09042025_19_14_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/4/9/58c3bea8dda6a16a4892d935c702fc01.jpg","text":"TemporaryFile(/tmp/multipartBody8634378324665654111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223973530,"filename":"image_09042025_19_15_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/19a8dceedacb743684d140d8e4208731.jpg","text":"TemporaryFile(/tmp/multipartBody5181152336955905054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223973530,"filename":"image_09042025_19_15_37_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4889a3c0e875b75ec4a585600d2d7ca1.jpg","text":"TemporaryFile(/tmp/multipartBody5935300586676495711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223973530,"filename":"image_09042025_19_14_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/60bcfcbba5d1316be4a8fb869fae93a4.jpg","text":"TemporaryFile(/tmp/multipartBody8403451606203595601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744223973530,"filename":"image_09042025_19_15_27_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350857229","file1":"1350857205","file0":"1350857203","file4":"1350857284","file5":"1350857312","file3":"1350857253"},"map_files_photo_id_array":[{"photo_id":"1350857312","filename":"file5"},{"photo_id":"1350857229","filename":"file2"},{"photo_id":"1350857284","filename":"file4"},{"photo_id":"1350857205","filename":"file1"},{"photo_id":"1350857203","filename":"file0"},{"photo_id":"1350857253","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350857229":["hashtag1","hashtag2"]},{"1350857205":["hashtag1","hashtag2"]},{"1350857312":["hashtag1","hashtag2"]},{"1350857284":["hashtag1","hashtag2"]},{"1350857203":["hashtag1","hashtag2"]},{"1350857253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350857229, 1350857205, 1350857312, 1350857284, 1350857203, 1350857253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07293224334717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:39:32.413076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/15/image_09042025_19_15_57_10373.jpg', '/home/pi/Desktop/images/09042025/19/15/image_09042025_19_16_06_9445.jpg', '/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_17_10384.jpg', '/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_27_10365.jpg', '/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_36_9423.jpg', '/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_47_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/15/image_09042025_19_15_57_10373.jpg
/home/pi/Desktop/images/09042025/19/15/image_09042025_19_16_06_9445.jpg
/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_17_10384.jpg
/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_27_10365.jpg
/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_36_9423.jpg
/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_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":["1350857511","1350857442","1350857563","1350857503","1350857481","1350857457"],"photo_ids_order":["1350857442","1350857457","1350857481","1350857503","1350857511","1350857563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef901d3cea6be0e0aaf3c07b54ec32d4.jpg","text":"TemporaryFile(/tmp/multipartBody569880061153403784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224032871,"filename":"image_09042025_19_16_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56f2dc48c8c4f594a8a6c3624ef1bd1d.jpg","text":"TemporaryFile(/tmp/multipartBody2154155560594071567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224032871,"filename":"image_09042025_19_15_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7bf94fa1536ce941fa29bc4058f76ab.jpg","text":"TemporaryFile(/tmp/multipartBody991281073912196211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224032871,"filename":"image_09042025_19_16_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/4/9/adef4d600a53380cb5dbeb5459535d9d.jpg","text":"TemporaryFile(/tmp/multipartBody5142230123718706621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224032871,"filename":"image_09042025_19_16_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/4/9/7afb68a3ebc729418297dd8c20d342c5.jpg","text":"TemporaryFile(/tmp/multipartBody1463499322632887333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224032871,"filename":"image_09042025_19_16_17_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0804599434bb7e80b5abcfbbc675f37d.jpg","text":"TemporaryFile(/tmp/multipartBody5171243485466574391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224032871,"filename":"image_09042025_19_16_06_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350857481","file1":"1350857457","file0":"1350857442","file4":"1350857511","file5":"1350857563","file3":"1350857503"},"map_files_photo_id_array":[{"photo_id":"1350857563","filename":"file5"},{"photo_id":"1350857481","filename":"file2"},{"photo_id":"1350857511","filename":"file4"},{"photo_id":"1350857457","filename":"file1"},{"photo_id":"1350857442","filename":"file0"},{"photo_id":"1350857503","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350857511":["hashtag1","hashtag2"]},{"1350857442":["hashtag1","hashtag2"]},{"1350857563":["hashtag1","hashtag2"]},{"1350857503":["hashtag1","hashtag2"]},{"1350857481":["hashtag1","hashtag2"]},{"1350857457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350857511, 1350857442, 1350857563, 1350857503, 1350857481, 1350857457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14743661880493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:40:32.648100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_56_9355.jpg', '/home/pi/Desktop/images/09042025/19/16/image_09042025_19_17_07_10436.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_16_9561.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_26_10368.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_37_10357.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_46_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_56_9355.jpg
/home/pi/Desktop/images/09042025/19/16/image_09042025_19_17_07_10436.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_16_9561.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_26_10368.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_37_10357.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_46_9414.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38832902908325195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 20:40:42.637090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_56_9355.jpg', '/home/pi/Desktop/images/09042025/19/16/image_09042025_19_17_07_10436.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_16_9561.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_26_10368.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_37_10357.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_46_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/16/image_09042025_19_16_56_9355.jpg
/home/pi/Desktop/images/09042025/19/16/image_09042025_19_17_07_10436.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_16_9561.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_26_10368.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_37_10357.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_46_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350857888","1350857896","1350857881","1350857869","1350857842","1350857892"],"photo_ids_order":["1350857842","1350857869","1350857881","1350857888","1350857892","1350857896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/809313aafa26d1fe9cf8d296aa2c2d59.jpg","text":"TemporaryFile(/tmp/multipartBody4212019774732265244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224103132,"filename":"image_09042025_19_17_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10bb7026446454d4e11dcc1ea1b7057d.jpg","text":"TemporaryFile(/tmp/multipartBody8298342363949446278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224103132,"filename":"image_09042025_19_17_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a4f33f7d8df30906e509130f3f05b33.jpg","text":"TemporaryFile(/tmp/multipartBody2924716115009814711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224103132,"filename":"image_09042025_19_17_16_9561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3618ceaba3928c68590c860f05a5d91.jpg","text":"TemporaryFile(/tmp/multipartBody870309048273171829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224103132,"filename":"image_09042025_19_17_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/4/9/1cf172dc0285bd406d3d51d5c54b3e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2546046861993286309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224103132,"filename":"image_09042025_19_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/4/9/7f1977433f3d4efae5574b47d07c769e.jpg","text":"TemporaryFile(/tmp/multipartBody6440188935039800710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224103132,"filename":"image_09042025_19_17_37_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350857881","file1":"1350857869","file0":"1350857842","file4":"1350857892","file5":"1350857896","file3":"1350857888"},"map_files_photo_id_array":[{"photo_id":"1350857896","filename":"file5"},{"photo_id":"1350857881","filename":"file2"},{"photo_id":"1350857892","filename":"file4"},{"photo_id":"1350857869","filename":"file1"},{"photo_id":"1350857842","filename":"file0"},{"photo_id":"1350857888","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350857888":["hashtag1","hashtag2"]},{"1350857896":["hashtag1","hashtag2"]},{"1350857881":["hashtag1","hashtag2"]},{"1350857869":["hashtag1","hashtag2"]},{"1350857842":["hashtag1","hashtag2"]},{"1350857892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350857888, 1350857896, 1350857881, 1350857869, 1350857842, 1350857892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05988883972168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:41:32.957190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_57_10395.jpg', '/home/pi/Desktop/images/09042025/19/17/image_09042025_19_18_06_9439.jpg', '/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_16_10349.jpg', '/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_27_10366.jpg', '/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_36_9458.jpg', '/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_47_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_17_57_10395.jpg
/home/pi/Desktop/images/09042025/19/17/image_09042025_19_18_06_9439.jpg
/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_16_10349.jpg
/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_27_10366.jpg
/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_36_9458.jpg
/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_47_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":["1350858173","1350858235","1350858406","1350858048","1350858309","1350858102"],"photo_ids_order":["1350858048","1350858102","1350858173","1350858235","1350858309","1350858406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0246c73f6ea8d26bcb0cc45b5460052d.jpg","text":"TemporaryFile(/tmp/multipartBody8929149393233977409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224153445,"filename":"image_09042025_19_18_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/4/9/e34f4ce98c06a6d2d6f9a9aef886d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody7702801983346182945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224153445,"filename":"image_09042025_19_18_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6122657aede3cbad3de4f7dffcdf5888.jpg","text":"TemporaryFile(/tmp/multipartBody7513677965701669377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224153445,"filename":"image_09042025_19_18_47_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75c870aedee0cca65642a30cdf1114ca.jpg","text":"TemporaryFile(/tmp/multipartBody3556662615163914987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224153445,"filename":"image_09042025_19_17_57_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57f000061ba2ad246e6b79c953be6e06.jpg","text":"TemporaryFile(/tmp/multipartBody6835848283397963702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224153445,"filename":"image_09042025_19_18_36_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/345f3527bb3e03822fac3f868643f5c3.jpg","text":"TemporaryFile(/tmp/multipartBody3350699063418632865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224153445,"filename":"image_09042025_19_18_06_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350858173","file1":"1350858102","file0":"1350858048","file4":"1350858309","file5":"1350858406","file3":"1350858235"},"map_files_photo_id_array":[{"photo_id":"1350858406","filename":"file5"},{"photo_id":"1350858173","filename":"file2"},{"photo_id":"1350858309","filename":"file4"},{"photo_id":"1350858102","filename":"file1"},{"photo_id":"1350858048","filename":"file0"},{"photo_id":"1350858235","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350858173":["hashtag1","hashtag2"]},{"1350858235":["hashtag1","hashtag2"]},{"1350858406":["hashtag1","hashtag2"]},{"1350858048":["hashtag1","hashtag2"]},{"1350858309":["hashtag1","hashtag2"]},{"1350858102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350858173, 1350858235, 1350858406, 1350858048, 1350858309, 1350858102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.937183141708374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:42:33.130446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_57_10372.jpg', '/home/pi/Desktop/images/09042025/19/18/image_09042025_19_19_06_9433.jpg', '/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_17_10348.jpg', '/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_26_9373.jpg', '/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_37_10433.jpg', '/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_47_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/18/image_09042025_19_18_57_10372.jpg
/home/pi/Desktop/images/09042025/19/18/image_09042025_19_19_06_9433.jpg
/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_17_10348.jpg
/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_26_9373.jpg
/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_37_10433.jpg
/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_47_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":["1350858890","1350858950","1350858945","1350858939","1350858948","1350858840"],"photo_ids_order":["1350858840","1350858890","1350858939","1350858945","1350858948","1350858950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/426da84c4e8ddf47c37a4288b61172a7.jpg","text":"TemporaryFile(/tmp/multipartBody8480104189765913443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224213601,"filename":"image_09042025_19_19_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/4/9/6cb92cf54dc125b4f8f22cc118adf2c7.jpg","text":"TemporaryFile(/tmp/multipartBody6398773028320794770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224213601,"filename":"image_09042025_19_19_47_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bfd1f01a6a76015406564016676473f4.jpg","text":"TemporaryFile(/tmp/multipartBody7870233590054428000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224213601,"filename":"image_09042025_19_19_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/4/9/b2dfaed4d2fbf42cafdff71caf558edb.jpg","text":"TemporaryFile(/tmp/multipartBody3076518102706775118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224213601,"filename":"image_09042025_19_19_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/4/9/d2e351fc7bfffec1d8f668afb724ae88.jpg","text":"TemporaryFile(/tmp/multipartBody5572779828596376406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224213601,"filename":"image_09042025_19_19_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/4/9/a0e23c75346e95181144568df1639bff.jpg","text":"TemporaryFile(/tmp/multipartBody6098989495677293921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224213601,"filename":"image_09042025_19_18_57_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350858939","file1":"1350858890","file0":"1350858840","file4":"1350858948","file5":"1350858950","file3":"1350858945"},"map_files_photo_id_array":[{"photo_id":"1350858950","filename":"file5"},{"photo_id":"1350858939","filename":"file2"},{"photo_id":"1350858948","filename":"file4"},{"photo_id":"1350858890","filename":"file1"},{"photo_id":"1350858840","filename":"file0"},{"photo_id":"1350858945","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350858890":["hashtag1","hashtag2"]},{"1350858950":["hashtag1","hashtag2"]},{"1350858945":["hashtag1","hashtag2"]},{"1350858939":["hashtag1","hashtag2"]},{"1350858948":["hashtag1","hashtag2"]},{"1350858840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350858890, 1350858950, 1350858945, 1350858939, 1350858948, 1350858840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.44745063781738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:43:32.351208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_56_9450.jpg', '/home/pi/Desktop/images/09042025/19/19/image_09042025_19_20_07_10332.jpg', '/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_16_9336.jpg', '/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_27_10411.jpg', '/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_37_10432.jpg', '/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_46_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/19/image_09042025_19_19_56_9450.jpg
/home/pi/Desktop/images/09042025/19/19/image_09042025_19_20_07_10332.jpg
/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_16_9336.jpg
/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_27_10411.jpg
/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_37_10432.jpg
/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_46_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350858993","1350859011","1350858999","1350858990","1350859020","1350859049"],"photo_ids_order":["1350858990","1350858993","1350858999","1350859011","1350859020","1350859049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/766499f13c2b9a12428d225c14c62714.jpg","text":"TemporaryFile(/tmp/multipartBody4916032056673669791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224272805,"filename":"image_09042025_19_20_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/4/9/9cf280442c3b5d0af100e1f8ef7a5540.jpg","text":"TemporaryFile(/tmp/multipartBody6668997200926509557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224272805,"filename":"image_09042025_19_20_27_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6636bb949962a45efbf5c3d268de7934.jpg","text":"TemporaryFile(/tmp/multipartBody2934845363327226673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224272805,"filename":"image_09042025_19_20_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/4/9/9750ab97b36a923cd558d9c324c6dfa9.jpg","text":"TemporaryFile(/tmp/multipartBody1554694547757504661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224272805,"filename":"image_09042025_19_19_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/4/9/09114c923689f3a764ceb3f04b886f68.jpg","text":"TemporaryFile(/tmp/multipartBody4316408178567505873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224272805,"filename":"image_09042025_19_20_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/79015a4f8fb4f6c1cbb72b50cfea4861.jpg","text":"TemporaryFile(/tmp/multipartBody1987598319890672644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224272805,"filename":"image_09042025_19_20_46_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350858999","file1":"1350858993","file0":"1350858990","file4":"1350859020","file5":"1350859049","file3":"1350859011"},"map_files_photo_id_array":[{"photo_id":"1350859049","filename":"file5"},{"photo_id":"1350858999","filename":"file2"},{"photo_id":"1350859020","filename":"file4"},{"photo_id":"1350858993","filename":"file1"},{"photo_id":"1350858990","filename":"file0"},{"photo_id":"1350859011","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350858993":["hashtag1","hashtag2"]},{"1350859011":["hashtag1","hashtag2"]},{"1350858999":["hashtag1","hashtag2"]},{"1350858990":["hashtag1","hashtag2"]},{"1350859020":["hashtag1","hashtag2"]},{"1350859049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350858993, 1350859011, 1350858999, 1350858990, 1350859020, 1350859049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41050457954407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:44:32.989352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_57_10415.jpg', '/home/pi/Desktop/images/09042025/19/20/image_09042025_19_21_06_9491.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_17_10330.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_27_10359.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_36_9419.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_47_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_57_10415.jpg
/home/pi/Desktop/images/09042025/19/20/image_09042025_19_21_06_9491.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_17_10330.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_27_10359.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_36_9419.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_47_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5104372501373291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 20:44:42.934551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_57_10415.jpg', '/home/pi/Desktop/images/09042025/19/20/image_09042025_19_21_06_9491.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_17_10330.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_27_10359.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_36_9419.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_47_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/20/image_09042025_19_20_57_10415.jpg
/home/pi/Desktop/images/09042025/19/20/image_09042025_19_21_06_9491.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_17_10330.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_27_10359.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_36_9419.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_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":["1350859103","1350859106","1350859132","1350859110","1350859134","1350859097"],"photo_ids_order":["1350859097","1350859103","1350859106","1350859110","1350859132","1350859134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/46d211b3c51351819ecc9c45114bb41d.jpg","text":"TemporaryFile(/tmp/multipartBody3210750131952299771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224343392,"filename":"image_09042025_19_21_06_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6aef7412ec964cfd8020ce469dcfcad0.jpg","text":"TemporaryFile(/tmp/multipartBody4097106317870949552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224343392,"filename":"image_09042025_19_21_17_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0aceb3a3c660e5c81b6def9f915971cd.jpg","text":"TemporaryFile(/tmp/multipartBody2214641877747168735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224343392,"filename":"image_09042025_19_21_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/4/9/a703559626987501c2e6b28e98125c90.jpg","text":"TemporaryFile(/tmp/multipartBody7091334146731908254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224343392,"filename":"image_09042025_19_21_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/4/9/43a07fe1b80a82bbcf8bf88594ad71ce.jpg","text":"TemporaryFile(/tmp/multipartBody1992616155290139797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224343392,"filename":"image_09042025_19_21_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/4/9/c4da9c85045996991cea06daa323fce1.jpg","text":"TemporaryFile(/tmp/multipartBody2331841752065099788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224343392,"filename":"image_09042025_19_20_57_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350859106","file1":"1350859103","file0":"1350859097","file4":"1350859132","file5":"1350859134","file3":"1350859110"},"map_files_photo_id_array":[{"photo_id":"1350859134","filename":"file5"},{"photo_id":"1350859106","filename":"file2"},{"photo_id":"1350859132","filename":"file4"},{"photo_id":"1350859103","filename":"file1"},{"photo_id":"1350859097","filename":"file0"},{"photo_id":"1350859110","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350859103":["hashtag1","hashtag2"]},{"1350859106":["hashtag1","hashtag2"]},{"1350859132":["hashtag1","hashtag2"]},{"1350859110":["hashtag1","hashtag2"]},{"1350859134":["hashtag1","hashtag2"]},{"1350859097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350859103, 1350859106, 1350859132, 1350859110, 1350859134, 1350859097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82003617286682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:45:32.241566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_56_9324.jpg', '/home/pi/Desktop/images/09042025/19/21/image_09042025_19_22_07_10410.jpg', '/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_17_10339.jpg', '/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_26_9471.jpg', '/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_37_10347.jpg', '/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_46_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_21_56_9324.jpg
/home/pi/Desktop/images/09042025/19/21/image_09042025_19_22_07_10410.jpg
/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_17_10339.jpg
/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_26_9471.jpg
/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_37_10347.jpg
/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_46_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":["1350859157","1350859208","1350859182","1350859152","1350859232","1350859154"],"photo_ids_order":["1350859152","1350859154","1350859157","1350859182","1350859208","1350859232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97ddfd5f2b75cecc0806776e82e6e76d.jpg","text":"TemporaryFile(/tmp/multipartBody5166214728818675419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224392700,"filename":"image_09042025_19_22_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88a581809e7d8f4312a17c8c520378e0.jpg","text":"TemporaryFile(/tmp/multipartBody2369151651210971284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224392700,"filename":"image_09042025_19_22_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2b00a6a76be66cca67d3626ed61e4dd.jpg","text":"TemporaryFile(/tmp/multipartBody6787959483656908950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224392700,"filename":"image_09042025_19_22_26_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9788fec8448760d8f623e0b15e6f3e39.jpg","text":"TemporaryFile(/tmp/multipartBody8893572213428312113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224392700,"filename":"image_09042025_19_21_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bb19652ceccf82244f48136e4a70338e.jpg","text":"TemporaryFile(/tmp/multipartBody5235019589266110436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224392700,"filename":"image_09042025_19_22_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/4/9/e335182724e5d7be9061a89ae9364d5a.jpg","text":"TemporaryFile(/tmp/multipartBody6117259448219598016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224392700,"filename":"image_09042025_19_22_07_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350859157","file1":"1350859154","file0":"1350859152","file4":"1350859208","file5":"1350859232","file3":"1350859182"},"map_files_photo_id_array":[{"photo_id":"1350859232","filename":"file5"},{"photo_id":"1350859157","filename":"file2"},{"photo_id":"1350859208","filename":"file4"},{"photo_id":"1350859154","filename":"file1"},{"photo_id":"1350859152","filename":"file0"},{"photo_id":"1350859182","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350859157":["hashtag1","hashtag2"]},{"1350859208":["hashtag1","hashtag2"]},{"1350859182":["hashtag1","hashtag2"]},{"1350859152":["hashtag1","hashtag2"]},{"1350859232":["hashtag1","hashtag2"]},{"1350859154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350859157, 1350859208, 1350859182, 1350859152, 1350859232, 1350859154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.930233240127563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:46:32.414110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_56_10341.jpg', '/home/pi/Desktop/images/09042025/19/22/image_09042025_19_23_07_10339.jpg', '/home/pi/Desktop/images/09042025/19/23/image_09042025_19_23_26_10367.jpg', '/home/pi/Desktop/images/09042025/19/23/image_09042025_19_23_37_10439.jpg', '/home/pi/Desktop/images/09042025/19/23/image_09042025_19_23_57_10354.jpg', '/home/pi/Desktop/images/09042025/19/23/image_09042025_19_24_07_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/22/image_09042025_19_22_56_10341.jpg
/home/pi/Desktop/images/09042025/19/22/image_09042025_19_23_07_10339.jpg
/home/pi/Desktop/images/09042025/19/23/image_09042025_19_23_26_10367.jpg
/home/pi/Desktop/images/09042025/19/23/image_09042025_19_23_37_10439.jpg
/home/pi/Desktop/images/09042025/19/23/image_09042025_19_23_57_10354.jpg
/home/pi/Desktop/images/09042025/19/23/image_09042025_19_24_07_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":["1350859351","1350859354","1350859348","1350859336","1350859356","1350859346"],"photo_ids_order":["1350859336","1350859346","1350859348","1350859351","1350859354","1350859356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aac2717efcdcb39e23f3930dc226b0b1.jpg","text":"TemporaryFile(/tmp/multipartBody1837521335571995409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224452909,"filename":"image_09042025_19_23_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/4/9/0797b91e2a386e3cd3c9e7b47e5dc31c.jpg","text":"TemporaryFile(/tmp/multipartBody449198289983535570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224452909,"filename":"image_09042025_19_23_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a177030f7bf0311b41c6ed7b6e4e272.jpg","text":"TemporaryFile(/tmp/multipartBody8936989258607214861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224452909,"filename":"image_09042025_19_23_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/4/9/74f385181da9ec74f75d028ce1a1529d.jpg","text":"TemporaryFile(/tmp/multipartBody1305108329655245364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224452909,"filename":"image_09042025_19_22_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/4/9/56c239530b98f23c9769094b581bd166.jpg","text":"TemporaryFile(/tmp/multipartBody3036252460507090420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224452909,"filename":"image_09042025_19_24_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/4/9/d33ad721d023b0983d4e83fb6e9ef062.jpg","text":"TemporaryFile(/tmp/multipartBody7934915140857149029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224452909,"filename":"image_09042025_19_23_07_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350859348","file1":"1350859346","file0":"1350859336","file4":"1350859354","file5":"1350859356","file3":"1350859351"},"map_files_photo_id_array":[{"photo_id":"1350859356","filename":"file5"},{"photo_id":"1350859348","filename":"file2"},{"photo_id":"1350859354","filename":"file4"},{"photo_id":"1350859346","filename":"file1"},{"photo_id":"1350859336","filename":"file0"},{"photo_id":"1350859351","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350859351":["hashtag1","hashtag2"]},{"1350859354":["hashtag1","hashtag2"]},{"1350859348":["hashtag1","hashtag2"]},{"1350859336":["hashtag1","hashtag2"]},{"1350859356":["hashtag1","hashtag2"]},{"1350859346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350859351, 1350859354, 1350859348, 1350859336, 1350859356, 1350859346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.345791339874268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:47:32.612868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/24/image_09042025_19_24_16_9345.jpg', '/home/pi/Desktop/images/09042025/19/24/image_09042025_19_24_27_10345.jpg', '/home/pi/Desktop/images/09042025/19/24/image_09042025_19_24_36_9346.jpg', '/home/pi/Desktop/images/09042025/19/24/image_09042025_19_24_57_10358.jpg', '/home/pi/Desktop/images/09042025/19/24/image_09042025_19_25_06_9464.jpg', '/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_17_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/24/image_09042025_19_24_16_9345.jpg
/home/pi/Desktop/images/09042025/19/24/image_09042025_19_24_27_10345.jpg
/home/pi/Desktop/images/09042025/19/24/image_09042025_19_24_36_9346.jpg
/home/pi/Desktop/images/09042025/19/24/image_09042025_19_24_57_10358.jpg
/home/pi/Desktop/images/09042025/19/24/image_09042025_19_25_06_9464.jpg
/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_17_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":["1350859400","1350859403","1350859411","1350859435","1350859422","1350859397"],"photo_ids_order":["1350859397","1350859400","1350859403","1350859411","1350859422","1350859435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/64668226d32c6378470668593b415614.jpg","text":"TemporaryFile(/tmp/multipartBody4212166855944324477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224513088,"filename":"image_09042025_19_24_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/4/9/48e3bdb94afda87f4aba99a15ede8988.jpg","text":"TemporaryFile(/tmp/multipartBody5926781764114070894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224513088,"filename":"image_09042025_19_24_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ddc6130385b0c6818f537722f819ae26.jpg","text":"TemporaryFile(/tmp/multipartBody550148698491032603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224513088,"filename":"image_09042025_19_24_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/426e2051f3eac72d8628b8d9140333c5.jpg","text":"TemporaryFile(/tmp/multipartBody2725095635323933047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224513088,"filename":"image_09042025_19_25_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/4/9/9ff82bb408ff49a0d48f0eb16ac661e8.jpg","text":"TemporaryFile(/tmp/multipartBody1219902486326617077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224513088,"filename":"image_09042025_19_25_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/4/9/0647f6d90cabe15435377190dc666de7.jpg","text":"TemporaryFile(/tmp/multipartBody136376756482829958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224513088,"filename":"image_09042025_19_24_16_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350859403","file1":"1350859400","file0":"1350859397","file4":"1350859422","file5":"1350859435","file3":"1350859411"},"map_files_photo_id_array":[{"photo_id":"1350859435","filename":"file5"},{"photo_id":"1350859403","filename":"file2"},{"photo_id":"1350859422","filename":"file4"},{"photo_id":"1350859400","filename":"file1"},{"photo_id":"1350859397","filename":"file0"},{"photo_id":"1350859411","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350859400":["hashtag1","hashtag2"]},{"1350859403":["hashtag1","hashtag2"]},{"1350859411":["hashtag1","hashtag2"]},{"1350859435":["hashtag1","hashtag2"]},{"1350859422":["hashtag1","hashtag2"]},{"1350859397":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350859400, 1350859403, 1350859411, 1350859435, 1350859422, 1350859397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.906392812728882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:48:32.829755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_27_10351.jpg', '/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_36_9396.jpg', '/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_47_10448.jpg', '/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_56_9344.jpg', '/home/pi/Desktop/images/09042025/19/25/image_09042025_19_26_06_10353.jpg', '/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_17_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_27_10351.jpg
/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_36_9396.jpg
/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_47_10448.jpg
/home/pi/Desktop/images/09042025/19/25/image_09042025_19_25_56_9344.jpg
/home/pi/Desktop/images/09042025/19/25/image_09042025_19_26_06_10353.jpg
/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_17_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":["1350859570","1350859627","1350859500","1350859530","1350859676","1350859484"],"photo_ids_order":["1350859484","1350859500","1350859530","1350859570","1350859627","1350859676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c7bef187511640f00abda5593b26efd8.jpg","text":"TemporaryFile(/tmp/multipartBody333968347191630454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224574065,"filename":"image_09042025_19_25_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/4/9/f7001eb434a13b5cca1f279d6e1d670a.jpg","text":"TemporaryFile(/tmp/multipartBody7339327678152912889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224574065,"filename":"image_09042025_19_26_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/4/9/f573a5cb4d1253d4591b6be04a9251f7.jpg","text":"TemporaryFile(/tmp/multipartBody5410332774545818454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224574065,"filename":"image_09042025_19_25_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/4/9/cd1aab2767e2f8ad9235b7fc510c0f1c.jpg","text":"TemporaryFile(/tmp/multipartBody3382258385296781407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224574065,"filename":"image_09042025_19_25_47_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/70a395eb0155b67d2ea111b3b5ae4655.jpg","text":"TemporaryFile(/tmp/multipartBody3498416494506337184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224574065,"filename":"image_09042025_19_26_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3bb7e88f444cc7dd3bfcc727d29c2a25.jpg","text":"TemporaryFile(/tmp/multipartBody1574698059947204008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224574065,"filename":"image_09042025_19_25_27_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350859530","file1":"1350859500","file0":"1350859484","file4":"1350859627","file5":"1350859676","file3":"1350859570"},"map_files_photo_id_array":[{"photo_id":"1350859676","filename":"file5"},{"photo_id":"1350859530","filename":"file2"},{"photo_id":"1350859627","filename":"file4"},{"photo_id":"1350859500","filename":"file1"},{"photo_id":"1350859484","filename":"file0"},{"photo_id":"1350859570","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350859570":["hashtag1","hashtag2"]},{"1350859627":["hashtag1","hashtag2"]},{"1350859500":["hashtag1","hashtag2"]},{"1350859530":["hashtag1","hashtag2"]},{"1350859676":["hashtag1","hashtag2"]},{"1350859484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350859570, 1350859627, 1350859500, 1350859530, 1350859676, 1350859484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97877860069275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:49:33.056551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_26_9362.jpg', '/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_37_10491.jpg', '/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_47_10343.jpg', '/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_56_9455.jpg', '/home/pi/Desktop/images/09042025/19/27/image_09042025_19_27_16_9323.jpg', '/home/pi/Desktop/images/09042025/19/27/image_09042025_19_27_37_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_26_9362.jpg
/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_37_10491.jpg
/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_47_10343.jpg
/home/pi/Desktop/images/09042025/19/26/image_09042025_19_26_56_9455.jpg
/home/pi/Desktop/images/09042025/19/27/image_09042025_19_27_16_9323.jpg
/home/pi/Desktop/images/09042025/19/27/image_09042025_19_27_37_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":["1350859808","1350859753","1350859762","1350859794","1350859758","1350859766"],"photo_ids_order":["1350859753","1350859758","1350859762","1350859766","1350859794","1350859808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd4f61cb7b2e7f94ca0a4b12792d1551.jpg","text":"TemporaryFile(/tmp/multipartBody2873510630980619391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224633536,"filename":"image_09042025_19_27_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/4/9/122c9e77411806b37a19ba753bbe8e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4648053232035433683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224633536,"filename":"image_09042025_19_26_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/4/9/74e20e521eee8b7424acea6588ea2cf5.jpg","text":"TemporaryFile(/tmp/multipartBody1164041212746236909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224633536,"filename":"image_09042025_19_26_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/4/9/3aefc2f9fb7def7690d564b009952af3.jpg","text":"TemporaryFile(/tmp/multipartBody1746774539812019148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224633536,"filename":"image_09042025_19_27_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/4/9/c5ce5c4f22e1980f6be91a4c32a92acf.jpg","text":"TemporaryFile(/tmp/multipartBody2760090732276024683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224633536,"filename":"image_09042025_19_26_37_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a57b9ffe75d0e83769a1b95201a97cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4816988108735303010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224633536,"filename":"image_09042025_19_26_56_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350859762","file1":"1350859758","file0":"1350859753","file4":"1350859794","file5":"1350859808","file3":"1350859766"},"map_files_photo_id_array":[{"photo_id":"1350859808","filename":"file5"},{"photo_id":"1350859762","filename":"file2"},{"photo_id":"1350859794","filename":"file4"},{"photo_id":"1350859758","filename":"file1"},{"photo_id":"1350859753","filename":"file0"},{"photo_id":"1350859766","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350859808":["hashtag1","hashtag2"]},{"1350859753":["hashtag1","hashtag2"]},{"1350859762":["hashtag1","hashtag2"]},{"1350859794":["hashtag1","hashtag2"]},{"1350859758":["hashtag1","hashtag2"]},{"1350859766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350859808, 1350859753, 1350859762, 1350859794, 1350859758, 1350859766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28873825073242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:50:32.286129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/27/image_09042025_19_27_57_10364.jpg', '/home/pi/Desktop/images/09042025/19/27/image_09042025_19_28_06_9370.jpg', '/home/pi/Desktop/images/09042025/19/28/image_09042025_19_28_16_10333.jpg', '/home/pi/Desktop/images/09042025/19/28/image_09042025_19_28_27_10358.jpg', '/home/pi/Desktop/images/09042025/19/28/image_09042025_19_28_36_9345.jpg', '/home/pi/Desktop/images/09042025/19/28/image_09042025_19_28_57_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/27/image_09042025_19_27_57_10364.jpg
/home/pi/Desktop/images/09042025/19/27/image_09042025_19_28_06_9370.jpg
/home/pi/Desktop/images/09042025/19/28/image_09042025_19_28_16_10333.jpg
/home/pi/Desktop/images/09042025/19/28/image_09042025_19_28_27_10358.jpg
/home/pi/Desktop/images/09042025/19/28/image_09042025_19_28_36_9345.jpg
/home/pi/Desktop/images/09042025/19/28/image_09042025_19_28_57_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":["1350859958","1350859951","1350859930","1350859998","1350860022","1350859976"],"photo_ids_order":["1350859930","1350859951","1350859958","1350859976","1350859998","1350860022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4d3a73a08ae48d3d7190e61af8ad0372.jpg","text":"TemporaryFile(/tmp/multipartBody2489501303345666903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224692836,"filename":"image_09042025_19_28_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bb2b4ea8cd190f2fcc111004e47af1a5.jpg","text":"TemporaryFile(/tmp/multipartBody1744560939522746238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224692836,"filename":"image_09042025_19_28_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e6ae8cd042471e4766ec6735cf8f87d.jpg","text":"TemporaryFile(/tmp/multipartBody3825665167556192087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224692836,"filename":"image_09042025_19_27_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/4/9/b6b1afe805669845b1d54d621b13e97e.jpg","text":"TemporaryFile(/tmp/multipartBody3339934558971109818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224692836,"filename":"image_09042025_19_28_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4c66b4f953b855de3d4cafc038a0540b.jpg","text":"TemporaryFile(/tmp/multipartBody7022319929820547359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224692836,"filename":"image_09042025_19_28_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b113ffd85529f2fd887cd0bc34445d97.jpg","text":"TemporaryFile(/tmp/multipartBody7310890461565989564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224692836,"filename":"image_09042025_19_28_27_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350859958","file1":"1350859951","file0":"1350859930","file4":"1350859998","file5":"1350860022","file3":"1350859976"},"map_files_photo_id_array":[{"photo_id":"1350860022","filename":"file5"},{"photo_id":"1350859958","filename":"file2"},{"photo_id":"1350859998","filename":"file4"},{"photo_id":"1350859951","filename":"file1"},{"photo_id":"1350859930","filename":"file0"},{"photo_id":"1350859976","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350859958":["hashtag1","hashtag2"]},{"1350859951":["hashtag1","hashtag2"]},{"1350859930":["hashtag1","hashtag2"]},{"1350859998":["hashtag1","hashtag2"]},{"1350860022":["hashtag1","hashtag2"]},{"1350859976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350859958, 1350859951, 1350859930, 1350859998, 1350860022, 1350859976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.955260038375854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:51:32.445300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/28/image_09042025_19_29_06_9451.jpg', '/home/pi/Desktop/images/09042025/19/29/image_09042025_19_29_26_9400.jpg', '/home/pi/Desktop/images/09042025/19/29/image_09042025_19_29_36_10375.jpg', '/home/pi/Desktop/images/09042025/19/29/image_09042025_19_29_47_10430.jpg', '/home/pi/Desktop/images/09042025/19/29/image_09042025_19_29_56_9395.jpg', '/home/pi/Desktop/images/09042025/19/30/image_09042025_19_30_17_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/28/image_09042025_19_29_06_9451.jpg
/home/pi/Desktop/images/09042025/19/29/image_09042025_19_29_26_9400.jpg
/home/pi/Desktop/images/09042025/19/29/image_09042025_19_29_36_10375.jpg
/home/pi/Desktop/images/09042025/19/29/image_09042025_19_29_47_10430.jpg
/home/pi/Desktop/images/09042025/19/29/image_09042025_19_29_56_9395.jpg
/home/pi/Desktop/images/09042025/19/30/image_09042025_19_30_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":["1350860285","1350860261","1350860229","1350860139","1350860189","1350860112"],"photo_ids_order":["1350860112","1350860139","1350860189","1350860229","1350860261","1350860285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6590e17cf7acf120f633f6d750964488.jpg","text":"TemporaryFile(/tmp/multipartBody7020756512216699075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224752927,"filename":"image_09042025_19_30_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/4/9/2a3155d0282a147696db9fc1e3ee67cd.jpg","text":"TemporaryFile(/tmp/multipartBody8880809095223376544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224752927,"filename":"image_09042025_19_29_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/4/9/d5fd92dbcb9932677bc64b527c8aa1f1.jpg","text":"TemporaryFile(/tmp/multipartBody6897767239102160481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224752927,"filename":"image_09042025_19_29_47_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3913abd19ce99cb7a0ff32efcf1323e.jpg","text":"TemporaryFile(/tmp/multipartBody2733540306807014071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224752927,"filename":"image_09042025_19_29_26_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/665d04ab4360e5a872152938130175b3.jpg","text":"TemporaryFile(/tmp/multipartBody6572331516003320734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224752927,"filename":"image_09042025_19_29_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ddacc97c41756b56f65214f523fb6239.jpg","text":"TemporaryFile(/tmp/multipartBody9072989081870048524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224752927,"filename":"image_09042025_19_29_06_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350860189","file1":"1350860139","file0":"1350860112","file4":"1350860261","file5":"1350860285","file3":"1350860229"},"map_files_photo_id_array":[{"photo_id":"1350860285","filename":"file5"},{"photo_id":"1350860189","filename":"file2"},{"photo_id":"1350860261","filename":"file4"},{"photo_id":"1350860139","filename":"file1"},{"photo_id":"1350860112","filename":"file0"},{"photo_id":"1350860229","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350860285":["hashtag1","hashtag2"]},{"1350860261":["hashtag1","hashtag2"]},{"1350860229":["hashtag1","hashtag2"]},{"1350860139":["hashtag1","hashtag2"]},{"1350860189":["hashtag1","hashtag2"]},{"1350860112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350860285, 1350860261, 1350860229, 1350860139, 1350860189, 1350860112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88439702987671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:52:32.620523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/30/image_09042025_19_30_37_10452.jpg', '/home/pi/Desktop/images/09042025/19/30/image_09042025_19_30_46_9367.jpg', '/home/pi/Desktop/images/09042025/19/30/image_09042025_19_30_57_10394.jpg', '/home/pi/Desktop/images/09042025/19/30/image_09042025_19_31_07_10353.jpg', '/home/pi/Desktop/images/09042025/19/31/image_09042025_19_31_16_9391.jpg', '/home/pi/Desktop/images/09042025/19/31/image_09042025_19_31_27_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/30/image_09042025_19_30_37_10452.jpg
/home/pi/Desktop/images/09042025/19/30/image_09042025_19_30_46_9367.jpg
/home/pi/Desktop/images/09042025/19/30/image_09042025_19_30_57_10394.jpg
/home/pi/Desktop/images/09042025/19/30/image_09042025_19_31_07_10353.jpg
/home/pi/Desktop/images/09042025/19/31/image_09042025_19_31_16_9391.jpg
/home/pi/Desktop/images/09042025/19/31/image_09042025_19_31_27_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350860363","1350860366","1350860353","1350860356","1350860359","1350860361"],"photo_ids_order":["1350860353","1350860356","1350860359","1350860361","1350860363","1350860366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/658d60607e6b2688d81fdad4ea3bbd61.jpg","text":"TemporaryFile(/tmp/multipartBody7400724506882261574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224813085,"filename":"image_09042025_19_31_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4bac893ce38c9f027448e07f0181dfed.jpg","text":"TemporaryFile(/tmp/multipartBody3691843803622467369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224813085,"filename":"image_09042025_19_31_27_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/035883b0e8344a2544fa952accca8983.jpg","text":"TemporaryFile(/tmp/multipartBody8946571664907889037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224813085,"filename":"image_09042025_19_30_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/4/9/a99b0668aec1444212a70ccfd921c311.jpg","text":"TemporaryFile(/tmp/multipartBody7182909012705184250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224813085,"filename":"image_09042025_19_30_46_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/270a928e4b178c203b17e498350e85f2.jpg","text":"TemporaryFile(/tmp/multipartBody4374183499365448916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224813085,"filename":"image_09042025_19_30_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/4/9/720b99a93cbdeadd50cf45f08f441f7a.jpg","text":"TemporaryFile(/tmp/multipartBody8078119912965860254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224813085,"filename":"image_09042025_19_31_07_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350860359","file1":"1350860356","file0":"1350860353","file4":"1350860363","file5":"1350860366","file3":"1350860361"},"map_files_photo_id_array":[{"photo_id":"1350860366","filename":"file5"},{"photo_id":"1350860359","filename":"file2"},{"photo_id":"1350860363","filename":"file4"},{"photo_id":"1350860356","filename":"file1"},{"photo_id":"1350860353","filename":"file0"},{"photo_id":"1350860361","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350860363":["hashtag1","hashtag2"]},{"1350860366":["hashtag1","hashtag2"]},{"1350860353":["hashtag1","hashtag2"]},{"1350860356":["hashtag1","hashtag2"]},{"1350860359":["hashtag1","hashtag2"]},{"1350860361":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350860363, 1350860366, 1350860353, 1350860356, 1350860359, 1350860361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.040863513946533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:53:32.868882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/31/image_09042025_19_31_36_9354.jpg', '/home/pi/Desktop/images/09042025/19/31/image_09042025_19_31_46_10346.jpg', '/home/pi/Desktop/images/09042025/19/31/image_09042025_19_32_06_9343.jpg', '/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_16_10343.jpg', '/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_27_10398.jpg', '/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_36_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/31/image_09042025_19_31_36_9354.jpg
/home/pi/Desktop/images/09042025/19/31/image_09042025_19_31_46_10346.jpg
/home/pi/Desktop/images/09042025/19/31/image_09042025_19_32_06_9343.jpg
/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_16_10343.jpg
/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_27_10398.jpg
/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_36_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350860441","1350860444","1350860402","1350860443","1350860431","1350860427"],"photo_ids_order":["1350860402","1350860427","1350860431","1350860441","1350860443","1350860444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0c9cee3ae393ff7a717367e6a26d9585.jpg","text":"TemporaryFile(/tmp/multipartBody5643096240478462794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224873319,"filename":"image_09042025_19_32_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/4/9/48719e650f6944642eb8eb98f8c2b7c0.jpg","text":"TemporaryFile(/tmp/multipartBody5810728885635800787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224873319,"filename":"image_09042025_19_32_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/24fb975247248b0633675c4be33c9d53.jpg","text":"TemporaryFile(/tmp/multipartBody727862760554993465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224873319,"filename":"image_09042025_19_31_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/4/9/b3250c5b95e18c10f9e37fe126ae5b75.jpg","text":"TemporaryFile(/tmp/multipartBody7546255602280386192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224873319,"filename":"image_09042025_19_32_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/4/9/9b6d656cd8a0d9e89f8677b96b576f51.jpg","text":"TemporaryFile(/tmp/multipartBody5083821010422735671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224873319,"filename":"image_09042025_19_32_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/4/9/44d0eacb84db666172eb2f446bbf18e5.jpg","text":"TemporaryFile(/tmp/multipartBody194147444062429501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224873319,"filename":"image_09042025_19_31_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350860431","file1":"1350860427","file0":"1350860402","file4":"1350860443","file5":"1350860444","file3":"1350860441"},"map_files_photo_id_array":[{"photo_id":"1350860444","filename":"file5"},{"photo_id":"1350860431","filename":"file2"},{"photo_id":"1350860443","filename":"file4"},{"photo_id":"1350860427","filename":"file1"},{"photo_id":"1350860402","filename":"file0"},{"photo_id":"1350860441","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350860441":["hashtag1","hashtag2"]},{"1350860444":["hashtag1","hashtag2"]},{"1350860402":["hashtag1","hashtag2"]},{"1350860443":["hashtag1","hashtag2"]},{"1350860431":["hashtag1","hashtag2"]},{"1350860427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350860441, 1350860444, 1350860402, 1350860443, 1350860431, 1350860427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.973291873931885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:54:33.091237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_47_10338.jpg', '/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_57_10351.jpg', '/home/pi/Desktop/images/09042025/19/32/image_09042025_19_33_06_9344.jpg', '/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_17_10382.jpg', '/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_26_9347.jpg', '/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_36_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_47_10338.jpg
/home/pi/Desktop/images/09042025/19/32/image_09042025_19_32_57_10351.jpg
/home/pi/Desktop/images/09042025/19/32/image_09042025_19_33_06_9344.jpg
/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_17_10382.jpg
/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_26_9347.jpg
/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_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":["1350860597","1350860533","1350860536","1350860539","1350860754","1350860565"],"photo_ids_order":["1350860533","1350860536","1350860539","1350860565","1350860597","1350860754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbed7dc06f1d9ff3354ad2322e017396.jpg","text":"TemporaryFile(/tmp/multipartBody1455865171897937214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224933559,"filename":"image_09042025_19_33_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/4/9/379686c46777a462d541d97b4381783b.jpg","text":"TemporaryFile(/tmp/multipartBody6873375640177587889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224933559,"filename":"image_09042025_19_32_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/4/9/ad31b4ca98cb12d881bbc2d76bd5f65d.jpg","text":"TemporaryFile(/tmp/multipartBody2934044978942669006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224933559,"filename":"image_09042025_19_32_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/4/9/95f0671efd92e29966cfd4ac01242cff.jpg","text":"TemporaryFile(/tmp/multipartBody8511524156076865090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224933559,"filename":"image_09042025_19_33_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/4/9/dacb802663b7ab8441cd05668ac67731.jpg","text":"TemporaryFile(/tmp/multipartBody4826732191477950737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224933559,"filename":"image_09042025_19_33_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/4/9/8b8e576ca0850eafd65ceb9d3cbc99b2.jpg","text":"TemporaryFile(/tmp/multipartBody3955263494900263041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224933559,"filename":"image_09042025_19_33_17_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350860539","file1":"1350860536","file0":"1350860533","file4":"1350860597","file5":"1350860754","file3":"1350860565"},"map_files_photo_id_array":[{"photo_id":"1350860754","filename":"file5"},{"photo_id":"1350860539","filename":"file2"},{"photo_id":"1350860597","filename":"file4"},{"photo_id":"1350860536","filename":"file1"},{"photo_id":"1350860533","filename":"file0"},{"photo_id":"1350860565","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350860597":["hashtag1","hashtag2"]},{"1350860533":["hashtag1","hashtag2"]},{"1350860536":["hashtag1","hashtag2"]},{"1350860539":["hashtag1","hashtag2"]},{"1350860754":["hashtag1","hashtag2"]},{"1350860565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350860597, 1350860533, 1350860536, 1350860539, 1350860754, 1350860565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30519247055054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:55:32.256574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_47_10412.jpg', '/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_56_9409.jpg', '/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_16_9424.jpg', '/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_26_10370.jpg', '/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_37_10344.jpg', '/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_46_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_47_10412.jpg
/home/pi/Desktop/images/09042025/19/33/image_09042025_19_33_56_9409.jpg
/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_16_9424.jpg
/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_26_10370.jpg
/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_37_10344.jpg
/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_46_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350860901","1350860989","1350860938","1350860874","1350860853","1350860964"],"photo_ids_order":["1350860853","1350860874","1350860901","1350860938","1350860964","1350860989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8f321ca623d8bf26ce3b26dbe86fa240.jpg","text":"TemporaryFile(/tmp/multipartBody8239875692740784941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224992705,"filename":"image_09042025_19_34_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/4/9/db338a82f78752748f5a7b058c18a984.jpg","text":"TemporaryFile(/tmp/multipartBody1206041573228411084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224992705,"filename":"image_09042025_19_34_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/4/9/8e3c2483c80d8e396103262e267839e2.jpg","text":"TemporaryFile(/tmp/multipartBody3688066858121937929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224992705,"filename":"image_09042025_19_34_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/4/9/6ce2d01cff3af6cf5f3a059f2fc67181.jpg","text":"TemporaryFile(/tmp/multipartBody6792257180112130709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224992705,"filename":"image_09042025_19_33_56_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f39134a1c90eec3e9826c3d5e1eb674c.jpg","text":"TemporaryFile(/tmp/multipartBody5030276969232886383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224992705,"filename":"image_09042025_19_33_47_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8df10a3914bccb33a672ecf037c96ed5.jpg","text":"TemporaryFile(/tmp/multipartBody1501466181128474184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744224992705,"filename":"image_09042025_19_34_37_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350860901","file1":"1350860874","file0":"1350860853","file4":"1350860964","file5":"1350860989","file3":"1350860938"},"map_files_photo_id_array":[{"photo_id":"1350860989","filename":"file5"},{"photo_id":"1350860901","filename":"file2"},{"photo_id":"1350860964","filename":"file4"},{"photo_id":"1350860874","filename":"file1"},{"photo_id":"1350860853","filename":"file0"},{"photo_id":"1350860938","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350860901":["hashtag1","hashtag2"]},{"1350860989":["hashtag1","hashtag2"]},{"1350860938":["hashtag1","hashtag2"]},{"1350860874":["hashtag1","hashtag2"]},{"1350860853":["hashtag1","hashtag2"]},{"1350860964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350860901, 1350860989, 1350860938, 1350860874, 1350860853, 1350860964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.049455881118774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:56:32.474067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_56_10348.jpg', '/home/pi/Desktop/images/09042025/19/34/image_09042025_19_35_07_10325.jpg', '/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_16_9353.jpg', '/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_27_10452.jpg', '/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_37_10347.jpg', '/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_46_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/34/image_09042025_19_34_56_10348.jpg
/home/pi/Desktop/images/09042025/19/34/image_09042025_19_35_07_10325.jpg
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_16_9353.jpg
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_27_10452.jpg
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_37_10347.jpg
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_46_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350861181","1350861159","1350861174","1350861138","1350861179","1350861143"],"photo_ids_order":["1350861138","1350861143","1350861159","1350861174","1350861179","1350861181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/adcdedb1d9e78a3f4aa11fe7de439bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2860864511481900734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225052991,"filename":"image_09042025_19_35_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/4/9/c4f58b587157199b254487e8d8963648.jpg","text":"TemporaryFile(/tmp/multipartBody5843308330645541226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225052991,"filename":"image_09042025_19_35_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/597c2f03cde9f37d9825958b1e273215.jpg","text":"TemporaryFile(/tmp/multipartBody6175237972470486912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225052991,"filename":"image_09042025_19_35_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/4/9/5046a787d545d22f04f53c747c5e6675.jpg","text":"TemporaryFile(/tmp/multipartBody7689562667767547239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225052991,"filename":"image_09042025_19_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/4/9/55e99d88e620730d9c4701fb58751086.jpg","text":"TemporaryFile(/tmp/multipartBody3322780470829382655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225052991,"filename":"image_09042025_19_35_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/4/9/b8faeb5ecd78bade48337053dc12763b.jpg","text":"TemporaryFile(/tmp/multipartBody6078768165183376313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225052991,"filename":"image_09042025_19_35_07_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350861159","file1":"1350861143","file0":"1350861138","file4":"1350861179","file5":"1350861181","file3":"1350861174"},"map_files_photo_id_array":[{"photo_id":"1350861181","filename":"file5"},{"photo_id":"1350861159","filename":"file2"},{"photo_id":"1350861179","filename":"file4"},{"photo_id":"1350861143","filename":"file1"},{"photo_id":"1350861138","filename":"file0"},{"photo_id":"1350861174","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350861181":["hashtag1","hashtag2"]},{"1350861159":["hashtag1","hashtag2"]},{"1350861174":["hashtag1","hashtag2"]},{"1350861138":["hashtag1","hashtag2"]},{"1350861179":["hashtag1","hashtag2"]},{"1350861143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350861181, 1350861159, 1350861174, 1350861138, 1350861179, 1350861143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98411321640015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 20:57:32.661451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_57_10360.jpg', '/home/pi/Desktop/images/09042025/19/35/image_09042025_19_36_06_9341.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_16_10337.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_27_10364.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_46_10417.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_57_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_57_10360.jpg
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_36_06_9341.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_16_10337.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_27_10364.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_46_10417.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_57_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38292932510375977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 20:57:42.806901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_57_10360.jpg', '/home/pi/Desktop/images/09042025/19/35/image_09042025_19_36_06_9341.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_16_10337.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_27_10364.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_46_10417.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_57_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_57_10360.jpg
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_36_06_9341.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_16_10337.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_27_10364.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_46_10417.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_57_10340.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 20:59:03.860198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_57_10360.jpg', '/home/pi/Desktop/images/09042025/19/35/image_09042025_19_36_06_9341.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_16_10337.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_27_10364.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_46_10417.jpg', '/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_57_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_35_57_10360.jpg
/home/pi/Desktop/images/09042025/19/35/image_09042025_19_36_06_9341.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_16_10337.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_27_10364.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_46_10417.jpg
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_36_57_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350861800","1350861771","1350861867","1350861831","1350861738","1350861860"],"photo_ids_order":["1350861738","1350861771","1350861800","1350861831","1350861860","1350861867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e1743227883125d98a9021db4c1fa7e7.jpg","text":"TemporaryFile(/tmp/multipartBody1414318647783262327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225204437,"filename":"image_09042025_19_36_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/4/9/89033418e216cb0ab612d211322863bb.jpg","text":"TemporaryFile(/tmp/multipartBody2395187010127128636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225204437,"filename":"image_09042025_19_36_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/4/9/ca3aeae38217832c72f1c09f144cffb1.jpg","text":"TemporaryFile(/tmp/multipartBody4813869156804187661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225204437,"filename":"image_09042025_19_36_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/4/9/0c34d5f4230b2f2ce5611a3a2aa084a2.jpg","text":"TemporaryFile(/tmp/multipartBody7212729326086305224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225204437,"filename":"image_09042025_19_36_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d8bf7cf76875556441ab6b638c38676.jpg","text":"TemporaryFile(/tmp/multipartBody1586161173406186874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225204437,"filename":"image_09042025_19_35_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0faf946a39aaf8ee6283fd8c3cb88066.jpg","text":"TemporaryFile(/tmp/multipartBody5359965196066227785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225204437,"filename":"image_09042025_19_36_46_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350861800","file1":"1350861771","file0":"1350861738","file4":"1350861860","file5":"1350861867","file3":"1350861831"},"map_files_photo_id_array":[{"photo_id":"1350861867","filename":"file5"},{"photo_id":"1350861800","filename":"file2"},{"photo_id":"1350861860","filename":"file4"},{"photo_id":"1350861771","filename":"file1"},{"photo_id":"1350861738","filename":"file0"},{"photo_id":"1350861831","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350861800":["hashtag1","hashtag2"]},{"1350861771":["hashtag1","hashtag2"]},{"1350861867":["hashtag1","hashtag2"]},{"1350861831":["hashtag1","hashtag2"]},{"1350861738":["hashtag1","hashtag2"]},{"1350861860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350861800, 1350861771, 1350861867, 1350861831, 1350861738, 1350861860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56147527694702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 20:59:42.466703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/36/image_09042025_19_37_06_9403.jpg', '/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_17_10342.jpg', '/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_27_10350.jpg', '/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_36_9360.jpg', '/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_47_10393.jpg', '/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_56_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/36/image_09042025_19_37_06_9403.jpg
/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_17_10342.jpg
/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_27_10350.jpg
/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_36_9360.jpg
/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_47_10393.jpg
/home/pi/Desktop/images/09042025/19/37/image_09042025_19_37_56_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350862402","1350862503","1350861900","1350862247","1350862520","1350862081"],"photo_ids_order":["1350861900","1350862081","1350862247","1350862402","1350862503","1350862520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fcd5febd014f47cf3686fc58ff01da1d.jpg","text":"TemporaryFile(/tmp/multipartBody2880563183200424250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225242918,"filename":"image_09042025_19_37_36_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f5e1ccc44117b913a5a4241e4488ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6525918709944051687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225242918,"filename":"image_09042025_19_37_47_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6e3d6e207e65491757fc6d87a1942bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6757058654142666471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225242918,"filename":"image_09042025_19_37_06_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b285d082b0b46a62cc2fa01de52903b.jpg","text":"TemporaryFile(/tmp/multipartBody6015325034572971667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225242918,"filename":"image_09042025_19_37_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/4/9/e98fecf14c58228ed2ec1d3975dd3661.jpg","text":"TemporaryFile(/tmp/multipartBody1415110055240427881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225242918,"filename":"image_09042025_19_37_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/4/9/6a5946143fd5879ca7005eba62b2c899.jpg","text":"TemporaryFile(/tmp/multipartBody2677193599756670546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225242918,"filename":"image_09042025_19_37_17_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350862247","file1":"1350862081","file0":"1350861900","file4":"1350862503","file5":"1350862520","file3":"1350862402"},"map_files_photo_id_array":[{"photo_id":"1350862520","filename":"file5"},{"photo_id":"1350862247","filename":"file2"},{"photo_id":"1350862503","filename":"file4"},{"photo_id":"1350862081","filename":"file1"},{"photo_id":"1350861900","filename":"file0"},{"photo_id":"1350862402","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350862402":["hashtag1","hashtag2"]},{"1350862503":["hashtag1","hashtag2"]},{"1350861900":["hashtag1","hashtag2"]},{"1350862247":["hashtag1","hashtag2"]},{"1350862520":["hashtag1","hashtag2"]},{"1350862081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350862402, 1350862503, 1350861900, 1350862247, 1350862520, 1350862081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17979407310486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:00:32.594066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/37/image_09042025_19_38_06_10348.jpg', '/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_17_10340.jpg', '/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_26_9360.jpg', '/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_37_10444.jpg', '/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_46_9555.jpg', '/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_56_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/37/image_09042025_19_38_06_10348.jpg
/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_17_10340.jpg
/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_26_9360.jpg
/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_37_10444.jpg
/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_46_9555.jpg
/home/pi/Desktop/images/09042025/19/38/image_09042025_19_38_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":["1350862740","1350862656","1350862539","1350862704","1350862760","1350862709"],"photo_ids_order":["1350862539","1350862656","1350862704","1350862709","1350862740","1350862760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca091aa3dcd65f48625fc9f74888d72f.jpg","text":"TemporaryFile(/tmp/multipartBody495797639001789673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225293043,"filename":"image_09042025_19_38_46_9555.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4200f001cbfc63deac88907626d70355.jpg","text":"TemporaryFile(/tmp/multipartBody7447117832095655937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225293043,"filename":"image_09042025_19_38_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9c5602b1fab74c79de27bdce0fad6d1.jpg","text":"TemporaryFile(/tmp/multipartBody8198152809957134992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225293043,"filename":"image_09042025_19_38_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/4/9/dd07b8f80ad080d6ecccee1eac9f316e.jpg","text":"TemporaryFile(/tmp/multipartBody7118838206130865265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225293043,"filename":"image_09042025_19_38_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/4/9/67c28e5c9ad161492fadbad971d42fc6.jpg","text":"TemporaryFile(/tmp/multipartBody7769861747747728607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225293043,"filename":"image_09042025_19_38_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/4/9/8343338e5bd2018c9fda81b7ecde8f32.jpg","text":"TemporaryFile(/tmp/multipartBody3388529156804099475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225293043,"filename":"image_09042025_19_38_37_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350862704","file1":"1350862656","file0":"1350862539","file4":"1350862740","file5":"1350862760","file3":"1350862709"},"map_files_photo_id_array":[{"photo_id":"1350862760","filename":"file5"},{"photo_id":"1350862704","filename":"file2"},{"photo_id":"1350862740","filename":"file4"},{"photo_id":"1350862656","filename":"file1"},{"photo_id":"1350862539","filename":"file0"},{"photo_id":"1350862709","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350862740":["hashtag1","hashtag2"]},{"1350862656":["hashtag1","hashtag2"]},{"1350862539":["hashtag1","hashtag2"]},{"1350862704":["hashtag1","hashtag2"]},{"1350862760":["hashtag1","hashtag2"]},{"1350862709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350862740, 1350862656, 1350862539, 1350862704, 1350862760, 1350862709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69771695137024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:01:32.711061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/38/image_09042025_19_39_07_10354.jpg', '/home/pi/Desktop/images/09042025/19/39/image_09042025_19_39_16_9374.jpg', '/home/pi/Desktop/images/09042025/19/39/image_09042025_19_39_27_10354.jpg', '/home/pi/Desktop/images/09042025/19/39/image_09042025_19_39_46_10346.jpg', '/home/pi/Desktop/images/09042025/19/39/image_09042025_19_39_57_10457.jpg', '/home/pi/Desktop/images/09042025/19/39/image_09042025_19_40_06_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/38/image_09042025_19_39_07_10354.jpg
/home/pi/Desktop/images/09042025/19/39/image_09042025_19_39_16_9374.jpg
/home/pi/Desktop/images/09042025/19/39/image_09042025_19_39_27_10354.jpg
/home/pi/Desktop/images/09042025/19/39/image_09042025_19_39_46_10346.jpg
/home/pi/Desktop/images/09042025/19/39/image_09042025_19_39_57_10457.jpg
/home/pi/Desktop/images/09042025/19/39/image_09042025_19_40_06_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":["1350862945","1350862861","1350862921","1350862857","1350862851","1350862886"],"photo_ids_order":["1350862851","1350862857","1350862861","1350862886","1350862921","1350862945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/86a87cb7e88c0c831cc1f4a1a2a537c6.jpg","text":"TemporaryFile(/tmp/multipartBody2344840929123280520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225353164,"filename":"image_09042025_19_40_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a207de3fa670064ad68906c2c7a27525.jpg","text":"TemporaryFile(/tmp/multipartBody2479012866957096708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225353164,"filename":"image_09042025_19_39_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/4/9/81fe5b172c711ac741b1dfdb4ddf0f76.jpg","text":"TemporaryFile(/tmp/multipartBody3883600587369666291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225353164,"filename":"image_09042025_19_39_57_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7a9d3d899f97e61031818d2a85160dfa.jpg","text":"TemporaryFile(/tmp/multipartBody8768345721038681098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225353164,"filename":"image_09042025_19_39_16_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0707dabac800f3126ca31a1f33b6e83.jpg","text":"TemporaryFile(/tmp/multipartBody4729960168925615862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225353164,"filename":"image_09042025_19_39_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/357e30a7afbf5220b4608884d4395e66.jpg","text":"TemporaryFile(/tmp/multipartBody1870220040253684561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225353164,"filename":"image_09042025_19_39_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350862861","file1":"1350862857","file0":"1350862851","file4":"1350862921","file5":"1350862945","file3":"1350862886"},"map_files_photo_id_array":[{"photo_id":"1350862945","filename":"file5"},{"photo_id":"1350862861","filename":"file2"},{"photo_id":"1350862921","filename":"file4"},{"photo_id":"1350862857","filename":"file1"},{"photo_id":"1350862851","filename":"file0"},{"photo_id":"1350862886","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350862945":["hashtag1","hashtag2"]},{"1350862861":["hashtag1","hashtag2"]},{"1350862921":["hashtag1","hashtag2"]},{"1350862857":["hashtag1","hashtag2"]},{"1350862851":["hashtag1","hashtag2"]},{"1350862886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350862945, 1350862861, 1350862921, 1350862857, 1350862851, 1350862886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9766628742218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:02:33.069887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/40/image_09042025_19_40_26_9359.jpg', '/home/pi/Desktop/images/09042025/19/40/image_09042025_19_40_47_10372.jpg', '/home/pi/Desktop/images/09042025/19/40/image_09042025_19_41_07_10331.jpg', '/home/pi/Desktop/images/09042025/19/41/image_09042025_19_41_26_9394.jpg', '/home/pi/Desktop/images/09042025/19/41/image_09042025_19_41_37_10352.jpg', '/home/pi/Desktop/images/09042025/19/41/image_09042025_19_41_46_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/40/image_09042025_19_40_26_9359.jpg
/home/pi/Desktop/images/09042025/19/40/image_09042025_19_40_47_10372.jpg
/home/pi/Desktop/images/09042025/19/40/image_09042025_19_41_07_10331.jpg
/home/pi/Desktop/images/09042025/19/41/image_09042025_19_41_26_9394.jpg
/home/pi/Desktop/images/09042025/19/41/image_09042025_19_41_37_10352.jpg
/home/pi/Desktop/images/09042025/19/41/image_09042025_19_41_46_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350863379","1350863292","1350863331","1350863351","1350863222","1350863179"],"photo_ids_order":["1350863179","1350863222","1350863292","1350863331","1350863351","1350863379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/726ac0c2366c36a4235d922d8587adb9.jpg","text":"TemporaryFile(/tmp/multipartBody7091312648400151573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225413516,"filename":"image_09042025_19_41_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/4/9/3fd7dc889accfd5c0501eafc7f8198d9.jpg","text":"TemporaryFile(/tmp/multipartBody969558479026358569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225413516,"filename":"image_09042025_19_41_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/4/9/45877b9a8fb50603fdac8dc6b5ccdc9c.jpg","text":"TemporaryFile(/tmp/multipartBody8837270846978940478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225413516,"filename":"image_09042025_19_41_26_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6a605f686ba5e35b1a13e608406124a.jpg","text":"TemporaryFile(/tmp/multipartBody653409552050157864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225413516,"filename":"image_09042025_19_41_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/4/9/8b6947619633f046449ca13c19cd3d73.jpg","text":"TemporaryFile(/tmp/multipartBody2035495503538986577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225413516,"filename":"image_09042025_19_40_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/4/9/2e95b60e6102bba525e26ad2b284f11e.jpg","text":"TemporaryFile(/tmp/multipartBody8965716215098390513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225413516,"filename":"image_09042025_19_40_26_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350863292","file1":"1350863222","file0":"1350863179","file4":"1350863351","file5":"1350863379","file3":"1350863331"},"map_files_photo_id_array":[{"photo_id":"1350863379","filename":"file5"},{"photo_id":"1350863292","filename":"file2"},{"photo_id":"1350863351","filename":"file4"},{"photo_id":"1350863222","filename":"file1"},{"photo_id":"1350863179","filename":"file0"},{"photo_id":"1350863331","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350863379":["hashtag1","hashtag2"]},{"1350863292":["hashtag1","hashtag2"]},{"1350863331":["hashtag1","hashtag2"]},{"1350863351":["hashtag1","hashtag2"]},{"1350863222":["hashtag1","hashtag2"]},{"1350863179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350863379, 1350863292, 1350863331, 1350863351, 1350863222, 1350863179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.141688108444214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:03:32.377737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/41/image_09042025_19_42_07_10408.jpg', '/home/pi/Desktop/images/09042025/19/42/image_09042025_19_42_27_10357.jpg', '/home/pi/Desktop/images/09042025/19/42/image_09042025_19_42_36_9405.jpg', '/home/pi/Desktop/images/09042025/19/42/image_09042025_19_42_46_10451.jpg', '/home/pi/Desktop/images/09042025/19/42/image_09042025_19_42_57_10365.jpg', '/home/pi/Desktop/images/09042025/19/42/image_09042025_19_43_06_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/41/image_09042025_19_42_07_10408.jpg
/home/pi/Desktop/images/09042025/19/42/image_09042025_19_42_27_10357.jpg
/home/pi/Desktop/images/09042025/19/42/image_09042025_19_42_36_9405.jpg
/home/pi/Desktop/images/09042025/19/42/image_09042025_19_42_46_10451.jpg
/home/pi/Desktop/images/09042025/19/42/image_09042025_19_42_57_10365.jpg
/home/pi/Desktop/images/09042025/19/42/image_09042025_19_43_06_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":["1350863894","1350863709","1350863846","1350863782","1350863677","1350863725"],"photo_ids_order":["1350863677","1350863709","1350863725","1350863782","1350863846","1350863894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/17daab1adbe994489a00d30584758865.jpg","text":"TemporaryFile(/tmp/multipartBody7787262934549518732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225472833,"filename":"image_09042025_19_43_06_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f11ab3a37043743bc1f831f024b22253.jpg","text":"TemporaryFile(/tmp/multipartBody7336124485634384036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225472833,"filename":"image_09042025_19_42_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/4/9/c614d667963bdc42981580b94aecbe91.jpg","text":"TemporaryFile(/tmp/multipartBody7263714940073707593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225472833,"filename":"image_09042025_19_42_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/4/9/64c120ddead53f1d4385161c350ed328.jpg","text":"TemporaryFile(/tmp/multipartBody7131663732177537776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225472833,"filename":"image_09042025_19_42_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/4/9/35ddaa67c6223ac4f1db87f15cad5222.jpg","text":"TemporaryFile(/tmp/multipartBody3095321988207465479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225472833,"filename":"image_09042025_19_42_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/4/9/f95d448f7b3b88668f1f39b750d6b5c8.jpg","text":"TemporaryFile(/tmp/multipartBody7971297157093128385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225472833,"filename":"image_09042025_19_42_36_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350863725","file1":"1350863709","file0":"1350863677","file4":"1350863846","file5":"1350863894","file3":"1350863782"},"map_files_photo_id_array":[{"photo_id":"1350863894","filename":"file5"},{"photo_id":"1350863725","filename":"file2"},{"photo_id":"1350863846","filename":"file4"},{"photo_id":"1350863709","filename":"file1"},{"photo_id":"1350863677","filename":"file0"},{"photo_id":"1350863782","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350863894":["hashtag1","hashtag2"]},{"1350863709":["hashtag1","hashtag2"]},{"1350863846":["hashtag1","hashtag2"]},{"1350863782":["hashtag1","hashtag2"]},{"1350863677":["hashtag1","hashtag2"]},{"1350863725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350863894, 1350863709, 1350863846, 1350863782, 1350863677, 1350863725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.608185052871704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:04:32.507849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/43/image_09042025_19_43_17_10365.jpg', '/home/pi/Desktop/images/09042025/19/43/image_09042025_19_43_27_10361.jpg', '/home/pi/Desktop/images/09042025/19/43/image_09042025_19_43_36_9376.jpg', '/home/pi/Desktop/images/09042025/19/43/image_09042025_19_43_47_10337.jpg', '/home/pi/Desktop/images/09042025/19/43/image_09042025_19_44_06_10348.jpg', '/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_17_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/43/image_09042025_19_43_17_10365.jpg
/home/pi/Desktop/images/09042025/19/43/image_09042025_19_43_27_10361.jpg
/home/pi/Desktop/images/09042025/19/43/image_09042025_19_43_36_9376.jpg
/home/pi/Desktop/images/09042025/19/43/image_09042025_19_43_47_10337.jpg
/home/pi/Desktop/images/09042025/19/43/image_09042025_19_44_06_10348.jpg
/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_17_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350864243","1350864459","1350864333","1350864398","1350864283","1350864427"],"photo_ids_order":["1350864243","1350864283","1350864333","1350864398","1350864427","1350864459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0368916d140844713703060ef8485344.jpg","text":"TemporaryFile(/tmp/multipartBody2912824230625185132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225532972,"filename":"image_09042025_19_43_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/4/9/a55bb491d176aa7c70d61982bcbd408b.jpg","text":"TemporaryFile(/tmp/multipartBody4802931686110383123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225532972,"filename":"image_09042025_19_44_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/4/9/54782b50fa0f73164b109b6f85c59ba0.jpg","text":"TemporaryFile(/tmp/multipartBody4643491116333433801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225532972,"filename":"image_09042025_19_43_36_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b83074dafac7061748616b953235eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3655166071527873630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225532972,"filename":"image_09042025_19_43_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/411de4730f61602eaeff55a57e6c6956.jpg","text":"TemporaryFile(/tmp/multipartBody1197949235764850160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225532972,"filename":"image_09042025_19_43_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/4/9/48092ee03149b941222ba9a5805b259e.jpg","text":"TemporaryFile(/tmp/multipartBody4569199712224118133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225532972,"filename":"image_09042025_19_44_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350864333","file1":"1350864283","file0":"1350864243","file4":"1350864427","file5":"1350864459","file3":"1350864398"},"map_files_photo_id_array":[{"photo_id":"1350864459","filename":"file5"},{"photo_id":"1350864333","filename":"file2"},{"photo_id":"1350864427","filename":"file4"},{"photo_id":"1350864283","filename":"file1"},{"photo_id":"1350864243","filename":"file0"},{"photo_id":"1350864398","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350864243":["hashtag1","hashtag2"]},{"1350864459":["hashtag1","hashtag2"]},{"1350864333":["hashtag1","hashtag2"]},{"1350864398":["hashtag1","hashtag2"]},{"1350864283":["hashtag1","hashtag2"]},{"1350864427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350864243, 1350864459, 1350864333, 1350864398, 1350864283, 1350864427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.799943923950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:05:32.711812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_26_9360.jpg', '/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_37_10437.jpg', '/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_47_10387.jpg', '/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_56_9446.jpg', '/home/pi/Desktop/images/09042025/19/44/image_09042025_19_45_07_10359.jpg', '/home/pi/Desktop/images/09042025/19/45/image_09042025_19_45_16_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_26_9360.jpg
/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_37_10437.jpg
/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_47_10387.jpg
/home/pi/Desktop/images/09042025/19/44/image_09042025_19_44_56_9446.jpg
/home/pi/Desktop/images/09042025/19/44/image_09042025_19_45_07_10359.jpg
/home/pi/Desktop/images/09042025/19/45/image_09042025_19_45_16_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":["1350864807","1350864722","1350864748","1350864856","1350864778","1350864690"],"photo_ids_order":["1350864690","1350864722","1350864748","1350864778","1350864807","1350864856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36fa247a8aecfcb0a24496fdb19710ba.jpg","text":"TemporaryFile(/tmp/multipartBody7028781697701373908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225593165,"filename":"image_09042025_19_45_07_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d54f073407d2388e2a8a3d368395312a.jpg","text":"TemporaryFile(/tmp/multipartBody7290376126540757383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225593165,"filename":"image_09042025_19_44_37_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb8cc6bffa6b5f1dd4b88b4fb13b8f3e.jpg","text":"TemporaryFile(/tmp/multipartBody3073424342407554348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225593165,"filename":"image_09042025_19_44_47_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ec30da6c0d9701a43c53e77e7bc1da53.jpg","text":"TemporaryFile(/tmp/multipartBody2319317116381313668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225593165,"filename":"image_09042025_19_45_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c894a51149239051d35960c83753f15.jpg","text":"TemporaryFile(/tmp/multipartBody7243107817722907217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225593165,"filename":"image_09042025_19_44_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/4/9/075d3379b182f261c0fec97a0d06f19a.jpg","text":"TemporaryFile(/tmp/multipartBody3181514847125249883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225593165,"filename":"image_09042025_19_44_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350864748","file1":"1350864722","file0":"1350864690","file4":"1350864807","file5":"1350864856","file3":"1350864778"},"map_files_photo_id_array":[{"photo_id":"1350864856","filename":"file5"},{"photo_id":"1350864748","filename":"file2"},{"photo_id":"1350864807","filename":"file4"},{"photo_id":"1350864722","filename":"file1"},{"photo_id":"1350864690","filename":"file0"},{"photo_id":"1350864778","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350864807":["hashtag1","hashtag2"]},{"1350864722":["hashtag1","hashtag2"]},{"1350864748":["hashtag1","hashtag2"]},{"1350864856":["hashtag1","hashtag2"]},{"1350864778":["hashtag1","hashtag2"]},{"1350864690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350864807, 1350864722, 1350864748, 1350864856, 1350864778, 1350864690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01421642303467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:06:32.917872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/45/image_09042025_19_45_37_10358.jpg', '/home/pi/Desktop/images/09042025/19/45/image_09042025_19_45_46_9342.jpg', '/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_16_9409.jpg', '/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_27_10357.jpg', '/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_36_9354.jpg', '/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_46_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/45/image_09042025_19_45_37_10358.jpg
/home/pi/Desktop/images/09042025/19/45/image_09042025_19_45_46_9342.jpg
/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_16_9409.jpg
/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_27_10357.jpg
/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_36_9354.jpg
/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_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":["1350865128","1350865298","1350865229","1350865096","1350865155","1350865179"],"photo_ids_order":["1350865096","1350865128","1350865155","1350865179","1350865229","1350865298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/25661d8c710d06bedfc67245b8787c32.jpg","text":"TemporaryFile(/tmp/multipartBody1426858993278485155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225653380,"filename":"image_09042025_19_45_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/4/9/a93368e3c261320b402369e2eec634f7.jpg","text":"TemporaryFile(/tmp/multipartBody7042058740455747382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225653380,"filename":"image_09042025_19_46_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/4/9/33810a72bf86883c6e477d6535e8b0fe.jpg","text":"TemporaryFile(/tmp/multipartBody8647002039117367414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225653380,"filename":"image_09042025_19_46_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/4/9/18b2344a48739c29d1fc3c64eebb1d83.jpg","text":"TemporaryFile(/tmp/multipartBody262343193761952391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225653380,"filename":"image_09042025_19_45_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/4/9/11f5681c334b1f5b470780c3b3eb1f13.jpg","text":"TemporaryFile(/tmp/multipartBody530726310915942775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225653380,"filename":"image_09042025_19_46_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/4/9/c24d4a2936801769cd1400f1182448f5.jpg","text":"TemporaryFile(/tmp/multipartBody5769269962192643579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225653380,"filename":"image_09042025_19_46_27_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350865155","file1":"1350865128","file0":"1350865096","file4":"1350865229","file5":"1350865298","file3":"1350865179"},"map_files_photo_id_array":[{"photo_id":"1350865298","filename":"file5"},{"photo_id":"1350865155","filename":"file2"},{"photo_id":"1350865229","filename":"file4"},{"photo_id":"1350865128","filename":"file1"},{"photo_id":"1350865096","filename":"file0"},{"photo_id":"1350865179","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350865128":["hashtag1","hashtag2"]},{"1350865298":["hashtag1","hashtag2"]},{"1350865229":["hashtag1","hashtag2"]},{"1350865096":["hashtag1","hashtag2"]},{"1350865155":["hashtag1","hashtag2"]},{"1350865179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350865128, 1350865298, 1350865229, 1350865096, 1350865155, 1350865179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03972864151001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:07:33.137422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_57_10429.jpg', '/home/pi/Desktop/images/09042025/19/46/image_09042025_19_47_06_9532.jpg', '/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_17_10397.jpg', '/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_26_9365.jpg', '/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_37_10392.jpg', '/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_47_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/46/image_09042025_19_46_57_10429.jpg
/home/pi/Desktop/images/09042025/19/46/image_09042025_19_47_06_9532.jpg
/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_17_10397.jpg
/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_26_9365.jpg
/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_37_10392.jpg
/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_47_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350865645","1350865603","1350865593","1350865599","1350865650","1350865626"],"photo_ids_order":["1350865593","1350865599","1350865603","1350865626","1350865645","1350865650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c82da823a085c445be333742da74e6d.jpg","text":"TemporaryFile(/tmp/multipartBody183746947816990881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225713587,"filename":"image_09042025_19_47_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/4/9/5f5c12455329b93a1282bb62a08d093c.jpg","text":"TemporaryFile(/tmp/multipartBody1623510947167959517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225713587,"filename":"image_09042025_19_47_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/4/9/333e215e151a0b13738fc43fdfc638a3.jpg","text":"TemporaryFile(/tmp/multipartBody8072820645955131857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225713587,"filename":"image_09042025_19_46_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/db89e316741529aced194088c7f678c4.jpg","text":"TemporaryFile(/tmp/multipartBody5908745566895821908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225713587,"filename":"image_09042025_19_47_06_9532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3d6be8c4074951eca626d2c63f06b97a.jpg","text":"TemporaryFile(/tmp/multipartBody2589110584834615551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225713587,"filename":"image_09042025_19_47_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f909ebecf27ef30857a1c53b14ffac2a.jpg","text":"TemporaryFile(/tmp/multipartBody7295824364712277535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225713587,"filename":"image_09042025_19_47_26_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350865603","file1":"1350865599","file0":"1350865593","file4":"1350865645","file5":"1350865650","file3":"1350865626"},"map_files_photo_id_array":[{"photo_id":"1350865650","filename":"file5"},{"photo_id":"1350865603","filename":"file2"},{"photo_id":"1350865645","filename":"file4"},{"photo_id":"1350865599","filename":"file1"},{"photo_id":"1350865593","filename":"file0"},{"photo_id":"1350865626","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350865645":["hashtag1","hashtag2"]},{"1350865603":["hashtag1","hashtag2"]},{"1350865593":["hashtag1","hashtag2"]},{"1350865599":["hashtag1","hashtag2"]},{"1350865650":["hashtag1","hashtag2"]},{"1350865626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350865645, 1350865603, 1350865593, 1350865599, 1350865650, 1350865626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.122459173202515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:08:32.359796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_56_9470.jpg', '/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_16_9410.jpg', '/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_27_10393.jpg', '/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_37_10354.jpg', '/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_46_9443.jpg', '/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_57_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/47/image_09042025_19_47_56_9470.jpg
/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_16_9410.jpg
/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_27_10393.jpg
/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_37_10354.jpg
/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_46_9443.jpg
/home/pi/Desktop/images/09042025/19/48/image_09042025_19_48_57_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":["1350865847","1350865850","1350865825","1350865854","1350865857","1350865758"],"photo_ids_order":["1350865758","1350865825","1350865847","1350865850","1350865854","1350865857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b47fd979bef6e42762d1d1440dba00d5.jpg","text":"TemporaryFile(/tmp/multipartBody4193611376560640069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225772810,"filename":"image_09042025_19_48_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/4/9/58a905b570733d7ee6139a73edaf559a.jpg","text":"TemporaryFile(/tmp/multipartBody8575148699677238977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225772810,"filename":"image_09042025_19_48_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/4/9/21534bac1e90dea376bda2feaf0dc9bb.jpg","text":"TemporaryFile(/tmp/multipartBody5231671347755468717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225772810,"filename":"image_09042025_19_48_16_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2122f462390add759b042027eba53e35.jpg","text":"TemporaryFile(/tmp/multipartBody2366208443829577369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225772810,"filename":"image_09042025_19_48_46_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f596b4d368dc38f7da2ad11d4a55d3a.jpg","text":"TemporaryFile(/tmp/multipartBody8700889809195401424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225772810,"filename":"image_09042025_19_48_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/4/9/6cd12f50a9be9cf6440d940bcba29435.jpg","text":"TemporaryFile(/tmp/multipartBody8385167767681146174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225772810,"filename":"image_09042025_19_47_56_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350865847","file1":"1350865825","file0":"1350865758","file4":"1350865854","file5":"1350865857","file3":"1350865850"},"map_files_photo_id_array":[{"photo_id":"1350865857","filename":"file5"},{"photo_id":"1350865847","filename":"file2"},{"photo_id":"1350865854","filename":"file4"},{"photo_id":"1350865825","filename":"file1"},{"photo_id":"1350865758","filename":"file0"},{"photo_id":"1350865850","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350865847":["hashtag1","hashtag2"]},{"1350865850":["hashtag1","hashtag2"]},{"1350865825":["hashtag1","hashtag2"]},{"1350865854":["hashtag1","hashtag2"]},{"1350865857":["hashtag1","hashtag2"]},{"1350865758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350865847, 1350865850, 1350865825, 1350865854, 1350865857, 1350865758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83707642555237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:09:32.643218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/48/image_09042025_19_49_06_9349.jpg', '/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_16_9918.jpg', '/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_27_10446.jpg', '/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_37_10384.jpg', '/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_46_9427.jpg', '/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_57_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/48/image_09042025_19_49_06_9349.jpg
/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_16_9918.jpg
/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_27_10446.jpg
/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_37_10384.jpg
/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_46_9427.jpg
/home/pi/Desktop/images/09042025/19/49/image_09042025_19_49_57_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":["1350866069","1350866116","1350866151","1350866175","1350866037","1350866096"],"photo_ids_order":["1350866037","1350866069","1350866096","1350866116","1350866151","1350866175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a76a0592a5f9eb7102e14c897d50384.jpg","text":"TemporaryFile(/tmp/multipartBody3576747199140510651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225833106,"filename":"image_09042025_19_49_16_9918.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/114594b66d2f1b1da506be9c9617b67f.jpg","text":"TemporaryFile(/tmp/multipartBody3231501441568640903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225833106,"filename":"image_09042025_19_49_37_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1581fc3a8566da136f3568ccd494a87.jpg","text":"TemporaryFile(/tmp/multipartBody4944638771379793151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225833106,"filename":"image_09042025_19_49_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7db27913a84a04470b9c5f84fcf1eb02.jpg","text":"TemporaryFile(/tmp/multipartBody7794490239666604757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225833106,"filename":"image_09042025_19_49_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/4/9/3a1b0cd70e2c4c0064a73a64ed067ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1250373042305162327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225833106,"filename":"image_09042025_19_49_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/4/9/b6c8f82556bf09414e851f8820a5828f.jpg","text":"TemporaryFile(/tmp/multipartBody1863420677732591980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225833106,"filename":"image_09042025_19_49_27_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350866096","file1":"1350866069","file0":"1350866037","file4":"1350866151","file5":"1350866175","file3":"1350866116"},"map_files_photo_id_array":[{"photo_id":"1350866175","filename":"file5"},{"photo_id":"1350866096","filename":"file2"},{"photo_id":"1350866151","filename":"file4"},{"photo_id":"1350866069","filename":"file1"},{"photo_id":"1350866037","filename":"file0"},{"photo_id":"1350866116","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350866069":["hashtag1","hashtag2"]},{"1350866116":["hashtag1","hashtag2"]},{"1350866151":["hashtag1","hashtag2"]},{"1350866175":["hashtag1","hashtag2"]},{"1350866037":["hashtag1","hashtag2"]},{"1350866096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350866069, 1350866116, 1350866151, 1350866175, 1350866037, 1350866096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.697285175323486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:10:32.826724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/49/image_09042025_19_50_06_9437.jpg', '/home/pi/Desktop/images/09042025/19/50/image_09042025_19_50_27_10369.jpg', '/home/pi/Desktop/images/09042025/19/50/image_09042025_19_50_36_9417.jpg', '/home/pi/Desktop/images/09042025/19/50/image_09042025_19_50_47_10362.jpg', '/home/pi/Desktop/images/09042025/19/50/image_09042025_19_50_56_9340.jpg', '/home/pi/Desktop/images/09042025/19/50/image_09042025_19_51_06_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/49/image_09042025_19_50_06_9437.jpg
/home/pi/Desktop/images/09042025/19/50/image_09042025_19_50_27_10369.jpg
/home/pi/Desktop/images/09042025/19/50/image_09042025_19_50_36_9417.jpg
/home/pi/Desktop/images/09042025/19/50/image_09042025_19_50_47_10362.jpg
/home/pi/Desktop/images/09042025/19/50/image_09042025_19_50_56_9340.jpg
/home/pi/Desktop/images/09042025/19/50/image_09042025_19_51_06_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350866489","1350866396","1350866369","1350866449","1350866466","1350866421"],"photo_ids_order":["1350866369","1350866396","1350866421","1350866449","1350866466","1350866489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01e82d78e38afc5c66ae0c2351ba0f3b.jpg","text":"TemporaryFile(/tmp/multipartBody7248828721249001441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225893291,"filename":"image_09042025_19_51_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/4/9/f9da168fd77e7a48f06b5db4abd13bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4559876043377384867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225893291,"filename":"image_09042025_19_50_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2e54a28fd4608f3f5232fe05dab878b.jpg","text":"TemporaryFile(/tmp/multipartBody1138579944192381370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225893291,"filename":"image_09042025_19_50_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2130dec18ccc6fd331aa792c5005db68.jpg","text":"TemporaryFile(/tmp/multipartBody6963951997795038041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225893291,"filename":"image_09042025_19_50_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/4/9/4baa6a3ed074b7b9dcfa8556ff96ee8e.jpg","text":"TemporaryFile(/tmp/multipartBody8032873891380278799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225893291,"filename":"image_09042025_19_50_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/4/9/4e7aa17c66d28e8dece856cfc4515bce.jpg","text":"TemporaryFile(/tmp/multipartBody3174435651137833856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225893291,"filename":"image_09042025_19_50_36_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350866421","file1":"1350866396","file0":"1350866369","file4":"1350866466","file5":"1350866489","file3":"1350866449"},"map_files_photo_id_array":[{"photo_id":"1350866489","filename":"file5"},{"photo_id":"1350866421","filename":"file2"},{"photo_id":"1350866466","filename":"file4"},{"photo_id":"1350866396","filename":"file1"},{"photo_id":"1350866369","filename":"file0"},{"photo_id":"1350866449","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350866489":["hashtag1","hashtag2"]},{"1350866396":["hashtag1","hashtag2"]},{"1350866369":["hashtag1","hashtag2"]},{"1350866449":["hashtag1","hashtag2"]},{"1350866466":["hashtag1","hashtag2"]},{"1350866421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350866489, 1350866396, 1350866369, 1350866449, 1350866466, 1350866421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.126850605010986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:11:33.159951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_17_10343.jpg', '/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_26_9352.jpg', '/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_37_10342.jpg', '/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_47_10385.jpg', '/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_56_9470.jpg', '/home/pi/Desktop/images/09042025/19/51/image_09042025_19_52_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_17_10343.jpg
/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_26_9352.jpg
/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_37_10342.jpg
/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_47_10385.jpg
/home/pi/Desktop/images/09042025/19/51/image_09042025_19_51_56_9470.jpg
/home/pi/Desktop/images/09042025/19/51/image_09042025_19_52_07_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350866636","1350866606","1350866644","1350866568","1350866658","1350866628"],"photo_ids_order":["1350866568","1350866606","1350866628","1350866636","1350866644","1350866658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdce8c2fd2ce4ddf687dc378879c794d.jpg","text":"TemporaryFile(/tmp/multipartBody7247689450003103919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225953622,"filename":"image_09042025_19_51_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0638afba346591988c007bbd0f715e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5866735442823689856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225953622,"filename":"image_09042025_19_51_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7824c3d7bf6b2730c04d6129b45f338f.jpg","text":"TemporaryFile(/tmp/multipartBody579236624434152683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225953622,"filename":"image_09042025_19_51_56_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a16415627a284dd91c57146efc32bed8.jpg","text":"TemporaryFile(/tmp/multipartBody5460351057906992524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225953622,"filename":"image_09042025_19_51_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/4/9/c51f86667270ad128983669c26ddda7c.jpg","text":"TemporaryFile(/tmp/multipartBody8842778647984738581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225953622,"filename":"image_09042025_19_52_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/84981acc131d5ed066e3f6a1d27645b9.jpg","text":"TemporaryFile(/tmp/multipartBody4701254936270343019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744225953622,"filename":"image_09042025_19_51_37_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350866628","file1":"1350866606","file0":"1350866568","file4":"1350866644","file5":"1350866658","file3":"1350866636"},"map_files_photo_id_array":[{"photo_id":"1350866658","filename":"file5"},{"photo_id":"1350866628","filename":"file2"},{"photo_id":"1350866644","filename":"file4"},{"photo_id":"1350866606","filename":"file1"},{"photo_id":"1350866568","filename":"file0"},{"photo_id":"1350866636","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350866636":["hashtag1","hashtag2"]},{"1350866606":["hashtag1","hashtag2"]},{"1350866644":["hashtag1","hashtag2"]},{"1350866568":["hashtag1","hashtag2"]},{"1350866658":["hashtag1","hashtag2"]},{"1350866628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350866636, 1350866606, 1350866644, 1350866568, 1350866658, 1350866628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3758647441864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:12:32.501572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_16_9344.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_26_10361.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_37_10342.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_46_9362.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_57_10407.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_53_07_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_16_9344.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_26_10361.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_37_10342.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_46_9362.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_57_10407.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_53_07_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37476634979248047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 21:12:42.469103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_16_9344.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_26_10361.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_37_10342.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_46_9362.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_57_10407.jpg', '/home/pi/Desktop/images/09042025/19/52/image_09042025_19_53_07_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_16_9344.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_26_10361.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_37_10342.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_46_9362.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_52_57_10407.jpg
/home/pi/Desktop/images/09042025/19/52/image_09042025_19_53_07_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":["1350866869","1350866902","1350866880","1350866922","1350866916","1350866907"],"photo_ids_order":["1350866869","1350866880","1350866902","1350866907","1350866916","1350866922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a495eb230480b33b4ff80da7805a4c4e.jpg","text":"TemporaryFile(/tmp/multipartBody4814707325630278273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226022953,"filename":"image_09042025_19_52_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/4/9/6d62e85e2f757b69feb8fae19d66215a.jpg","text":"TemporaryFile(/tmp/multipartBody1662599946025490099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226022953,"filename":"image_09042025_19_52_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f9aac509eb17a29a7aba499dd78efaf6.jpg","text":"TemporaryFile(/tmp/multipartBody8613996658192678141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226022953,"filename":"image_09042025_19_52_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06227e5d91fd19163278eeb37d22c2fc.jpg","text":"TemporaryFile(/tmp/multipartBody3333589081243592597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226022953,"filename":"image_09042025_19_53_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/4/9/5bba3517b9430e65a217307b6ba22745.jpg","text":"TemporaryFile(/tmp/multipartBody4444352319181252528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226022953,"filename":"image_09042025_19_52_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/4/9/ca2248b03a655e3f2c45cc0fcea00a11.jpg","text":"TemporaryFile(/tmp/multipartBody2046861086082867745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226022953,"filename":"image_09042025_19_52_46_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350866902","file1":"1350866880","file0":"1350866869","file4":"1350866916","file5":"1350866922","file3":"1350866907"},"map_files_photo_id_array":[{"photo_id":"1350866922","filename":"file5"},{"photo_id":"1350866902","filename":"file2"},{"photo_id":"1350866916","filename":"file4"},{"photo_id":"1350866880","filename":"file1"},{"photo_id":"1350866869","filename":"file0"},{"photo_id":"1350866907","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350866869":["hashtag1","hashtag2"]},{"1350866902":["hashtag1","hashtag2"]},{"1350866880":["hashtag1","hashtag2"]},{"1350866922":["hashtag1","hashtag2"]},{"1350866916":["hashtag1","hashtag2"]},{"1350866907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350866869, 1350866902, 1350866880, 1350866922, 1350866916, 1350866907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69401478767395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:13:32.904629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/53/image_09042025_19_53_16_9391.jpg', '/home/pi/Desktop/images/09042025/19/53/image_09042025_19_53_36_9413.jpg', '/home/pi/Desktop/images/09042025/19/53/image_09042025_19_53_46_10395.jpg', '/home/pi/Desktop/images/09042025/19/53/image_09042025_19_53_57_10374.jpg', '/home/pi/Desktop/images/09042025/19/53/image_09042025_19_54_06_9329.jpg', '/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_17_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/53/image_09042025_19_53_16_9391.jpg
/home/pi/Desktop/images/09042025/19/53/image_09042025_19_53_36_9413.jpg
/home/pi/Desktop/images/09042025/19/53/image_09042025_19_53_46_10395.jpg
/home/pi/Desktop/images/09042025/19/53/image_09042025_19_53_57_10374.jpg
/home/pi/Desktop/images/09042025/19/53/image_09042025_19_54_06_9329.jpg
/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_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":["1350867020","1350867017","1350866971","1350867024","1350866999","1350866975"],"photo_ids_order":["1350866971","1350866975","1350866999","1350867017","1350867020","1350867024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03314b0705f610390357b9093c309044.jpg","text":"TemporaryFile(/tmp/multipartBody561563041375712019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226073373,"filename":"image_09042025_19_54_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e330f3fd7496ab956ad6cc1f6df18c49.jpg","text":"TemporaryFile(/tmp/multipartBody1683890757112767136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226073373,"filename":"image_09042025_19_53_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3c4c86cf723615345eb4aba483981a54.jpg","text":"TemporaryFile(/tmp/multipartBody8495322410555307251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226073373,"filename":"image_09042025_19_53_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08dd8fee3b84c4f11c772b327897ed3a.jpg","text":"TemporaryFile(/tmp/multipartBody3025145980817301180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226073373,"filename":"image_09042025_19_54_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/4/9/0456ea1cbb6edcaf821439858f2ae1e0.jpg","text":"TemporaryFile(/tmp/multipartBody5305826008317602485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226073373,"filename":"image_09042025_19_53_46_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09b5098134601bd14bb25c6761b8d1ca.jpg","text":"TemporaryFile(/tmp/multipartBody8604188691147171077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226073373,"filename":"image_09042025_19_53_36_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350866999","file1":"1350866975","file0":"1350866971","file4":"1350867020","file5":"1350867024","file3":"1350867017"},"map_files_photo_id_array":[{"photo_id":"1350867024","filename":"file5"},{"photo_id":"1350866999","filename":"file2"},{"photo_id":"1350867020","filename":"file4"},{"photo_id":"1350866975","filename":"file1"},{"photo_id":"1350866971","filename":"file0"},{"photo_id":"1350867017","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350867020":["hashtag1","hashtag2"]},{"1350867017":["hashtag1","hashtag2"]},{"1350866971":["hashtag1","hashtag2"]},{"1350867024":["hashtag1","hashtag2"]},{"1350866999":["hashtag1","hashtag2"]},{"1350866975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350867020, 1350867017, 1350866971, 1350867024, 1350866999, 1350866975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46261978149414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:14:33.049471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_27_10355.jpg', '/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_36_9350.jpg', '/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_47_10352.jpg', '/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_56_9364.jpg', '/home/pi/Desktop/images/09042025/19/54/image_09042025_19_55_06_10468.jpg', '/home/pi/Desktop/images/09042025/19/55/image_09042025_19_55_17_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_27_10355.jpg
/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_36_9350.jpg
/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_47_10352.jpg
/home/pi/Desktop/images/09042025/19/54/image_09042025_19_54_56_9364.jpg
/home/pi/Desktop/images/09042025/19/54/image_09042025_19_55_06_10468.jpg
/home/pi/Desktop/images/09042025/19/55/image_09042025_19_55_17_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350867064","1350867073","1350867051","1350867069","1350867060","1350867056"],"photo_ids_order":["1350867051","1350867056","1350867060","1350867064","1350867069","1350867073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b8c0741c426459949855c985e869893.jpg","text":"TemporaryFile(/tmp/multipartBody1312157992099569823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226133505,"filename":"image_09042025_19_54_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8f8054510cb2c39265917e6dd7042fca.jpg","text":"TemporaryFile(/tmp/multipartBody37157546034071045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226133505,"filename":"image_09042025_19_55_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4ac67ce9a329f717532f52d628585240.jpg","text":"TemporaryFile(/tmp/multipartBody4869322036283096262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226133505,"filename":"image_09042025_19_54_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/300c0319d91347d7eb30d427d4ac9bd5.jpg","text":"TemporaryFile(/tmp/multipartBody3119949517530096899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226133505,"filename":"image_09042025_19_55_06_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9cd361349ffc89d29b1a3dbc32950e6.jpg","text":"TemporaryFile(/tmp/multipartBody450815202952666156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226133505,"filename":"image_09042025_19_54_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/4/9/0e64e1a5321582f5fde92f83acb220ce.jpg","text":"TemporaryFile(/tmp/multipartBody4181132539307382743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226133505,"filename":"image_09042025_19_54_36_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350867060","file1":"1350867056","file0":"1350867051","file4":"1350867069","file5":"1350867073","file3":"1350867064"},"map_files_photo_id_array":[{"photo_id":"1350867073","filename":"file5"},{"photo_id":"1350867060","filename":"file2"},{"photo_id":"1350867069","filename":"file4"},{"photo_id":"1350867056","filename":"file1"},{"photo_id":"1350867051","filename":"file0"},{"photo_id":"1350867064","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350867064":["hashtag1","hashtag2"]},{"1350867073":["hashtag1","hashtag2"]},{"1350867051":["hashtag1","hashtag2"]},{"1350867069":["hashtag1","hashtag2"]},{"1350867060":["hashtag1","hashtag2"]},{"1350867056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350867064, 1350867073, 1350867051, 1350867069, 1350867060, 1350867056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.99805974960327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:15:32.238518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/55/image_09042025_19_55_26_9415.jpg', '/home/pi/Desktop/images/09042025/19/55/image_09042025_19_55_37_10340.jpg', '/home/pi/Desktop/images/09042025/19/55/image_09042025_19_56_07_10342.jpg', '/home/pi/Desktop/images/09042025/19/56/image_09042025_19_56_16_9330.jpg', '/home/pi/Desktop/images/09042025/19/56/image_09042025_19_56_26_10436.jpg', '/home/pi/Desktop/images/09042025/19/56/image_09042025_19_56_37_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/55/image_09042025_19_55_26_9415.jpg
/home/pi/Desktop/images/09042025/19/55/image_09042025_19_55_37_10340.jpg
/home/pi/Desktop/images/09042025/19/55/image_09042025_19_56_07_10342.jpg
/home/pi/Desktop/images/09042025/19/56/image_09042025_19_56_16_9330.jpg
/home/pi/Desktop/images/09042025/19/56/image_09042025_19_56_26_10436.jpg
/home/pi/Desktop/images/09042025/19/56/image_09042025_19_56_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":["1350867104","1350867175","1350867115","1350867132","1350867111","1350867108"],"photo_ids_order":["1350867104","1350867108","1350867111","1350867115","1350867132","1350867175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3cc7893522c6903c09f09715c083c6d2.jpg","text":"TemporaryFile(/tmp/multipartBody2480214537047765468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226192689,"filename":"image_09042025_19_55_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/4/9/8c2d311bb3c4c889a57ae38bf526082b.jpg","text":"TemporaryFile(/tmp/multipartBody8947612210534696950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226192689,"filename":"image_09042025_19_56_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/4/9/12c0567e574fcde5157bc3cdf434ffb8.jpg","text":"TemporaryFile(/tmp/multipartBody7466679190480791048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226192689,"filename":"image_09042025_19_56_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/4/9/7195b8995803a1f465f87752e17437d9.jpg","text":"TemporaryFile(/tmp/multipartBody5133730280482373966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226192689,"filename":"image_09042025_19_56_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/4/9/bd41bf4a2fc83cf167fa725d57ff551b.jpg","text":"TemporaryFile(/tmp/multipartBody8876616253739411568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226192689,"filename":"image_09042025_19_56_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/4/9/04f95946a5e697c1ec15677ff1d82da4.jpg","text":"TemporaryFile(/tmp/multipartBody6153479735181988243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226192689,"filename":"image_09042025_19_55_37_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350867111","file1":"1350867108","file0":"1350867104","file4":"1350867132","file5":"1350867175","file3":"1350867115"},"map_files_photo_id_array":[{"photo_id":"1350867175","filename":"file5"},{"photo_id":"1350867111","filename":"file2"},{"photo_id":"1350867132","filename":"file4"},{"photo_id":"1350867108","filename":"file1"},{"photo_id":"1350867104","filename":"file0"},{"photo_id":"1350867115","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350867104":["hashtag1","hashtag2"]},{"1350867175":["hashtag1","hashtag2"]},{"1350867115":["hashtag1","hashtag2"]},{"1350867132":["hashtag1","hashtag2"]},{"1350867111":["hashtag1","hashtag2"]},{"1350867108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350867104, 1350867175, 1350867115, 1350867132, 1350867111, 1350867108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.791884660720825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:16:32.542166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/56/image_09042025_19_56_46_9449.jpg', '/home/pi/Desktop/images/09042025/19/56/image_09042025_19_57_07_10355.jpg', '/home/pi/Desktop/images/09042025/19/57/image_09042025_19_57_16_9409.jpg', '/home/pi/Desktop/images/09042025/19/57/image_09042025_19_57_36_9392.jpg', '/home/pi/Desktop/images/09042025/19/57/image_09042025_19_57_47_10355.jpg', '/home/pi/Desktop/images/09042025/19/57/image_09042025_19_57_57_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/56/image_09042025_19_56_46_9449.jpg
/home/pi/Desktop/images/09042025/19/56/image_09042025_19_57_07_10355.jpg
/home/pi/Desktop/images/09042025/19/57/image_09042025_19_57_16_9409.jpg
/home/pi/Desktop/images/09042025/19/57/image_09042025_19_57_36_9392.jpg
/home/pi/Desktop/images/09042025/19/57/image_09042025_19_57_47_10355.jpg
/home/pi/Desktop/images/09042025/19/57/image_09042025_19_57_57_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":["1350867401","1350867427","1350867660","1350867770","1350867830","1350867461"],"photo_ids_order":["1350867401","1350867427","1350867461","1350867660","1350867770","1350867830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/679385bca0342535e1c237e027537574.jpg","text":"TemporaryFile(/tmp/multipartBody4814667098284912306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226253001,"filename":"image_09042025_19_56_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/4/9/1b560de146607b48551f187e01903c11.jpg","text":"TemporaryFile(/tmp/multipartBody330489414538275104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226253001,"filename":"image_09042025_19_57_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d688f82d9ca2c1e6a4853e3067bd23ab.jpg","text":"TemporaryFile(/tmp/multipartBody7315229781680036584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226253001,"filename":"image_09042025_19_57_36_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aff60fd4524b23081aecbcda7828528b.jpg","text":"TemporaryFile(/tmp/multipartBody3902160746254505442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226253001,"filename":"image_09042025_19_57_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/4/9/bf09f7d1537a8d64659dabb4a68ff3fd.jpg","text":"TemporaryFile(/tmp/multipartBody1403937004651859950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226253001,"filename":"image_09042025_19_57_57_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9964e72223f9b6aa7f38dbc1ab19d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3346455276907228561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226253001,"filename":"image_09042025_19_57_16_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350867461","file1":"1350867427","file0":"1350867401","file4":"1350867770","file5":"1350867830","file3":"1350867660"},"map_files_photo_id_array":[{"photo_id":"1350867830","filename":"file5"},{"photo_id":"1350867461","filename":"file2"},{"photo_id":"1350867770","filename":"file4"},{"photo_id":"1350867427","filename":"file1"},{"photo_id":"1350867401","filename":"file0"},{"photo_id":"1350867660","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350867401":["hashtag1","hashtag2"]},{"1350867427":["hashtag1","hashtag2"]},{"1350867660":["hashtag1","hashtag2"]},{"1350867770":["hashtag1","hashtag2"]},{"1350867830":["hashtag1","hashtag2"]},{"1350867461":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350867401, 1350867427, 1350867660, 1350867770, 1350867830, 1350867461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24433946609497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:17:32.727822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/57/image_09042025_19_58_06_9370.jpg', '/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_17_10373.jpg', '/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_26_9356.jpg', '/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_36_10425.jpg', '/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_47_10354.jpg', '/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_56_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/57/image_09042025_19_58_06_9370.jpg
/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_17_10373.jpg
/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_26_9356.jpg
/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_36_10425.jpg
/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_47_10354.jpg
/home/pi/Desktop/images/09042025/19/58/image_09042025_19_58_56_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":["1350868132","1350868236","1350868212","1350868271","1350868250","1350868267"],"photo_ids_order":["1350868132","1350868212","1350868236","1350868250","1350868267","1350868271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/051bcf67d4e99cceab3443f4a7eac551.jpg","text":"TemporaryFile(/tmp/multipartBody2680172960130601426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226313179,"filename":"image_09042025_19_58_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/92987b872d0c012f8ee0fe2c8ad01bff.jpg","text":"TemporaryFile(/tmp/multipartBody3640602044300585277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226313179,"filename":"image_09042025_19_58_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e715ff790fc53469e91db555d3a6fe38.jpg","text":"TemporaryFile(/tmp/multipartBody6340163035345897500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226313179,"filename":"image_09042025_19_58_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/4/9/b4788152721748796987e94027bcc086.jpg","text":"TemporaryFile(/tmp/multipartBody7401033998536301292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226313179,"filename":"image_09042025_19_58_56_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36f6caacec34a5b0bcb7037555c6d71b.jpg","text":"TemporaryFile(/tmp/multipartBody8080088578644462826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226313179,"filename":"image_09042025_19_58_36_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30c93f1913fb9989558da05e235e0636.jpg","text":"TemporaryFile(/tmp/multipartBody3514877806845921687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226313179,"filename":"image_09042025_19_58_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350868236","file1":"1350868212","file0":"1350868132","file4":"1350868267","file5":"1350868271","file3":"1350868250"},"map_files_photo_id_array":[{"photo_id":"1350868271","filename":"file5"},{"photo_id":"1350868236","filename":"file2"},{"photo_id":"1350868267","filename":"file4"},{"photo_id":"1350868212","filename":"file1"},{"photo_id":"1350868132","filename":"file0"},{"photo_id":"1350868250","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350868132":["hashtag1","hashtag2"]},{"1350868236":["hashtag1","hashtag2"]},{"1350868212":["hashtag1","hashtag2"]},{"1350868271":["hashtag1","hashtag2"]},{"1350868250":["hashtag1","hashtag2"]},{"1350868267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350868132, 1350868236, 1350868212, 1350868271, 1350868250, 1350868267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50898766517639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:18:33.053378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/19/58/image_09042025_19_59_07_10361.jpg', '/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_17_10350.jpg', '/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_26_9430.jpg', '/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_37_10428.jpg', '/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_46_9410.jpg', '/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_57_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/19/58/image_09042025_19_59_07_10361.jpg
/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_17_10350.jpg
/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_26_9430.jpg
/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_37_10428.jpg
/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_46_9410.jpg
/home/pi/Desktop/images/09042025/19/59/image_09042025_19_59_57_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":["1350868516","1350868587","1350868566","1350868548","1350868490","1350868535"],"photo_ids_order":["1350868490","1350868516","1350868535","1350868548","1350868566","1350868587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/81423c791cb7f1d46ab3a07cf8c8c3d1.jpg","text":"TemporaryFile(/tmp/multipartBody2406106289331945452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226373513,"filename":"image_09042025_19_59_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/4/9/1aba3b874bc07ba0301ffc43d1a75c6d.jpg","text":"TemporaryFile(/tmp/multipartBody9180348166668183915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226373513,"filename":"image_09042025_19_59_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/4/9/1dd9289cbe4554c03aee622fda27cd4f.jpg","text":"TemporaryFile(/tmp/multipartBody7566031752980289606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226373513,"filename":"image_09042025_19_59_46_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/68b12b10327e66dfb959b862a50c4eda.jpg","text":"TemporaryFile(/tmp/multipartBody1034173929358084841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226373513,"filename":"image_09042025_19_59_37_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6fc7efe1dd800c883371dfd68b0ff37.jpg","text":"TemporaryFile(/tmp/multipartBody8191963445017260035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226373513,"filename":"image_09042025_19_59_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/4/9/07abc7c0779141509d3ed32cec36f37b.jpg","text":"TemporaryFile(/tmp/multipartBody5876981826858669654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226373513,"filename":"image_09042025_19_59_26_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350868535","file1":"1350868516","file0":"1350868490","file4":"1350868566","file5":"1350868587","file3":"1350868548"},"map_files_photo_id_array":[{"photo_id":"1350868587","filename":"file5"},{"photo_id":"1350868535","filename":"file2"},{"photo_id":"1350868566","filename":"file4"},{"photo_id":"1350868516","filename":"file1"},{"photo_id":"1350868490","filename":"file0"},{"photo_id":"1350868548","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350868516":["hashtag1","hashtag2"]},{"1350868587":["hashtag1","hashtag2"]},{"1350868566":["hashtag1","hashtag2"]},{"1350868548":["hashtag1","hashtag2"]},{"1350868490":["hashtag1","hashtag2"]},{"1350868535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350868516, 1350868587, 1350868566, 1350868548, 1350868490, 1350868535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08263111114502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:19:32.339235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/00/image_09042025_20_00_16_10073.jpg', '/home/pi/Desktop/images/09042025/20/00/image_09042025_20_00_26_10382.jpg', '/home/pi/Desktop/images/09042025/20/00/image_09042025_20_00_57_10361.jpg', '/home/pi/Desktop/images/09042025/20/01/image_09042025_20_01_16_9357.jpg', '/home/pi/Desktop/images/09042025/20/01/image_09042025_20_01_27_10376.jpg', '/home/pi/Desktop/images/09042025/20/01/image_09042025_20_01_37_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/00/image_09042025_20_00_16_10073.jpg
/home/pi/Desktop/images/09042025/20/00/image_09042025_20_00_26_10382.jpg
/home/pi/Desktop/images/09042025/20/00/image_09042025_20_00_57_10361.jpg
/home/pi/Desktop/images/09042025/20/01/image_09042025_20_01_16_9357.jpg
/home/pi/Desktop/images/09042025/20/01/image_09042025_20_01_27_10376.jpg
/home/pi/Desktop/images/09042025/20/01/image_09042025_20_01_37_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350868750","1350868732","1350868746","1350868725","1350868728","1350868721"],"photo_ids_order":["1350868721","1350868725","1350868728","1350868732","1350868746","1350868750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6fcad0292a61c70756570938ec337f77.jpg","text":"TemporaryFile(/tmp/multipartBody622437877480874503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226432793,"filename":"image_09042025_20_01_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dad30a06982a27f332f570a1a2cf59b1.jpg","text":"TemporaryFile(/tmp/multipartBody1207491207179311210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226432793,"filename":"image_09042025_20_01_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/4/9/a0a2c838749385aded68b2667672f818.jpg","text":"TemporaryFile(/tmp/multipartBody3410085623427829626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226432793,"filename":"image_09042025_20_01_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/4/9/4b4854388a1d392f8ee8da2a03316cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8934620488956509999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226432793,"filename":"image_09042025_20_00_26_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/005679f52fe6988bd68dce92cd94318a.jpg","text":"TemporaryFile(/tmp/multipartBody7855094229581853947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226432793,"filename":"image_09042025_20_00_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/4/9/1c93d6f153eb31f7fc0c5cd0ff6280e8.jpg","text":"TemporaryFile(/tmp/multipartBody682882515188669806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226432793,"filename":"image_09042025_20_00_16_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350868728","file1":"1350868725","file0":"1350868721","file4":"1350868746","file5":"1350868750","file3":"1350868732"},"map_files_photo_id_array":[{"photo_id":"1350868750","filename":"file5"},{"photo_id":"1350868728","filename":"file2"},{"photo_id":"1350868746","filename":"file4"},{"photo_id":"1350868725","filename":"file1"},{"photo_id":"1350868721","filename":"file0"},{"photo_id":"1350868732","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350868750":["hashtag1","hashtag2"]},{"1350868732":["hashtag1","hashtag2"]},{"1350868746":["hashtag1","hashtag2"]},{"1350868725":["hashtag1","hashtag2"]},{"1350868728":["hashtag1","hashtag2"]},{"1350868721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350868750, 1350868732, 1350868746, 1350868725, 1350868728, 1350868721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.830084085464478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:20:32.490267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/01/image_09042025_20_01_57_10425.jpg', '/home/pi/Desktop/images/09042025/20/01/image_09042025_20_02_06_9324.jpg', '/home/pi/Desktop/images/09042025/20/03/image_09042025_20_03_17_10424.jpg', '/home/pi/Desktop/images/09042025/20/03/image_09042025_20_03_26_9385.jpg', '/home/pi/Desktop/images/09042025/20/03/image_09042025_20_03_37_10343.jpg', '/home/pi/Desktop/images/09042025/20/03/image_09042025_20_03_56_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/01/image_09042025_20_01_57_10425.jpg
/home/pi/Desktop/images/09042025/20/01/image_09042025_20_02_06_9324.jpg
/home/pi/Desktop/images/09042025/20/03/image_09042025_20_03_17_10424.jpg
/home/pi/Desktop/images/09042025/20/03/image_09042025_20_03_26_9385.jpg
/home/pi/Desktop/images/09042025/20/03/image_09042025_20_03_37_10343.jpg
/home/pi/Desktop/images/09042025/20/03/image_09042025_20_03_56_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350868942","1350868890","1350868884","1350868947","1350868898","1350868859"],"photo_ids_order":["1350868859","1350868884","1350868890","1350868898","1350868942","1350868947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e34c20d2b78bdb787e5a5c63cd111ed.jpg","text":"TemporaryFile(/tmp/multipartBody7152397957221747504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226493108,"filename":"image_09042025_20_03_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/4/9/50ab3f74a289fac28225f9eb00520da5.jpg","text":"TemporaryFile(/tmp/multipartBody4899174978492339288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226493108,"filename":"image_09042025_20_03_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/4/9/5c4dedba366d91b74ca243d4e34b460e.jpg","text":"TemporaryFile(/tmp/multipartBody410139400553682993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226493108,"filename":"image_09042025_20_02_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/4/9/c64f0326bd1bb091c4477e9907621771.jpg","text":"TemporaryFile(/tmp/multipartBody3331738301818892792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226493108,"filename":"image_09042025_20_03_56_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d3cec842e81d8028e48bbc424b1cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody4705030023874536937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226493108,"filename":"image_09042025_20_03_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/4/9/24a56003b0aca2e69c24e290258cb0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3729460794560011643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226493108,"filename":"image_09042025_20_01_57_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350868890","file1":"1350868884","file0":"1350868859","file4":"1350868942","file5":"1350868947","file3":"1350868898"},"map_files_photo_id_array":[{"photo_id":"1350868947","filename":"file5"},{"photo_id":"1350868890","filename":"file2"},{"photo_id":"1350868942","filename":"file4"},{"photo_id":"1350868884","filename":"file1"},{"photo_id":"1350868859","filename":"file0"},{"photo_id":"1350868898","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350868942":["hashtag1","hashtag2"]},{"1350868890":["hashtag1","hashtag2"]},{"1350868884":["hashtag1","hashtag2"]},{"1350868947":["hashtag1","hashtag2"]},{"1350868898":["hashtag1","hashtag2"]},{"1350868859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350868942, 1350868890, 1350868884, 1350868947, 1350868898, 1350868859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58545255661011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:21:32.752306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/03/image_09042025_20_04_07_10328.jpg', '/home/pi/Desktop/images/09042025/20/04/image_09042025_20_04_17_10361.jpg', '/home/pi/Desktop/images/09042025/20/04/image_09042025_20_04_37_10340.jpg', '/home/pi/Desktop/images/09042025/20/04/image_09042025_20_04_46_9355.jpg', '/home/pi/Desktop/images/09042025/20/04/image_09042025_20_04_57_10444.jpg', '/home/pi/Desktop/images/09042025/20/04/image_09042025_20_05_07_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/03/image_09042025_20_04_07_10328.jpg
/home/pi/Desktop/images/09042025/20/04/image_09042025_20_04_17_10361.jpg
/home/pi/Desktop/images/09042025/20/04/image_09042025_20_04_37_10340.jpg
/home/pi/Desktop/images/09042025/20/04/image_09042025_20_04_46_9355.jpg
/home/pi/Desktop/images/09042025/20/04/image_09042025_20_04_57_10444.jpg
/home/pi/Desktop/images/09042025/20/04/image_09042025_20_05_07_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":["1350868995","1350868977","1350868988","1350868991","1350868985","1350868981"],"photo_ids_order":["1350868977","1350868981","1350868985","1350868988","1350868991","1350868995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/50b1f52d18638decd8caabeb4823e0e2.jpg","text":"TemporaryFile(/tmp/multipartBody7246526279571018609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226553209,"filename":"image_09042025_20_05_07_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b720a944033c049eabdf017fcf2cc51.jpg","text":"TemporaryFile(/tmp/multipartBody2252556367136722854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226553209,"filename":"image_09042025_20_04_07_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba6d908292ccb5b78cb3a95055638d85.jpg","text":"TemporaryFile(/tmp/multipartBody59364031342806152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226553209,"filename":"image_09042025_20_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/4/9/a3f9bfb59c5a2d172afc413ecc99da4f.jpg","text":"TemporaryFile(/tmp/multipartBody207078375734304907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226553209,"filename":"image_09042025_20_04_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/4/9/88f3d2c7f2d24034b408f5e692450757.jpg","text":"TemporaryFile(/tmp/multipartBody8075067476347867303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226553209,"filename":"image_09042025_20_04_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27213cfb7eb02036972e6fd8ceda7059.jpg","text":"TemporaryFile(/tmp/multipartBody6253943981468412261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226553209,"filename":"image_09042025_20_04_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350868985","file1":"1350868981","file0":"1350868977","file4":"1350868991","file5":"1350868995","file3":"1350868988"},"map_files_photo_id_array":[{"photo_id":"1350868995","filename":"file5"},{"photo_id":"1350868985","filename":"file2"},{"photo_id":"1350868991","filename":"file4"},{"photo_id":"1350868981","filename":"file1"},{"photo_id":"1350868977","filename":"file0"},{"photo_id":"1350868988","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350868995":["hashtag1","hashtag2"]},{"1350868977":["hashtag1","hashtag2"]},{"1350868988":["hashtag1","hashtag2"]},{"1350868991":["hashtag1","hashtag2"]},{"1350868985":["hashtag1","hashtag2"]},{"1350868981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350868995, 1350868977, 1350868988, 1350868991, 1350868985, 1350868981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71779465675354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:22:32.891891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/05/image_09042025_20_05_16_9437.jpg', '/home/pi/Desktop/images/09042025/20/05/image_09042025_20_05_27_10349.jpg', '/home/pi/Desktop/images/09042025/20/05/image_09042025_20_05_36_9341.jpg', '/home/pi/Desktop/images/09042025/20/05/image_09042025_20_05_57_10353.jpg', '/home/pi/Desktop/images/09042025/20/05/image_09042025_20_06_06_9349.jpg', '/home/pi/Desktop/images/09042025/20/06/image_09042025_20_06_17_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/05/image_09042025_20_05_16_9437.jpg
/home/pi/Desktop/images/09042025/20/05/image_09042025_20_05_27_10349.jpg
/home/pi/Desktop/images/09042025/20/05/image_09042025_20_05_36_9341.jpg
/home/pi/Desktop/images/09042025/20/05/image_09042025_20_05_57_10353.jpg
/home/pi/Desktop/images/09042025/20/05/image_09042025_20_06_06_9349.jpg
/home/pi/Desktop/images/09042025/20/06/image_09042025_20_06_17_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":["1350869026","1350869052","1350869037","1350869031","1350869021","1350869044"],"photo_ids_order":["1350869021","1350869026","1350869031","1350869037","1350869044","1350869052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8a177c9a4eb82536198461107c067ba.jpg","text":"TemporaryFile(/tmp/multipartBody83874663196350030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226613343,"filename":"image_09042025_20_05_27_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/085f5d19ef7b47f685c8b26e7d56cc82.jpg","text":"TemporaryFile(/tmp/multipartBody5101957764850958756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226613343,"filename":"image_09042025_20_06_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62f3e275bcc44b67bd63a22144948c58.jpg","text":"TemporaryFile(/tmp/multipartBody8773856916861195581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226613343,"filename":"image_09042025_20_05_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/4/9/3887084d919f3277883dda19143220c3.jpg","text":"TemporaryFile(/tmp/multipartBody2332596611881244091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226613343,"filename":"image_09042025_20_05_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/259929183429f4b7496c7807de268143.jpg","text":"TemporaryFile(/tmp/multipartBody875623440973564271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226613343,"filename":"image_09042025_20_05_16_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ab6e7578a3fc4342a368b099db139dc.jpg","text":"TemporaryFile(/tmp/multipartBody8436329010315374706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226613343,"filename":"image_09042025_20_06_06_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350869031","file1":"1350869026","file0":"1350869021","file4":"1350869044","file5":"1350869052","file3":"1350869037"},"map_files_photo_id_array":[{"photo_id":"1350869052","filename":"file5"},{"photo_id":"1350869031","filename":"file2"},{"photo_id":"1350869044","filename":"file4"},{"photo_id":"1350869026","filename":"file1"},{"photo_id":"1350869021","filename":"file0"},{"photo_id":"1350869037","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350869026":["hashtag1","hashtag2"]},{"1350869052":["hashtag1","hashtag2"]},{"1350869037":["hashtag1","hashtag2"]},{"1350869031":["hashtag1","hashtag2"]},{"1350869021":["hashtag1","hashtag2"]},{"1350869044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350869026, 1350869052, 1350869037, 1350869031, 1350869021, 1350869044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.70317816734314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:23:33.211470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/06/image_09042025_20_06_27_10381.jpg', '/home/pi/Desktop/images/09042025/20/06/image_09042025_20_06_57_10350.jpg', '/home/pi/Desktop/images/09042025/20/07/image_09042025_20_07_26_9434.jpg', '/home/pi/Desktop/images/09042025/20/07/image_09042025_20_07_37_10463.jpg', '/home/pi/Desktop/images/09042025/20/07/image_09042025_20_07_47_10378.jpg', '/home/pi/Desktop/images/09042025/20/07/image_09042025_20_07_56_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/06/image_09042025_20_06_27_10381.jpg
/home/pi/Desktop/images/09042025/20/06/image_09042025_20_06_57_10350.jpg
/home/pi/Desktop/images/09042025/20/07/image_09042025_20_07_26_9434.jpg
/home/pi/Desktop/images/09042025/20/07/image_09042025_20_07_37_10463.jpg
/home/pi/Desktop/images/09042025/20/07/image_09042025_20_07_47_10378.jpg
/home/pi/Desktop/images/09042025/20/07/image_09042025_20_07_56_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":["1350869208","1350869156","1350869147","1350869140","1350869134","1350869257"],"photo_ids_order":["1350869134","1350869140","1350869147","1350869156","1350869208","1350869257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/150238a99f9ca88bc43444a4ae4daf8a.jpg","text":"TemporaryFile(/tmp/multipartBody5638335879994384347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226673681,"filename":"image_09042025_20_07_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/4/9/9d5b971eeb49bfd5466f00c43e814acd.jpg","text":"TemporaryFile(/tmp/multipartBody375612828538881467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226673681,"filename":"image_09042025_20_07_37_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7213f4497078cbdaafb1cdd9761dd46b.jpg","text":"TemporaryFile(/tmp/multipartBody7399061391512963012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226673681,"filename":"image_09042025_20_07_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d4d10f3da4aa03b0b93daa955c637f8.jpg","text":"TemporaryFile(/tmp/multipartBody7124468203620725924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226673681,"filename":"image_09042025_20_06_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f5672c0d7fcdff67e6a1ecc73dd64f0.jpg","text":"TemporaryFile(/tmp/multipartBody7469182286184333755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226673681,"filename":"image_09042025_20_06_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/4/9/68f6350136ef31dc543381c6c8ff61f1.jpg","text":"TemporaryFile(/tmp/multipartBody8330542305426808630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226673681,"filename":"image_09042025_20_07_56_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350869147","file1":"1350869140","file0":"1350869134","file4":"1350869208","file5":"1350869257","file3":"1350869156"},"map_files_photo_id_array":[{"photo_id":"1350869257","filename":"file5"},{"photo_id":"1350869147","filename":"file2"},{"photo_id":"1350869208","filename":"file4"},{"photo_id":"1350869140","filename":"file1"},{"photo_id":"1350869134","filename":"file0"},{"photo_id":"1350869156","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350869208":["hashtag1","hashtag2"]},{"1350869156":["hashtag1","hashtag2"]},{"1350869147":["hashtag1","hashtag2"]},{"1350869140":["hashtag1","hashtag2"]},{"1350869134":["hashtag1","hashtag2"]},{"1350869257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350869208, 1350869156, 1350869147, 1350869140, 1350869134, 1350869257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37887692451477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:24:32.354941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/07/image_09042025_20_08_07_10403.jpg', '/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_16_9328.jpg', '/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_27_10398.jpg', '/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_37_10353.jpg', '/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_46_9402.jpg', '/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_57_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/07/image_09042025_20_08_07_10403.jpg
/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_16_9328.jpg
/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_27_10398.jpg
/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_37_10353.jpg
/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_46_9402.jpg
/home/pi/Desktop/images/09042025/20/08/image_09042025_20_08_57_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":["1350869388","1350869349","1350869354","1350869402","1350869408","1350869392"],"photo_ids_order":["1350869349","1350869354","1350869388","1350869392","1350869402","1350869408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e27200216bce83bea177808507e9667.jpg","text":"TemporaryFile(/tmp/multipartBody1556553951204958155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226732814,"filename":"image_09042025_20_08_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/4/9/f0b89997870a089c405013e782386d22.jpg","text":"TemporaryFile(/tmp/multipartBody2556149291163709178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226732814,"filename":"image_09042025_20_08_07_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/551b703a7e01675960906671b1e027c2.jpg","text":"TemporaryFile(/tmp/multipartBody8397762244389450525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226732814,"filename":"image_09042025_20_08_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/4/9/208951275d7d059ca21854644ddf54f4.jpg","text":"TemporaryFile(/tmp/multipartBody7600688724395154083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226732814,"filename":"image_09042025_20_08_46_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ace4e118e2d668e4c92b7c7467266443.jpg","text":"TemporaryFile(/tmp/multipartBody4532953958107678054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226732814,"filename":"image_09042025_20_08_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/4/9/957108a62d696bebadccf21466fc6d19.jpg","text":"TemporaryFile(/tmp/multipartBody3593626967095016552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226732814,"filename":"image_09042025_20_08_37_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350869388","file1":"1350869354","file0":"1350869349","file4":"1350869402","file5":"1350869408","file3":"1350869392"},"map_files_photo_id_array":[{"photo_id":"1350869408","filename":"file5"},{"photo_id":"1350869388","filename":"file2"},{"photo_id":"1350869402","filename":"file4"},{"photo_id":"1350869354","filename":"file1"},{"photo_id":"1350869349","filename":"file0"},{"photo_id":"1350869392","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350869388":["hashtag1","hashtag2"]},{"1350869349":["hashtag1","hashtag2"]},{"1350869354":["hashtag1","hashtag2"]},{"1350869402":["hashtag1","hashtag2"]},{"1350869408":["hashtag1","hashtag2"]},{"1350869392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350869388, 1350869349, 1350869354, 1350869402, 1350869408, 1350869392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13497304916382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:25:32.554311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/08/image_09042025_20_09_07_10348.jpg', '/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_16_9415.jpg', '/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_27_10363.jpg', '/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_36_9460.jpg', '/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_47_10370.jpg', '/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_57_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/08/image_09042025_20_09_07_10348.jpg
/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_16_9415.jpg
/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_27_10363.jpg
/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_36_9460.jpg
/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_47_10370.jpg
/home/pi/Desktop/images/09042025/20/09/image_09042025_20_09_57_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":["1350869571","1350869445","1350869448","1350869514","1350869596","1350869539"],"photo_ids_order":["1350869445","1350869448","1350869514","1350869539","1350869571","1350869596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e73b6a8e113f37bb45e41a7d136e652.jpg","text":"TemporaryFile(/tmp/multipartBody6763261103711601223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226793035,"filename":"image_09042025_20_09_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/4/9/1074b9c42f18dd03b720c8917a2a8c19.jpg","text":"TemporaryFile(/tmp/multipartBody351987991375076091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226793035,"filename":"image_09042025_20_09_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/4/9/ca292b0a8b399abff5f92e947d097ad0.jpg","text":"TemporaryFile(/tmp/multipartBody8905438385322894456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226793035,"filename":"image_09042025_20_09_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/4/9/8a45a7f7e8984f5d9642af4052a23ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2582413135441323836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226793035,"filename":"image_09042025_20_09_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/4/9/031d28e017b96af0f3a4a50e07ec09dd.jpg","text":"TemporaryFile(/tmp/multipartBody6948477004080398537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226793035,"filename":"image_09042025_20_09_57_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3dcb7b6bed5e56f00db8ce71fc7c87e.jpg","text":"TemporaryFile(/tmp/multipartBody8910697279756009576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226793035,"filename":"image_09042025_20_09_36_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350869514","file1":"1350869448","file0":"1350869445","file4":"1350869571","file5":"1350869596","file3":"1350869539"},"map_files_photo_id_array":[{"photo_id":"1350869596","filename":"file5"},{"photo_id":"1350869514","filename":"file2"},{"photo_id":"1350869571","filename":"file4"},{"photo_id":"1350869448","filename":"file1"},{"photo_id":"1350869445","filename":"file0"},{"photo_id":"1350869539","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350869571":["hashtag1","hashtag2"]},{"1350869445":["hashtag1","hashtag2"]},{"1350869448":["hashtag1","hashtag2"]},{"1350869514":["hashtag1","hashtag2"]},{"1350869596":["hashtag1","hashtag2"]},{"1350869539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350869571, 1350869445, 1350869448, 1350869514, 1350869596, 1350869539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60309720039368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:26:32.756947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/09/image_09042025_20_10_06_9374.jpg', '/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_17_10358.jpg', '/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_26_9357.jpg', '/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_37_10423.jpg', '/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_47_10397.jpg', '/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_56_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/09/image_09042025_20_10_06_9374.jpg
/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_17_10358.jpg
/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_26_9357.jpg
/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_37_10423.jpg
/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_47_10397.jpg
/home/pi/Desktop/images/09042025/20/10/image_09042025_20_10_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":["1350869892","1350869862","1350869918","1350869849","1350869944","1350869938"],"photo_ids_order":["1350869849","1350869862","1350869892","1350869918","1350869938","1350869944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a13161c7ba492d92810ec5ccfb4f1adf.jpg","text":"TemporaryFile(/tmp/multipartBody822768037839083132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226853217,"filename":"image_09042025_20_10_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/4/9/0f35772ee83d55221a6ec178b4ec299c.jpg","text":"TemporaryFile(/tmp/multipartBody4671938946752110989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226853217,"filename":"image_09042025_20_10_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/4/9/9f60c381beff18b8a94d09dd6e8da6d2.jpg","text":"TemporaryFile(/tmp/multipartBody741454123682075834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226853217,"filename":"image_09042025_20_10_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/4/9/8e9894d48cc590f2376996370c3fcacf.jpg","text":"TemporaryFile(/tmp/multipartBody4056176473064551436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226853217,"filename":"image_09042025_20_10_06_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a4dda908bcbfd831f560a22a34c85578.jpg","text":"TemporaryFile(/tmp/multipartBody565849611981574048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226853217,"filename":"image_09042025_20_10_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/4/9/3427b7c22e5b74d078ddf2635dcb64a2.jpg","text":"TemporaryFile(/tmp/multipartBody8212322341795800559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226853217,"filename":"image_09042025_20_10_47_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350869892","file1":"1350869862","file0":"1350869849","file4":"1350869938","file5":"1350869944","file3":"1350869918"},"map_files_photo_id_array":[{"photo_id":"1350869944","filename":"file5"},{"photo_id":"1350869892","filename":"file2"},{"photo_id":"1350869938","filename":"file4"},{"photo_id":"1350869862","filename":"file1"},{"photo_id":"1350869849","filename":"file0"},{"photo_id":"1350869918","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350869892":["hashtag1","hashtag2"]},{"1350869862":["hashtag1","hashtag2"]},{"1350869918":["hashtag1","hashtag2"]},{"1350869849":["hashtag1","hashtag2"]},{"1350869944":["hashtag1","hashtag2"]},{"1350869938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350869892, 1350869862, 1350869918, 1350869849, 1350869944, 1350869938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.57057595252991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:27:33.211445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/10/image_09042025_20_11_07_10348.jpg', '/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_17_10338.jpg', '/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_26_9382.jpg', '/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_37_10391.jpg', '/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_46_9375.jpg', '/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_57_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/10/image_09042025_20_11_07_10348.jpg
/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_17_10338.jpg
/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_26_9382.jpg
/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_37_10391.jpg
/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_46_9375.jpg
/home/pi/Desktop/images/09042025/20/11/image_09042025_20_11_57_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350870007","1350870012","1350870023","1350870026","1350870020","1350870014"],"photo_ids_order":["1350870007","1350870012","1350870014","1350870020","1350870023","1350870026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d50fe1c91417695190df857a79b1b104.jpg","text":"TemporaryFile(/tmp/multipartBody8808030273742889386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226913676,"filename":"image_09042025_20_11_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/edf88b39fc444c07707a494d959a114d.jpg","text":"TemporaryFile(/tmp/multipartBody1666746005344234034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226913676,"filename":"image_09042025_20_11_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef87705d112d00ee80b42a8d92708931.jpg","text":"TemporaryFile(/tmp/multipartBody7401379206358091138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226913676,"filename":"image_09042025_20_11_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/4/9/769ae4237427c4809cab0b9c7e79bfad.jpg","text":"TemporaryFile(/tmp/multipartBody8899865905339594064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226913676,"filename":"image_09042025_20_11_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/4/9/d0aa9537d6a61d93239af59ca26ea58b.jpg","text":"TemporaryFile(/tmp/multipartBody6983328570982388485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226913676,"filename":"image_09042025_20_11_37_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8de6eea0892f43d6d7fae27887f8d50.jpg","text":"TemporaryFile(/tmp/multipartBody229875367247350315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226913676,"filename":"image_09042025_20_11_26_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350870014","file1":"1350870012","file0":"1350870007","file4":"1350870023","file5":"1350870026","file3":"1350870020"},"map_files_photo_id_array":[{"photo_id":"1350870026","filename":"file5"},{"photo_id":"1350870014","filename":"file2"},{"photo_id":"1350870023","filename":"file4"},{"photo_id":"1350870012","filename":"file1"},{"photo_id":"1350870007","filename":"file0"},{"photo_id":"1350870020","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350870007":["hashtag1","hashtag2"]},{"1350870012":["hashtag1","hashtag2"]},{"1350870023":["hashtag1","hashtag2"]},{"1350870026":["hashtag1","hashtag2"]},{"1350870020":["hashtag1","hashtag2"]},{"1350870014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350870007, 1350870012, 1350870023, 1350870026, 1350870020, 1350870014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77766394615173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:28:32.402602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/11/image_09042025_20_12_07_10342.jpg', '/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_16_9399.jpg', '/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_27_10374.jpg', '/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_37_10350.jpg', '/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_46_9363.jpg', '/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_57_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/11/image_09042025_20_12_07_10342.jpg
/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_16_9399.jpg
/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_27_10374.jpg
/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_37_10350.jpg
/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_46_9363.jpg
/home/pi/Desktop/images/09042025/20/12/image_09042025_20_12_57_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":["1350870133","1350870142","1350870138","1350870123","1350870194","1350870128"],"photo_ids_order":["1350870123","1350870128","1350870133","1350870138","1350870142","1350870194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4611bc149099a309607128b2d61439c3.jpg","text":"TemporaryFile(/tmp/multipartBody7863244220261574006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226972885,"filename":"image_09042025_20_12_27_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8da97f503fb28f46561dfa196264e715.jpg","text":"TemporaryFile(/tmp/multipartBody3463356821805127314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226972885,"filename":"image_09042025_20_12_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/4/9/c0a8275e621c7de87f52bfc09169fd74.jpg","text":"TemporaryFile(/tmp/multipartBody2576842105668409501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226972885,"filename":"image_09042025_20_12_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/131398f7c23ceb0765e34cac9c64e5fc.jpg","text":"TemporaryFile(/tmp/multipartBody7950411541870199172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226972885,"filename":"image_09042025_20_12_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/4/9/0d17f9872bce7b199404e21fddbc1642.jpg","text":"TemporaryFile(/tmp/multipartBody6799962554307862036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226972885,"filename":"image_09042025_20_12_57_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4479dbb1eb02c0e1c8bc0c7a83e72e6.jpg","text":"TemporaryFile(/tmp/multipartBody2718587980951966920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744226972885,"filename":"image_09042025_20_12_16_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350870133","file1":"1350870128","file0":"1350870123","file4":"1350870142","file5":"1350870194","file3":"1350870138"},"map_files_photo_id_array":[{"photo_id":"1350870194","filename":"file5"},{"photo_id":"1350870133","filename":"file2"},{"photo_id":"1350870142","filename":"file4"},{"photo_id":"1350870128","filename":"file1"},{"photo_id":"1350870123","filename":"file0"},{"photo_id":"1350870138","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350870133":["hashtag1","hashtag2"]},{"1350870142":["hashtag1","hashtag2"]},{"1350870138":["hashtag1","hashtag2"]},{"1350870123":["hashtag1","hashtag2"]},{"1350870194":["hashtag1","hashtag2"]},{"1350870128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350870133, 1350870142, 1350870138, 1350870123, 1350870194, 1350870128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.521626234054565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:29:32.647125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/12/image_09042025_20_13_06_9481.jpg', '/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_17_10351.jpg', '/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_27_10353.jpg', '/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_36_9331.jpg', '/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_47_10391.jpg', '/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_56_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/12/image_09042025_20_13_06_9481.jpg
/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_17_10351.jpg
/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_27_10353.jpg
/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_36_9331.jpg
/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_47_10391.jpg
/home/pi/Desktop/images/09042025/20/13/image_09042025_20_13_56_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":["1350870421","1350870366","1350870351","1350870398","1350870392","1350870382"],"photo_ids_order":["1350870351","1350870366","1350870382","1350870392","1350870398","1350870421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb5d9b062a28c5ddb2ac7c3470c7bddd.jpg","text":"TemporaryFile(/tmp/multipartBody670261736702272393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227033119,"filename":"image_09042025_20_13_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d68a3ae531117cc958ef71126bae3bac.jpg","text":"TemporaryFile(/tmp/multipartBody1324378286732804144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227033119,"filename":"image_09042025_20_13_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/4/9/607f70c41c60be452005f0c782b2c755.jpg","text":"TemporaryFile(/tmp/multipartBody1401881026331227207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227033119,"filename":"image_09042025_20_13_06_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/877f4c8c1bb65d402fa67b684b857c53.jpg","text":"TemporaryFile(/tmp/multipartBody1111993423811547163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227033119,"filename":"image_09042025_20_13_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/4/9/87d20af8734274ababcf18cf118c0f03.jpg","text":"TemporaryFile(/tmp/multipartBody9082272681297063839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227033119,"filename":"image_09042025_20_13_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/4/9/e869898ab53374fd6beda015d01b8f16.jpg","text":"TemporaryFile(/tmp/multipartBody4960948828967688354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227033119,"filename":"image_09042025_20_13_27_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350870382","file1":"1350870366","file0":"1350870351","file4":"1350870398","file5":"1350870421","file3":"1350870392"},"map_files_photo_id_array":[{"photo_id":"1350870421","filename":"file5"},{"photo_id":"1350870382","filename":"file2"},{"photo_id":"1350870398","filename":"file4"},{"photo_id":"1350870366","filename":"file1"},{"photo_id":"1350870351","filename":"file0"},{"photo_id":"1350870392","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350870421":["hashtag1","hashtag2"]},{"1350870366":["hashtag1","hashtag2"]},{"1350870351":["hashtag1","hashtag2"]},{"1350870398":["hashtag1","hashtag2"]},{"1350870392":["hashtag1","hashtag2"]},{"1350870382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350870421, 1350870366, 1350870351, 1350870398, 1350870392, 1350870382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.758704662323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:30:32.934611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/13/image_09042025_20_14_07_10455.jpg', '/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_17_10337.jpg', '/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_26_9415.jpg', '/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_37_10349.jpg', '/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_46_9432.jpg', '/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_56_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/13/image_09042025_20_14_07_10455.jpg
/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_17_10337.jpg
/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_26_9415.jpg
/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_37_10349.jpg
/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_46_9432.jpg
/home/pi/Desktop/images/09042025/20/14/image_09042025_20_14_56_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":["1350870499","1350870463","1350870447","1350870470","1350870458","1350870467"],"photo_ids_order":["1350870447","1350870458","1350870463","1350870467","1350870470","1350870499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/144db9758d805184d442b93876521079.jpg","text":"TemporaryFile(/tmp/multipartBody4468919648722286656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227093410,"filename":"image_09042025_20_14_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31c3c520481a9241d73f76362919c890.jpg","text":"TemporaryFile(/tmp/multipartBody8418063006466167018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227093410,"filename":"image_09042025_20_14_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/4/9/a967154f38725975864514ac76b5211d.jpg","text":"TemporaryFile(/tmp/multipartBody5008744353208874631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227093410,"filename":"image_09042025_20_14_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/4/9/70e799f767aa079a403d133646bb6464.jpg","text":"TemporaryFile(/tmp/multipartBody7433784739096798092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227093410,"filename":"image_09042025_20_14_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/4/9/15e3bb26b85d0d176d8cd032226e7212.jpg","text":"TemporaryFile(/tmp/multipartBody1390217595075617687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227093410,"filename":"image_09042025_20_14_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/4/9/5a6a77f7ff50845d6733254662ba2a51.jpg","text":"TemporaryFile(/tmp/multipartBody7876700644665617972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227093410,"filename":"image_09042025_20_14_37_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350870463","file1":"1350870458","file0":"1350870447","file4":"1350870470","file5":"1350870499","file3":"1350870467"},"map_files_photo_id_array":[{"photo_id":"1350870499","filename":"file5"},{"photo_id":"1350870463","filename":"file2"},{"photo_id":"1350870470","filename":"file4"},{"photo_id":"1350870458","filename":"file1"},{"photo_id":"1350870447","filename":"file0"},{"photo_id":"1350870467","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350870499":["hashtag1","hashtag2"]},{"1350870463":["hashtag1","hashtag2"]},{"1350870447":["hashtag1","hashtag2"]},{"1350870470":["hashtag1","hashtag2"]},{"1350870458":["hashtag1","hashtag2"]},{"1350870467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350870499, 1350870463, 1350870447, 1350870470, 1350870458, 1350870467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.447262287139893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:31:32.288095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/14/image_09042025_20_15_07_10495.jpg', '/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_16_9320.jpg', '/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_26_9961.jpg', '/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_37_10351.jpg', '/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_47_10345.jpg', '/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_56_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/14/image_09042025_20_15_07_10495.jpg
/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_16_9320.jpg
/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_26_9961.jpg
/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_37_10351.jpg
/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_47_10345.jpg
/home/pi/Desktop/images/09042025/20/15/image_09042025_20_15_56_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":["1350870931","1350870897","1350870948","1350870918","1350870881","1350870944"],"photo_ids_order":["1350870881","1350870897","1350870918","1350870931","1350870944","1350870948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff7493c63753447179b336256e8cf628.jpg","text":"TemporaryFile(/tmp/multipartBody5731511783632619525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227152769,"filename":"image_09042025_20_15_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af6ebca76be1c39547fe92959b6efda8.jpg","text":"TemporaryFile(/tmp/multipartBody2358500431283915606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227152769,"filename":"image_09042025_20_15_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/4/9/043ece025028acb3212809ceffaac785.jpg","text":"TemporaryFile(/tmp/multipartBody7274265475859700683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227152769,"filename":"image_09042025_20_15_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/4/9/11f583e6876b0fe8ed4398bf589f0940.jpg","text":"TemporaryFile(/tmp/multipartBody5922692433680817141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227152769,"filename":"image_09042025_20_15_26_9961.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f99d12cce4200bf86ab5b17bc11046d9.jpg","text":"TemporaryFile(/tmp/multipartBody5297811110646206600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227152769,"filename":"image_09042025_20_15_07_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e037aedd7c484f37763142695f8e9d90.jpg","text":"TemporaryFile(/tmp/multipartBody6124604369921855175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227152769,"filename":"image_09042025_20_15_47_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350870918","file1":"1350870897","file0":"1350870881","file4":"1350870944","file5":"1350870948","file3":"1350870931"},"map_files_photo_id_array":[{"photo_id":"1350870948","filename":"file5"},{"photo_id":"1350870918","filename":"file2"},{"photo_id":"1350870944","filename":"file4"},{"photo_id":"1350870897","filename":"file1"},{"photo_id":"1350870881","filename":"file0"},{"photo_id":"1350870931","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350870931":["hashtag1","hashtag2"]},{"1350870897":["hashtag1","hashtag2"]},{"1350870948":["hashtag1","hashtag2"]},{"1350870918":["hashtag1","hashtag2"]},{"1350870881":["hashtag1","hashtag2"]},{"1350870944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350870931, 1350870897, 1350870948, 1350870918, 1350870881, 1350870944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.337286949157715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:32:32.420044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/15/image_09042025_20_16_07_10356.jpg', '/home/pi/Desktop/images/09042025/20/16/image_09042025_20_16_17_10344.jpg', '/home/pi/Desktop/images/09042025/20/16/image_09042025_20_16_37_10353.jpg', '/home/pi/Desktop/images/09042025/20/16/image_09042025_20_16_46_9344.jpg', '/home/pi/Desktop/images/09042025/20/16/image_09042025_20_16_56_10365.jpg', '/home/pi/Desktop/images/09042025/20/16/image_09042025_20_17_07_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/15/image_09042025_20_16_07_10356.jpg
/home/pi/Desktop/images/09042025/20/16/image_09042025_20_16_17_10344.jpg
/home/pi/Desktop/images/09042025/20/16/image_09042025_20_16_37_10353.jpg
/home/pi/Desktop/images/09042025/20/16/image_09042025_20_16_46_9344.jpg
/home/pi/Desktop/images/09042025/20/16/image_09042025_20_16_56_10365.jpg
/home/pi/Desktop/images/09042025/20/16/image_09042025_20_17_07_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350871134","1350871097","1350871082","1350871079","1350871075","1350871138"],"photo_ids_order":["1350871075","1350871079","1350871082","1350871097","1350871134","1350871138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66ca18249f2e40d24bf0c8209d8614d6.jpg","text":"TemporaryFile(/tmp/multipartBody139363040848542403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227212880,"filename":"image_09042025_20_16_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d00ca3499540e4b67cc119d4b02cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody371779425803393769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227212880,"filename":"image_09042025_20_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/4/9/c0d853fe9bbc079a52ea735bcaf86e9f.jpg","text":"TemporaryFile(/tmp/multipartBody3222820625947992728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227212880,"filename":"image_09042025_20_16_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/4/9/84b0b32fe4bd25280e5adcedd37cf862.jpg","text":"TemporaryFile(/tmp/multipartBody7940829731720400611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227212880,"filename":"image_09042025_20_16_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/4/9/8fdb722a9eab16bdd7568a9f0cccc206.jpg","text":"TemporaryFile(/tmp/multipartBody8438006859091897302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227212880,"filename":"image_09042025_20_16_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/4/9/db56e273cd4821a0876125fe9acf6572.jpg","text":"TemporaryFile(/tmp/multipartBody3406659014684399428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227212880,"filename":"image_09042025_20_17_07_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350871082","file1":"1350871079","file0":"1350871075","file4":"1350871134","file5":"1350871138","file3":"1350871097"},"map_files_photo_id_array":[{"photo_id":"1350871138","filename":"file5"},{"photo_id":"1350871082","filename":"file2"},{"photo_id":"1350871134","filename":"file4"},{"photo_id":"1350871079","filename":"file1"},{"photo_id":"1350871075","filename":"file0"},{"photo_id":"1350871097","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350871134":["hashtag1","hashtag2"]},{"1350871097":["hashtag1","hashtag2"]},{"1350871082":["hashtag1","hashtag2"]},{"1350871079":["hashtag1","hashtag2"]},{"1350871075":["hashtag1","hashtag2"]},{"1350871138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350871134, 1350871097, 1350871082, 1350871079, 1350871075, 1350871138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.993439197540283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:33:32.611710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_16_9329.jpg', '/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_27_10404.jpg', '/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_37_10387.jpg', '/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_46_9407.jpg', '/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_57_10360.jpg', '/home/pi/Desktop/images/09042025/20/17/image_09042025_20_18_07_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_16_9329.jpg
/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_27_10404.jpg
/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_37_10387.jpg
/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_46_9407.jpg
/home/pi/Desktop/images/09042025/20/17/image_09042025_20_17_57_10360.jpg
/home/pi/Desktop/images/09042025/20/17/image_09042025_20_18_07_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350871284","1350871241","1350871198","1350871237","1350871246","1350871225"],"photo_ids_order":["1350871198","1350871225","1350871237","1350871241","1350871246","1350871284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b87c989f21c76b5c5bd31453d01d489.jpg","text":"TemporaryFile(/tmp/multipartBody2027380499402602441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227273088,"filename":"image_09042025_20_18_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b6ece3f5e814e0503d22558b3c40991.jpg","text":"TemporaryFile(/tmp/multipartBody267294040478386428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227273088,"filename":"image_09042025_20_17_46_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0b2a9730f4c1853255edf5105a515dc.jpg","text":"TemporaryFile(/tmp/multipartBody5376383459521583005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227273088,"filename":"image_09042025_20_17_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/4/9/3d6fbe6f81215adc56aa8854786159f4.jpg","text":"TemporaryFile(/tmp/multipartBody5036816424036100197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227273088,"filename":"image_09042025_20_17_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/4/9/372a052b8344f432cd958bd45feea78d.jpg","text":"TemporaryFile(/tmp/multipartBody9068510023092290710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227273088,"filename":"image_09042025_20_17_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c41dd12343b25fd41b7194e7c242e1bf.jpg","text":"TemporaryFile(/tmp/multipartBody5769048094086164350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227273088,"filename":"image_09042025_20_17_27_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350871237","file1":"1350871225","file0":"1350871198","file4":"1350871246","file5":"1350871284","file3":"1350871241"},"map_files_photo_id_array":[{"photo_id":"1350871284","filename":"file5"},{"photo_id":"1350871237","filename":"file2"},{"photo_id":"1350871246","filename":"file4"},{"photo_id":"1350871225","filename":"file1"},{"photo_id":"1350871198","filename":"file0"},{"photo_id":"1350871241","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350871284":["hashtag1","hashtag2"]},{"1350871241":["hashtag1","hashtag2"]},{"1350871198":["hashtag1","hashtag2"]},{"1350871237":["hashtag1","hashtag2"]},{"1350871246":["hashtag1","hashtag2"]},{"1350871225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350871284, 1350871241, 1350871198, 1350871237, 1350871246, 1350871225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79045534133911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:34:33.136140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_16_9328.jpg', '/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_27_10362.jpg', '/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_36_9405.jpg', '/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_47_10394.jpg', '/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_57_10403.jpg', '/home/pi/Desktop/images/09042025/20/18/image_09042025_20_19_06_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_16_9328.jpg
/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_27_10362.jpg
/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_36_9405.jpg
/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_47_10394.jpg
/home/pi/Desktop/images/09042025/20/18/image_09042025_20_18_57_10403.jpg
/home/pi/Desktop/images/09042025/20/18/image_09042025_20_19_06_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350871420","1350871383","1350871389","1350871455","1350871413","1350871430"],"photo_ids_order":["1350871383","1350871389","1350871413","1350871420","1350871430","1350871455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af3d3465042c060b5cb5d3f894ff80b5.jpg","text":"TemporaryFile(/tmp/multipartBody3177659628611409939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227333592,"filename":"image_09042025_20_18_47_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f7aae1b65ac9a09c5afb7b911f5d07ef.jpg","text":"TemporaryFile(/tmp/multipartBody1730598482974398242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227333592,"filename":"image_09042025_20_18_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/4/9/d8b30d9b8fb3d62e7b4d567c4a568219.jpg","text":"TemporaryFile(/tmp/multipartBody8357605161838402539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227333592,"filename":"image_09042025_20_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/4/9/427ad04bdcbf9f7b8fd738ea50b9ad71.jpg","text":"TemporaryFile(/tmp/multipartBody3680952908784642270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227333592,"filename":"image_09042025_20_19_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ffd079351539f06ce892c2d47e2d2e78.jpg","text":"TemporaryFile(/tmp/multipartBody8691278453562090130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227333592,"filename":"image_09042025_20_18_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/4/9/fccaeeff51697194ad266ddd693462bb.jpg","text":"TemporaryFile(/tmp/multipartBody7526200449729996056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227333592,"filename":"image_09042025_20_18_57_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350871413","file1":"1350871389","file0":"1350871383","file4":"1350871430","file5":"1350871455","file3":"1350871420"},"map_files_photo_id_array":[{"photo_id":"1350871455","filename":"file5"},{"photo_id":"1350871413","filename":"file2"},{"photo_id":"1350871430","filename":"file4"},{"photo_id":"1350871389","filename":"file1"},{"photo_id":"1350871383","filename":"file0"},{"photo_id":"1350871420","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350871420":["hashtag1","hashtag2"]},{"1350871383":["hashtag1","hashtag2"]},{"1350871389":["hashtag1","hashtag2"]},{"1350871455":["hashtag1","hashtag2"]},{"1350871413":["hashtag1","hashtag2"]},{"1350871430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350871420, 1350871383, 1350871389, 1350871455, 1350871413, 1350871430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01985049247742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:35:33.157015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_17_10415.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_26_9397.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_36_10357.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_47_10378.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_56_9404.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_20_07_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_17_10415.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_26_9397.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_36_10357.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_47_10378.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_56_9404.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_20_07_10443.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3800694942474365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 21:35:43.204804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_17_10415.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_26_9397.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_36_10357.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_47_10378.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_56_9404.jpg', '/home/pi/Desktop/images/09042025/20/19/image_09042025_20_20_07_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_17_10415.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_26_9397.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_36_10357.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_47_10378.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_19_56_9404.jpg
/home/pi/Desktop/images/09042025/20/19/image_09042025_20_20_07_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350871701","1350871691","1350871696","1350871687","1350871714","1350871708"],"photo_ids_order":["1350871687","1350871691","1350871696","1350871701","1350871708","1350871714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b0932b65f4b33001bd003f298dcc5cc.jpg","text":"TemporaryFile(/tmp/multipartBody5319774250331484433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227403670,"filename":"image_09042025_20_19_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/4/9/93e4ec9740fd252deec056ac888ec82b.jpg","text":"TemporaryFile(/tmp/multipartBody7529313316225475835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227403670,"filename":"image_09042025_20_19_26_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1b35540e2ae91476c9eb7fc04c0ae55.jpg","text":"TemporaryFile(/tmp/multipartBody1745560653381134556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227403670,"filename":"image_09042025_20_19_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/4/9/039b5ab31beca0ef5567407c2be2c488.jpg","text":"TemporaryFile(/tmp/multipartBody4087232027938776246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227403670,"filename":"image_09042025_20_19_17_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e0ff067af02e8b42344a12e256e4988d.jpg","text":"TemporaryFile(/tmp/multipartBody4863345165560724443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227403670,"filename":"image_09042025_20_20_07_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6278c38e0709ed53ce7a1b82aefe3c17.jpg","text":"TemporaryFile(/tmp/multipartBody8944364431357318918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227403670,"filename":"image_09042025_20_19_56_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350871696","file1":"1350871691","file0":"1350871687","file4":"1350871708","file5":"1350871714","file3":"1350871701"},"map_files_photo_id_array":[{"photo_id":"1350871714","filename":"file5"},{"photo_id":"1350871696","filename":"file2"},{"photo_id":"1350871708","filename":"file4"},{"photo_id":"1350871691","filename":"file1"},{"photo_id":"1350871687","filename":"file0"},{"photo_id":"1350871701","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350871701":["hashtag1","hashtag2"]},{"1350871691":["hashtag1","hashtag2"]},{"1350871696":["hashtag1","hashtag2"]},{"1350871687":["hashtag1","hashtag2"]},{"1350871714":["hashtag1","hashtag2"]},{"1350871708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350871701, 1350871691, 1350871696, 1350871687, 1350871714, 1350871708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.630576372146606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:36:32.438513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_17_10338.jpg', '/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_26_9431.jpg', '/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_37_10402.jpg', '/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_46_9516.jpg', '/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_57_10405.jpg', '/home/pi/Desktop/images/09042025/20/20/image_09042025_20_21_06_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_17_10338.jpg
/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_26_9431.jpg
/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_37_10402.jpg
/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_46_9516.jpg
/home/pi/Desktop/images/09042025/20/20/image_09042025_20_20_57_10405.jpg
/home/pi/Desktop/images/09042025/20/20/image_09042025_20_21_06_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350871801","1350871738","1350871788","1350871809","1350871793","1350871774"],"photo_ids_order":["1350871738","1350871774","1350871788","1350871793","1350871801","1350871809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3631f5bf6a6e2ac3cb523740bc7785a.jpg","text":"TemporaryFile(/tmp/multipartBody1067776854807205718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227452905,"filename":"image_09042025_20_20_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/4/9/2f134781082e12fd8ef584c16ecda24d.jpg","text":"TemporaryFile(/tmp/multipartBody4155191670529121815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227452905,"filename":"image_09042025_20_20_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/4/9/7028440aeaa46fb3b62a27823dde7624.jpg","text":"TemporaryFile(/tmp/multipartBody4229939098545318153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227452905,"filename":"image_09042025_20_20_37_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/16764a7f48c9e4fd803cc1cb3e8bd75f.jpg","text":"TemporaryFile(/tmp/multipartBody3346451116163518286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227452905,"filename":"image_09042025_20_21_06_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d772cf5062cd68230ba59d39b3e844b.jpg","text":"TemporaryFile(/tmp/multipartBody2685204864754530729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227452905,"filename":"image_09042025_20_20_46_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4d43b9a308d2aacc26f7ad12114f0afc.jpg","text":"TemporaryFile(/tmp/multipartBody6114698733431602857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227452905,"filename":"image_09042025_20_20_26_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350871788","file1":"1350871774","file0":"1350871738","file4":"1350871801","file5":"1350871809","file3":"1350871793"},"map_files_photo_id_array":[{"photo_id":"1350871809","filename":"file5"},{"photo_id":"1350871788","filename":"file2"},{"photo_id":"1350871801","filename":"file4"},{"photo_id":"1350871774","filename":"file1"},{"photo_id":"1350871738","filename":"file0"},{"photo_id":"1350871793","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350871801":["hashtag1","hashtag2"]},{"1350871738":["hashtag1","hashtag2"]},{"1350871788":["hashtag1","hashtag2"]},{"1350871809":["hashtag1","hashtag2"]},{"1350871793":["hashtag1","hashtag2"]},{"1350871774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350871801, 1350871738, 1350871788, 1350871809, 1350871793, 1350871774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.838686227798462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:37:32.638145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_17_10372.jpg', '/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_26_9436.jpg', '/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_36_10348.jpg', '/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_47_10355.jpg', '/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_56_9338.jpg', '/home/pi/Desktop/images/09042025/20/21/image_09042025_20_22_07_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_17_10372.jpg
/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_26_9436.jpg
/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_36_10348.jpg
/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_47_10355.jpg
/home/pi/Desktop/images/09042025/20/21/image_09042025_20_21_56_9338.jpg
/home/pi/Desktop/images/09042025/20/21/image_09042025_20_22_07_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":["1350871965","1350871972","1350871996","1350871981","1350872020","1350872017"],"photo_ids_order":["1350871965","1350871972","1350871981","1350871996","1350872017","1350872020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/95da2ada5edc54f22f8e377329c0f5cf.jpg","text":"TemporaryFile(/tmp/multipartBody4197403403610298642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227513119,"filename":"image_09042025_20_21_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a33930eb98ec642052afba35b92ac7f0.jpg","text":"TemporaryFile(/tmp/multipartBody9052576684069153578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227513119,"filename":"image_09042025_20_21_26_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c422449f8215b60c4529973848616b3.jpg","text":"TemporaryFile(/tmp/multipartBody3916774186122181556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227513119,"filename":"image_09042025_20_21_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/4/9/8c11363035ae38a6626072464aa82f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8176100888207546111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227513119,"filename":"image_09042025_20_21_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/4/9/baec467ec99c4f568a92f8e323c3e5a9.jpg","text":"TemporaryFile(/tmp/multipartBody7617593609775970537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227513119,"filename":"image_09042025_20_22_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/4/9/ef2d61ebad9f8a8ec9024aa972dfe587.jpg","text":"TemporaryFile(/tmp/multipartBody4046677559508083185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227513119,"filename":"image_09042025_20_21_56_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350871981","file1":"1350871972","file0":"1350871965","file4":"1350872017","file5":"1350872020","file3":"1350871996"},"map_files_photo_id_array":[{"photo_id":"1350872020","filename":"file5"},{"photo_id":"1350871981","filename":"file2"},{"photo_id":"1350872017","filename":"file4"},{"photo_id":"1350871972","filename":"file1"},{"photo_id":"1350871965","filename":"file0"},{"photo_id":"1350871996","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350871965":["hashtag1","hashtag2"]},{"1350871972":["hashtag1","hashtag2"]},{"1350871996":["hashtag1","hashtag2"]},{"1350871981":["hashtag1","hashtag2"]},{"1350872020":["hashtag1","hashtag2"]},{"1350872017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350871965, 1350871972, 1350871996, 1350871981, 1350872020, 1350872017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95618772506714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:38:32.870086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_17_10330.jpg', '/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_26_9420.jpg', '/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_37_10378.jpg', '/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_47_10364.jpg', '/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_56_9359.jpg', '/home/pi/Desktop/images/09042025/20/22/image_09042025_20_23_07_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_17_10330.jpg
/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_26_9420.jpg
/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_37_10378.jpg
/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_47_10364.jpg
/home/pi/Desktop/images/09042025/20/22/image_09042025_20_22_56_9359.jpg
/home/pi/Desktop/images/09042025/20/22/image_09042025_20_23_07_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":["1350872073","1350872093","1350872112","1350872081","1350872078","1350872086"],"photo_ids_order":["1350872073","1350872078","1350872081","1350872086","1350872093","1350872112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96a707221d26c918dadffe723f20aa61.jpg","text":"TemporaryFile(/tmp/multipartBody9060851127917332487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227573324,"filename":"image_09042025_20_22_17_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c32c5b983ea3d546373379f5495376ee.jpg","text":"TemporaryFile(/tmp/multipartBody3328435443699369616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227573324,"filename":"image_09042025_20_22_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/4/9/933f14a0c1bc244e420b98c8247bdd17.jpg","text":"TemporaryFile(/tmp/multipartBody7608107232617461987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227573324,"filename":"image_09042025_20_23_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2bdaba4b64dbc4a8a0ef1bdd1ff04f4.jpg","text":"TemporaryFile(/tmp/multipartBody3055226099376772888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227573324,"filename":"image_09042025_20_22_37_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/04539fed85a7a32176e249f83cb677f2.jpg","text":"TemporaryFile(/tmp/multipartBody7325963094308338277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227573324,"filename":"image_09042025_20_22_26_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e10a245dd5559bc0952ec4dac11729f1.jpg","text":"TemporaryFile(/tmp/multipartBody1589629159201947795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227573324,"filename":"image_09042025_20_22_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350872081","file1":"1350872078","file0":"1350872073","file4":"1350872093","file5":"1350872112","file3":"1350872086"},"map_files_photo_id_array":[{"photo_id":"1350872112","filename":"file5"},{"photo_id":"1350872081","filename":"file2"},{"photo_id":"1350872093","filename":"file4"},{"photo_id":"1350872078","filename":"file1"},{"photo_id":"1350872073","filename":"file0"},{"photo_id":"1350872086","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350872073":["hashtag1","hashtag2"]},{"1350872093":["hashtag1","hashtag2"]},{"1350872112":["hashtag1","hashtag2"]},{"1350872081":["hashtag1","hashtag2"]},{"1350872078":["hashtag1","hashtag2"]},{"1350872086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350872073, 1350872093, 1350872112, 1350872081, 1350872078, 1350872086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.86682391166687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:39:33.096067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_16_9339.jpg', '/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_27_10453.jpg', '/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_37_10360.jpg', '/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_46_9433.jpg', '/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_57_10374.jpg', '/home/pi/Desktop/images/09042025/20/23/image_09042025_20_24_06_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_16_9339.jpg
/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_27_10453.jpg
/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_37_10360.jpg
/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_46_9433.jpg
/home/pi/Desktop/images/09042025/20/23/image_09042025_20_23_57_10374.jpg
/home/pi/Desktop/images/09042025/20/23/image_09042025_20_24_06_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":["1350872367","1350872273","1350872276","1350872270","1350872341","1350872311"],"photo_ids_order":["1350872270","1350872273","1350872276","1350872311","1350872341","1350872367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62ab498a8184b9c23c2dacaee9f9fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody2293362814864250551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227633560,"filename":"image_09042025_20_24_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/4/9/bbe09d45cd90c5e58f084551e9675d56.jpg","text":"TemporaryFile(/tmp/multipartBody5411642887939917179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227633560,"filename":"image_09042025_20_23_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18106d18a5fc5afc08249ea041dbd24c.jpg","text":"TemporaryFile(/tmp/multipartBody8539541459585664276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227633560,"filename":"image_09042025_20_23_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/acea227ff4451a8b8f816fc67c917d7b.jpg","text":"TemporaryFile(/tmp/multipartBody2603120892062379979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227633560,"filename":"image_09042025_20_23_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/4/9/d59e7c116883c06df83d20d8098c1404.jpg","text":"TemporaryFile(/tmp/multipartBody8402484763871532384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227633560,"filename":"image_09042025_20_23_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b66529939e786224f8188ffc6c0e4590.jpg","text":"TemporaryFile(/tmp/multipartBody5605459677903012017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227633560,"filename":"image_09042025_20_23_46_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350872276","file1":"1350872273","file0":"1350872270","file4":"1350872341","file5":"1350872367","file3":"1350872311"},"map_files_photo_id_array":[{"photo_id":"1350872367","filename":"file5"},{"photo_id":"1350872276","filename":"file2"},{"photo_id":"1350872341","filename":"file4"},{"photo_id":"1350872273","filename":"file1"},{"photo_id":"1350872270","filename":"file0"},{"photo_id":"1350872311","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350872367":["hashtag1","hashtag2"]},{"1350872273":["hashtag1","hashtag2"]},{"1350872276":["hashtag1","hashtag2"]},{"1350872270":["hashtag1","hashtag2"]},{"1350872341":["hashtag1","hashtag2"]},{"1350872311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350872367, 1350872273, 1350872276, 1350872270, 1350872341, 1350872311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71765398979187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:40:32.378244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/24/image_09042025_20_24_16_10414.jpg', '/home/pi/Desktop/images/09042025/20/24/image_09042025_20_24_47_10362.jpg', '/home/pi/Desktop/images/09042025/20/24/image_09042025_20_24_56_9365.jpg', '/home/pi/Desktop/images/09042025/20/24/image_09042025_20_25_06_10345.jpg', '/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_17_10465.jpg', '/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_26_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/24/image_09042025_20_24_16_10414.jpg
/home/pi/Desktop/images/09042025/20/24/image_09042025_20_24_47_10362.jpg
/home/pi/Desktop/images/09042025/20/24/image_09042025_20_24_56_9365.jpg
/home/pi/Desktop/images/09042025/20/24/image_09042025_20_25_06_10345.jpg
/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_17_10465.jpg
/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_26_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350872564","1350872627","1350872558","1350872683","1350872551","1350872574"],"photo_ids_order":["1350872551","1350872558","1350872564","1350872574","1350872627","1350872683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/52cf364a7493879b59344c58dc36e96b.jpg","text":"TemporaryFile(/tmp/multipartBody4656793814329127455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227692833,"filename":"image_09042025_20_24_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4072e7431bee539ce5d9d045f987637b.jpg","text":"TemporaryFile(/tmp/multipartBody3344746563769349501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227692833,"filename":"image_09042025_20_25_17_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/118a33f986f05b517eb2bf9c5a40da5c.jpg","text":"TemporaryFile(/tmp/multipartBody7773733638958922071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227692833,"filename":"image_09042025_20_24_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/4/9/71a1680caefe2e2f6117ac94f8009954.jpg","text":"TemporaryFile(/tmp/multipartBody2651770056822528332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227692833,"filename":"image_09042025_20_25_26_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88e81f0453019effea8e882b27aa9cf7.jpg","text":"TemporaryFile(/tmp/multipartBody778494731983944162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227692833,"filename":"image_09042025_20_24_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/93f267504ea186ce43439573334c44c6.jpg","text":"TemporaryFile(/tmp/multipartBody764833084188060020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227692833,"filename":"image_09042025_20_25_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350872564","file1":"1350872558","file0":"1350872551","file4":"1350872627","file5":"1350872683","file3":"1350872574"},"map_files_photo_id_array":[{"photo_id":"1350872683","filename":"file5"},{"photo_id":"1350872564","filename":"file2"},{"photo_id":"1350872627","filename":"file4"},{"photo_id":"1350872558","filename":"file1"},{"photo_id":"1350872551","filename":"file0"},{"photo_id":"1350872574","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350872564":["hashtag1","hashtag2"]},{"1350872627":["hashtag1","hashtag2"]},{"1350872558":["hashtag1","hashtag2"]},{"1350872683":["hashtag1","hashtag2"]},{"1350872551":["hashtag1","hashtag2"]},{"1350872574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350872564, 1350872627, 1350872558, 1350872683, 1350872551, 1350872574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46880578994751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:41:32.646838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_37_10348.jpg', '/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_47_10367.jpg', '/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_56_9442.jpg', '/home/pi/Desktop/images/09042025/20/25/image_09042025_20_26_07_10387.jpg', '/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_16_9445.jpg', '/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_27_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_37_10348.jpg
/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_47_10367.jpg
/home/pi/Desktop/images/09042025/20/25/image_09042025_20_25_56_9442.jpg
/home/pi/Desktop/images/09042025/20/25/image_09042025_20_26_07_10387.jpg
/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_16_9445.jpg
/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_27_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350872967","1350873014","1350873052","1350873031","1350872988","1350872958"],"photo_ids_order":["1350872958","1350872967","1350872988","1350873014","1350873031","1350873052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0eb911ec7b02dcc1dff14aa129c29b56.jpg","text":"TemporaryFile(/tmp/multipartBody8847774041303646927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227753130,"filename":"image_09042025_20_25_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4620cdf5ee219b8e41476c71aab3bef0.jpg","text":"TemporaryFile(/tmp/multipartBody4753679796789642847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227753130,"filename":"image_09042025_20_26_07_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7957ce3dc882079028c92cc61ca81dc8.jpg","text":"TemporaryFile(/tmp/multipartBody7961589153678882630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227753130,"filename":"image_09042025_20_26_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/4/9/b52b867a4b7f068e4aa24d825b5a37b6.jpg","text":"TemporaryFile(/tmp/multipartBody2856673750894511590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227753130,"filename":"image_09042025_20_26_16_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b194c521ba79b0e8b358fa280444cfb.jpg","text":"TemporaryFile(/tmp/multipartBody2874797332420647996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227753130,"filename":"image_09042025_20_25_56_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/36d7ccdb1caf469e4466614892b2ca2d.jpg","text":"TemporaryFile(/tmp/multipartBody1404030210978064242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227753130,"filename":"image_09042025_20_25_37_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350872988","file1":"1350872967","file0":"1350872958","file4":"1350873031","file5":"1350873052","file3":"1350873014"},"map_files_photo_id_array":[{"photo_id":"1350873052","filename":"file5"},{"photo_id":"1350872988","filename":"file2"},{"photo_id":"1350873031","filename":"file4"},{"photo_id":"1350872967","filename":"file1"},{"photo_id":"1350872958","filename":"file0"},{"photo_id":"1350873014","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350872967":["hashtag1","hashtag2"]},{"1350873014":["hashtag1","hashtag2"]},{"1350873052":["hashtag1","hashtag2"]},{"1350873031":["hashtag1","hashtag2"]},{"1350872988":["hashtag1","hashtag2"]},{"1350872958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350872967, 1350873014, 1350873052, 1350873031, 1350872988, 1350872958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20509076118469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:42:32.875528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_36_9404.jpg', '/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_47_10404.jpg', '/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_57_10345.jpg', '/home/pi/Desktop/images/09042025/20/26/image_09042025_20_27_06_9413.jpg', '/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_17_10395.jpg', '/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_27_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_36_9404.jpg
/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_47_10404.jpg
/home/pi/Desktop/images/09042025/20/26/image_09042025_20_26_57_10345.jpg
/home/pi/Desktop/images/09042025/20/26/image_09042025_20_27_06_9413.jpg
/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_17_10395.jpg
/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_27_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":["1350873306","1350873313","1350873301","1350873310","1350873297","1350873339"],"photo_ids_order":["1350873297","1350873301","1350873306","1350873310","1350873313","1350873339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba43ad1bb8e92fe359feaada2f6d3f25.jpg","text":"TemporaryFile(/tmp/multipartBody8776871894835561553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227813430,"filename":"image_09042025_20_26_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/4/9/45628092f58c3a148fa8e7c4a3a6196b.jpg","text":"TemporaryFile(/tmp/multipartBody6189744479684710642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227813430,"filename":"image_09042025_20_27_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/4/9/5130f64ab76f2aac1ab68d4d86f191bd.jpg","text":"TemporaryFile(/tmp/multipartBody5130834747582556771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227813430,"filename":"image_09042025_20_26_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/4/9/9055d6d31a2a462abd35f2085077bbcc.jpg","text":"TemporaryFile(/tmp/multipartBody383124460161356845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227813430,"filename":"image_09042025_20_27_06_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/210a9ab63d44f864d20b10c553ca0d40.jpg","text":"TemporaryFile(/tmp/multipartBody4976101516076223470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227813430,"filename":"image_09042025_20_26_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/4/9/cee1e2f4e96886020971655b788353b6.jpg","text":"TemporaryFile(/tmp/multipartBody4761924194492315425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227813430,"filename":"image_09042025_20_27_27_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350873306","file1":"1350873301","file0":"1350873297","file4":"1350873313","file5":"1350873339","file3":"1350873310"},"map_files_photo_id_array":[{"photo_id":"1350873339","filename":"file5"},{"photo_id":"1350873306","filename":"file2"},{"photo_id":"1350873313","filename":"file4"},{"photo_id":"1350873301","filename":"file1"},{"photo_id":"1350873297","filename":"file0"},{"photo_id":"1350873310","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350873306":["hashtag1","hashtag2"]},{"1350873313":["hashtag1","hashtag2"]},{"1350873301":["hashtag1","hashtag2"]},{"1350873310":["hashtag1","hashtag2"]},{"1350873297":["hashtag1","hashtag2"]},{"1350873339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350873306, 1350873313, 1350873301, 1350873310, 1350873297, 1350873339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71766638755798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:43:33.141590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_36_9424.jpg', '/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_47_10368.jpg', '/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_56_9537.jpg', '/home/pi/Desktop/images/09042025/20/27/image_09042025_20_28_07_10339.jpg', '/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_17_10345.jpg', '/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_26_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_36_9424.jpg
/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_47_10368.jpg
/home/pi/Desktop/images/09042025/20/27/image_09042025_20_27_56_9537.jpg
/home/pi/Desktop/images/09042025/20/27/image_09042025_20_28_07_10339.jpg
/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_17_10345.jpg
/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_26_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":["1350873426","1350873431","1350873434","1350873421","1350873400","1350873429"],"photo_ids_order":["1350873400","1350873421","1350873426","1350873429","1350873431","1350873434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7c312452769932cc24ea9035e0120e6.jpg","text":"TemporaryFile(/tmp/multipartBody182164893882981696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227873601,"filename":"image_09042025_20_27_56_9537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6115431fa1b0b6515d28c66f1f9f8662.jpg","text":"TemporaryFile(/tmp/multipartBody1232200300858918046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227873601,"filename":"image_09042025_20_28_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/4/9/2dff3baeed1e9c13e619052f56bc4f46.jpg","text":"TemporaryFile(/tmp/multipartBody5864960838846528264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227873601,"filename":"image_09042025_20_28_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/4/9/8f2ea27c73e58be129500ed22ffe5fbb.jpg","text":"TemporaryFile(/tmp/multipartBody8434897240964904565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227873601,"filename":"image_09042025_20_27_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/4/9/eac9bc7e2193ce92f882b43e24c84142.jpg","text":"TemporaryFile(/tmp/multipartBody45942958577109771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227873601,"filename":"image_09042025_20_27_36_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42580fd55be94d91f7a7cc432c16eca9.jpg","text":"TemporaryFile(/tmp/multipartBody9212100017630421398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227873601,"filename":"image_09042025_20_28_07_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350873426","file1":"1350873421","file0":"1350873400","file4":"1350873431","file5":"1350873434","file3":"1350873429"},"map_files_photo_id_array":[{"photo_id":"1350873434","filename":"file5"},{"photo_id":"1350873426","filename":"file2"},{"photo_id":"1350873431","filename":"file4"},{"photo_id":"1350873421","filename":"file1"},{"photo_id":"1350873400","filename":"file0"},{"photo_id":"1350873429","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350873426":["hashtag1","hashtag2"]},{"1350873431":["hashtag1","hashtag2"]},{"1350873434":["hashtag1","hashtag2"]},{"1350873421":["hashtag1","hashtag2"]},{"1350873400":["hashtag1","hashtag2"]},{"1350873429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350873426, 1350873431, 1350873434, 1350873421, 1350873400, 1350873429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02642774581909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:44:32.381724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_37_10381.jpg', '/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_46_9330.jpg', '/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_57_10429.jpg', '/home/pi/Desktop/images/09042025/20/28/image_09042025_20_29_07_10342.jpg', '/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_16_9492.jpg', '/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_27_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_37_10381.jpg
/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_46_9330.jpg
/home/pi/Desktop/images/09042025/20/28/image_09042025_20_28_57_10429.jpg
/home/pi/Desktop/images/09042025/20/28/image_09042025_20_29_07_10342.jpg
/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_16_9492.jpg
/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_27_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":["1350873504","1350873506","1350873481","1350873469","1350873474","1350873501"],"photo_ids_order":["1350873469","1350873474","1350873481","1350873501","1350873504","1350873506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a0ae5de1b438d6ae0ab2144db04f906.jpg","text":"TemporaryFile(/tmp/multipartBody1376807788256765039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227932858,"filename":"image_09042025_20_29_16_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/512560cff830ba18c3222b3b3a188f34.jpg","text":"TemporaryFile(/tmp/multipartBody1496200164800655764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227932858,"filename":"image_09042025_20_29_27_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/212de4bf0ff07b1719b7bd95ec5da0c8.jpg","text":"TemporaryFile(/tmp/multipartBody1521303429878748477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227932858,"filename":"image_09042025_20_28_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2fa25052cb0b72216e966901e264894d.jpg","text":"TemporaryFile(/tmp/multipartBody7933358164443529323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227932858,"filename":"image_09042025_20_28_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/4/9/271ac1115ee239b95f7bb2e7f3226108.jpg","text":"TemporaryFile(/tmp/multipartBody480236348635087529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227932858,"filename":"image_09042025_20_28_46_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e4ba211c6de2fad6cf1a4a618219b24.jpg","text":"TemporaryFile(/tmp/multipartBody4546219663710111384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227932858,"filename":"image_09042025_20_29_07_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350873481","file1":"1350873474","file0":"1350873469","file4":"1350873504","file5":"1350873506","file3":"1350873501"},"map_files_photo_id_array":[{"photo_id":"1350873506","filename":"file5"},{"photo_id":"1350873481","filename":"file2"},{"photo_id":"1350873504","filename":"file4"},{"photo_id":"1350873474","filename":"file1"},{"photo_id":"1350873469","filename":"file0"},{"photo_id":"1350873501","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350873504":["hashtag1","hashtag2"]},{"1350873506":["hashtag1","hashtag2"]},{"1350873481":["hashtag1","hashtag2"]},{"1350873469":["hashtag1","hashtag2"]},{"1350873474":["hashtag1","hashtag2"]},{"1350873501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350873504, 1350873506, 1350873481, 1350873469, 1350873474, 1350873501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06912803649902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:45:32.562196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_36_9363.jpg', '/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_47_10501.jpg', '/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_57_10362.jpg', '/home/pi/Desktop/images/09042025/20/29/image_09042025_20_30_06_9363.jpg', '/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_17_10349.jpg', '/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_26_9486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_36_9363.jpg
/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_47_10501.jpg
/home/pi/Desktop/images/09042025/20/29/image_09042025_20_29_57_10362.jpg
/home/pi/Desktop/images/09042025/20/29/image_09042025_20_30_06_9363.jpg
/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_17_10349.jpg
/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_26_9486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350873875","1350873862","1350873871","1350873838","1350873879","1350873810"],"photo_ids_order":["1350873810","1350873838","1350873862","1350873871","1350873875","1350873879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc90896c915e0d9f37ebb935aa890c62.jpg","text":"TemporaryFile(/tmp/multipartBody4175359247709677398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227993025,"filename":"image_09042025_20_30_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/31c946134a00f916922d31b9e6284964.jpg","text":"TemporaryFile(/tmp/multipartBody334235871361496600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227993025,"filename":"image_09042025_20_29_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/4/9/834004453a0966edc81f660ac090ac0d.jpg","text":"TemporaryFile(/tmp/multipartBody1767728929769474420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227993025,"filename":"image_09042025_20_30_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/4/9/5ffee800d62a16160f49d56a25d3482b.jpg","text":"TemporaryFile(/tmp/multipartBody4801669874943485911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227993025,"filename":"image_09042025_20_29_47_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f5cb92f5893dc580a7dbbac236ba976.jpg","text":"TemporaryFile(/tmp/multipartBody2294282159096744892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227993025,"filename":"image_09042025_20_30_26_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b21b03fa29807916f55a2eee3b6e216.jpg","text":"TemporaryFile(/tmp/multipartBody7932262512569687862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744227993025,"filename":"image_09042025_20_29_36_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350873862","file1":"1350873838","file0":"1350873810","file4":"1350873875","file5":"1350873879","file3":"1350873871"},"map_files_photo_id_array":[{"photo_id":"1350873879","filename":"file5"},{"photo_id":"1350873862","filename":"file2"},{"photo_id":"1350873875","filename":"file4"},{"photo_id":"1350873838","filename":"file1"},{"photo_id":"1350873810","filename":"file0"},{"photo_id":"1350873871","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350873875":["hashtag1","hashtag2"]},{"1350873862":["hashtag1","hashtag2"]},{"1350873871":["hashtag1","hashtag2"]},{"1350873838":["hashtag1","hashtag2"]},{"1350873879":["hashtag1","hashtag2"]},{"1350873810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350873875, 1350873862, 1350873871, 1350873838, 1350873879, 1350873810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7015163898468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:46:32.895800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_37_10343.jpg', '/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_47_10357.jpg', '/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_56_9452.jpg', '/home/pi/Desktop/images/09042025/20/30/image_09042025_20_31_07_10342.jpg', '/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_16_9349.jpg', '/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_27_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_37_10343.jpg
/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_47_10357.jpg
/home/pi/Desktop/images/09042025/20/30/image_09042025_20_30_56_9452.jpg
/home/pi/Desktop/images/09042025/20/30/image_09042025_20_31_07_10342.jpg
/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_16_9349.jpg
/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_27_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":["1350874063","1350874234","1350874114","1350874015","1350874086","1350874200"],"photo_ids_order":["1350874015","1350874063","1350874086","1350874114","1350874200","1350874234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/02d6d2f7deb9cfa28c1370799b96d388.jpg","text":"TemporaryFile(/tmp/multipartBody12258094624860109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228053355,"filename":"image_09042025_20_30_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/4/9/13750b9b1654145035e0f5dbe6ce1142.jpg","text":"TemporaryFile(/tmp/multipartBody8258669626411724829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228053355,"filename":"image_09042025_20_31_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/4/9/fa2cb101e4800fab8db3e043218ca01f.jpg","text":"TemporaryFile(/tmp/multipartBody638913608894574006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228053355,"filename":"image_09042025_20_31_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/4/9/fbe0741df3732cd13c5fdbde3718fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4627461219770411895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228053355,"filename":"image_09042025_20_30_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/4/9/cf073e2a55570c399ea59a04819563c2.jpg","text":"TemporaryFile(/tmp/multipartBody7406209000347551301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228053355,"filename":"image_09042025_20_30_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/4/9/8218960700365598905006941b849f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6891465336643763593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228053355,"filename":"image_09042025_20_31_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350874086","file1":"1350874063","file0":"1350874015","file4":"1350874200","file5":"1350874234","file3":"1350874114"},"map_files_photo_id_array":[{"photo_id":"1350874234","filename":"file5"},{"photo_id":"1350874086","filename":"file2"},{"photo_id":"1350874200","filename":"file4"},{"photo_id":"1350874063","filename":"file1"},{"photo_id":"1350874015","filename":"file0"},{"photo_id":"1350874114","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350874063":["hashtag1","hashtag2"]},{"1350874234":["hashtag1","hashtag2"]},{"1350874114":["hashtag1","hashtag2"]},{"1350874015":["hashtag1","hashtag2"]},{"1350874086":["hashtag1","hashtag2"]},{"1350874200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350874063, 1350874234, 1350874114, 1350874015, 1350874086, 1350874200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.29093623161316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:47:32.180925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_37_10350.jpg', '/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_46_9433.jpg', '/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_57_10365.jpg', '/home/pi/Desktop/images/09042025/20/31/image_09042025_20_32_07_10353.jpg', '/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_16_9403.jpg', '/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_27_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_37_10350.jpg
/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_46_9433.jpg
/home/pi/Desktop/images/09042025/20/31/image_09042025_20_31_57_10365.jpg
/home/pi/Desktop/images/09042025/20/31/image_09042025_20_32_07_10353.jpg
/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_16_9403.jpg
/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_27_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":["1350874325","1350874322","1350874316","1350874276","1350874320","1350874302"],"photo_ids_order":["1350874276","1350874302","1350874316","1350874320","1350874322","1350874325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f28656fb34ddcf2efe54d2fbfaff608.jpg","text":"TemporaryFile(/tmp/multipartBody6778472620618058249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228112636,"filename":"image_09042025_20_32_27_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/866fd90e85687032f9c6a807e9f84ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3145737192304842448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228112636,"filename":"image_09042025_20_32_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9efb8e1a2fce40253d9fcaa1fd09f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody8953335625305182172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228112636,"filename":"image_09042025_20_31_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/4/9/42ee406d6d7fbb1ff721a2a6da8950a0.jpg","text":"TemporaryFile(/tmp/multipartBody3549026029333206114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228112636,"filename":"image_09042025_20_31_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77dd1b3ca08db0c53a52cdcbb928ad8c.jpg","text":"TemporaryFile(/tmp/multipartBody8441282038002037949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228112636,"filename":"image_09042025_20_32_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c0e546145a1e6f1954af1dc1d24e41d.jpg","text":"TemporaryFile(/tmp/multipartBody4142872549124740885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228112636,"filename":"image_09042025_20_31_46_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350874316","file1":"1350874302","file0":"1350874276","file4":"1350874322","file5":"1350874325","file3":"1350874320"},"map_files_photo_id_array":[{"photo_id":"1350874325","filename":"file5"},{"photo_id":"1350874316","filename":"file2"},{"photo_id":"1350874322","filename":"file4"},{"photo_id":"1350874302","filename":"file1"},{"photo_id":"1350874276","filename":"file0"},{"photo_id":"1350874320","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350874325":["hashtag1","hashtag2"]},{"1350874322":["hashtag1","hashtag2"]},{"1350874316":["hashtag1","hashtag2"]},{"1350874276":["hashtag1","hashtag2"]},{"1350874320":["hashtag1","hashtag2"]},{"1350874302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350874325, 1350874322, 1350874316, 1350874276, 1350874320, 1350874302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4854462146759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:48:32.339899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_36_9448.jpg', '/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_47_10378.jpg', '/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_57_10382.jpg', '/home/pi/Desktop/images/09042025/20/32/image_09042025_20_33_06_9421.jpg', '/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_17_10449.jpg', '/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_26_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_36_9448.jpg
/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_47_10378.jpg
/home/pi/Desktop/images/09042025/20/32/image_09042025_20_32_57_10382.jpg
/home/pi/Desktop/images/09042025/20/32/image_09042025_20_33_06_9421.jpg
/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_17_10449.jpg
/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_26_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":["1350874517","1350874505","1350874513","1350874527","1350874490","1350874496"],"photo_ids_order":["1350874490","1350874496","1350874505","1350874513","1350874517","1350874527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5aaae13bc1e5b95f9ab9c3fce9f4ef7a.jpg","text":"TemporaryFile(/tmp/multipartBody4238390430972664823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228172806,"filename":"image_09042025_20_33_17_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ed0d91471a807f9bfa92da1c91c38728.jpg","text":"TemporaryFile(/tmp/multipartBody932144439018622855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228172806,"filename":"image_09042025_20_32_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8ad02a21db591a085185e210586de60.jpg","text":"TemporaryFile(/tmp/multipartBody6529687705332493222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228172806,"filename":"image_09042025_20_33_06_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/089dcbf8bad82b97e5519e1d75101c5c.jpg","text":"TemporaryFile(/tmp/multipartBody5101251043225755685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228172806,"filename":"image_09042025_20_33_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/4/9/08efc51baf21c778678a35705ab5f30e.jpg","text":"TemporaryFile(/tmp/multipartBody3377108937010093741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228172806,"filename":"image_09042025_20_32_36_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/41ce956437c87a2268e40868d3038843.jpg","text":"TemporaryFile(/tmp/multipartBody5287430904957077593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228172806,"filename":"image_09042025_20_32_47_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350874505","file1":"1350874496","file0":"1350874490","file4":"1350874517","file5":"1350874527","file3":"1350874513"},"map_files_photo_id_array":[{"photo_id":"1350874527","filename":"file5"},{"photo_id":"1350874505","filename":"file2"},{"photo_id":"1350874517","filename":"file4"},{"photo_id":"1350874496","filename":"file1"},{"photo_id":"1350874490","filename":"file0"},{"photo_id":"1350874513","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350874517":["hashtag1","hashtag2"]},{"1350874505":["hashtag1","hashtag2"]},{"1350874513":["hashtag1","hashtag2"]},{"1350874527":["hashtag1","hashtag2"]},{"1350874490":["hashtag1","hashtag2"]},{"1350874496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350874517, 1350874505, 1350874513, 1350874527, 1350874490, 1350874496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.915431022644043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:49:32.612167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_37_10435.jpg', '/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_46_9372.jpg', '/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_56_10371.jpg', '/home/pi/Desktop/images/09042025/20/33/image_09042025_20_34_07_10370.jpg', '/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_16_9460.jpg', '/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_27_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_37_10435.jpg
/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_46_9372.jpg
/home/pi/Desktop/images/09042025/20/33/image_09042025_20_33_56_10371.jpg
/home/pi/Desktop/images/09042025/20/33/image_09042025_20_34_07_10370.jpg
/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_16_9460.jpg
/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_27_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":["1350874676","1350874646","1350874699","1350874642","1350874618","1350874629"],"photo_ids_order":["1350874618","1350874629","1350874642","1350874646","1350874676","1350874699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5b8e786ae0510d92b596c58b9861a662.jpg","text":"TemporaryFile(/tmp/multipartBody4326307245246191297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228233075,"filename":"image_09042025_20_34_16_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/671c5f9a192eec386f0c576117fa79c3.jpg","text":"TemporaryFile(/tmp/multipartBody6096963491926404855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228233075,"filename":"image_09042025_20_34_07_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd603a3525a54f8c63eea3ebfd1bdc57.jpg","text":"TemporaryFile(/tmp/multipartBody1839485348312008465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228233075,"filename":"image_09042025_20_34_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/4/9/dd80e04e9b725d8391bb7bb549fe2688.jpg","text":"TemporaryFile(/tmp/multipartBody6853196732912256499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228233075,"filename":"image_09042025_20_33_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/4/9/be98974c336279fd4ee8b12dcf3322f0.jpg","text":"TemporaryFile(/tmp/multipartBody5300523793600333702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228233075,"filename":"image_09042025_20_33_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/4/9/dc9b0b48735e7967d24412f3f9632282.jpg","text":"TemporaryFile(/tmp/multipartBody7446126875272422006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228233075,"filename":"image_09042025_20_33_46_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350874642","file1":"1350874629","file0":"1350874618","file4":"1350874676","file5":"1350874699","file3":"1350874646"},"map_files_photo_id_array":[{"photo_id":"1350874699","filename":"file5"},{"photo_id":"1350874642","filename":"file2"},{"photo_id":"1350874676","filename":"file4"},{"photo_id":"1350874629","filename":"file1"},{"photo_id":"1350874618","filename":"file0"},{"photo_id":"1350874646","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350874676":["hashtag1","hashtag2"]},{"1350874646":["hashtag1","hashtag2"]},{"1350874699":["hashtag1","hashtag2"]},{"1350874642":["hashtag1","hashtag2"]},{"1350874618":["hashtag1","hashtag2"]},{"1350874629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350874676, 1350874646, 1350874699, 1350874642, 1350874618, 1350874629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.11097764968872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:50:32.870938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_36_9350.jpg', '/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_46_10387.jpg', '/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_57_10382.jpg', '/home/pi/Desktop/images/09042025/20/34/image_09042025_20_35_06_9468.jpg', '/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_17_10426.jpg', '/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_26_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_36_9350.jpg
/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_46_10387.jpg
/home/pi/Desktop/images/09042025/20/34/image_09042025_20_34_57_10382.jpg
/home/pi/Desktop/images/09042025/20/34/image_09042025_20_35_06_9468.jpg
/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_17_10426.jpg
/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_26_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350874922","1350874953","1350874944","1350874970","1350874964","1350874958"],"photo_ids_order":["1350874922","1350874944","1350874953","1350874958","1350874964","1350874970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b74b0820edc3178a373ef5ebbd76bff.jpg","text":"TemporaryFile(/tmp/multipartBody33816599803283101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228293334,"filename":"image_09042025_20_34_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/4/9/879a6bfc88c20bd10dc7164ac8ca070a.jpg","text":"TemporaryFile(/tmp/multipartBody5523125589727127004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228293334,"filename":"image_09042025_20_34_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21d08e85f8c1bbd6d0e85cbbec9e18d7.jpg","text":"TemporaryFile(/tmp/multipartBody6919921950299089508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228293334,"filename":"image_09042025_20_34_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66e1e5bc9fde198c4382766f8b158722.jpg","text":"TemporaryFile(/tmp/multipartBody8545726693294154518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228293334,"filename":"image_09042025_20_35_26_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/feb5f91d26b27ca0e9137272e4a137df.jpg","text":"TemporaryFile(/tmp/multipartBody8566489891810679093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228293334,"filename":"image_09042025_20_35_17_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f34d5e9407751d3d030098b48f534b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1645192380959186153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228293334,"filename":"image_09042025_20_35_06_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350874953","file1":"1350874944","file0":"1350874922","file4":"1350874964","file5":"1350874970","file3":"1350874958"},"map_files_photo_id_array":[{"photo_id":"1350874970","filename":"file5"},{"photo_id":"1350874953","filename":"file2"},{"photo_id":"1350874964","filename":"file4"},{"photo_id":"1350874944","filename":"file1"},{"photo_id":"1350874922","filename":"file0"},{"photo_id":"1350874958","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350874922":["hashtag1","hashtag2"]},{"1350874953":["hashtag1","hashtag2"]},{"1350874944":["hashtag1","hashtag2"]},{"1350874970":["hashtag1","hashtag2"]},{"1350874964":["hashtag1","hashtag2"]},{"1350874958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350874922, 1350874953, 1350874944, 1350874970, 1350874964, 1350874958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09603929519653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:51:32.993642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_36_10365.jpg', '/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_47_10368.jpg', '/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_56_9455.jpg', '/home/pi/Desktop/images/09042025/20/35/image_09042025_20_36_07_10393.jpg', '/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_17_10348.jpg', '/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_26_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_36_10365.jpg
/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_47_10368.jpg
/home/pi/Desktop/images/09042025/20/35/image_09042025_20_35_56_9455.jpg
/home/pi/Desktop/images/09042025/20/35/image_09042025_20_36_07_10393.jpg
/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_17_10348.jpg
/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_26_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":["1350875135","1350875167","1350875161","1350875157","1350875139","1350875121"],"photo_ids_order":["1350875121","1350875135","1350875139","1350875157","1350875161","1350875167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/742735ac8c5c2eacb24dccff9ddcc14d.jpg","text":"TemporaryFile(/tmp/multipartBody4913856889207962167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228353468,"filename":"image_09042025_20_35_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/4/9/e14850bea67f6bede68b4f29b4a794e5.jpg","text":"TemporaryFile(/tmp/multipartBody3865106107927578458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228353468,"filename":"image_09042025_20_36_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4ae411e572add2c3e7bf252be23a936a.jpg","text":"TemporaryFile(/tmp/multipartBody1114552866520935860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228353468,"filename":"image_09042025_20_36_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/4/9/a719bf4f35ca867fdec11a0f330e588c.jpg","text":"TemporaryFile(/tmp/multipartBody569410921148362065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228353468,"filename":"image_09042025_20_36_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/4/9/4772ddc85b5a3b757e7306fcb3c6e9ae.jpg","text":"TemporaryFile(/tmp/multipartBody9208656871358814748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228353468,"filename":"image_09042025_20_35_56_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62e678c5d55d38662ce65de7579f1464.jpg","text":"TemporaryFile(/tmp/multipartBody5354100948923243832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228353468,"filename":"image_09042025_20_35_36_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350875139","file1":"1350875135","file0":"1350875121","file4":"1350875161","file5":"1350875167","file3":"1350875157"},"map_files_photo_id_array":[{"photo_id":"1350875167","filename":"file5"},{"photo_id":"1350875139","filename":"file2"},{"photo_id":"1350875161","filename":"file4"},{"photo_id":"1350875135","filename":"file1"},{"photo_id":"1350875121","filename":"file0"},{"photo_id":"1350875157","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350875135":["hashtag1","hashtag2"]},{"1350875167":["hashtag1","hashtag2"]},{"1350875161":["hashtag1","hashtag2"]},{"1350875157":["hashtag1","hashtag2"]},{"1350875139":["hashtag1","hashtag2"]},{"1350875121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350875135, 1350875167, 1350875161, 1350875157, 1350875139, 1350875121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36188793182373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:52:32.312859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_37_10390.jpg', '/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_46_9368.jpg', '/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_57_10424.jpg', '/home/pi/Desktop/images/09042025/20/36/image_09042025_20_37_07_10356.jpg', '/home/pi/Desktop/images/09042025/20/37/image_09042025_20_37_16_9437.jpg', '/home/pi/Desktop/images/09042025/20/37/image_09042025_20_37_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_37_10390.jpg
/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_46_9368.jpg
/home/pi/Desktop/images/09042025/20/36/image_09042025_20_36_57_10424.jpg
/home/pi/Desktop/images/09042025/20/36/image_09042025_20_37_07_10356.jpg
/home/pi/Desktop/images/09042025/20/37/image_09042025_20_37_16_9437.jpg
/home/pi/Desktop/images/09042025/20/37/image_09042025_20_37_27_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":["1350875262","1350875244","1350875268","1350875253","1350875249","1350875258"],"photo_ids_order":["1350875244","1350875249","1350875253","1350875258","1350875262","1350875268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e054204947519f26144505f582c5fe2e.jpg","text":"TemporaryFile(/tmp/multipartBody3958843839698982693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228412793,"filename":"image_09042025_20_37_16_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a40ca2d6d4748fbbdc581182e673c6bb.jpg","text":"TemporaryFile(/tmp/multipartBody3845496980235298977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228412793,"filename":"image_09042025_20_36_37_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d821b5b2abb960e22b01b46f9a93ae1d.jpg","text":"TemporaryFile(/tmp/multipartBody8322464111852261404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228412793,"filename":"image_09042025_20_37_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/4/9/0d0cd5107093eb33f78e40fe494a7de9.jpg","text":"TemporaryFile(/tmp/multipartBody828157977929985458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228412793,"filename":"image_09042025_20_36_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/4/9/486b5a44a9fda98f7f3cf5f2a6024e37.jpg","text":"TemporaryFile(/tmp/multipartBody4482305983700269619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228412793,"filename":"image_09042025_20_36_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f40f6e8afb0fbf2ed1577ef613d12738.jpg","text":"TemporaryFile(/tmp/multipartBody8274127831743020435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228412793,"filename":"image_09042025_20_37_07_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350875253","file1":"1350875249","file0":"1350875244","file4":"1350875262","file5":"1350875268","file3":"1350875258"},"map_files_photo_id_array":[{"photo_id":"1350875268","filename":"file5"},{"photo_id":"1350875253","filename":"file2"},{"photo_id":"1350875262","filename":"file4"},{"photo_id":"1350875249","filename":"file1"},{"photo_id":"1350875244","filename":"file0"},{"photo_id":"1350875258","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350875262":["hashtag1","hashtag2"]},{"1350875244":["hashtag1","hashtag2"]},{"1350875268":["hashtag1","hashtag2"]},{"1350875253":["hashtag1","hashtag2"]},{"1350875249":["hashtag1","hashtag2"]},{"1350875258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350875262, 1350875244, 1350875268, 1350875253, 1350875249, 1350875258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07629632949829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:53:32.558264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/37/image_09042025_20_37_46_10414.jpg', '/home/pi/Desktop/images/09042025/20/37/image_09042025_20_37_57_10368.jpg', '/home/pi/Desktop/images/09042025/20/37/image_09042025_20_38_06_9467.jpg', '/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_17_10366.jpg', '/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_26_9378.jpg', '/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_37_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/37/image_09042025_20_37_46_10414.jpg
/home/pi/Desktop/images/09042025/20/37/image_09042025_20_37_57_10368.jpg
/home/pi/Desktop/images/09042025/20/37/image_09042025_20_38_06_9467.jpg
/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_17_10366.jpg
/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_26_9378.jpg
/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_37_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":["1350875365","1350875382","1350875361","1350875370","1350875378","1350875357"],"photo_ids_order":["1350875357","1350875361","1350875365","1350875370","1350875378","1350875382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80dc5a2f661c0dca8c5bd18dd3c74224.jpg","text":"TemporaryFile(/tmp/multipartBody4912751672978749594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228473046,"filename":"image_09042025_20_38_06_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c25bfac608ce59358409e92c95a9415.jpg","text":"TemporaryFile(/tmp/multipartBody7353879468468006034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228473046,"filename":"image_09042025_20_38_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/4/9/6cc5d39953905c1d80bfacfeb422b017.jpg","text":"TemporaryFile(/tmp/multipartBody458221376106208086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228473046,"filename":"image_09042025_20_37_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eac62f334e7a6ef2015244fb3a0f1225.jpg","text":"TemporaryFile(/tmp/multipartBody1458671314356987657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228473046,"filename":"image_09042025_20_38_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/4/9/3540afbca2091b868ab76e555fe68067.jpg","text":"TemporaryFile(/tmp/multipartBody3370335782749266842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228473046,"filename":"image_09042025_20_38_26_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c4e0dc9f0845d4a2b0bae01ffe7342a.jpg","text":"TemporaryFile(/tmp/multipartBody4264005258629808238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228473046,"filename":"image_09042025_20_37_46_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350875365","file1":"1350875361","file0":"1350875357","file4":"1350875378","file5":"1350875382","file3":"1350875370"},"map_files_photo_id_array":[{"photo_id":"1350875382","filename":"file5"},{"photo_id":"1350875365","filename":"file2"},{"photo_id":"1350875378","filename":"file4"},{"photo_id":"1350875361","filename":"file1"},{"photo_id":"1350875357","filename":"file0"},{"photo_id":"1350875370","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350875365":["hashtag1","hashtag2"]},{"1350875382":["hashtag1","hashtag2"]},{"1350875361":["hashtag1","hashtag2"]},{"1350875370":["hashtag1","hashtag2"]},{"1350875378":["hashtag1","hashtag2"]},{"1350875357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350875365, 1350875382, 1350875361, 1350875370, 1350875378, 1350875357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.490891456604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:54:32.854438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_47_10379.jpg', '/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_56_9423.jpg', '/home/pi/Desktop/images/09042025/20/38/image_09042025_20_39_07_10367.jpg', '/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_16_9382.jpg', '/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_27_10469.jpg', '/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_37_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_47_10379.jpg
/home/pi/Desktop/images/09042025/20/38/image_09042025_20_38_56_9423.jpg
/home/pi/Desktop/images/09042025/20/38/image_09042025_20_39_07_10367.jpg
/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_16_9382.jpg
/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_27_10469.jpg
/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_37_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":["1350875448","1350875427","1350875415","1350875435","1350875420","1350875444"],"photo_ids_order":["1350875415","1350875420","1350875427","1350875435","1350875444","1350875448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b49aa532a752e3c182f398d6c11dfc29.jpg","text":"TemporaryFile(/tmp/multipartBody5300451554403011116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228533324,"filename":"image_09042025_20_39_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5788934a52b77f98d77bb4e2a7e0b1fd.jpg","text":"TemporaryFile(/tmp/multipartBody6358148976916169563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228533324,"filename":"image_09042025_20_39_07_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/05408eac7c980e3415d5c9285eb016ce.jpg","text":"TemporaryFile(/tmp/multipartBody5384050892130498587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228533324,"filename":"image_09042025_20_38_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/4/9/deada2ee2a68a66f2790fade3331e8f9.jpg","text":"TemporaryFile(/tmp/multipartBody6476488791921372844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228533324,"filename":"image_09042025_20_39_16_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22b8d08d3f9f704ad6a9a43ac02e8f74.jpg","text":"TemporaryFile(/tmp/multipartBody4029715506050317329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228533324,"filename":"image_09042025_20_38_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/125302e3e9ce0065383ffd98d9796d44.jpg","text":"TemporaryFile(/tmp/multipartBody8601900312840529123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228533324,"filename":"image_09042025_20_39_27_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350875427","file1":"1350875420","file0":"1350875415","file4":"1350875444","file5":"1350875448","file3":"1350875435"},"map_files_photo_id_array":[{"photo_id":"1350875448","filename":"file5"},{"photo_id":"1350875427","filename":"file2"},{"photo_id":"1350875444","filename":"file4"},{"photo_id":"1350875420","filename":"file1"},{"photo_id":"1350875415","filename":"file0"},{"photo_id":"1350875435","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350875448":["hashtag1","hashtag2"]},{"1350875427":["hashtag1","hashtag2"]},{"1350875415":["hashtag1","hashtag2"]},{"1350875435":["hashtag1","hashtag2"]},{"1350875420":["hashtag1","hashtag2"]},{"1350875444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350875448, 1350875427, 1350875415, 1350875435, 1350875420, 1350875444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05012130737305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:55:33.039428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_46_9491.jpg', '/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_57_10374.jpg', '/home/pi/Desktop/images/09042025/20/39/image_09042025_20_40_06_9370.jpg', '/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_17_10481.jpg', '/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_27_10372.jpg', '/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_36_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_46_9491.jpg
/home/pi/Desktop/images/09042025/20/39/image_09042025_20_39_57_10374.jpg
/home/pi/Desktop/images/09042025/20/39/image_09042025_20_40_06_9370.jpg
/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_17_10481.jpg
/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_27_10372.jpg
/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_36_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":["1350875598","1350875565","1350875594","1350875576","1350875534","1350875600"],"photo_ids_order":["1350875534","1350875565","1350875576","1350875594","1350875598","1350875600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c7d48c9b49ae8e279b4d949092be0882.jpg","text":"TemporaryFile(/tmp/multipartBody7638868363029433149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228593506,"filename":"image_09042025_20_40_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dbc0c6004a815deb26cc6eb270c1344c.jpg","text":"TemporaryFile(/tmp/multipartBody7143170068352681770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228593506,"filename":"image_09042025_20_39_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf759f741c80810e278b93cd1c74684f.jpg","text":"TemporaryFile(/tmp/multipartBody4936636100924049715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228593506,"filename":"image_09042025_20_40_17_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5087ca90b75c9fa02ee015802f797fa5.jpg","text":"TemporaryFile(/tmp/multipartBody2302543301780775250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228593506,"filename":"image_09042025_20_40_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8c5d21fe2768c8cf5a15eca740d3f82b.jpg","text":"TemporaryFile(/tmp/multipartBody7976611598848187377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228593506,"filename":"image_09042025_20_39_46_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38480ea8dabe2ef8499ccda9d46d0d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5164472384850749771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228593506,"filename":"image_09042025_20_40_36_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350875576","file1":"1350875565","file0":"1350875534","file4":"1350875598","file5":"1350875600","file3":"1350875594"},"map_files_photo_id_array":[{"photo_id":"1350875600","filename":"file5"},{"photo_id":"1350875576","filename":"file2"},{"photo_id":"1350875598","filename":"file4"},{"photo_id":"1350875565","filename":"file1"},{"photo_id":"1350875534","filename":"file0"},{"photo_id":"1350875594","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350875598":["hashtag1","hashtag2"]},{"1350875565":["hashtag1","hashtag2"]},{"1350875594":["hashtag1","hashtag2"]},{"1350875576":["hashtag1","hashtag2"]},{"1350875534":["hashtag1","hashtag2"]},{"1350875600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350875598, 1350875565, 1350875594, 1350875576, 1350875534, 1350875600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30060648918152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:56:32.200411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_47_10387.jpg', '/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_56_9364.jpg', '/home/pi/Desktop/images/09042025/20/40/image_09042025_20_41_06_10356.jpg', '/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_17_10371.jpg', '/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_26_9476.jpg', '/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_37_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_47_10387.jpg
/home/pi/Desktop/images/09042025/20/40/image_09042025_20_40_56_9364.jpg
/home/pi/Desktop/images/09042025/20/40/image_09042025_20_41_06_10356.jpg
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_17_10371.jpg
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_26_9476.jpg
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_37_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":["1350875804","1350875773","1350875787","1350875826","1350875817","1350875759"],"photo_ids_order":["1350875759","1350875773","1350875787","1350875804","1350875817","1350875826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a7415b34101b0c233547d42bf5738fb1.jpg","text":"TemporaryFile(/tmp/multipartBody538871536417113286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228652669,"filename":"image_09042025_20_41_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d5924e1490a8479e35be2a65f6203cf.jpg","text":"TemporaryFile(/tmp/multipartBody8300080843489778318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228652669,"filename":"image_09042025_20_40_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/abbfdd796c6c0d30d9f8ca4fc6a10b82.jpg","text":"TemporaryFile(/tmp/multipartBody5875483095492428654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228652669,"filename":"image_09042025_20_41_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/4/9/e05683d0c07d17f025fcdc6b4a257ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1309106650688027765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228652669,"filename":"image_09042025_20_41_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/4/9/128b15d1c0854c77340e9d78831c232d.jpg","text":"TemporaryFile(/tmp/multipartBody1523747647246390788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228652669,"filename":"image_09042025_20_41_26_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b8780ddff509aae147a6b07c8d5b2f2.jpg","text":"TemporaryFile(/tmp/multipartBody8837269661432689092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228652669,"filename":"image_09042025_20_40_47_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350875787","file1":"1350875773","file0":"1350875759","file4":"1350875817","file5":"1350875826","file3":"1350875804"},"map_files_photo_id_array":[{"photo_id":"1350875826","filename":"file5"},{"photo_id":"1350875787","filename":"file2"},{"photo_id":"1350875817","filename":"file4"},{"photo_id":"1350875773","filename":"file1"},{"photo_id":"1350875759","filename":"file0"},{"photo_id":"1350875804","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350875804":["hashtag1","hashtag2"]},{"1350875773":["hashtag1","hashtag2"]},{"1350875787":["hashtag1","hashtag2"]},{"1350875826":["hashtag1","hashtag2"]},{"1350875817":["hashtag1","hashtag2"]},{"1350875759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350875804, 1350875773, 1350875787, 1350875826, 1350875817, 1350875759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79784798622131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 21:57:32.435204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_47_10367.jpg', '/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_56_9434.jpg', '/home/pi/Desktop/images/09042025/20/41/image_09042025_20_42_07_10355.jpg', '/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_16_9450.jpg', '/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_27_10358.jpg', '/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_37_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_47_10367.jpg
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_56_9434.jpg
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_42_07_10355.jpg
/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_16_9450.jpg
/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_27_10358.jpg
/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_37_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 21:59:04.105790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_47_10367.jpg', '/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_56_9434.jpg', '/home/pi/Desktop/images/09042025/20/41/image_09042025_20_42_07_10355.jpg', '/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_16_9450.jpg', '/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_27_10358.jpg', '/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_37_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_47_10367.jpg
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_41_56_9434.jpg
/home/pi/Desktop/images/09042025/20/41/image_09042025_20_42_07_10355.jpg
/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_16_9450.jpg
/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_27_10358.jpg
/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_37_10365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350876310","1350876243","1350876411","1350876443","1350876353","1350876257"],"photo_ids_order":["1350876243","1350876257","1350876310","1350876353","1350876411","1350876443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/823e801dd02935a820ec84aa441e973c.jpg","text":"TemporaryFile(/tmp/multipartBody7911724964888737561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228804660,"filename":"image_09042025_20_42_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f87df6c287d9de7bf332b3605ed0860e.jpg","text":"TemporaryFile(/tmp/multipartBody4008234938758030177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228804660,"filename":"image_09042025_20_41_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a4475e175dffb449fe76773ae53f332.jpg","text":"TemporaryFile(/tmp/multipartBody4073038214747991041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228804660,"filename":"image_09042025_20_42_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c5ee44406544cabfe43242d9bda4ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4417315514766113920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228804660,"filename":"image_09042025_20_42_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/4/9/dae7a62ff699af463aa58e474e14bb10.jpg","text":"TemporaryFile(/tmp/multipartBody4784181576420516554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228804660,"filename":"image_09042025_20_42_16_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e5090c077e91c13a09d087b087fe53d4.jpg","text":"TemporaryFile(/tmp/multipartBody7922400315726752357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228804660,"filename":"image_09042025_20_41_56_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350876310","file1":"1350876257","file0":"1350876243","file4":"1350876411","file5":"1350876443","file3":"1350876353"},"map_files_photo_id_array":[{"photo_id":"1350876443","filename":"file5"},{"photo_id":"1350876310","filename":"file2"},{"photo_id":"1350876411","filename":"file4"},{"photo_id":"1350876257","filename":"file1"},{"photo_id":"1350876243","filename":"file0"},{"photo_id":"1350876353","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350876310":["hashtag1","hashtag2"]},{"1350876243":["hashtag1","hashtag2"]},{"1350876411":["hashtag1","hashtag2"]},{"1350876443":["hashtag1","hashtag2"]},{"1350876353":["hashtag1","hashtag2"]},{"1350876257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350876310, 1350876243, 1350876411, 1350876443, 1350876353, 1350876257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05527186393738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 21:59:43.058865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_46_9391.jpg', '/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_57_10376.jpg', '/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_17_10420.jpg', '/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_27_10365.jpg', '/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_36_9368.jpg', '/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_47_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_46_9391.jpg
/home/pi/Desktop/images/09042025/20/42/image_09042025_20_42_57_10376.jpg
/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_17_10420.jpg
/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_27_10365.jpg
/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_36_9368.jpg
/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_47_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":["1350876517","1350876570","1350876525","1350876542","1350876521","1350876592"],"photo_ids_order":["1350876517","1350876521","1350876525","1350876542","1350876570","1350876592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/47aa0efc503b153b4f45fe05fb2d033c.jpg","text":"TemporaryFile(/tmp/multipartBody4253755619082860607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228843559,"filename":"image_09042025_20_42_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/4/9/77b82079acc2190cb9c0ee08d2910060.jpg","text":"TemporaryFile(/tmp/multipartBody27313151726423473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228843559,"filename":"image_09042025_20_43_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/4/9/cc708e331d8435858d5becb154037164.jpg","text":"TemporaryFile(/tmp/multipartBody3801061666395397950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228843559,"filename":"image_09042025_20_43_17_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0ab1ac5d16e2cad9268b06cf936f443e.jpg","text":"TemporaryFile(/tmp/multipartBody1425462102183792840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228843559,"filename":"image_09042025_20_43_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/4/9/912d86d6fcbdd04f172cb2af186aae76.jpg","text":"TemporaryFile(/tmp/multipartBody6234306047302066254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228843559,"filename":"image_09042025_20_42_57_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e787550c7f556fde39f292249c7aee2b.jpg","text":"TemporaryFile(/tmp/multipartBody663354118361760198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228843559,"filename":"image_09042025_20_43_47_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350876525","file1":"1350876521","file0":"1350876517","file4":"1350876570","file5":"1350876592","file3":"1350876542"},"map_files_photo_id_array":[{"photo_id":"1350876592","filename":"file5"},{"photo_id":"1350876525","filename":"file2"},{"photo_id":"1350876570","filename":"file4"},{"photo_id":"1350876521","filename":"file1"},{"photo_id":"1350876517","filename":"file0"},{"photo_id":"1350876542","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350876517":["hashtag1","hashtag2"]},{"1350876570":["hashtag1","hashtag2"]},{"1350876525":["hashtag1","hashtag2"]},{"1350876542":["hashtag1","hashtag2"]},{"1350876521":["hashtag1","hashtag2"]},{"1350876592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350876517, 1350876570, 1350876525, 1350876542, 1350876521, 1350876592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42303466796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:00:33.059054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_56_9354.jpg', '/home/pi/Desktop/images/09042025/20/43/image_09042025_20_44_07_10482.jpg', '/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_17_10364.jpg', '/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_26_9422.jpg', '/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_37_10368.jpg', '/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_46_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/43/image_09042025_20_43_56_9354.jpg
/home/pi/Desktop/images/09042025/20/43/image_09042025_20_44_07_10482.jpg
/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_17_10364.jpg
/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_26_9422.jpg
/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_37_10368.jpg
/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_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":["1350876738","1350876785","1350876713","1350876763","1350876694","1350876667"],"photo_ids_order":["1350876667","1350876694","1350876713","1350876738","1350876763","1350876785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f566e48c085e66d06283b7490f90e2eb.jpg","text":"TemporaryFile(/tmp/multipartBody6728005744827770830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228893528,"filename":"image_09042025_20_44_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/4/9/0adadffaa2e8ec619ed44752cf345530.jpg","text":"TemporaryFile(/tmp/multipartBody8747434210864666673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228893528,"filename":"image_09042025_20_44_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/4/9/dbadb6cfa2bc17c3e3126c9ea0afec91.jpg","text":"TemporaryFile(/tmp/multipartBody930957173122313287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228893528,"filename":"image_09042025_20_44_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/4/9/c0a333ae80cd0ba5e673ac880df87a64.jpg","text":"TemporaryFile(/tmp/multipartBody4151115844991066726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228893528,"filename":"image_09042025_20_44_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94e509456d266f12472dd444f184b539.jpg","text":"TemporaryFile(/tmp/multipartBody3632948896146668379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228893528,"filename":"image_09042025_20_44_07_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c94114f3ddbed9153c2f55c41b4f93f.jpg","text":"TemporaryFile(/tmp/multipartBody2226115674367119419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228893528,"filename":"image_09042025_20_43_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350876713","file1":"1350876694","file0":"1350876667","file4":"1350876763","file5":"1350876785","file3":"1350876738"},"map_files_photo_id_array":[{"photo_id":"1350876785","filename":"file5"},{"photo_id":"1350876713","filename":"file2"},{"photo_id":"1350876763","filename":"file4"},{"photo_id":"1350876694","filename":"file1"},{"photo_id":"1350876667","filename":"file0"},{"photo_id":"1350876738","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350876738":["hashtag1","hashtag2"]},{"1350876785":["hashtag1","hashtag2"]},{"1350876713":["hashtag1","hashtag2"]},{"1350876763":["hashtag1","hashtag2"]},{"1350876694":["hashtag1","hashtag2"]},{"1350876667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350876738, 1350876785, 1350876713, 1350876763, 1350876694, 1350876667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24807786941528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:01:32.336148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_57_10451.jpg', '/home/pi/Desktop/images/09042025/20/44/image_09042025_20_45_07_10366.jpg', '/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_16_9469.jpg', '/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_27_10396.jpg', '/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_36_9353.jpg', '/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_47_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/44/image_09042025_20_44_57_10451.jpg
/home/pi/Desktop/images/09042025/20/44/image_09042025_20_45_07_10366.jpg
/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_16_9469.jpg
/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_27_10396.jpg
/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_36_9353.jpg
/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_47_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350877015","1350877003","1350876978","1350877085","1350877037","1350877060"],"photo_ids_order":["1350876978","1350877003","1350877015","1350877037","1350877060","1350877085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f4fb813f4dbda682d117f8f3b82f1b24.jpg","text":"TemporaryFile(/tmp/multipartBody4265124325429833999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228952811,"filename":"image_09042025_20_45_16_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bace53293deb5e78a945c7edcbdb7e34.jpg","text":"TemporaryFile(/tmp/multipartBody3916535698145401210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228952811,"filename":"image_09042025_20_45_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/4/9/e3396c98fc56e3902da8771b6ebf9020.jpg","text":"TemporaryFile(/tmp/multipartBody468113986864476357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228952811,"filename":"image_09042025_20_44_57_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c8390c3b2949aeb263fe5f1b1d7d504.jpg","text":"TemporaryFile(/tmp/multipartBody306094340840390516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228952811,"filename":"image_09042025_20_45_47_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d64798baad74f4acd7a7baf981aac445.jpg","text":"TemporaryFile(/tmp/multipartBody1794794062063151647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228952811,"filename":"image_09042025_20_45_27_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1a8131c78fb0292f611b21207a10726.jpg","text":"TemporaryFile(/tmp/multipartBody1508387405958431734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744228952811,"filename":"image_09042025_20_45_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350877015","file1":"1350877003","file0":"1350876978","file4":"1350877060","file5":"1350877085","file3":"1350877037"},"map_files_photo_id_array":[{"photo_id":"1350877085","filename":"file5"},{"photo_id":"1350877015","filename":"file2"},{"photo_id":"1350877060","filename":"file4"},{"photo_id":"1350877003","filename":"file1"},{"photo_id":"1350876978","filename":"file0"},{"photo_id":"1350877037","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350877015":["hashtag1","hashtag2"]},{"1350877003":["hashtag1","hashtag2"]},{"1350876978":["hashtag1","hashtag2"]},{"1350877085":["hashtag1","hashtag2"]},{"1350877037":["hashtag1","hashtag2"]},{"1350877060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350877015, 1350877003, 1350876978, 1350877085, 1350877037, 1350877060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.131224155426025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:02:32.492836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_57_10378.jpg', '/home/pi/Desktop/images/09042025/20/45/image_09042025_20_46_06_9454.jpg', '/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_17_10363.jpg', '/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_26_9370.jpg', '/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_36_10375.jpg', '/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_47_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/45/image_09042025_20_45_57_10378.jpg
/home/pi/Desktop/images/09042025/20/45/image_09042025_20_46_06_9454.jpg
/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_17_10363.jpg
/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_26_9370.jpg
/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_36_10375.jpg
/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_47_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":["1350877485","1350877566","1350877401","1350877317","1350877532","1350877447"],"photo_ids_order":["1350877317","1350877401","1350877447","1350877485","1350877532","1350877566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7952b0c1089778cfd853bca7cab39f16.jpg","text":"TemporaryFile(/tmp/multipartBody9199613886303834845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229012961,"filename":"image_09042025_20_46_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/4/9/3410bdde8952bd71a6b82fcce417e873.jpg","text":"TemporaryFile(/tmp/multipartBody1682059691435723883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229012961,"filename":"image_09042025_20_46_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/4/9/f2074849bdd8d36cd04d0c4e404fd2fd.jpg","text":"TemporaryFile(/tmp/multipartBody7025531802687538295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229012961,"filename":"image_09042025_20_46_06_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6ef831f809944c36722cb5ee30284c87.jpg","text":"TemporaryFile(/tmp/multipartBody2918264064594228617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229012961,"filename":"image_09042025_20_45_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/4/9/fa7464a01d202d2f4dec85526c9660b6.jpg","text":"TemporaryFile(/tmp/multipartBody5010548291362601085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229012961,"filename":"image_09042025_20_46_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/166d645fdf8aeb43ebd969560c6761e8.jpg","text":"TemporaryFile(/tmp/multipartBody5543462466640792312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229012961,"filename":"image_09042025_20_46_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350877447","file1":"1350877401","file0":"1350877317","file4":"1350877532","file5":"1350877566","file3":"1350877485"},"map_files_photo_id_array":[{"photo_id":"1350877566","filename":"file5"},{"photo_id":"1350877447","filename":"file2"},{"photo_id":"1350877532","filename":"file4"},{"photo_id":"1350877401","filename":"file1"},{"photo_id":"1350877317","filename":"file0"},{"photo_id":"1350877485","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350877485":["hashtag1","hashtag2"]},{"1350877566":["hashtag1","hashtag2"]},{"1350877401":["hashtag1","hashtag2"]},{"1350877317":["hashtag1","hashtag2"]},{"1350877532":["hashtag1","hashtag2"]},{"1350877447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350877485, 1350877566, 1350877401, 1350877317, 1350877532, 1350877447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32069683074951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:03:32.647041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_56_9515.jpg', '/home/pi/Desktop/images/09042025/20/46/image_09042025_20_47_07_10375.jpg', '/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_16_9351.jpg', '/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_26_10368.jpg', '/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_37_10371.jpg', '/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_46_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/46/image_09042025_20_46_56_9515.jpg
/home/pi/Desktop/images/09042025/20/46/image_09042025_20_47_07_10375.jpg
/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_16_9351.jpg
/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_26_10368.jpg
/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_37_10371.jpg
/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_46_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350878220","1350878007","1350878264","1350878324","1350878179","1350878116"],"photo_ids_order":["1350878007","1350878116","1350878179","1350878220","1350878264","1350878324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/921830221dccece66fc924a3f57217fb.jpg","text":"TemporaryFile(/tmp/multipartBody8998287472728929376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229078172,"filename":"image_09042025_20_47_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/4/9/8d7fe7c812002ee86b498e32c03ddbb4.jpg","text":"TemporaryFile(/tmp/multipartBody7046898545909497154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229078172,"filename":"image_09042025_20_46_56_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/63aaa52fdd6f07887b8517a93909e409.jpg","text":"TemporaryFile(/tmp/multipartBody1552213016993935265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229078172,"filename":"image_09042025_20_47_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39d692f8d19064b0bc9bb4f4b914b71d.jpg","text":"TemporaryFile(/tmp/multipartBody2842008203704147978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229078172,"filename":"image_09042025_20_47_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3292a8cec012ab19b89039f7665cd7db.jpg","text":"TemporaryFile(/tmp/multipartBody2008058439610056420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229078172,"filename":"image_09042025_20_47_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/4/9/4a95ee8319b17acb211b4ea2d8683592.jpg","text":"TemporaryFile(/tmp/multipartBody7230854732966590719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229078172,"filename":"image_09042025_20_47_07_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350878179","file1":"1350878116","file0":"1350878007","file4":"1350878264","file5":"1350878324","file3":"1350878220"},"map_files_photo_id_array":[{"photo_id":"1350878324","filename":"file5"},{"photo_id":"1350878179","filename":"file2"},{"photo_id":"1350878264","filename":"file4"},{"photo_id":"1350878116","filename":"file1"},{"photo_id":"1350878007","filename":"file0"},{"photo_id":"1350878220","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350878220":["hashtag1","hashtag2"]},{"1350878007":["hashtag1","hashtag2"]},{"1350878264":["hashtag1","hashtag2"]},{"1350878324":["hashtag1","hashtag2"]},{"1350878179":["hashtag1","hashtag2"]},{"1350878116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350878220, 1350878007, 1350878264, 1350878324, 1350878179, 1350878116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.01824975013733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:04:32.845685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_57_10406.jpg', '/home/pi/Desktop/images/09042025/20/47/image_09042025_20_48_06_9392.jpg', '/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_16_10357.jpg', '/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_27_10377.jpg', '/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_36_9355.jpg', '/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_47_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/47/image_09042025_20_47_57_10406.jpg
/home/pi/Desktop/images/09042025/20/47/image_09042025_20_48_06_9392.jpg
/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_16_10357.jpg
/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_27_10377.jpg
/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_36_9355.jpg
/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_47_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350878907","1350879178","1350878740","1350878694","1350879084","1350878827"],"photo_ids_order":["1350878694","1350878740","1350878827","1350878907","1350879084","1350879178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/93dd62ef480bd42d0d1ae87eb677ce04.jpg","text":"TemporaryFile(/tmp/multipartBody3727211260423880101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229133323,"filename":"image_09042025_20_48_27_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/013541211d9d16bd32da091af4fb6d75.jpg","text":"TemporaryFile(/tmp/multipartBody3499495331488105830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229133323,"filename":"image_09042025_20_48_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/4/9/4c8c43c364e06be200afbd507bb74476.jpg","text":"TemporaryFile(/tmp/multipartBody407890544079811677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229133323,"filename":"image_09042025_20_48_06_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aaf3c0a212a599420e3a761a8846c19b.jpg","text":"TemporaryFile(/tmp/multipartBody4337421586367875723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229133323,"filename":"image_09042025_20_47_57_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/898426caa9c86aa444ea330efca2ac81.jpg","text":"TemporaryFile(/tmp/multipartBody8368674669534391911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229133323,"filename":"image_09042025_20_48_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/4/9/d97f2989045d5b6ce7c9fe8b851f9cce.jpg","text":"TemporaryFile(/tmp/multipartBody2129841097640295025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229133323,"filename":"image_09042025_20_48_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350878827","file1":"1350878740","file0":"1350878694","file4":"1350879084","file5":"1350879178","file3":"1350878907"},"map_files_photo_id_array":[{"photo_id":"1350879178","filename":"file5"},{"photo_id":"1350878827","filename":"file2"},{"photo_id":"1350879084","filename":"file4"},{"photo_id":"1350878740","filename":"file1"},{"photo_id":"1350878694","filename":"file0"},{"photo_id":"1350878907","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350878907":["hashtag1","hashtag2"]},{"1350879178":["hashtag1","hashtag2"]},{"1350878740":["hashtag1","hashtag2"]},{"1350878694":["hashtag1","hashtag2"]},{"1350879084":["hashtag1","hashtag2"]},{"1350878827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350878907, 1350879178, 1350878740, 1350878694, 1350879084, 1350878827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.825907707214355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:05:33.057716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_57_10399.jpg', '/home/pi/Desktop/images/09042025/20/48/image_09042025_20_49_06_9459.jpg', '/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_17_10365.jpg', '/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_26_9374.jpg', '/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_37_10427.jpg', '/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_47_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/48/image_09042025_20_48_57_10399.jpg
/home/pi/Desktop/images/09042025/20/48/image_09042025_20_49_06_9459.jpg
/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_17_10365.jpg
/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_26_9374.jpg
/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_37_10427.jpg
/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_47_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350880388","1350880088","1350879955","1350880019","1350880207","1350879852"],"photo_ids_order":["1350879852","1350879955","1350880019","1350880088","1350880207","1350880388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/586095a8a9ddefd3ac241e6f52434647.jpg","text":"TemporaryFile(/tmp/multipartBody5520077106196372216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229193524,"filename":"image_09042025_20_49_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/4/9/eeda84ac481311e54879215368e004b6.jpg","text":"TemporaryFile(/tmp/multipartBody6627979254392936244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229193524,"filename":"image_09042025_20_49_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21f4576a5c0a45b23ee6de0f8a7695fb.jpg","text":"TemporaryFile(/tmp/multipartBody7802853211690086615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229193524,"filename":"image_09042025_20_49_06_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0559afc938bc91fb5658185e60f26e67.jpg","text":"TemporaryFile(/tmp/multipartBody212219813734424581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229193524,"filename":"image_09042025_20_49_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/4/9/d12a42f7cb61e786976132284d3eb0b3.jpg","text":"TemporaryFile(/tmp/multipartBody3453671739496995756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229193524,"filename":"image_09042025_20_49_37_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc0f968e4cc8337975cf1c869adba31c.jpg","text":"TemporaryFile(/tmp/multipartBody3733605952347317517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229193524,"filename":"image_09042025_20_48_57_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350880019","file1":"1350879955","file0":"1350879852","file4":"1350880207","file5":"1350880388","file3":"1350880088"},"map_files_photo_id_array":[{"photo_id":"1350880388","filename":"file5"},{"photo_id":"1350880019","filename":"file2"},{"photo_id":"1350880207","filename":"file4"},{"photo_id":"1350879955","filename":"file1"},{"photo_id":"1350879852","filename":"file0"},{"photo_id":"1350880088","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350880388":["hashtag1","hashtag2"]},{"1350880088":["hashtag1","hashtag2"]},{"1350879955":["hashtag1","hashtag2"]},{"1350880019":["hashtag1","hashtag2"]},{"1350880207":["hashtag1","hashtag2"]},{"1350879852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350880388, 1350880088, 1350879955, 1350880019, 1350880207, 1350879852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.10398459434509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:06:32.231870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_56_9407.jpg', '/home/pi/Desktop/images/09042025/20/49/image_09042025_20_50_07_10390.jpg', '/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_16_9356.jpg', '/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_26_10385.jpg', '/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_37_10372.jpg', '/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_46_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/49/image_09042025_20_49_56_9407.jpg
/home/pi/Desktop/images/09042025/20/49/image_09042025_20_50_07_10390.jpg
/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_16_9356.jpg
/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_26_10385.jpg
/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_37_10372.jpg
/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_46_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":["1350880818","1350880880","1350880769","1350880742","1350880843","1350880695"],"photo_ids_order":["1350880695","1350880742","1350880769","1350880818","1350880843","1350880880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d2fb2afc700c5ba33dd34e70784e66cd.jpg","text":"TemporaryFile(/tmp/multipartBody6138746667323948404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229252698,"filename":"image_09042025_20_50_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/4/9/f6441995fade8407dfd85c3430161dea.jpg","text":"TemporaryFile(/tmp/multipartBody2555823020283406945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229252698,"filename":"image_09042025_20_50_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6d9e44d46f8d592b3996b5a0ac31a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3083482218912569099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229252698,"filename":"image_09042025_20_50_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b332398b0af8ad3f59b2f3992246d911.jpg","text":"TemporaryFile(/tmp/multipartBody5536353220316983511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229252698,"filename":"image_09042025_20_50_07_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/70c17d6ecc179c4ebc34f307a16f41af.jpg","text":"TemporaryFile(/tmp/multipartBody8374478816495854457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229252698,"filename":"image_09042025_20_50_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/4/9/8226c0828e8df4580f5305dda640b004.jpg","text":"TemporaryFile(/tmp/multipartBody2927661106740597413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229252698,"filename":"image_09042025_20_49_56_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350880769","file1":"1350880742","file0":"1350880695","file4":"1350880843","file5":"1350880880","file3":"1350880818"},"map_files_photo_id_array":[{"photo_id":"1350880880","filename":"file5"},{"photo_id":"1350880769","filename":"file2"},{"photo_id":"1350880843","filename":"file4"},{"photo_id":"1350880742","filename":"file1"},{"photo_id":"1350880695","filename":"file0"},{"photo_id":"1350880818","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350880818":["hashtag1","hashtag2"]},{"1350880880":["hashtag1","hashtag2"]},{"1350880769":["hashtag1","hashtag2"]},{"1350880742":["hashtag1","hashtag2"]},{"1350880843":["hashtag1","hashtag2"]},{"1350880695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350880818, 1350880880, 1350880769, 1350880742, 1350880843, 1350880695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.047816038131714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:07:33.559150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_57_10391.jpg', '/home/pi/Desktop/images/09042025/20/50/image_09042025_20_51_07_10355.jpg', '/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_16_9468.jpg', '/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_27_10396.jpg', '/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_36_9439.jpg', '/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_47_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/50/image_09042025_20_50_57_10391.jpg
/home/pi/Desktop/images/09042025/20/50/image_09042025_20_51_07_10355.jpg
/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_16_9468.jpg
/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_27_10396.jpg
/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_36_9439.jpg
/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_47_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350881345","1350881191","1350881233","1350881440","1350881295","1350881376"],"photo_ids_order":["1350881191","1350881233","1350881295","1350881345","1350881376","1350881440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96df40555acb9bd52650d8002b888def.jpg","text":"TemporaryFile(/tmp/multipartBody4157259057711293303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229314035,"filename":"image_09042025_20_51_27_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8233e3b1e03514458a9274424092f85f.jpg","text":"TemporaryFile(/tmp/multipartBody4319195701416277513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229314035,"filename":"image_09042025_20_50_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/4/9/f376b50ca37e469837cec1486bf58914.jpg","text":"TemporaryFile(/tmp/multipartBody865642965047143613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229314035,"filename":"image_09042025_20_51_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc8150ee53876275c353551df443a5c6.jpg","text":"TemporaryFile(/tmp/multipartBody1313505792599025504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229314035,"filename":"image_09042025_20_51_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/4/9/10304a7bd9ac2da89951ea1f6ac7bd44.jpg","text":"TemporaryFile(/tmp/multipartBody6506726144105617717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229314035,"filename":"image_09042025_20_51_16_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5c016e27251acb2ed0d66d343a59b974.jpg","text":"TemporaryFile(/tmp/multipartBody3839722034842214721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229314035,"filename":"image_09042025_20_51_36_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350881295","file1":"1350881233","file0":"1350881191","file4":"1350881376","file5":"1350881440","file3":"1350881345"},"map_files_photo_id_array":[{"photo_id":"1350881440","filename":"file5"},{"photo_id":"1350881295","filename":"file2"},{"photo_id":"1350881376","filename":"file4"},{"photo_id":"1350881233","filename":"file1"},{"photo_id":"1350881191","filename":"file0"},{"photo_id":"1350881345","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350881345":["hashtag1","hashtag2"]},{"1350881191":["hashtag1","hashtag2"]},{"1350881233":["hashtag1","hashtag2"]},{"1350881440":["hashtag1","hashtag2"]},{"1350881295":["hashtag1","hashtag2"]},{"1350881376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350881345, 1350881191, 1350881233, 1350881440, 1350881295, 1350881376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60656142234802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:08:32.957201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_56_9373.jpg', '/home/pi/Desktop/images/09042025/20/51/image_09042025_20_52_07_10465.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_17_10371.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_26_9435.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_37_10361.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_46_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_56_9373.jpg
/home/pi/Desktop/images/09042025/20/51/image_09042025_20_52_07_10465.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_17_10371.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_26_9435.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_37_10361.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_46_9397.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3792290687561035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 22:08:43.094200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_56_9373.jpg', '/home/pi/Desktop/images/09042025/20/51/image_09042025_20_52_07_10465.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_17_10371.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_26_9435.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_37_10361.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_46_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/51/image_09042025_20_51_56_9373.jpg
/home/pi/Desktop/images/09042025/20/51/image_09042025_20_52_07_10465.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_17_10371.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_26_9435.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_37_10361.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_46_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350882020","1350881837","1350881935","1350881920","1350881946","1350881742"],"photo_ids_order":["1350881742","1350881837","1350881920","1350881935","1350881946","1350882020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b85cf597ee9c174cc987313fdc18ba35.jpg","text":"TemporaryFile(/tmp/multipartBody4783441234631572291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229383566,"filename":"image_09042025_20_52_46_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d5720bc8bfba618a589410f0ae3ed04.jpg","text":"TemporaryFile(/tmp/multipartBody6717130321490374922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229383566,"filename":"image_09042025_20_52_07_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cba4a0740508842b36b79a527d49cfef.jpg","text":"TemporaryFile(/tmp/multipartBody1528470635572136758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229383566,"filename":"image_09042025_20_52_26_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fc63c2e492ed97bf17bed1c95b3705e7.jpg","text":"TemporaryFile(/tmp/multipartBody651130075404924353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229383566,"filename":"image_09042025_20_52_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0d7241bb79c2935e8a15ba135a9f3de5.jpg","text":"TemporaryFile(/tmp/multipartBody3713701444685666348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229383566,"filename":"image_09042025_20_52_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ac09456a58f3e224818795f168bab23f.jpg","text":"TemporaryFile(/tmp/multipartBody1912191183742589103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229383566,"filename":"image_09042025_20_51_56_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350881920","file1":"1350881837","file0":"1350881742","file4":"1350881946","file5":"1350882020","file3":"1350881935"},"map_files_photo_id_array":[{"photo_id":"1350882020","filename":"file5"},{"photo_id":"1350881920","filename":"file2"},{"photo_id":"1350881946","filename":"file4"},{"photo_id":"1350881837","filename":"file1"},{"photo_id":"1350881742","filename":"file0"},{"photo_id":"1350881935","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350882020":["hashtag1","hashtag2"]},{"1350881837":["hashtag1","hashtag2"]},{"1350881935":["hashtag1","hashtag2"]},{"1350881920":["hashtag1","hashtag2"]},{"1350881946":["hashtag1","hashtag2"]},{"1350881742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350882020, 1350881837, 1350881935, 1350881920, 1350881946, 1350881742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.43912410736084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:09:32.237488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_57_10446.jpg', '/home/pi/Desktop/images/09042025/20/52/image_09042025_20_53_07_10347.jpg', '/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_16_9409.jpg', '/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_27_10448.jpg', '/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_36_9350.jpg', '/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_47_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_52_57_10446.jpg
/home/pi/Desktop/images/09042025/20/52/image_09042025_20_53_07_10347.jpg
/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_16_9409.jpg
/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_27_10448.jpg
/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_36_9350.jpg
/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_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":["1350882158","1350882187","1350882220","1350882293","1350882257","1350882173"],"photo_ids_order":["1350882158","1350882173","1350882187","1350882220","1350882257","1350882293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bcc164137113eed37818f0fabb536324.jpg","text":"TemporaryFile(/tmp/multipartBody1157904596496133742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229432715,"filename":"image_09042025_20_52_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/4/9/788406b2d13ab50f00dcd9a96b6103f5.jpg","text":"TemporaryFile(/tmp/multipartBody856108141661017619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229432715,"filename":"image_09042025_20_53_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/4/9/03b4a1c0ebf90f4254faa1230a60f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody9222266161059905243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229432715,"filename":"image_09042025_20_53_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/4/9/38ad41d69a8c4df25db44756340a95ea.jpg","text":"TemporaryFile(/tmp/multipartBody2181622803248665336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229432715,"filename":"image_09042025_20_53_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/4/9/1f7282037adbbdf258df2b5a2788d23f.jpg","text":"TemporaryFile(/tmp/multipartBody2922659124966037705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229432715,"filename":"image_09042025_20_53_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/4/9/d31b97ff85b09c0873e0d883686f370f.jpg","text":"TemporaryFile(/tmp/multipartBody173595600250748467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229432715,"filename":"image_09042025_20_53_07_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350882187","file1":"1350882173","file0":"1350882158","file4":"1350882257","file5":"1350882293","file3":"1350882220"},"map_files_photo_id_array":[{"photo_id":"1350882293","filename":"file5"},{"photo_id":"1350882187","filename":"file2"},{"photo_id":"1350882257","filename":"file4"},{"photo_id":"1350882173","filename":"file1"},{"photo_id":"1350882158","filename":"file0"},{"photo_id":"1350882220","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350882158":["hashtag1","hashtag2"]},{"1350882187":["hashtag1","hashtag2"]},{"1350882220":["hashtag1","hashtag2"]},{"1350882293":["hashtag1","hashtag2"]},{"1350882257":["hashtag1","hashtag2"]},{"1350882173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350882158, 1350882187, 1350882220, 1350882293, 1350882257, 1350882173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09120965003967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:10:32.315538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_57_10435.jpg', '/home/pi/Desktop/images/09042025/20/53/image_09042025_20_54_06_9456.jpg', '/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_17_10356.jpg', '/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_26_9375.jpg', '/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_37_10397.jpg', '/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_47_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/53/image_09042025_20_53_57_10435.jpg
/home/pi/Desktop/images/09042025/20/53/image_09042025_20_54_06_9456.jpg
/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_17_10356.jpg
/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_26_9375.jpg
/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_37_10397.jpg
/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_47_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350882626","1350882696","1350882831","1350882753","1350882791","1350882872"],"photo_ids_order":["1350882626","1350882696","1350882753","1350882791","1350882831","1350882872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4160a038761bc6887e3f7ab16e457e15.jpg","text":"TemporaryFile(/tmp/multipartBody1892047090901227456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229492779,"filename":"image_09042025_20_53_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/4/9/4ba8f6a0b90c3b094a59c63a0908f1ae.jpg","text":"TemporaryFile(/tmp/multipartBody430147770349556038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229492779,"filename":"image_09042025_20_54_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/4/9/3366c82024428b53a90b23918f6fcd20.jpg","text":"TemporaryFile(/tmp/multipartBody1775051965460650330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229492779,"filename":"image_09042025_20_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/4/9/97607b658fe7a6d59aed993be6c2e965.jpg","text":"TemporaryFile(/tmp/multipartBody5970845140765389055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229492779,"filename":"image_09042025_20_54_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9beeafc49173b7cdc90ee12574f09eb0.jpg","text":"TemporaryFile(/tmp/multipartBody3881492197474035534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229492779,"filename":"image_09042025_20_54_26_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49d68d9f36ee17b18cbaf6735e766c2d.jpg","text":"TemporaryFile(/tmp/multipartBody9124805771424666803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229492779,"filename":"image_09042025_20_54_47_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350882753","file1":"1350882696","file0":"1350882626","file4":"1350882831","file5":"1350882872","file3":"1350882791"},"map_files_photo_id_array":[{"photo_id":"1350882872","filename":"file5"},{"photo_id":"1350882753","filename":"file2"},{"photo_id":"1350882831","filename":"file4"},{"photo_id":"1350882696","filename":"file1"},{"photo_id":"1350882626","filename":"file0"},{"photo_id":"1350882791","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350882626":["hashtag1","hashtag2"]},{"1350882696":["hashtag1","hashtag2"]},{"1350882831":["hashtag1","hashtag2"]},{"1350882753":["hashtag1","hashtag2"]},{"1350882791":["hashtag1","hashtag2"]},{"1350882872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350882626, 1350882696, 1350882831, 1350882753, 1350882791, 1350882872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14797019958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:11:32.632767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_56_9469.jpg', '/home/pi/Desktop/images/09042025/20/54/image_09042025_20_55_07_10366.jpg', '/home/pi/Desktop/images/09042025/20/55/image_09042025_20_55_16_9504.jpg', '/home/pi/Desktop/images/09042025/20/55/image_09042025_20_55_27_10385.jpg', '/home/pi/Desktop/images/09042025/20/55/image_09042025_20_55_36_9367.jpg', '/home/pi/Desktop/images/09042025/20/55/image_09042025_20_55_46_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/54/image_09042025_20_54_56_9469.jpg
/home/pi/Desktop/images/09042025/20/54/image_09042025_20_55_07_10366.jpg
/home/pi/Desktop/images/09042025/20/55/image_09042025_20_55_16_9504.jpg
/home/pi/Desktop/images/09042025/20/55/image_09042025_20_55_27_10385.jpg
/home/pi/Desktop/images/09042025/20/55/image_09042025_20_55_36_9367.jpg
/home/pi/Desktop/images/09042025/20/55/image_09042025_20_55_46_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350883119","1350883160","1350883091","1350883271","1350883145","1350883247"],"photo_ids_order":["1350883091","1350883119","1350883145","1350883160","1350883247","1350883271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/805af5d7eeac077d5e865f16a345422b.jpg","text":"TemporaryFile(/tmp/multipartBody7716353524718058376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229553111,"filename":"image_09042025_20_55_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/4/9/01c2bbef3ace27d00d902dc98e6e1a25.jpg","text":"TemporaryFile(/tmp/multipartBody2130562064699652002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229553111,"filename":"image_09042025_20_55_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/4/9/a1c894431aad8f13d90eca2c487890cd.jpg","text":"TemporaryFile(/tmp/multipartBody1502343606791292100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229553111,"filename":"image_09042025_20_54_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27456adc4dcc1718183107148502e8ac.jpg","text":"TemporaryFile(/tmp/multipartBody8005814788089140509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229553111,"filename":"image_09042025_20_55_46_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/74c4c2e87f308d77398fef237b646d30.jpg","text":"TemporaryFile(/tmp/multipartBody3166378190544794690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229553111,"filename":"image_09042025_20_55_16_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c508f90b4e37eb3b93a30c99ed2b4cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3348589738381620972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229553111,"filename":"image_09042025_20_55_36_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350883145","file1":"1350883119","file0":"1350883091","file4":"1350883247","file5":"1350883271","file3":"1350883160"},"map_files_photo_id_array":[{"photo_id":"1350883271","filename":"file5"},{"photo_id":"1350883145","filename":"file2"},{"photo_id":"1350883247","filename":"file4"},{"photo_id":"1350883119","filename":"file1"},{"photo_id":"1350883091","filename":"file0"},{"photo_id":"1350883160","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350883119":["hashtag1","hashtag2"]},{"1350883160":["hashtag1","hashtag2"]},{"1350883091":["hashtag1","hashtag2"]},{"1350883271":["hashtag1","hashtag2"]},{"1350883145":["hashtag1","hashtag2"]},{"1350883247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350883119, 1350883160, 1350883091, 1350883271, 1350883145, 1350883247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.30368089675903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:12:32.888423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_17_10356.jpg', '/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_26_9467.jpg', '/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_36_10384.jpg', '/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_47_10412.jpg', '/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_56_9418.jpg', '/home/pi/Desktop/images/09042025/20/56/image_09042025_20_57_07_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_17_10356.jpg
/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_26_9467.jpg
/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_36_10384.jpg
/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_47_10412.jpg
/home/pi/Desktop/images/09042025/20/56/image_09042025_20_56_56_9418.jpg
/home/pi/Desktop/images/09042025/20/56/image_09042025_20_57_07_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":["1350883537","1350883482","1350883512","1350883583","1350883565","1350883454"],"photo_ids_order":["1350883454","1350883482","1350883512","1350883537","1350883565","1350883583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77436731554e8c976bfdb4eb99cc71c6.jpg","text":"TemporaryFile(/tmp/multipartBody7806038527684476209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229613358,"filename":"image_09042025_20_56_47_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0452613a0e60148565682f92eaee8be7.jpg","text":"TemporaryFile(/tmp/multipartBody2440048659325177820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229613358,"filename":"image_09042025_20_56_26_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ded6de72aea75801b508d4e08f99b323.jpg","text":"TemporaryFile(/tmp/multipartBody9147413629882558849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229613358,"filename":"image_09042025_20_56_36_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09a49e1c223b8e47210b35cf813d7958.jpg","text":"TemporaryFile(/tmp/multipartBody8156876206629449826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229613358,"filename":"image_09042025_20_57_07_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/07c6b565a92862d911914eb542f4cf2b.jpg","text":"TemporaryFile(/tmp/multipartBody7750645217862076407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229613358,"filename":"image_09042025_20_56_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/4/9/845fca727e3f8b6cad8d1a41e9170566.jpg","text":"TemporaryFile(/tmp/multipartBody2039854756120626363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229613358,"filename":"image_09042025_20_56_17_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350883512","file1":"1350883482","file0":"1350883454","file4":"1350883565","file5":"1350883583","file3":"1350883537"},"map_files_photo_id_array":[{"photo_id":"1350883583","filename":"file5"},{"photo_id":"1350883512","filename":"file2"},{"photo_id":"1350883565","filename":"file4"},{"photo_id":"1350883482","filename":"file1"},{"photo_id":"1350883454","filename":"file0"},{"photo_id":"1350883537","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350883537":["hashtag1","hashtag2"]},{"1350883482":["hashtag1","hashtag2"]},{"1350883512":["hashtag1","hashtag2"]},{"1350883583":["hashtag1","hashtag2"]},{"1350883565":["hashtag1","hashtag2"]},{"1350883454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350883537, 1350883482, 1350883512, 1350883583, 1350883565, 1350883454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.470109939575195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:13:32.932270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/57/image_09042025_20_57_17_10352.jpg', '/home/pi/Desktop/images/09042025/20/57/image_09042025_20_57_37_10367.jpg', '/home/pi/Desktop/images/09042025/20/57/image_09042025_20_57_46_9366.jpg', '/home/pi/Desktop/images/09042025/20/58/image_09042025_20_58_47_10396.jpg', '/home/pi/Desktop/images/09042025/20/58/image_09042025_20_58_57_10378.jpg', '/home/pi/Desktop/images/09042025/20/58/image_09042025_20_59_06_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/57/image_09042025_20_57_17_10352.jpg
/home/pi/Desktop/images/09042025/20/57/image_09042025_20_57_37_10367.jpg
/home/pi/Desktop/images/09042025/20/57/image_09042025_20_57_46_9366.jpg
/home/pi/Desktop/images/09042025/20/58/image_09042025_20_58_47_10396.jpg
/home/pi/Desktop/images/09042025/20/58/image_09042025_20_58_57_10378.jpg
/home/pi/Desktop/images/09042025/20/58/image_09042025_20_59_06_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350884043","1350883977","1350884034","1350884016","1350884072","1350884030"],"photo_ids_order":["1350883977","1350884016","1350884030","1350884034","1350884043","1350884072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1efc5042d0f1969f18ae54e6a9ac9e26.jpg","text":"TemporaryFile(/tmp/multipartBody3138904528872902122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229673396,"filename":"image_09042025_20_58_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/4/9/85bffa4730ee15e4d91a7ca5f594ea34.jpg","text":"TemporaryFile(/tmp/multipartBody910696975842026536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229673396,"filename":"image_09042025_20_57_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/4/9/a356cd6b19cc550eff51c984fcfb2512.jpg","text":"TemporaryFile(/tmp/multipartBody8654417952237279714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229673396,"filename":"image_09042025_20_58_47_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b4fcb690673bb9c1e4f596111025592f.jpg","text":"TemporaryFile(/tmp/multipartBody6140713564262695081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229673396,"filename":"image_09042025_20_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/4/9/694743328a20d32dd3beaf635856defc.jpg","text":"TemporaryFile(/tmp/multipartBody2905947793826060568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229673396,"filename":"image_09042025_20_59_06_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30fb608e49f18b6241283620a6c04964.jpg","text":"TemporaryFile(/tmp/multipartBody527096741926785328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229673396,"filename":"image_09042025_20_57_46_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350884030","file1":"1350884016","file0":"1350883977","file4":"1350884043","file5":"1350884072","file3":"1350884034"},"map_files_photo_id_array":[{"photo_id":"1350884072","filename":"file5"},{"photo_id":"1350884030","filename":"file2"},{"photo_id":"1350884043","filename":"file4"},{"photo_id":"1350884016","filename":"file1"},{"photo_id":"1350883977","filename":"file0"},{"photo_id":"1350884034","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350884043":["hashtag1","hashtag2"]},{"1350883977":["hashtag1","hashtag2"]},{"1350884034":["hashtag1","hashtag2"]},{"1350884016":["hashtag1","hashtag2"]},{"1350884072":["hashtag1","hashtag2"]},{"1350884030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350884043, 1350883977, 1350884034, 1350884016, 1350884072, 1350884030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.134055852890015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:14:32.165928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/20/59/image_09042025_20_59_26_9376.jpg', '/home/pi/Desktop/images/09042025/20/59/image_09042025_20_59_36_10382.jpg', '/home/pi/Desktop/images/09042025/20/59/image_09042025_20_59_47_10407.jpg', '/home/pi/Desktop/images/09042025/21/00/image_09042025_21_00_36_10436.jpg', '/home/pi/Desktop/images/09042025/21/00/image_09042025_21_00_46_9371.jpg', '/home/pi/Desktop/images/09042025/21/00/image_09042025_21_00_56_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/20/59/image_09042025_20_59_26_9376.jpg
/home/pi/Desktop/images/09042025/20/59/image_09042025_20_59_36_10382.jpg
/home/pi/Desktop/images/09042025/20/59/image_09042025_20_59_47_10407.jpg
/home/pi/Desktop/images/09042025/21/00/image_09042025_21_00_36_10436.jpg
/home/pi/Desktop/images/09042025/21/00/image_09042025_21_00_46_9371.jpg
/home/pi/Desktop/images/09042025/21/00/image_09042025_21_00_56_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350884446","1350884413","1350884317","1350884376","1350884470","1350884350"],"photo_ids_order":["1350884317","1350884350","1350884376","1350884413","1350884446","1350884470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7460cc097fbecb4cdc0361e3f9133c75.jpg","text":"TemporaryFile(/tmp/multipartBody7754618657346098723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229732652,"filename":"image_09042025_21_00_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/4/9/b84f0c1f075c3b541ab210bd41c01563.jpg","text":"TemporaryFile(/tmp/multipartBody6279137007148866709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229732652,"filename":"image_09042025_21_00_36_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1b9fa44b6839658434f05b33a708334.jpg","text":"TemporaryFile(/tmp/multipartBody3064947234092625405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229732652,"filename":"image_09042025_20_59_26_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/48c62b686a92f33df48a5787f46d09b0.jpg","text":"TemporaryFile(/tmp/multipartBody7689881786136662766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229732652,"filename":"image_09042025_20_59_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/4/9/9523a3162df35ccac96563b019703ac5.jpg","text":"TemporaryFile(/tmp/multipartBody774244828212353208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229732652,"filename":"image_09042025_21_00_56_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9969f6cefd1242fae3eeb2013157034b.jpg","text":"TemporaryFile(/tmp/multipartBody605661219184945497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229732652,"filename":"image_09042025_20_59_36_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350884376","file1":"1350884350","file0":"1350884317","file4":"1350884446","file5":"1350884470","file3":"1350884413"},"map_files_photo_id_array":[{"photo_id":"1350884470","filename":"file5"},{"photo_id":"1350884376","filename":"file2"},{"photo_id":"1350884446","filename":"file4"},{"photo_id":"1350884350","filename":"file1"},{"photo_id":"1350884317","filename":"file0"},{"photo_id":"1350884413","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350884446":["hashtag1","hashtag2"]},{"1350884413":["hashtag1","hashtag2"]},{"1350884317":["hashtag1","hashtag2"]},{"1350884376":["hashtag1","hashtag2"]},{"1350884470":["hashtag1","hashtag2"]},{"1350884350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350884446, 1350884413, 1350884317, 1350884376, 1350884470, 1350884350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66082239151001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:15:32.428077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/01/image_09042025_21_01_16_10352.jpg', '/home/pi/Desktop/images/09042025/21/01/image_09042025_21_01_36_9353.jpg', '/home/pi/Desktop/images/09042025/21/01/image_09042025_21_01_46_10380.jpg', '/home/pi/Desktop/images/09042025/21/01/image_09042025_21_01_56_10389.jpg', '/home/pi/Desktop/images/09042025/21/01/image_09042025_21_02_06_9345.jpg', '/home/pi/Desktop/images/09042025/21/02/image_09042025_21_02_26_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/01/image_09042025_21_01_16_10352.jpg
/home/pi/Desktop/images/09042025/21/01/image_09042025_21_01_36_9353.jpg
/home/pi/Desktop/images/09042025/21/01/image_09042025_21_01_46_10380.jpg
/home/pi/Desktop/images/09042025/21/01/image_09042025_21_01_56_10389.jpg
/home/pi/Desktop/images/09042025/21/01/image_09042025_21_02_06_9345.jpg
/home/pi/Desktop/images/09042025/21/02/image_09042025_21_02_26_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":["1350884923","1350884967","1350884786","1350885014","1350884746","1350884848"],"photo_ids_order":["1350884746","1350884786","1350884848","1350884923","1350884967","1350885014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/258c5bd9b2225003a52850d643a95741.jpg","text":"TemporaryFile(/tmp/multipartBody8551907847411321055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229792895,"filename":"image_09042025_21_01_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8be11029dff318d76917e8ceee10dfd4.jpg","text":"TemporaryFile(/tmp/multipartBody8212292035556963576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229792895,"filename":"image_09042025_21_02_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/4/9/42e3e9df343f798b3cd8463014597fe4.jpg","text":"TemporaryFile(/tmp/multipartBody2913651362548881387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229792895,"filename":"image_09042025_21_01_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/4/9/b7be2d5ea337851d2a3b21157fc2761d.jpg","text":"TemporaryFile(/tmp/multipartBody8662675853188845669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229792895,"filename":"image_09042025_21_02_26_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/beb0d333f5ce2121b28d95675c603bbe.jpg","text":"TemporaryFile(/tmp/multipartBody713904618975978149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229792895,"filename":"image_09042025_21_01_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/4/9/5339238c147c07f8d99fd3b9bc67ab18.jpg","text":"TemporaryFile(/tmp/multipartBody7509217855022607493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229792895,"filename":"image_09042025_21_01_46_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350884848","file1":"1350884786","file0":"1350884746","file4":"1350884967","file5":"1350885014","file3":"1350884923"},"map_files_photo_id_array":[{"photo_id":"1350885014","filename":"file5"},{"photo_id":"1350884848","filename":"file2"},{"photo_id":"1350884967","filename":"file4"},{"photo_id":"1350884786","filename":"file1"},{"photo_id":"1350884746","filename":"file0"},{"photo_id":"1350884923","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350884923":["hashtag1","hashtag2"]},{"1350884967":["hashtag1","hashtag2"]},{"1350884786":["hashtag1","hashtag2"]},{"1350885014":["hashtag1","hashtag2"]},{"1350884746":["hashtag1","hashtag2"]},{"1350884848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350884923, 1350884967, 1350884786, 1350885014, 1350884746, 1350884848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8520610332489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:16:32.768575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/02/image_09042025_21_02_36_10370.jpg', '/home/pi/Desktop/images/09042025/21/02/image_09042025_21_02_46_10434.jpg', '/home/pi/Desktop/images/09042025/21/02/image_09042025_21_02_56_9371.jpg', '/home/pi/Desktop/images/09042025/21/02/image_09042025_21_03_06_10369.jpg', '/home/pi/Desktop/images/09042025/21/03/image_09042025_21_03_16_9456.jpg', '/home/pi/Desktop/images/09042025/21/03/image_09042025_21_03_36_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/02/image_09042025_21_02_36_10370.jpg
/home/pi/Desktop/images/09042025/21/02/image_09042025_21_02_46_10434.jpg
/home/pi/Desktop/images/09042025/21/02/image_09042025_21_02_56_9371.jpg
/home/pi/Desktop/images/09042025/21/02/image_09042025_21_03_06_10369.jpg
/home/pi/Desktop/images/09042025/21/03/image_09042025_21_03_16_9456.jpg
/home/pi/Desktop/images/09042025/21/03/image_09042025_21_03_36_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350885471","1350885639","1350885788","1350885518","1350885376","1350885910"],"photo_ids_order":["1350885376","1350885471","1350885518","1350885639","1350885788","1350885910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f94894887b35875d855d962050b968d0.jpg","text":"TemporaryFile(/tmp/multipartBody4390412051057286913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229853244,"filename":"image_09042025_21_02_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/4/9/5505c72c9e7b21066f64f80b87264aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8798131611245858650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229853244,"filename":"image_09042025_21_03_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6067d081403d6cb698dce09fea9b7f8.jpg","text":"TemporaryFile(/tmp/multipartBody2988126076768950047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229853244,"filename":"image_09042025_21_03_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/4/9/83e98ce247bbc3de4382bd3b0ad8c99f.jpg","text":"TemporaryFile(/tmp/multipartBody6959475802178378380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229853244,"filename":"image_09042025_21_02_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbcad537c429d5f37dce6e2081bf584f.jpg","text":"TemporaryFile(/tmp/multipartBody8339097363320272534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229853244,"filename":"image_09042025_21_02_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6156831b78faf8d3e593d18e069e22d9.jpg","text":"TemporaryFile(/tmp/multipartBody3078197861415367341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229853244,"filename":"image_09042025_21_03_36_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350885518","file1":"1350885471","file0":"1350885376","file4":"1350885788","file5":"1350885910","file3":"1350885639"},"map_files_photo_id_array":[{"photo_id":"1350885910","filename":"file5"},{"photo_id":"1350885518","filename":"file2"},{"photo_id":"1350885788","filename":"file4"},{"photo_id":"1350885471","filename":"file1"},{"photo_id":"1350885376","filename":"file0"},{"photo_id":"1350885639","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350885471":["hashtag1","hashtag2"]},{"1350885639":["hashtag1","hashtag2"]},{"1350885788":["hashtag1","hashtag2"]},{"1350885518":["hashtag1","hashtag2"]},{"1350885376":["hashtag1","hashtag2"]},{"1350885910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350885471, 1350885639, 1350885788, 1350885518, 1350885376, 1350885910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16652774810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:17:32.932627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/03/image_09042025_21_03_46_9400.jpg', '/home/pi/Desktop/images/09042025/21/03/image_09042025_21_03_56_10419.jpg', '/home/pi/Desktop/images/09042025/21/03/image_09042025_21_04_06_9364.jpg', '/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_16_10367.jpg', '/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_26_10364.jpg', '/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_36_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/03/image_09042025_21_03_46_9400.jpg
/home/pi/Desktop/images/09042025/21/03/image_09042025_21_03_56_10419.jpg
/home/pi/Desktop/images/09042025/21/03/image_09042025_21_04_06_9364.jpg
/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_16_10367.jpg
/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_26_10364.jpg
/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_36_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":["1350886431","1350886466","1350886601","1350886703","1350886645","1350886782"],"photo_ids_order":["1350886431","1350886466","1350886601","1350886645","1350886703","1350886782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c787eb195f22715eac4f5c5bfb5316c2.jpg","text":"TemporaryFile(/tmp/multipartBody9184911846086999160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229913399,"filename":"image_09042025_21_03_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/4/9/afd241237fba26a65a22eb5b5ae361b6.jpg","text":"TemporaryFile(/tmp/multipartBody438339486411371328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229913399,"filename":"image_09042025_21_03_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/4/9/b139dddc989bc8f9ac020a26e140a2f1.jpg","text":"TemporaryFile(/tmp/multipartBody1810938492113041627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229913399,"filename":"image_09042025_21_04_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/4/9/c9945d5c7caa9f230701704ad71f0bca.jpg","text":"TemporaryFile(/tmp/multipartBody5836222805573045379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229913399,"filename":"image_09042025_21_04_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/4/9/4aa2140fcfb54ff9974002fbac8e77fc.jpg","text":"TemporaryFile(/tmp/multipartBody4578118411209517398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229913399,"filename":"image_09042025_21_04_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0180ba722c65e24529988e2a8d7edb23.jpg","text":"TemporaryFile(/tmp/multipartBody5962870689714546672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229913399,"filename":"image_09042025_21_04_36_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350886601","file1":"1350886466","file0":"1350886431","file4":"1350886703","file5":"1350886782","file3":"1350886645"},"map_files_photo_id_array":[{"photo_id":"1350886782","filename":"file5"},{"photo_id":"1350886601","filename":"file2"},{"photo_id":"1350886703","filename":"file4"},{"photo_id":"1350886466","filename":"file1"},{"photo_id":"1350886431","filename":"file0"},{"photo_id":"1350886645","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350886431":["hashtag1","hashtag2"]},{"1350886466":["hashtag1","hashtag2"]},{"1350886601":["hashtag1","hashtag2"]},{"1350886703":["hashtag1","hashtag2"]},{"1350886645":["hashtag1","hashtag2"]},{"1350886782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350886431, 1350886466, 1350886601, 1350886703, 1350886645, 1350886782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58472180366516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:18:32.229645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_57_10375.jpg', '/home/pi/Desktop/images/09042025/21/04/image_09042025_21_05_06_9374.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_16_10408.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_26_9378.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_36_10376.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_57_10375.jpg
/home/pi/Desktop/images/09042025/21/04/image_09042025_21_05_06_9374.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_16_10408.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_26_9378.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_36_10376.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_46_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3833622932434082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 22:18:42.211321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_57_10375.jpg', '/home/pi/Desktop/images/09042025/21/04/image_09042025_21_05_06_9374.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_16_10408.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_26_9378.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_36_10376.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/04/image_09042025_21_04_57_10375.jpg
/home/pi/Desktop/images/09042025/21/04/image_09042025_21_05_06_9374.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_16_10408.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_26_9378.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_36_10376.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_46_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":["1350887279","1350887159","1350887383","1350887335","1350887436","1350887217"],"photo_ids_order":["1350887159","1350887217","1350887279","1350887335","1350887383","1350887436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/948f3372bea5893f7f8800698390c143.jpg","text":"TemporaryFile(/tmp/multipartBody7161715990418005815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229982683,"filename":"image_09042025_21_05_16_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8729de61fa5ea07cfbca91e50d5a1f6.jpg","text":"TemporaryFile(/tmp/multipartBody5697629891499540344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229982683,"filename":"image_09042025_21_04_57_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7cfe44f6ca1e9ed72b678846b0648831.jpg","text":"TemporaryFile(/tmp/multipartBody7613594756076085565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229982683,"filename":"image_09042025_21_05_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e439007577a4fca4ef75040d573dbfd.jpg","text":"TemporaryFile(/tmp/multipartBody1328873867932340077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229982683,"filename":"image_09042025_21_05_26_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/83005aafc514c315f40b620ec49c43d3.jpg","text":"TemporaryFile(/tmp/multipartBody4349119449843689433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229982683,"filename":"image_09042025_21_05_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/4/9/b15fcafeab2f35cc374a134c6e7a08f0.jpg","text":"TemporaryFile(/tmp/multipartBody3576960960520469853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744229982683,"filename":"image_09042025_21_05_06_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350887279","file1":"1350887217","file0":"1350887159","file4":"1350887383","file5":"1350887436","file3":"1350887335"},"map_files_photo_id_array":[{"photo_id":"1350887436","filename":"file5"},{"photo_id":"1350887279","filename":"file2"},{"photo_id":"1350887383","filename":"file4"},{"photo_id":"1350887217","filename":"file1"},{"photo_id":"1350887159","filename":"file0"},{"photo_id":"1350887335","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350887279":["hashtag1","hashtag2"]},{"1350887159":["hashtag1","hashtag2"]},{"1350887383":["hashtag1","hashtag2"]},{"1350887335":["hashtag1","hashtag2"]},{"1350887436":["hashtag1","hashtag2"]},{"1350887217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350887279, 1350887159, 1350887383, 1350887335, 1350887436, 1350887217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94579458236694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:19:32.415966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_56_9351.jpg', '/home/pi/Desktop/images/09042025/21/05/image_09042025_21_06_06_10379.jpg', '/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_17_10373.jpg', '/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_26_9375.jpg', '/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_36_10401.jpg', '/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_46_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_05_56_9351.jpg
/home/pi/Desktop/images/09042025/21/05/image_09042025_21_06_06_10379.jpg
/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_17_10373.jpg
/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_26_9375.jpg
/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_36_10401.jpg
/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_46_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":["1350888139","1350887662","1350887743","1350887982","1350888083","1350887832"],"photo_ids_order":["1350887662","1350887743","1350887832","1350887982","1350888083","1350888139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0360428975ec8d37e9b5e50155487115.jpg","text":"TemporaryFile(/tmp/multipartBody4918668580822123914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230032877,"filename":"image_09042025_21_06_46_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49669c1f85395c06134e4e7c25c2bcd4.jpg","text":"TemporaryFile(/tmp/multipartBody1682524573214296762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230032877,"filename":"image_09042025_21_05_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39be777b1002d18dc465dcdc3681dd94.jpg","text":"TemporaryFile(/tmp/multipartBody1878203332093708878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230032877,"filename":"image_09042025_21_06_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c5705ca771779d5d79253de577fa67bf.jpg","text":"TemporaryFile(/tmp/multipartBody6027070285828515024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230032877,"filename":"image_09042025_21_06_26_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3374dfa29f4d897d4667dee44c723675.jpg","text":"TemporaryFile(/tmp/multipartBody5654011101882801163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230032877,"filename":"image_09042025_21_06_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/4/9/5bebacdce649f79a9defb5dfe0f06dc1.jpg","text":"TemporaryFile(/tmp/multipartBody8006717253902368965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230032877,"filename":"image_09042025_21_06_17_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350887832","file1":"1350887743","file0":"1350887662","file4":"1350888083","file5":"1350888139","file3":"1350887982"},"map_files_photo_id_array":[{"photo_id":"1350888139","filename":"file5"},{"photo_id":"1350887832","filename":"file2"},{"photo_id":"1350888083","filename":"file4"},{"photo_id":"1350887743","filename":"file1"},{"photo_id":"1350887662","filename":"file0"},{"photo_id":"1350887982","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350888139":["hashtag1","hashtag2"]},{"1350887662":["hashtag1","hashtag2"]},{"1350887743":["hashtag1","hashtag2"]},{"1350887982":["hashtag1","hashtag2"]},{"1350888083":["hashtag1","hashtag2"]},{"1350887832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350888139, 1350887662, 1350887743, 1350887982, 1350888083, 1350887832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.448055267333984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:20:32.699321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_56_10367.jpg', '/home/pi/Desktop/images/09042025/21/06/image_09042025_21_07_06_10367.jpg', '/home/pi/Desktop/images/09042025/21/07/image_09042025_21_07_16_9346.jpg', '/home/pi/Desktop/images/09042025/21/07/image_09042025_21_07_37_10371.jpg', '/home/pi/Desktop/images/09042025/21/07/image_09042025_21_07_46_9366.jpg', '/home/pi/Desktop/images/09042025/21/07/image_09042025_21_07_56_10498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/06/image_09042025_21_06_56_10367.jpg
/home/pi/Desktop/images/09042025/21/06/image_09042025_21_07_06_10367.jpg
/home/pi/Desktop/images/09042025/21/07/image_09042025_21_07_16_9346.jpg
/home/pi/Desktop/images/09042025/21/07/image_09042025_21_07_37_10371.jpg
/home/pi/Desktop/images/09042025/21/07/image_09042025_21_07_46_9366.jpg
/home/pi/Desktop/images/09042025/21/07/image_09042025_21_07_56_10498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350888710","1350888781","1350888670","1350888958","1350888727","1350888610"],"photo_ids_order":["1350888610","1350888670","1350888710","1350888727","1350888781","1350888958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ddfceffd01c0124121bb6dcfb7f4f195.jpg","text":"TemporaryFile(/tmp/multipartBody3368862389690067801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230093169,"filename":"image_09042025_21_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/4/9/abac973c420202a303fe19a15d640e3c.jpg","text":"TemporaryFile(/tmp/multipartBody4168733989216173276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230093169,"filename":"image_09042025_21_07_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3b61c6771eb14c71f1d010bdf445ed02.jpg","text":"TemporaryFile(/tmp/multipartBody2889610955093798883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230093169,"filename":"image_09042025_21_07_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c876dc0ce0bf958b422808c2c9ec716.jpg","text":"TemporaryFile(/tmp/multipartBody4964940198844461397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230093169,"filename":"image_09042025_21_07_56_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a9d3d44f2d75853f0af37557d031298.jpg","text":"TemporaryFile(/tmp/multipartBody401376124466040770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230093169,"filename":"image_09042025_21_07_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d94023335e25b6937c5d8ed995de1ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3024529777651493093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230093169,"filename":"image_09042025_21_06_56_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350888710","file1":"1350888670","file0":"1350888610","file4":"1350888781","file5":"1350888958","file3":"1350888727"},"map_files_photo_id_array":[{"photo_id":"1350888958","filename":"file5"},{"photo_id":"1350888710","filename":"file2"},{"photo_id":"1350888781","filename":"file4"},{"photo_id":"1350888670","filename":"file1"},{"photo_id":"1350888610","filename":"file0"},{"photo_id":"1350888727","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350888710":["hashtag1","hashtag2"]},{"1350888781":["hashtag1","hashtag2"]},{"1350888670":["hashtag1","hashtag2"]},{"1350888958":["hashtag1","hashtag2"]},{"1350888727":["hashtag1","hashtag2"]},{"1350888610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350888710, 1350888781, 1350888670, 1350888958, 1350888727, 1350888610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.70433449745178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:21:32.960993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/07/image_09042025_21_08_06_9366.jpg', '/home/pi/Desktop/images/09042025/21/08/image_09042025_21_08_26_9445.jpg', '/home/pi/Desktop/images/09042025/21/08/image_09042025_21_08_46_10456.jpg', '/home/pi/Desktop/images/09042025/21/08/image_09042025_21_09_06_10361.jpg', '/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_17_10432.jpg', '/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_26_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/07/image_09042025_21_08_06_9366.jpg
/home/pi/Desktop/images/09042025/21/08/image_09042025_21_08_26_9445.jpg
/home/pi/Desktop/images/09042025/21/08/image_09042025_21_08_46_10456.jpg
/home/pi/Desktop/images/09042025/21/08/image_09042025_21_09_06_10361.jpg
/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_17_10432.jpg
/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_26_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":["1350889399","1350889273","1350889336","1350889475","1350889454","1350889214"],"photo_ids_order":["1350889214","1350889273","1350889336","1350889399","1350889454","1350889475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/53ea3e2cbff2517e102220add770f88b.jpg","text":"TemporaryFile(/tmp/multipartBody2527647937257393588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230153429,"filename":"image_09042025_21_09_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bce8a93d0820718a7b06d581e34873e7.jpg","text":"TemporaryFile(/tmp/multipartBody3054850971499775515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230153429,"filename":"image_09042025_21_08_26_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b69ff8a962287adc702adf0a9182bfe0.jpg","text":"TemporaryFile(/tmp/multipartBody7467565234599981876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230153429,"filename":"image_09042025_21_08_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/71ca835afcb992b999f1b3d5e4b91635.jpg","text":"TemporaryFile(/tmp/multipartBody6214183635316769141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230153429,"filename":"image_09042025_21_09_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ad4cd5e26bf9b9c78a120a3037c737f.jpg","text":"TemporaryFile(/tmp/multipartBody470963319209403013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230153429,"filename":"image_09042025_21_09_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/4/9/eb3612e35675bda7c7c34eedd9650ef3.jpg","text":"TemporaryFile(/tmp/multipartBody581207338136328685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230153429,"filename":"image_09042025_21_08_06_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350889336","file1":"1350889273","file0":"1350889214","file4":"1350889454","file5":"1350889475","file3":"1350889399"},"map_files_photo_id_array":[{"photo_id":"1350889475","filename":"file5"},{"photo_id":"1350889336","filename":"file2"},{"photo_id":"1350889454","filename":"file4"},{"photo_id":"1350889273","filename":"file1"},{"photo_id":"1350889214","filename":"file0"},{"photo_id":"1350889399","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350889399":["hashtag1","hashtag2"]},{"1350889273":["hashtag1","hashtag2"]},{"1350889336":["hashtag1","hashtag2"]},{"1350889475":["hashtag1","hashtag2"]},{"1350889454":["hashtag1","hashtag2"]},{"1350889214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350889399, 1350889273, 1350889336, 1350889475, 1350889454, 1350889214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11851978302002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:22:33.209253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_36_10490.jpg', '/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_46_9352.jpg', '/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_56_10358.jpg', '/home/pi/Desktop/images/09042025/21/09/image_09042025_21_10_06_10369.jpg', '/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_16_9349.jpg', '/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_26_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_36_10490.jpg
/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_46_9352.jpg
/home/pi/Desktop/images/09042025/21/09/image_09042025_21_09_56_10358.jpg
/home/pi/Desktop/images/09042025/21/09/image_09042025_21_10_06_10369.jpg
/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_16_9349.jpg
/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_26_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350890144","1350890003","1350889848","1350890061","1350889898","1350889961"],"photo_ids_order":["1350889848","1350889898","1350889961","1350890003","1350890061","1350890144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77a685c8ce02e253ef6504b08216f26f.jpg","text":"TemporaryFile(/tmp/multipartBody7699385318184320259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230213697,"filename":"image_09042025_21_10_26_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/67a3af973d916b98eca74c14b3c64ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8794028341037606944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230213697,"filename":"image_09042025_21_10_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/53de6c90e73a1f0994b81cedc85d18ef.jpg","text":"TemporaryFile(/tmp/multipartBody2305000515170477041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230213697,"filename":"image_09042025_21_09_36_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2558ce65bc6e7cdece15c42a9abc0d75.jpg","text":"TemporaryFile(/tmp/multipartBody5752742315777581944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230213697,"filename":"image_09042025_21_10_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c2f8eb4878b4be74b5bdb996e897f72.jpg","text":"TemporaryFile(/tmp/multipartBody2708372115661059550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230213697,"filename":"image_09042025_21_09_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/4/9/b976e4af418893ecd729aea8ba30fa42.jpg","text":"TemporaryFile(/tmp/multipartBody7037808606790368319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230213697,"filename":"image_09042025_21_09_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350889961","file1":"1350889898","file0":"1350889848","file4":"1350890061","file5":"1350890144","file3":"1350890003"},"map_files_photo_id_array":[{"photo_id":"1350890144","filename":"file5"},{"photo_id":"1350889961","filename":"file2"},{"photo_id":"1350890061","filename":"file4"},{"photo_id":"1350889898","filename":"file1"},{"photo_id":"1350889848","filename":"file0"},{"photo_id":"1350890003","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350890144":["hashtag1","hashtag2"]},{"1350890003":["hashtag1","hashtag2"]},{"1350889848":["hashtag1","hashtag2"]},{"1350890061":["hashtag1","hashtag2"]},{"1350889898":["hashtag1","hashtag2"]},{"1350889961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350890144, 1350890003, 1350889848, 1350890061, 1350889898, 1350889961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.74727964401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:23:32.351931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_36_9391.jpg', '/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_46_10455.jpg', '/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_56_9424.jpg', '/home/pi/Desktop/images/09042025/21/10/image_09042025_21_11_06_10397.jpg', '/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_16_10372.jpg', '/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_26_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_36_9391.jpg
/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_46_10455.jpg
/home/pi/Desktop/images/09042025/21/10/image_09042025_21_10_56_9424.jpg
/home/pi/Desktop/images/09042025/21/10/image_09042025_21_11_06_10397.jpg
/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_16_10372.jpg
/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_26_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":["1350890534","1350890422","1350890577","1350890823","1350890495","1350890735"],"photo_ids_order":["1350890422","1350890495","1350890534","1350890577","1350890735","1350890823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cc805282de23082156c2d312347f6205.jpg","text":"TemporaryFile(/tmp/multipartBody6620066131060470385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230272818,"filename":"image_09042025_21_10_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8a3c939dc10dc7464c7ab98d937e4838.jpg","text":"TemporaryFile(/tmp/multipartBody1810659271623397387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230272818,"filename":"image_09042025_21_10_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/4/9/1b709ca8ce6cce83d2a0b752d7f7fec5.jpg","text":"TemporaryFile(/tmp/multipartBody801538192539350901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230272818,"filename":"image_09042025_21_11_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e3dc319736325decf69eeb2c804e1ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3279667979146995575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230272818,"filename":"image_09042025_21_11_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6879459116992ad6eaf0904c351937f3.jpg","text":"TemporaryFile(/tmp/multipartBody3910549243627625836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230272818,"filename":"image_09042025_21_10_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/4/9/408ec408f4b976e4d456350b0e115dc6.jpg","text":"TemporaryFile(/tmp/multipartBody7208867668014136865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230272818,"filename":"image_09042025_21_11_16_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350890534","file1":"1350890495","file0":"1350890422","file4":"1350890735","file5":"1350890823","file3":"1350890577"},"map_files_photo_id_array":[{"photo_id":"1350890823","filename":"file5"},{"photo_id":"1350890534","filename":"file2"},{"photo_id":"1350890735","filename":"file4"},{"photo_id":"1350890495","filename":"file1"},{"photo_id":"1350890422","filename":"file0"},{"photo_id":"1350890577","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350890534":["hashtag1","hashtag2"]},{"1350890422":["hashtag1","hashtag2"]},{"1350890577":["hashtag1","hashtag2"]},{"1350890823":["hashtag1","hashtag2"]},{"1350890495":["hashtag1","hashtag2"]},{"1350890735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350890534, 1350890422, 1350890577, 1350890823, 1350890495, 1350890735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9038360118866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:24:32.556744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_36_10360.jpg', '/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_47_10391.jpg', '/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_56_9425.jpg', '/home/pi/Desktop/images/09042025/21/11/image_09042025_21_12_06_10399.jpg', '/home/pi/Desktop/images/09042025/21/12/image_09042025_21_12_16_9446.jpg', '/home/pi/Desktop/images/09042025/21/12/image_09042025_21_12_26_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_36_10360.jpg
/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_47_10391.jpg
/home/pi/Desktop/images/09042025/21/11/image_09042025_21_11_56_9425.jpg
/home/pi/Desktop/images/09042025/21/11/image_09042025_21_12_06_10399.jpg
/home/pi/Desktop/images/09042025/21/12/image_09042025_21_12_16_9446.jpg
/home/pi/Desktop/images/09042025/21/12/image_09042025_21_12_26_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":["1350891625","1350891628","1350891409","1350891540","1350891464","1350891370"],"photo_ids_order":["1350891370","1350891409","1350891464","1350891540","1350891625","1350891628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ab49a8b2bb382efed79289bcdcb28e07.jpg","text":"TemporaryFile(/tmp/multipartBody3835790757895976827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230333022,"filename":"image_09042025_21_12_16_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c86b4bac25b7bc022a2b9ebe0d94e66e.jpg","text":"TemporaryFile(/tmp/multipartBody8924700746081832233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230333022,"filename":"image_09042025_21_12_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/4/9/c894ca883d54d353995c58406e2157f1.jpg","text":"TemporaryFile(/tmp/multipartBody1238555786930402469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230333022,"filename":"image_09042025_21_11_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/4/9/fffe87d3fe3c62592d7ecae7a00e981b.jpg","text":"TemporaryFile(/tmp/multipartBody4194762529079285415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230333022,"filename":"image_09042025_21_12_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a1332d9e5cebd801d7de89416aaaf34.jpg","text":"TemporaryFile(/tmp/multipartBody4249434987881323240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230333022,"filename":"image_09042025_21_11_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/4/9/8fc7c7a61df0dca102b8d9ff790aa469.jpg","text":"TemporaryFile(/tmp/multipartBody356129468067366156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230333022,"filename":"image_09042025_21_11_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350891464","file1":"1350891409","file0":"1350891370","file4":"1350891625","file5":"1350891628","file3":"1350891540"},"map_files_photo_id_array":[{"photo_id":"1350891628","filename":"file5"},{"photo_id":"1350891464","filename":"file2"},{"photo_id":"1350891625","filename":"file4"},{"photo_id":"1350891409","filename":"file1"},{"photo_id":"1350891370","filename":"file0"},{"photo_id":"1350891540","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350891625":["hashtag1","hashtag2"]},{"1350891628":["hashtag1","hashtag2"]},{"1350891409":["hashtag1","hashtag2"]},{"1350891540":["hashtag1","hashtag2"]},{"1350891464":["hashtag1","hashtag2"]},{"1350891370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350891625, 1350891628, 1350891409, 1350891540, 1350891464, 1350891370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98793983459473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:25:32.759058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/12/image_09042025_21_12_36_9461.jpg', '/home/pi/Desktop/images/09042025/21/12/image_09042025_21_12_46_10385.jpg', '/home/pi/Desktop/images/09042025/21/12/image_09042025_21_13_06_9360.jpg', '/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_16_10440.jpg', '/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_26_9464.jpg', '/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_36_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/12/image_09042025_21_12_36_9461.jpg
/home/pi/Desktop/images/09042025/21/12/image_09042025_21_12_46_10385.jpg
/home/pi/Desktop/images/09042025/21/12/image_09042025_21_13_06_9360.jpg
/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_16_10440.jpg
/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_26_9464.jpg
/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_36_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":["1350892045","1350891976","1350892194","1350892245","1350892292","1350892104"],"photo_ids_order":["1350891976","1350892045","1350892104","1350892194","1350892245","1350892292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c1e2ea426c8b91e572c3d6609558b291.jpg","text":"TemporaryFile(/tmp/multipartBody3783397595682980203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230393220,"filename":"image_09042025_21_12_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/4/9/e59cc74bcec212acab5cb9494114f921.jpg","text":"TemporaryFile(/tmp/multipartBody2133721566970617654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230393220,"filename":"image_09042025_21_12_36_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4093d5a03c10026aab0c2e08c3d975df.jpg","text":"TemporaryFile(/tmp/multipartBody3761132930455301589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230393220,"filename":"image_09042025_21_13_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/4/9/e5177e076a891058d93d5d9e963d549a.jpg","text":"TemporaryFile(/tmp/multipartBody1791874954196544516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230393220,"filename":"image_09042025_21_13_26_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28660c7d69ba1089f7bfdd13608f5c51.jpg","text":"TemporaryFile(/tmp/multipartBody313399429629800341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230393220,"filename":"image_09042025_21_13_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/4/9/22edfc7ea288a6240a4b8f681e1bfc86.jpg","text":"TemporaryFile(/tmp/multipartBody365062248389396144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230393220,"filename":"image_09042025_21_13_06_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350892104","file1":"1350892045","file0":"1350891976","file4":"1350892245","file5":"1350892292","file3":"1350892194"},"map_files_photo_id_array":[{"photo_id":"1350892292","filename":"file5"},{"photo_id":"1350892104","filename":"file2"},{"photo_id":"1350892245","filename":"file4"},{"photo_id":"1350892045","filename":"file1"},{"photo_id":"1350891976","filename":"file0"},{"photo_id":"1350892194","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350892045":["hashtag1","hashtag2"]},{"1350891976":["hashtag1","hashtag2"]},{"1350892194":["hashtag1","hashtag2"]},{"1350892245":["hashtag1","hashtag2"]},{"1350892292":["hashtag1","hashtag2"]},{"1350892104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350892045, 1350891976, 1350892194, 1350892245, 1350892292, 1350892104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7554132938385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:26:33.248469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_47_10487.jpg', '/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_56_9354.jpg', '/home/pi/Desktop/images/09042025/21/13/image_09042025_21_14_06_10431.jpg', '/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_16_9362.jpg', '/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_26_10440.jpg', '/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_36_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_47_10487.jpg
/home/pi/Desktop/images/09042025/21/13/image_09042025_21_13_56_9354.jpg
/home/pi/Desktop/images/09042025/21/13/image_09042025_21_14_06_10431.jpg
/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_16_9362.jpg
/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_26_10440.jpg
/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_36_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350892501","1350892572","1350892598","1350892454","1350892538","1350892477"],"photo_ids_order":["1350892454","1350892477","1350892501","1350892538","1350892572","1350892598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8fe846e02cdc563a9b6c24a1606cd97.jpg","text":"TemporaryFile(/tmp/multipartBody4682909755499101660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230453715,"filename":"image_09042025_21_14_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1729f969964123647a108858ee8bd0b.jpg","text":"TemporaryFile(/tmp/multipartBody8772414811101155412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230453715,"filename":"image_09042025_21_14_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4f06e639b790186969e516d6795f8bd0.jpg","text":"TemporaryFile(/tmp/multipartBody8288683208482565286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230453715,"filename":"image_09042025_21_14_36_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/41e0759919aeb54079a27a9aa5c47e76.jpg","text":"TemporaryFile(/tmp/multipartBody8428917115808913934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230453715,"filename":"image_09042025_21_13_47_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8e9ba95a993314991ef2f903ce60226.jpg","text":"TemporaryFile(/tmp/multipartBody8684637880383369216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230453715,"filename":"image_09042025_21_14_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e58385063ef0a14b7352abfc92a6f20f.jpg","text":"TemporaryFile(/tmp/multipartBody4649192915190970774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230453715,"filename":"image_09042025_21_13_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350892501","file1":"1350892477","file0":"1350892454","file4":"1350892572","file5":"1350892598","file3":"1350892538"},"map_files_photo_id_array":[{"photo_id":"1350892598","filename":"file5"},{"photo_id":"1350892501","filename":"file2"},{"photo_id":"1350892572","filename":"file4"},{"photo_id":"1350892477","filename":"file1"},{"photo_id":"1350892454","filename":"file0"},{"photo_id":"1350892538","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350892501":["hashtag1","hashtag2"]},{"1350892572":["hashtag1","hashtag2"]},{"1350892598":["hashtag1","hashtag2"]},{"1350892454":["hashtag1","hashtag2"]},{"1350892538":["hashtag1","hashtag2"]},{"1350892477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350892501, 1350892572, 1350892598, 1350892454, 1350892538, 1350892477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.938647985458374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:27:32.599122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_46_10352.jpg', '/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_56_10504.jpg', '/home/pi/Desktop/images/09042025/21/14/image_09042025_21_15_06_9353.jpg', '/home/pi/Desktop/images/09042025/21/15/image_09042025_21_15_16_10356.jpg', '/home/pi/Desktop/images/09042025/21/15/image_09042025_21_15_26_9437.jpg', '/home/pi/Desktop/images/09042025/21/15/image_09042025_21_15_46_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_46_10352.jpg
/home/pi/Desktop/images/09042025/21/14/image_09042025_21_14_56_10504.jpg
/home/pi/Desktop/images/09042025/21/14/image_09042025_21_15_06_9353.jpg
/home/pi/Desktop/images/09042025/21/15/image_09042025_21_15_16_10356.jpg
/home/pi/Desktop/images/09042025/21/15/image_09042025_21_15_26_9437.jpg
/home/pi/Desktop/images/09042025/21/15/image_09042025_21_15_46_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":["1350892974","1350892892","1350892818","1350892934","1350893006","1350892745"],"photo_ids_order":["1350892745","1350892818","1350892892","1350892934","1350892974","1350893006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/50307eb7d74d61bfba746ff2dd0f57b3.jpg","text":"TemporaryFile(/tmp/multipartBody7866213019316179970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230513072,"filename":"image_09042025_21_15_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/4/9/37e249155b1712874210fe6c09092780.jpg","text":"TemporaryFile(/tmp/multipartBody5812464894160854003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230513072,"filename":"image_09042025_21_15_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/57e6d38d6d88011638cc58fd6849648e.jpg","text":"TemporaryFile(/tmp/multipartBody7088858044767006468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230513072,"filename":"image_09042025_21_14_56_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cdc31f7bcd9f7c6e301872d5b3e5c249.jpg","text":"TemporaryFile(/tmp/multipartBody4145011474607819721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230513072,"filename":"image_09042025_21_15_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/4/9/d070e8445cdd0e80ca63bf78b4df2de2.jpg","text":"TemporaryFile(/tmp/multipartBody5620457710550631891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230513072,"filename":"image_09042025_21_15_46_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0c197973a30fdbb578c44be5e5cf38d7.jpg","text":"TemporaryFile(/tmp/multipartBody6857019407448652895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230513072,"filename":"image_09042025_21_14_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350892892","file1":"1350892818","file0":"1350892745","file4":"1350892974","file5":"1350893006","file3":"1350892934"},"map_files_photo_id_array":[{"photo_id":"1350893006","filename":"file5"},{"photo_id":"1350892892","filename":"file2"},{"photo_id":"1350892974","filename":"file4"},{"photo_id":"1350892818","filename":"file1"},{"photo_id":"1350892745","filename":"file0"},{"photo_id":"1350892934","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350892974":["hashtag1","hashtag2"]},{"1350892892":["hashtag1","hashtag2"]},{"1350892818":["hashtag1","hashtag2"]},{"1350892934":["hashtag1","hashtag2"]},{"1350893006":["hashtag1","hashtag2"]},{"1350892745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350892974, 1350892892, 1350892818, 1350892934, 1350893006, 1350892745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18104290962219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:28:32.767820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/15/image_09042025_21_15_56_9362.jpg', '/home/pi/Desktop/images/09042025/21/15/image_09042025_21_16_06_10355.jpg', '/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_17_10378.jpg', '/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_26_9353.jpg', '/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_36_10484.jpg', '/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_46_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/15/image_09042025_21_15_56_9362.jpg
/home/pi/Desktop/images/09042025/21/15/image_09042025_21_16_06_10355.jpg
/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_17_10378.jpg
/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_26_9353.jpg
/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_36_10484.jpg
/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_46_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350893829","1350893765","1350893698","1350893599","1350893653","1350893548"],"photo_ids_order":["1350893548","1350893599","1350893653","1350893698","1350893765","1350893829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d8ecc72d5814868b899581bbf0a3c151.jpg","text":"TemporaryFile(/tmp/multipartBody1674696686538891339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230573263,"filename":"image_09042025_21_16_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/01db4b8746454b1c16a3eb9a1988dafd.jpg","text":"TemporaryFile(/tmp/multipartBody960929769092624479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230573263,"filename":"image_09042025_21_16_36_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5744007d323a73fdab67a0c42ca2264e.jpg","text":"TemporaryFile(/tmp/multipartBody3039158420963289533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230573263,"filename":"image_09042025_21_16_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cfa9073b2ebd18ff45036c6f5072231f.jpg","text":"TemporaryFile(/tmp/multipartBody2199204033035229038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230573263,"filename":"image_09042025_21_16_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f83aa788830dd29f5e2b29bd9c991a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5455436252458728009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230573263,"filename":"image_09042025_21_16_17_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d454204ff5f1931c8eaf4f621a74d3b2.jpg","text":"TemporaryFile(/tmp/multipartBody4570479299483086651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230573263,"filename":"image_09042025_21_15_56_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350893653","file1":"1350893599","file0":"1350893548","file4":"1350893765","file5":"1350893829","file3":"1350893698"},"map_files_photo_id_array":[{"photo_id":"1350893829","filename":"file5"},{"photo_id":"1350893653","filename":"file2"},{"photo_id":"1350893765","filename":"file4"},{"photo_id":"1350893599","filename":"file1"},{"photo_id":"1350893548","filename":"file0"},{"photo_id":"1350893698","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350893829":["hashtag1","hashtag2"]},{"1350893765":["hashtag1","hashtag2"]},{"1350893698":["hashtag1","hashtag2"]},{"1350893599":["hashtag1","hashtag2"]},{"1350893653":["hashtag1","hashtag2"]},{"1350893548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350893829, 1350893765, 1350893698, 1350893599, 1350893653, 1350893548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.280656576156616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:29:33.057286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_56_10365.jpg', '/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_16_9354.jpg', '/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_26_10539.jpg', '/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_36_9379.jpg', '/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_46_10364.jpg', '/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_56_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/16/image_09042025_21_16_56_10365.jpg
/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_16_9354.jpg
/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_26_10539.jpg
/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_36_9379.jpg
/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_46_10364.jpg
/home/pi/Desktop/images/09042025/21/17/image_09042025_21_17_56_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350894353","1350894623","1350894778","1350894387","1350894846","1350894540"],"photo_ids_order":["1350894353","1350894387","1350894540","1350894623","1350894778","1350894846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a32de8eb8bafee799da151f1936f9d80.jpg","text":"TemporaryFile(/tmp/multipartBody4969221164889552216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230633520,"filename":"image_09042025_21_16_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5bc3f550e0806532f70a22aa84b93820.jpg","text":"TemporaryFile(/tmp/multipartBody7563387045837295337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230633520,"filename":"image_09042025_21_17_36_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2755794f0a69e7257ba6de0b7f5debd3.jpg","text":"TemporaryFile(/tmp/multipartBody1900900054843544807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230633520,"filename":"image_09042025_21_17_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3fa88d08109a3ca7765207c7b4b22929.jpg","text":"TemporaryFile(/tmp/multipartBody5872487468789863989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230633520,"filename":"image_09042025_21_17_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f8eb7b34d834659f1a8eb135acaee2f5.jpg","text":"TemporaryFile(/tmp/multipartBody7420916373751701747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230633520,"filename":"image_09042025_21_17_56_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5990a31d0399e94b9d86f9f06d20298c.jpg","text":"TemporaryFile(/tmp/multipartBody2250018276387958524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230633520,"filename":"image_09042025_21_17_26_10539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350894540","file1":"1350894387","file0":"1350894353","file4":"1350894778","file5":"1350894846","file3":"1350894623"},"map_files_photo_id_array":[{"photo_id":"1350894846","filename":"file5"},{"photo_id":"1350894540","filename":"file2"},{"photo_id":"1350894778","filename":"file4"},{"photo_id":"1350894387","filename":"file1"},{"photo_id":"1350894353","filename":"file0"},{"photo_id":"1350894623","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350894353":["hashtag1","hashtag2"]},{"1350894623":["hashtag1","hashtag2"]},{"1350894778":["hashtag1","hashtag2"]},{"1350894387":["hashtag1","hashtag2"]},{"1350894846":["hashtag1","hashtag2"]},{"1350894540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350894353, 1350894623, 1350894778, 1350894387, 1350894846, 1350894540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.93353843688965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:30:32.319630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_16_9467.jpg', '/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_26_10385.jpg', '/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_36_10393.jpg', '/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_46_9378.jpg', '/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_56_10412.jpg', '/home/pi/Desktop/images/09042025/21/18/image_09042025_21_19_07_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_16_9467.jpg
/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_26_10385.jpg
/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_36_10393.jpg
/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_46_9378.jpg
/home/pi/Desktop/images/09042025/21/18/image_09042025_21_18_56_10412.jpg
/home/pi/Desktop/images/09042025/21/18/image_09042025_21_19_07_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":["1350895340","1350895277","1350895564","1350895618","1350895519","1350895447"],"photo_ids_order":["1350895277","1350895340","1350895447","1350895519","1350895564","1350895618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1fb2e7984766cdda8223e15b15f1af19.jpg","text":"TemporaryFile(/tmp/multipartBody1652122605182677802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230692785,"filename":"image_09042025_21_18_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/4/9/b11926c55106f11a48820541e9b9be0c.jpg","text":"TemporaryFile(/tmp/multipartBody9218458009308967711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230692785,"filename":"image_09042025_21_18_16_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df9f2ba0146d81367f58ca6213212b25.jpg","text":"TemporaryFile(/tmp/multipartBody5034059940960643016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230692785,"filename":"image_09042025_21_18_56_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4d580f94cd411dd1d54a996e6b093c29.jpg","text":"TemporaryFile(/tmp/multipartBody2875944419316061716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230692785,"filename":"image_09042025_21_19_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/4/9/8a5c6e893b78bb9501e72956e973572c.jpg","text":"TemporaryFile(/tmp/multipartBody7108866069242954450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230692785,"filename":"image_09042025_21_18_46_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a2a16a54c699d87c7dd30761a8cf437.jpg","text":"TemporaryFile(/tmp/multipartBody4603334630015798013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230692785,"filename":"image_09042025_21_18_36_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350895447","file1":"1350895340","file0":"1350895277","file4":"1350895564","file5":"1350895618","file3":"1350895519"},"map_files_photo_id_array":[{"photo_id":"1350895618","filename":"file5"},{"photo_id":"1350895447","filename":"file2"},{"photo_id":"1350895564","filename":"file4"},{"photo_id":"1350895340","filename":"file1"},{"photo_id":"1350895277","filename":"file0"},{"photo_id":"1350895519","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350895340":["hashtag1","hashtag2"]},{"1350895277":["hashtag1","hashtag2"]},{"1350895564":["hashtag1","hashtag2"]},{"1350895618":["hashtag1","hashtag2"]},{"1350895519":["hashtag1","hashtag2"]},{"1350895447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350895340, 1350895277, 1350895564, 1350895618, 1350895519, 1350895447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1447331905365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:31:32.440243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_16_9367.jpg', '/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_26_10498.jpg', '/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_36_9351.jpg', '/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_46_10359.jpg', '/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_56_9478.jpg', '/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_16_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_16_9367.jpg
/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_26_10498.jpg
/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_36_9351.jpg
/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_46_10359.jpg
/home/pi/Desktop/images/09042025/21/19/image_09042025_21_19_56_9478.jpg
/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_16_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":["1350896344","1350896496","1350896200","1350896265","1350896409","1350896456"],"photo_ids_order":["1350896200","1350896265","1350896344","1350896409","1350896456","1350896496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a70316a473da7b69f412514d463b4f4.jpg","text":"TemporaryFile(/tmp/multipartBody7712191497985642446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230752927,"filename":"image_09042025_21_19_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/4/9/1ca498ea60fc88169d1e6555ffdac897.jpg","text":"TemporaryFile(/tmp/multipartBody4468051956268277191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230752927,"filename":"image_09042025_21_20_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/4/9/42eca21f88d126810b6e94a0ce20e151.jpg","text":"TemporaryFile(/tmp/multipartBody9223231999015642619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230752927,"filename":"image_09042025_21_19_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/4/9/0bba5661a27376706043384468195b88.jpg","text":"TemporaryFile(/tmp/multipartBody6178293418597145416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230752927,"filename":"image_09042025_21_19_26_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5446dac10a4efcdd253f7ae5d554447f.jpg","text":"TemporaryFile(/tmp/multipartBody985795325424933193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230752927,"filename":"image_09042025_21_19_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/4/9/54c3eff133bbf7561fea8a562db0d28f.jpg","text":"TemporaryFile(/tmp/multipartBody1550864654813554684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230752927,"filename":"image_09042025_21_19_56_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350896344","file1":"1350896265","file0":"1350896200","file4":"1350896456","file5":"1350896496","file3":"1350896409"},"map_files_photo_id_array":[{"photo_id":"1350896496","filename":"file5"},{"photo_id":"1350896344","filename":"file2"},{"photo_id":"1350896456","filename":"file4"},{"photo_id":"1350896265","filename":"file1"},{"photo_id":"1350896200","filename":"file0"},{"photo_id":"1350896409","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350896344":["hashtag1","hashtag2"]},{"1350896496":["hashtag1","hashtag2"]},{"1350896200":["hashtag1","hashtag2"]},{"1350896265":["hashtag1","hashtag2"]},{"1350896409":["hashtag1","hashtag2"]},{"1350896456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350896344, 1350896496, 1350896200, 1350896265, 1350896409, 1350896456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.099214553833008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:32:32.810255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_26_9367.jpg', '/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_36_10361.jpg', '/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_46_10386.jpg', '/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_56_9371.jpg', '/home/pi/Desktop/images/09042025/21/20/image_09042025_21_21_06_10345.jpg', '/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_16_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_26_9367.jpg
/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_36_10361.jpg
/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_46_10386.jpg
/home/pi/Desktop/images/09042025/21/20/image_09042025_21_20_56_9371.jpg
/home/pi/Desktop/images/09042025/21/20/image_09042025_21_21_06_10345.jpg
/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_16_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":["1350896918","1350897037","1350897066","1350896949","1350897000","1350896972"],"photo_ids_order":["1350896918","1350896949","1350896972","1350897000","1350897037","1350897066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/293a3634e32952de80d7646130533ee1.jpg","text":"TemporaryFile(/tmp/multipartBody298710132915387485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230813348,"filename":"image_09042025_21_20_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dcbab14a3b7d29e37771c473942db0da.jpg","text":"TemporaryFile(/tmp/multipartBody8930590956257971375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230813348,"filename":"image_09042025_21_21_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/4/9/4fa0bb0d4aebc2d38eefda687865e720.jpg","text":"TemporaryFile(/tmp/multipartBody5226474449999574949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230813348,"filename":"image_09042025_21_21_16_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a7d8761da3f23090345361fc93c7a9b.jpg","text":"TemporaryFile(/tmp/multipartBody8593970271715069482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230813348,"filename":"image_09042025_21_20_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/4/9/ca02d5210d12aed0713b5086c8e87060.jpg","text":"TemporaryFile(/tmp/multipartBody6575769629253269211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230813348,"filename":"image_09042025_21_20_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65b6188e15d2f991794746e8d2b8e86a.jpg","text":"TemporaryFile(/tmp/multipartBody727994294145008074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230813348,"filename":"image_09042025_21_20_46_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350896972","file1":"1350896949","file0":"1350896918","file4":"1350897037","file5":"1350897066","file3":"1350897000"},"map_files_photo_id_array":[{"photo_id":"1350897066","filename":"file5"},{"photo_id":"1350896972","filename":"file2"},{"photo_id":"1350897037","filename":"file4"},{"photo_id":"1350896949","filename":"file1"},{"photo_id":"1350896918","filename":"file0"},{"photo_id":"1350897000","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350896918":["hashtag1","hashtag2"]},{"1350897037":["hashtag1","hashtag2"]},{"1350897066":["hashtag1","hashtag2"]},{"1350896949":["hashtag1","hashtag2"]},{"1350897000":["hashtag1","hashtag2"]},{"1350896972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350896918, 1350897037, 1350897066, 1350896949, 1350897000, 1350896972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:33:33.054335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_26_10386.jpg', '/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_37_10491.jpg', '/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_46_9357.jpg', '/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_56_10520.jpg', '/home/pi/Desktop/images/09042025/21/21/image_09042025_21_22_06_9359.jpg', '/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_16_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_26_10386.jpg
/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_37_10491.jpg
/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_46_9357.jpg
/home/pi/Desktop/images/09042025/21/21/image_09042025_21_21_56_10520.jpg
/home/pi/Desktop/images/09042025/21/21/image_09042025_21_22_06_9359.jpg
/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_16_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":["1350897367","1350897393","1350897381","1350897348","1350897309","1350897287"],"photo_ids_order":["1350897287","1350897309","1350897348","1350897367","1350897381","1350897393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ceaec23ee74c4eeda65c4eea5003da37.jpg","text":"TemporaryFile(/tmp/multipartBody5126377401830511034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230873532,"filename":"image_09042025_21_21_56_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55156fecd5e082107f8205390e6af645.jpg","text":"TemporaryFile(/tmp/multipartBody4692267677984055284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230873532,"filename":"image_09042025_21_22_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/61de121d8379507e7f256f5c1503ea35.jpg","text":"TemporaryFile(/tmp/multipartBody7654445754352891078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230873532,"filename":"image_09042025_21_22_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/4/9/50abdf9c66ad9fee78de6e308a02e13b.jpg","text":"TemporaryFile(/tmp/multipartBody874847454178937912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230873532,"filename":"image_09042025_21_21_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d5105764ba945ed0c89d59d7cc20a92.jpg","text":"TemporaryFile(/tmp/multipartBody2930687254711582283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230873532,"filename":"image_09042025_21_21_37_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1b1d66baa4ee55e1b197ff47ff449013.jpg","text":"TemporaryFile(/tmp/multipartBody5599321166996276049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230873532,"filename":"image_09042025_21_21_26_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350897348","file1":"1350897309","file0":"1350897287","file4":"1350897381","file5":"1350897393","file3":"1350897367"},"map_files_photo_id_array":[{"photo_id":"1350897393","filename":"file5"},{"photo_id":"1350897348","filename":"file2"},{"photo_id":"1350897381","filename":"file4"},{"photo_id":"1350897309","filename":"file1"},{"photo_id":"1350897287","filename":"file0"},{"photo_id":"1350897367","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350897367":["hashtag1","hashtag2"]},{"1350897393":["hashtag1","hashtag2"]},{"1350897381":["hashtag1","hashtag2"]},{"1350897348":["hashtag1","hashtag2"]},{"1350897309":["hashtag1","hashtag2"]},{"1350897287":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350897367, 1350897393, 1350897381, 1350897348, 1350897309, 1350897287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.6816565990448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:34:33.198418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_26_9474.jpg', '/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_36_10361.jpg', '/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_46_10445.jpg', '/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_56_9450.jpg', '/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_06_10547.jpg', '/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_16_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_26_9474.jpg
/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_36_10361.jpg
/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_46_10445.jpg
/home/pi/Desktop/images/09042025/21/22/image_09042025_21_22_56_9450.jpg
/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_06_10547.jpg
/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_16_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":["1350897445","1350897469","1350897424","1350897432","1350897428","1350897422"],"photo_ids_order":["1350897422","1350897424","1350897428","1350897432","1350897445","1350897469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1ae73de88c9ae2dc717328ca9f14313b.jpg","text":"TemporaryFile(/tmp/multipartBody2204305869268860734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230933660,"filename":"image_09042025_21_23_06_10547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f531e82654863c926a842161bf7a60b9.jpg","text":"TemporaryFile(/tmp/multipartBody6470701819999026161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230933660,"filename":"image_09042025_21_23_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9a5def84740f8f3606fb2ea20cd8cbb.jpg","text":"TemporaryFile(/tmp/multipartBody8301993828461026633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230933660,"filename":"image_09042025_21_22_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/4/9/4200ab4058093692d3f141541cea2c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2712889293415224383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230933660,"filename":"image_09042025_21_22_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/4/9/89c0fccbf1504ebcdb5e1d7ebe5acd0c.jpg","text":"TemporaryFile(/tmp/multipartBody2058507101945310842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230933660,"filename":"image_09042025_21_22_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eaffd5ec2caaa18a428fb939312cd4f9.jpg","text":"TemporaryFile(/tmp/multipartBody7445894533447564073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230933660,"filename":"image_09042025_21_22_26_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350897428","file1":"1350897424","file0":"1350897422","file4":"1350897445","file5":"1350897469","file3":"1350897432"},"map_files_photo_id_array":[{"photo_id":"1350897469","filename":"file5"},{"photo_id":"1350897428","filename":"file2"},{"photo_id":"1350897445","filename":"file4"},{"photo_id":"1350897424","filename":"file1"},{"photo_id":"1350897422","filename":"file0"},{"photo_id":"1350897432","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350897445":["hashtag1","hashtag2"]},{"1350897469":["hashtag1","hashtag2"]},{"1350897424":["hashtag1","hashtag2"]},{"1350897432":["hashtag1","hashtag2"]},{"1350897428":["hashtag1","hashtag2"]},{"1350897422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350897445, 1350897469, 1350897424, 1350897432, 1350897428, 1350897422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60442328453064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:35:32.467203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_26_10384.jpg', '/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_36_9415.jpg', '/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_46_10370.jpg', '/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_56_10428.jpg', '/home/pi/Desktop/images/09042025/21/23/image_09042025_21_24_06_9395.jpg', '/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_16_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_26_10384.jpg
/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_36_9415.jpg
/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_46_10370.jpg
/home/pi/Desktop/images/09042025/21/23/image_09042025_21_23_56_10428.jpg
/home/pi/Desktop/images/09042025/21/23/image_09042025_21_24_06_9395.jpg
/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_16_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":["1350897649","1350897715","1350897735","1350897663","1350897627","1350897688"],"photo_ids_order":["1350897627","1350897649","1350897663","1350897688","1350897715","1350897735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6084f1366e15253079616e9852b88145.jpg","text":"TemporaryFile(/tmp/multipartBody8762840675817350967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230992938,"filename":"image_09042025_21_23_36_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/03688ad5685fb6c46fd5c6315e332d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8634453476321651151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230992938,"filename":"image_09042025_21_24_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/4/9/e6bec1853b59b7d3b5eeafef63e8d23e.jpg","text":"TemporaryFile(/tmp/multipartBody8700152639028871947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230992938,"filename":"image_09042025_21_24_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c0e98666cbf88e95db42dbc1b525b351.jpg","text":"TemporaryFile(/tmp/multipartBody407892911334199039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230992938,"filename":"image_09042025_21_23_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/4/9/8274f9334bb576be35fce635ec767b51.jpg","text":"TemporaryFile(/tmp/multipartBody5815329252052251868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230992938,"filename":"image_09042025_21_23_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/4/9/f35de94e7d786c8800bd9fac94243112.jpg","text":"TemporaryFile(/tmp/multipartBody5225249745764437823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744230992938,"filename":"image_09042025_21_23_56_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350897663","file1":"1350897649","file0":"1350897627","file4":"1350897715","file5":"1350897735","file3":"1350897688"},"map_files_photo_id_array":[{"photo_id":"1350897735","filename":"file5"},{"photo_id":"1350897663","filename":"file2"},{"photo_id":"1350897715","filename":"file4"},{"photo_id":"1350897649","filename":"file1"},{"photo_id":"1350897627","filename":"file0"},{"photo_id":"1350897688","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350897649":["hashtag1","hashtag2"]},{"1350897715":["hashtag1","hashtag2"]},{"1350897735":["hashtag1","hashtag2"]},{"1350897663":["hashtag1","hashtag2"]},{"1350897627":["hashtag1","hashtag2"]},{"1350897688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350897649, 1350897715, 1350897735, 1350897663, 1350897627, 1350897688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34041380882263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:36:32.911567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_27_10361.jpg', '/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_36_9379.jpg', '/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_46_10474.jpg', '/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_56_9340.jpg', '/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_17_10456.jpg', '/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_26_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_27_10361.jpg
/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_36_9379.jpg
/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_46_10474.jpg
/home/pi/Desktop/images/09042025/21/24/image_09042025_21_24_56_9340.jpg
/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_17_10456.jpg
/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_26_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350898632","1350898556","1350898328","1350898235","1350898495","1350898156"],"photo_ids_order":["1350898156","1350898235","1350898328","1350898495","1350898556","1350898632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a07ea5584cba352c33aa23650633ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4667229756946720180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231053389,"filename":"image_09042025_21_25_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1786e581e2d44ea2270e4fdcbf294514.jpg","text":"TemporaryFile(/tmp/multipartBody2713033477536028582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231053389,"filename":"image_09042025_21_25_17_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b63a98cd29f49be5008d56553767bc44.jpg","text":"TemporaryFile(/tmp/multipartBody7626902121936532875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231053389,"filename":"image_09042025_21_24_46_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08959207b1a1c99d2c2ac8c431d3dff1.jpg","text":"TemporaryFile(/tmp/multipartBody3890186123544109579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231053389,"filename":"image_09042025_21_24_36_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/624a52fbf266507f314ec96aa512180a.jpg","text":"TemporaryFile(/tmp/multipartBody4946897248438393392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231053389,"filename":"image_09042025_21_24_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/4/9/5c0874a7916e5b1f000b59f50688d418.jpg","text":"TemporaryFile(/tmp/multipartBody7832394768453202530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231053389,"filename":"image_09042025_21_24_27_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350898328","file1":"1350898235","file0":"1350898156","file4":"1350898556","file5":"1350898632","file3":"1350898495"},"map_files_photo_id_array":[{"photo_id":"1350898632","filename":"file5"},{"photo_id":"1350898328","filename":"file2"},{"photo_id":"1350898556","filename":"file4"},{"photo_id":"1350898235","filename":"file1"},{"photo_id":"1350898156","filename":"file0"},{"photo_id":"1350898495","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350898632":["hashtag1","hashtag2"]},{"1350898556":["hashtag1","hashtag2"]},{"1350898328":["hashtag1","hashtag2"]},{"1350898235":["hashtag1","hashtag2"]},{"1350898495":["hashtag1","hashtag2"]},{"1350898156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350898632, 1350898556, 1350898328, 1350898235, 1350898495, 1350898156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60598182678223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:37:33.106755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_36_10472.jpg', '/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_46_9359.jpg', '/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_56_10399.jpg', '/home/pi/Desktop/images/09042025/21/25/image_09042025_21_26_07_10436.jpg', '/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_16_9325.jpg', '/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_26_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_36_10472.jpg
/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_46_9359.jpg
/home/pi/Desktop/images/09042025/21/25/image_09042025_21_25_56_10399.jpg
/home/pi/Desktop/images/09042025/21/25/image_09042025_21_26_07_10436.jpg
/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_16_9325.jpg
/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_26_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":["1350899235","1350899372","1350899417","1350899132","1350899299","1350899191"],"photo_ids_order":["1350899132","1350899191","1350899235","1350899299","1350899372","1350899417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c370f3e1d060217945b6b01401a9be6.jpg","text":"TemporaryFile(/tmp/multipartBody9057380965985622157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231113588,"filename":"image_09042025_21_25_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/4/9/bd002322c125548f840723de527e2a83.jpg","text":"TemporaryFile(/tmp/multipartBody2539783573068624691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231113588,"filename":"image_09042025_21_26_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/4/9/6ea08b67e792271996d9adad4edc2456.jpg","text":"TemporaryFile(/tmp/multipartBody2690098842182075406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231113588,"filename":"image_09042025_21_26_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a8a75c3e0fbd4cf239ff40cc22bcf2fb.jpg","text":"TemporaryFile(/tmp/multipartBody423979219865708448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231113588,"filename":"image_09042025_21_25_36_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/527ab1b6d643ec326e89c4ed6fa6e16a.jpg","text":"TemporaryFile(/tmp/multipartBody3135514332207211093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231113588,"filename":"image_09042025_21_26_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/4/9/1bfaed439e8034f3c6630cf9657a8f0f.jpg","text":"TemporaryFile(/tmp/multipartBody346913689101224185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231113588,"filename":"image_09042025_21_25_46_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350899235","file1":"1350899191","file0":"1350899132","file4":"1350899372","file5":"1350899417","file3":"1350899299"},"map_files_photo_id_array":[{"photo_id":"1350899417","filename":"file5"},{"photo_id":"1350899235","filename":"file2"},{"photo_id":"1350899372","filename":"file4"},{"photo_id":"1350899191","filename":"file1"},{"photo_id":"1350899132","filename":"file0"},{"photo_id":"1350899299","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350899235":["hashtag1","hashtag2"]},{"1350899372":["hashtag1","hashtag2"]},{"1350899417":["hashtag1","hashtag2"]},{"1350899132":["hashtag1","hashtag2"]},{"1350899299":["hashtag1","hashtag2"]},{"1350899191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350899235, 1350899372, 1350899417, 1350899132, 1350899299, 1350899191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.368022203445435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:38:32.448081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_36_9411.jpg', '/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_46_10403.jpg', '/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_56_9426.jpg', '/home/pi/Desktop/images/09042025/21/26/image_09042025_21_27_06_10371.jpg', '/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_16_10434.jpg', '/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_26_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_36_9411.jpg
/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_46_10403.jpg
/home/pi/Desktop/images/09042025/21/26/image_09042025_21_26_56_9426.jpg
/home/pi/Desktop/images/09042025/21/26/image_09042025_21_27_06_10371.jpg
/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_16_10434.jpg
/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_26_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":["1350900188","1350900116","1350899837","1350899801","1350899905","1350899701"],"photo_ids_order":["1350899701","1350899801","1350899837","1350899905","1350900116","1350900188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5e9a47f4e87247323e484954239eafb6.jpg","text":"TemporaryFile(/tmp/multipartBody4683518877871601576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231172927,"filename":"image_09042025_21_27_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/df5399bc36ebfd59ce853a2f81a1a5fe.jpg","text":"TemporaryFile(/tmp/multipartBody249930266478621369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231172927,"filename":"image_09042025_21_27_16_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d4b07d03c0f54b31bf0d2855a66b5b4.jpg","text":"TemporaryFile(/tmp/multipartBody3405718964305389257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231172927,"filename":"image_09042025_21_26_56_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d01b41eba4eb8cdd76b1fce13d1335b.jpg","text":"TemporaryFile(/tmp/multipartBody4077888742525815341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231172927,"filename":"image_09042025_21_26_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3bfc85705a2452aedc464c20fac70058.jpg","text":"TemporaryFile(/tmp/multipartBody8336826638162213172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231172927,"filename":"image_09042025_21_27_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6f87cd0be75026099527d16eccfcb7f0.jpg","text":"TemporaryFile(/tmp/multipartBody4875341387375178376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231172927,"filename":"image_09042025_21_26_36_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350899837","file1":"1350899801","file0":"1350899701","file4":"1350900116","file5":"1350900188","file3":"1350899905"},"map_files_photo_id_array":[{"photo_id":"1350900188","filename":"file5"},{"photo_id":"1350899837","filename":"file2"},{"photo_id":"1350900116","filename":"file4"},{"photo_id":"1350899801","filename":"file1"},{"photo_id":"1350899701","filename":"file0"},{"photo_id":"1350899905","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350900188":["hashtag1","hashtag2"]},{"1350900116":["hashtag1","hashtag2"]},{"1350899837":["hashtag1","hashtag2"]},{"1350899801":["hashtag1","hashtag2"]},{"1350899905":["hashtag1","hashtag2"]},{"1350899701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350900188, 1350900116, 1350899837, 1350899801, 1350899905, 1350899701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11815810203552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:39:32.767429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_36_10360.jpg', '/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_47_10436.jpg', '/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_56_9362.jpg', '/home/pi/Desktop/images/09042025/21/27/image_09042025_21_28_06_10407.jpg', '/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_16_9336.jpg', '/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_26_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_36_10360.jpg
/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_47_10436.jpg
/home/pi/Desktop/images/09042025/21/27/image_09042025_21_27_56_9362.jpg
/home/pi/Desktop/images/09042025/21/27/image_09042025_21_28_06_10407.jpg
/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_16_9336.jpg
/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_26_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":["1350900863","1350900626","1350900772","1350900742","1350900687","1350900807"],"photo_ids_order":["1350900626","1350900687","1350900742","1350900772","1350900807","1350900863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/53858834389bf8538b06bd9d31676657.jpg","text":"TemporaryFile(/tmp/multipartBody4182475721411233664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231233251,"filename":"image_09042025_21_28_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/4/9/01ff80111d738ab26212c5deb9c92d8a.jpg","text":"TemporaryFile(/tmp/multipartBody768576979100672788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231233251,"filename":"image_09042025_21_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/4/9/6f873e53ec773189cecdf9c827f43b01.jpg","text":"TemporaryFile(/tmp/multipartBody1333287131936808964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231233251,"filename":"image_09042025_21_28_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/4/9/9e25444cb66e1da625dee9a1d19df719.jpg","text":"TemporaryFile(/tmp/multipartBody4022417134470406685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231233251,"filename":"image_09042025_21_27_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82f0c3a5fecd10577696f1ad7e63e1b3.jpg","text":"TemporaryFile(/tmp/multipartBody8420607636863373644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231233251,"filename":"image_09042025_21_27_47_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de89ab59a36916a79406d73c6969fa81.jpg","text":"TemporaryFile(/tmp/multipartBody576407378839880547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231233251,"filename":"image_09042025_21_28_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350900742","file1":"1350900687","file0":"1350900626","file4":"1350900807","file5":"1350900863","file3":"1350900772"},"map_files_photo_id_array":[{"photo_id":"1350900863","filename":"file5"},{"photo_id":"1350900742","filename":"file2"},{"photo_id":"1350900807","filename":"file4"},{"photo_id":"1350900687","filename":"file1"},{"photo_id":"1350900626","filename":"file0"},{"photo_id":"1350900772","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350900863":["hashtag1","hashtag2"]},{"1350900626":["hashtag1","hashtag2"]},{"1350900772":["hashtag1","hashtag2"]},{"1350900742":["hashtag1","hashtag2"]},{"1350900687":["hashtag1","hashtag2"]},{"1350900807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350900863, 1350900626, 1350900772, 1350900742, 1350900687, 1350900807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3482666015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:40:32.877190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_36_10415.jpg', '/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_46_9348.jpg', '/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_56_10490.jpg', '/home/pi/Desktop/images/09042025/21/28/image_09042025_21_29_06_9450.jpg', '/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_16_10416.jpg', '/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_26_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_36_10415.jpg
/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_46_9348.jpg
/home/pi/Desktop/images/09042025/21/28/image_09042025_21_28_56_10490.jpg
/home/pi/Desktop/images/09042025/21/28/image_09042025_21_29_06_9450.jpg
/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_16_10416.jpg
/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_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":["1350901420","1350901507","1350901275","1350901646","1350901589","1350901331"],"photo_ids_order":["1350901275","1350901331","1350901420","1350901507","1350901589","1350901646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5da67a643b683fb7a63e3439b75f6dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3617979924514306974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231293361,"filename":"image_09042025_21_28_56_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77abfa90bf41409479b97149af3bec45.jpg","text":"TemporaryFile(/tmp/multipartBody7744348502480355547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231293361,"filename":"image_09042025_21_29_06_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4de01854f3a7616543cee031b2a2af46.jpg","text":"TemporaryFile(/tmp/multipartBody688625743106241839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231293361,"filename":"image_09042025_21_28_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6fe41094e5befa5f99ac39a3b2b41d7.jpg","text":"TemporaryFile(/tmp/multipartBody7977343104037610491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231293361,"filename":"image_09042025_21_29_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/4/9/c9aa6a84e4cac57202eb46f07663cb81.jpg","text":"TemporaryFile(/tmp/multipartBody3233093210433925205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231293361,"filename":"image_09042025_21_29_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/4/9/2d86e8d5def16c9e87443d8c6673b23d.jpg","text":"TemporaryFile(/tmp/multipartBody690276414734247896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231293361,"filename":"image_09042025_21_28_46_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350901420","file1":"1350901331","file0":"1350901275","file4":"1350901589","file5":"1350901646","file3":"1350901507"},"map_files_photo_id_array":[{"photo_id":"1350901646","filename":"file5"},{"photo_id":"1350901420","filename":"file2"},{"photo_id":"1350901589","filename":"file4"},{"photo_id":"1350901331","filename":"file1"},{"photo_id":"1350901275","filename":"file0"},{"photo_id":"1350901507","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350901420":["hashtag1","hashtag2"]},{"1350901507":["hashtag1","hashtag2"]},{"1350901275":["hashtag1","hashtag2"]},{"1350901646":["hashtag1","hashtag2"]},{"1350901589":["hashtag1","hashtag2"]},{"1350901331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350901420, 1350901507, 1350901275, 1350901646, 1350901589, 1350901331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85038375854492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:41:33.177778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_36_9431.jpg', '/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_46_10466.jpg', '/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_56_9343.jpg', '/home/pi/Desktop/images/09042025/21/29/image_09042025_21_30_06_10363.jpg', '/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_17_10446.jpg', '/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_26_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_36_9431.jpg
/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_46_10466.jpg
/home/pi/Desktop/images/09042025/21/29/image_09042025_21_29_56_9343.jpg
/home/pi/Desktop/images/09042025/21/29/image_09042025_21_30_06_10363.jpg
/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_17_10446.jpg
/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_26_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350902224","1350902026","1350902113","1350902079","1350902142","1350902240"],"photo_ids_order":["1350902026","1350902079","1350902113","1350902142","1350902224","1350902240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/779db86826cbab78eaa0a9b7e717d1e0.jpg","text":"TemporaryFile(/tmp/multipartBody52682418339815378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231353660,"filename":"image_09042025_21_30_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/4/9/d0f407f84b074895f5828a1012ce84e4.jpg","text":"TemporaryFile(/tmp/multipartBody7206909665189327493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231353660,"filename":"image_09042025_21_29_36_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b370c1f69d667e5eb36e79e97a09bb12.jpg","text":"TemporaryFile(/tmp/multipartBody7219165690397653472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231353660,"filename":"image_09042025_21_29_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/4/9/46f0937ca6798d1a40ba982c94e0dbdf.jpg","text":"TemporaryFile(/tmp/multipartBody8507616011346365590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231353660,"filename":"image_09042025_21_29_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/4/9/8729c3d3ab5e948a0e91ea55be5b5094.jpg","text":"TemporaryFile(/tmp/multipartBody278216395466133290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231353660,"filename":"image_09042025_21_30_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7cef0418dc11f6a9ddd763ad064da899.jpg","text":"TemporaryFile(/tmp/multipartBody5440130830482398032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231353660,"filename":"image_09042025_21_30_26_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350902113","file1":"1350902079","file0":"1350902026","file4":"1350902224","file5":"1350902240","file3":"1350902142"},"map_files_photo_id_array":[{"photo_id":"1350902240","filename":"file5"},{"photo_id":"1350902113","filename":"file2"},{"photo_id":"1350902224","filename":"file4"},{"photo_id":"1350902079","filename":"file1"},{"photo_id":"1350902026","filename":"file0"},{"photo_id":"1350902142","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350902224":["hashtag1","hashtag2"]},{"1350902026":["hashtag1","hashtag2"]},{"1350902113":["hashtag1","hashtag2"]},{"1350902079":["hashtag1","hashtag2"]},{"1350902142":["hashtag1","hashtag2"]},{"1350902240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350902224, 1350902026, 1350902113, 1350902079, 1350902142, 1350902240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10899043083191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:42:32.316094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_36_10413.jpg', '/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_46_9359.jpg', '/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_56_10360.jpg', '/home/pi/Desktop/images/09042025/21/30/image_09042025_21_31_06_10354.jpg', '/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_16_9455.jpg', '/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_26_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_36_10413.jpg
/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_46_9359.jpg
/home/pi/Desktop/images/09042025/21/30/image_09042025_21_30_56_10360.jpg
/home/pi/Desktop/images/09042025/21/30/image_09042025_21_31_06_10354.jpg
/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_16_9455.jpg
/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_26_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350902923","1350902874","1350902736","1350902633","1350902791","1350902668"],"photo_ids_order":["1350902633","1350902668","1350902736","1350902791","1350902874","1350902923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/700244108ef113c91fdbed674a20cb27.jpg","text":"TemporaryFile(/tmp/multipartBody4382788026643843932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231412812,"filename":"image_09042025_21_31_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/4/9/1b8fafed3332852d03520cf50ddabe07.jpg","text":"TemporaryFile(/tmp/multipartBody7122482771734877739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231412812,"filename":"image_09042025_21_31_16_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4cfd7e2978d84465726004a773894ec8.jpg","text":"TemporaryFile(/tmp/multipartBody170216319803004520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231412812,"filename":"image_09042025_21_30_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/4/9/6f65e642bd888a75f5aaa37f1fd52689.jpg","text":"TemporaryFile(/tmp/multipartBody4786216162416305012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231412812,"filename":"image_09042025_21_30_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/4/9/1926087304a1794eeda39b5e6e79bbb2.jpg","text":"TemporaryFile(/tmp/multipartBody3874034829064922949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231412812,"filename":"image_09042025_21_31_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/4/9/41c63051d02113480c8fe9149501b536.jpg","text":"TemporaryFile(/tmp/multipartBody7055900579221757626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231412812,"filename":"image_09042025_21_30_46_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350902736","file1":"1350902668","file0":"1350902633","file4":"1350902874","file5":"1350902923","file3":"1350902791"},"map_files_photo_id_array":[{"photo_id":"1350902923","filename":"file5"},{"photo_id":"1350902736","filename":"file2"},{"photo_id":"1350902874","filename":"file4"},{"photo_id":"1350902668","filename":"file1"},{"photo_id":"1350902633","filename":"file0"},{"photo_id":"1350902791","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350902923":["hashtag1","hashtag2"]},{"1350902874":["hashtag1","hashtag2"]},{"1350902736":["hashtag1","hashtag2"]},{"1350902633":["hashtag1","hashtag2"]},{"1350902791":["hashtag1","hashtag2"]},{"1350902668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350902923, 1350902874, 1350902736, 1350902633, 1350902791, 1350902668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98126149177551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:43:32.569291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_37_10366.jpg', '/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_46_9356.jpg', '/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_56_10503.jpg', '/home/pi/Desktop/images/09042025/21/31/image_09042025_21_32_06_9472.jpg', '/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_16_10458.jpg', '/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_26_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_37_10366.jpg
/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_46_9356.jpg
/home/pi/Desktop/images/09042025/21/31/image_09042025_21_31_56_10503.jpg
/home/pi/Desktop/images/09042025/21/31/image_09042025_21_32_06_9472.jpg
/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_16_10458.jpg
/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_26_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":["1350903471","1350903363","1350903608","1350903586","1350903241","1350903541"],"photo_ids_order":["1350903241","1350903363","1350903471","1350903541","1350903586","1350903608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7067a566e94118ba22ebee033300030.jpg","text":"TemporaryFile(/tmp/multipartBody284598225766794901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231474466,"filename":"image_09042025_21_31_56_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0abdd836fb14f955f7de6fd81861253.jpg","text":"TemporaryFile(/tmp/multipartBody4175407444153237765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231474466,"filename":"image_09042025_21_31_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a553f3855593a82c2a77911e8b25fb18.jpg","text":"TemporaryFile(/tmp/multipartBody4989263556014919770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231474466,"filename":"image_09042025_21_32_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/4/9/9a1e274fe1a4449f2fb10d05e92beaf9.jpg","text":"TemporaryFile(/tmp/multipartBody3820273068739874269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231474466,"filename":"image_09042025_21_32_16_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c5aea496baee5b4961966f10d3fec20.jpg","text":"TemporaryFile(/tmp/multipartBody8437056698645608560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231474466,"filename":"image_09042025_21_31_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/4/9/b1819dab7d872b49ff8357fc901be534.jpg","text":"TemporaryFile(/tmp/multipartBody8534282500883247534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231474466,"filename":"image_09042025_21_32_06_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350903471","file1":"1350903363","file0":"1350903241","file4":"1350903586","file5":"1350903608","file3":"1350903541"},"map_files_photo_id_array":[{"photo_id":"1350903608","filename":"file5"},{"photo_id":"1350903471","filename":"file2"},{"photo_id":"1350903586","filename":"file4"},{"photo_id":"1350903363","filename":"file1"},{"photo_id":"1350903241","filename":"file0"},{"photo_id":"1350903541","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350903471":["hashtag1","hashtag2"]},{"1350903363":["hashtag1","hashtag2"]},{"1350903608":["hashtag1","hashtag2"]},{"1350903586":["hashtag1","hashtag2"]},{"1350903241":["hashtag1","hashtag2"]},{"1350903541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350903471, 1350903363, 1350903608, 1350903586, 1350903241, 1350903541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.758506536483765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:44:32.731189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_36_10347.jpg', '/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_46_10366.jpg', '/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_56_9373.jpg', '/home/pi/Desktop/images/09042025/21/32/image_09042025_21_33_06_10489.jpg', '/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_16_9351.jpg', '/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_36_10347.jpg
/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_46_10366.jpg
/home/pi/Desktop/images/09042025/21/32/image_09042025_21_32_56_9373.jpg
/home/pi/Desktop/images/09042025/21/32/image_09042025_21_33_06_10489.jpg
/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_16_9351.jpg
/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_26_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350903858","1350903887","1350903938","1350904036","1350903976","1350904003"],"photo_ids_order":["1350903858","1350903887","1350903938","1350903976","1350904003","1350904036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42321e8bb279bd7c882ed61b6b497f26.jpg","text":"TemporaryFile(/tmp/multipartBody866434969500088594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231533215,"filename":"image_09042025_21_32_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/06bd360cc0e708be96312e46ad2dd2d7.jpg","text":"TemporaryFile(/tmp/multipartBody3014044343447549347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231533215,"filename":"image_09042025_21_32_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/4/9/2a8e08ce711f2c594d40e16b8f569fc8.jpg","text":"TemporaryFile(/tmp/multipartBody7458971019088917415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231533215,"filename":"image_09042025_21_32_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/4/9/0575d84b4190624e02f05da85f83f541.jpg","text":"TemporaryFile(/tmp/multipartBody8190628212591798863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231533215,"filename":"image_09042025_21_33_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/4/9/9a7cf56d78063dbb0a9687310c6629aa.jpg","text":"TemporaryFile(/tmp/multipartBody1065712882577525019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231533215,"filename":"image_09042025_21_33_06_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0bef0d546c49750cdda1f9b44e497776.jpg","text":"TemporaryFile(/tmp/multipartBody5684615312867960827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231533215,"filename":"image_09042025_21_33_16_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350903938","file1":"1350903887","file0":"1350903858","file4":"1350904003","file5":"1350904036","file3":"1350903976"},"map_files_photo_id_array":[{"photo_id":"1350904036","filename":"file5"},{"photo_id":"1350903938","filename":"file2"},{"photo_id":"1350904003","filename":"file4"},{"photo_id":"1350903887","filename":"file1"},{"photo_id":"1350903858","filename":"file0"},{"photo_id":"1350903976","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350903858":["hashtag1","hashtag2"]},{"1350903887":["hashtag1","hashtag2"]},{"1350903938":["hashtag1","hashtag2"]},{"1350904036":["hashtag1","hashtag2"]},{"1350903976":["hashtag1","hashtag2"]},{"1350904003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350903858, 1350903887, 1350903938, 1350904036, 1350903976, 1350904003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57798385620117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:45:33.151501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_36_10344.jpg', '/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_46_9345.jpg', '/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_56_10429.jpg', '/home/pi/Desktop/images/09042025/21/33/image_09042025_21_34_06_9450.jpg', '/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_16_10357.jpg', '/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_26_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_36_10344.jpg
/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_46_9345.jpg
/home/pi/Desktop/images/09042025/21/33/image_09042025_21_33_56_10429.jpg
/home/pi/Desktop/images/09042025/21/33/image_09042025_21_34_06_9450.jpg
/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_16_10357.jpg
/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_26_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350904545","1350904490","1350904370","1350904601","1350904445","1350904686"],"photo_ids_order":["1350904370","1350904445","1350904490","1350904545","1350904601","1350904686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b7e9a2370a911e44863b570cc59d8c6.jpg","text":"TemporaryFile(/tmp/multipartBody7830591887926913275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231593621,"filename":"image_09042025_21_34_06_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2cc1de8331e7e1cc54ca4290a1e07be7.jpg","text":"TemporaryFile(/tmp/multipartBody7883434447593636584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231593621,"filename":"image_09042025_21_33_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37fed5c0965613b87319eb84e71fde36.jpg","text":"TemporaryFile(/tmp/multipartBody1108118688391192349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231593621,"filename":"image_09042025_21_33_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/4/9/8fa786d11099312e3d7d4a9da807f68c.jpg","text":"TemporaryFile(/tmp/multipartBody1688477248535750112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231593621,"filename":"image_09042025_21_34_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/4/9/d6c8c39dd7bb7e9b401e673054a48359.jpg","text":"TemporaryFile(/tmp/multipartBody6852089700449297901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231593621,"filename":"image_09042025_21_33_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/4/9/6cd11ddc9f32c7af3b321c86c336215a.jpg","text":"TemporaryFile(/tmp/multipartBody8302986268135165161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231593621,"filename":"image_09042025_21_34_26_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350904490","file1":"1350904445","file0":"1350904370","file4":"1350904601","file5":"1350904686","file3":"1350904545"},"map_files_photo_id_array":[{"photo_id":"1350904686","filename":"file5"},{"photo_id":"1350904490","filename":"file2"},{"photo_id":"1350904601","filename":"file4"},{"photo_id":"1350904445","filename":"file1"},{"photo_id":"1350904370","filename":"file0"},{"photo_id":"1350904545","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350904545":["hashtag1","hashtag2"]},{"1350904490":["hashtag1","hashtag2"]},{"1350904370":["hashtag1","hashtag2"]},{"1350904601":["hashtag1","hashtag2"]},{"1350904445":["hashtag1","hashtag2"]},{"1350904686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350904545, 1350904490, 1350904370, 1350904601, 1350904445, 1350904686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.369001150131226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:46:32.195164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_36_9357.jpg', '/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_46_10386.jpg', '/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_57_10377.jpg', '/home/pi/Desktop/images/09042025/21/34/image_09042025_21_35_06_9329.jpg', '/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_16_10500.jpg', '/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_26_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_36_9357.jpg
/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_46_10386.jpg
/home/pi/Desktop/images/09042025/21/34/image_09042025_21_34_57_10377.jpg
/home/pi/Desktop/images/09042025/21/34/image_09042025_21_35_06_9329.jpg
/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_16_10500.jpg
/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_26_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":["1350905120","1350905021","1350905065","1350905094","1350905011","1350905148"],"photo_ids_order":["1350905011","1350905021","1350905065","1350905094","1350905120","1350905148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b1771a60712a0f385b604ec1ecd89426.jpg","text":"TemporaryFile(/tmp/multipartBody2898837821352047760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231652662,"filename":"image_09042025_21_35_16_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ecede7fd98e748efb8f8547dad64389.jpg","text":"TemporaryFile(/tmp/multipartBody4992064074455608490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231652662,"filename":"image_09042025_21_34_46_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aeb20e2a55c5f94163b6988ad1a9d85c.jpg","text":"TemporaryFile(/tmp/multipartBody7397981281733787827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231652662,"filename":"image_09042025_21_34_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/4/9/e53ed0a0689cac65d87b13a423b47417.jpg","text":"TemporaryFile(/tmp/multipartBody6799252687780510056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231652662,"filename":"image_09042025_21_35_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e837ecd516f415ee47cc71299337dc29.jpg","text":"TemporaryFile(/tmp/multipartBody5894893259611286977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231652662,"filename":"image_09042025_21_34_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/4/9/599b6d78f00875562fc6020724617aab.jpg","text":"TemporaryFile(/tmp/multipartBody8591892914415168718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231652662,"filename":"image_09042025_21_35_26_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350905065","file1":"1350905021","file0":"1350905011","file4":"1350905120","file5":"1350905148","file3":"1350905094"},"map_files_photo_id_array":[{"photo_id":"1350905148","filename":"file5"},{"photo_id":"1350905065","filename":"file2"},{"photo_id":"1350905120","filename":"file4"},{"photo_id":"1350905021","filename":"file1"},{"photo_id":"1350905011","filename":"file0"},{"photo_id":"1350905094","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350905120":["hashtag1","hashtag2"]},{"1350905021":["hashtag1","hashtag2"]},{"1350905065":["hashtag1","hashtag2"]},{"1350905094":["hashtag1","hashtag2"]},{"1350905011":["hashtag1","hashtag2"]},{"1350905148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350905120, 1350905021, 1350905065, 1350905094, 1350905011, 1350905148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81165957450867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:47:32.387700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_36_10380.jpg', '/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_46_10357.jpg', '/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_56_9364.jpg', '/home/pi/Desktop/images/09042025/21/35/image_09042025_21_36_06_10362.jpg', '/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_17_10345.jpg', '/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_26_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_36_10380.jpg
/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_46_10357.jpg
/home/pi/Desktop/images/09042025/21/35/image_09042025_21_35_56_9364.jpg
/home/pi/Desktop/images/09042025/21/35/image_09042025_21_36_06_10362.jpg
/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_17_10345.jpg
/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_26_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350905511","1350905611","1350905559","1350905475","1350905436","1350905523"],"photo_ids_order":["1350905436","1350905475","1350905511","1350905523","1350905559","1350905611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d471090981fd0af69b2c1b5d5c3ed0a.jpg","text":"TemporaryFile(/tmp/multipartBody4500483329462378620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231712871,"filename":"image_09042025_21_35_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/58322d74653dec0ba33a3e7681c53191.jpg","text":"TemporaryFile(/tmp/multipartBody2933864315748652850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231712871,"filename":"image_09042025_21_36_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2ef5e1e4fa89b16ca9c432b77d97ce1c.jpg","text":"TemporaryFile(/tmp/multipartBody5296508572562051812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231712871,"filename":"image_09042025_21_36_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/4/9/23265c40442f602ff48831c302b2068c.jpg","text":"TemporaryFile(/tmp/multipartBody2358880903986092838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231712871,"filename":"image_09042025_21_35_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/4/9/38dbbbb17f0173406e1088fe7f0d124c.jpg","text":"TemporaryFile(/tmp/multipartBody8184912103911234531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231712871,"filename":"image_09042025_21_35_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b8828ed0d194aebe56aabdc72340bb5e.jpg","text":"TemporaryFile(/tmp/multipartBody5380065319816786914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231712871,"filename":"image_09042025_21_36_06_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350905511","file1":"1350905475","file0":"1350905436","file4":"1350905559","file5":"1350905611","file3":"1350905523"},"map_files_photo_id_array":[{"photo_id":"1350905611","filename":"file5"},{"photo_id":"1350905511","filename":"file2"},{"photo_id":"1350905559","filename":"file4"},{"photo_id":"1350905475","filename":"file1"},{"photo_id":"1350905436","filename":"file0"},{"photo_id":"1350905523","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350905511":["hashtag1","hashtag2"]},{"1350905611":["hashtag1","hashtag2"]},{"1350905559":["hashtag1","hashtag2"]},{"1350905475":["hashtag1","hashtag2"]},{"1350905436":["hashtag1","hashtag2"]},{"1350905523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350905511, 1350905611, 1350905559, 1350905475, 1350905436, 1350905523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98831009864807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:48:32.668895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_36_10419.jpg', '/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_46_9353.jpg', '/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_56_10436.jpg', '/home/pi/Desktop/images/09042025/21/36/image_09042025_21_37_06_10360.jpg', '/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_16_9431.jpg', '/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_26_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_36_10419.jpg
/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_46_9353.jpg
/home/pi/Desktop/images/09042025/21/36/image_09042025_21_36_56_10436.jpg
/home/pi/Desktop/images/09042025/21/36/image_09042025_21_37_06_10360.jpg
/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_16_9431.jpg
/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_26_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":["1350905882","1350906064","1350905927","1350906049","1350905970","1350906015"],"photo_ids_order":["1350905882","1350905927","1350905970","1350906015","1350906049","1350906064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9cd353e40d285e4f6783a783653beff1.jpg","text":"TemporaryFile(/tmp/multipartBody3579949244275386669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231773146,"filename":"image_09042025_21_36_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/4/9/53b492a1ecf5d5370853c88a9c955200.jpg","text":"TemporaryFile(/tmp/multipartBody5000339424439399253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231773146,"filename":"image_09042025_21_37_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/4/9/55ddf8d875c5c11a4e693825c2a69daf.jpg","text":"TemporaryFile(/tmp/multipartBody1753958704199936594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231773146,"filename":"image_09042025_21_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/4/9/24a7a461b2a5daf7097d468ddff51f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8455724140900014027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231773146,"filename":"image_09042025_21_37_16_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3eaf0d294230e95e5891d05b02ccd5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1418782405235432330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231773146,"filename":"image_09042025_21_36_56_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1e92b2554ad0790b3b314580374d5c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2597461785428917058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231773146,"filename":"image_09042025_21_37_06_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350905970","file1":"1350905927","file0":"1350905882","file4":"1350906049","file5":"1350906064","file3":"1350906015"},"map_files_photo_id_array":[{"photo_id":"1350906064","filename":"file5"},{"photo_id":"1350905970","filename":"file2"},{"photo_id":"1350906049","filename":"file4"},{"photo_id":"1350905927","filename":"file1"},{"photo_id":"1350905882","filename":"file0"},{"photo_id":"1350906015","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350905882":["hashtag1","hashtag2"]},{"1350906064":["hashtag1","hashtag2"]},{"1350905927":["hashtag1","hashtag2"]},{"1350906049":["hashtag1","hashtag2"]},{"1350905970":["hashtag1","hashtag2"]},{"1350906015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350905882, 1350906064, 1350905927, 1350906049, 1350905970, 1350906015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.31533360481262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:49:32.881444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_36_9360.jpg', '/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_46_10359.jpg', '/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_57_10463.jpg', '/home/pi/Desktop/images/09042025/21/37/image_09042025_21_38_06_9340.jpg', '/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_16_10502.jpg', '/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_26_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_36_9360.jpg
/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_46_10359.jpg
/home/pi/Desktop/images/09042025/21/37/image_09042025_21_37_57_10463.jpg
/home/pi/Desktop/images/09042025/21/37/image_09042025_21_38_06_9340.jpg
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_16_10502.jpg
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_26_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":["1350906836","1350906697","1350907258","1350907431","1350906930","1350907058"],"photo_ids_order":["1350906697","1350906836","1350906930","1350907058","1350907258","1350907431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/40848b546dce6bc9c702b647d0038e73.jpg","text":"TemporaryFile(/tmp/multipartBody5859214167859293513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231833364,"filename":"image_09042025_21_37_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/4/9/6a7855610ac694ee2052c46c360f21d8.jpg","text":"TemporaryFile(/tmp/multipartBody5320471911747110201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231833364,"filename":"image_09042025_21_37_36_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9629c5d50d69d960d74995727617aa21.jpg","text":"TemporaryFile(/tmp/multipartBody3398085006592281174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231833364,"filename":"image_09042025_21_38_16_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f18da436e8a22e21160746447dfc8cc.jpg","text":"TemporaryFile(/tmp/multipartBody197142146548233621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231833364,"filename":"image_09042025_21_38_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/4/9/af88752514a2279c827c26ba97598c73.jpg","text":"TemporaryFile(/tmp/multipartBody3525579164916816609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231833364,"filename":"image_09042025_21_37_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/4/9/fef50fb4a45341cfa4f14bd076745c55.jpg","text":"TemporaryFile(/tmp/multipartBody5526078936999540955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231833364,"filename":"image_09042025_21_38_06_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350906930","file1":"1350906836","file0":"1350906697","file4":"1350907258","file5":"1350907431","file3":"1350907058"},"map_files_photo_id_array":[{"photo_id":"1350907431","filename":"file5"},{"photo_id":"1350906930","filename":"file2"},{"photo_id":"1350907258","filename":"file4"},{"photo_id":"1350906836","filename":"file1"},{"photo_id":"1350906697","filename":"file0"},{"photo_id":"1350907058","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350906836":["hashtag1","hashtag2"]},{"1350906697":["hashtag1","hashtag2"]},{"1350907258":["hashtag1","hashtag2"]},{"1350907431":["hashtag1","hashtag2"]},{"1350906930":["hashtag1","hashtag2"]},{"1350907058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350906836, 1350906697, 1350907258, 1350907431, 1350906930, 1350907058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83185958862305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:50:33.015425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_36_10462.jpg', '/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_47_10383.jpg', '/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_56_9361.jpg', '/home/pi/Desktop/images/09042025/21/38/image_09042025_21_39_06_10420.jpg', '/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_16_9342.jpg', '/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_26_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_36_10462.jpg
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_47_10383.jpg
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_56_9361.jpg
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_39_06_10420.jpg
/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_16_9342.jpg
/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_26_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3918795585632324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 22:50:42.981391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_36_10462.jpg', '/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_47_10383.jpg', '/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_56_9361.jpg', '/home/pi/Desktop/images/09042025/21/38/image_09042025_21_39_06_10420.jpg', '/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_16_9342.jpg', '/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_26_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_36_10462.jpg
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_47_10383.jpg
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_38_56_9361.jpg
/home/pi/Desktop/images/09042025/21/38/image_09042025_21_39_06_10420.jpg
/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_16_9342.jpg
/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_26_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":["1350908251","1350908524","1350908351","1350908336","1350908417","1350908303"],"photo_ids_order":["1350908251","1350908303","1350908336","1350908351","1350908417","1350908524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fdb47e8e0b30850fd99c3fe1f328f382.jpg","text":"TemporaryFile(/tmp/multipartBody5111149810531641376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231903454,"filename":"image_09042025_21_38_36_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b9853c5e58053967ddb45c128c1bca93.jpg","text":"TemporaryFile(/tmp/multipartBody5520931089974990136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231903454,"filename":"image_09042025_21_39_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/4/9/3db6b9d1d75e41107381895ec8dd0cd0.jpg","text":"TemporaryFile(/tmp/multipartBody518574867253590178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231903454,"filename":"image_09042025_21_39_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/4/9/d891d7f5def06053efc2990137e67749.jpg","text":"TemporaryFile(/tmp/multipartBody463248194784525407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231903454,"filename":"image_09042025_21_38_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4ef820cea18103e8f2c013672c29a252.jpg","text":"TemporaryFile(/tmp/multipartBody2073309519117852194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231903454,"filename":"image_09042025_21_39_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/4/9/006807d3bb220fc72ab199fedfa30df2.jpg","text":"TemporaryFile(/tmp/multipartBody7496632382181795693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231903454,"filename":"image_09042025_21_38_47_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350908336","file1":"1350908303","file0":"1350908251","file4":"1350908417","file5":"1350908524","file3":"1350908351"},"map_files_photo_id_array":[{"photo_id":"1350908524","filename":"file5"},{"photo_id":"1350908336","filename":"file2"},{"photo_id":"1350908417","filename":"file4"},{"photo_id":"1350908303","filename":"file1"},{"photo_id":"1350908251","filename":"file0"},{"photo_id":"1350908351","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350908251":["hashtag1","hashtag2"]},{"1350908524":["hashtag1","hashtag2"]},{"1350908351":["hashtag1","hashtag2"]},{"1350908336":["hashtag1","hashtag2"]},{"1350908417":["hashtag1","hashtag2"]},{"1350908303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350908251, 1350908524, 1350908351, 1350908336, 1350908417, 1350908303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.159635066986084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:51:32.287890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_36_10464.jpg', '/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_46_9351.jpg', '/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_56_10444.jpg', '/home/pi/Desktop/images/09042025/21/39/image_09042025_21_40_06_9363.jpg', '/home/pi/Desktop/images/09042025/21/40/image_09042025_21_40_16_10376.jpg', '/home/pi/Desktop/images/09042025/21/40/image_09042025_21_40_26_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_36_10464.jpg
/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_46_9351.jpg
/home/pi/Desktop/images/09042025/21/39/image_09042025_21_39_56_10444.jpg
/home/pi/Desktop/images/09042025/21/39/image_09042025_21_40_06_9363.jpg
/home/pi/Desktop/images/09042025/21/40/image_09042025_21_40_16_10376.jpg
/home/pi/Desktop/images/09042025/21/40/image_09042025_21_40_26_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":["1350909636","1350909348","1350909540","1350909473","1350909691","1350909754"],"photo_ids_order":["1350909348","1350909473","1350909540","1350909636","1350909691","1350909754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e8336f2b32bb1af7b5b7f6e2a687784b.jpg","text":"TemporaryFile(/tmp/multipartBody1724849375320459311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231952762,"filename":"image_09042025_21_40_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/4/9/1b477e6267fd6d15de698ec90f249def.jpg","text":"TemporaryFile(/tmp/multipartBody4882340990436701713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231952762,"filename":"image_09042025_21_39_36_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a5d64596d50270186acb7e8f39473c39.jpg","text":"TemporaryFile(/tmp/multipartBody3676453226352371162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231952762,"filename":"image_09042025_21_39_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/4/9/6a16039cec41090724651bb4bc0be572.jpg","text":"TemporaryFile(/tmp/multipartBody4945420057658340666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231952762,"filename":"image_09042025_21_39_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/4/9/1f2b86d6f0ff3e61ad4dc69454e3d931.jpg","text":"TemporaryFile(/tmp/multipartBody4729295000905824355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231952762,"filename":"image_09042025_21_40_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73555b1d9ca563e1100163bcdd82e23c.jpg","text":"TemporaryFile(/tmp/multipartBody4474003755376652511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744231952762,"filename":"image_09042025_21_40_26_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350909540","file1":"1350909473","file0":"1350909348","file4":"1350909691","file5":"1350909754","file3":"1350909636"},"map_files_photo_id_array":[{"photo_id":"1350909754","filename":"file5"},{"photo_id":"1350909540","filename":"file2"},{"photo_id":"1350909691","filename":"file4"},{"photo_id":"1350909473","filename":"file1"},{"photo_id":"1350909348","filename":"file0"},{"photo_id":"1350909636","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350909636":["hashtag1","hashtag2"]},{"1350909348":["hashtag1","hashtag2"]},{"1350909540":["hashtag1","hashtag2"]},{"1350909473":["hashtag1","hashtag2"]},{"1350909691":["hashtag1","hashtag2"]},{"1350909754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350909636, 1350909348, 1350909540, 1350909473, 1350909691, 1350909754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79728698730469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:52:32.568018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/40/image_09042025_21_40_36_9411.jpg', '/home/pi/Desktop/images/09042025/21/40/image_09042025_21_40_56_9372.jpg', '/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_17_10471.jpg', '/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_26_9356.jpg', '/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_36_10400.jpg', '/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_46_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/40/image_09042025_21_40_36_9411.jpg
/home/pi/Desktop/images/09042025/21/40/image_09042025_21_40_56_9372.jpg
/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_17_10471.jpg
/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_26_9356.jpg
/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_36_10400.jpg
/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_46_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350910128","1350910209","1350910394","1350910076","1350910316","1350910285"],"photo_ids_order":["1350910076","1350910128","1350910209","1350910285","1350910316","1350910394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbf856b81f355cb09c0de08e1661a245.jpg","text":"TemporaryFile(/tmp/multipartBody8080898573742228736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232013059,"filename":"image_09042025_21_40_56_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/75465fcd0b619f81a4d1ac16a6d8057c.jpg","text":"TemporaryFile(/tmp/multipartBody6600753816740948377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232013059,"filename":"image_09042025_21_41_17_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26349509de0fc5c7b9f7ebd83374e8e0.jpg","text":"TemporaryFile(/tmp/multipartBody398240318534867424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232013059,"filename":"image_09042025_21_41_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3e5162e2e25defd16394cbb85850ac10.jpg","text":"TemporaryFile(/tmp/multipartBody1971725394143416079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232013059,"filename":"image_09042025_21_40_36_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/97f590d6658e928a1958d358a8525bc5.jpg","text":"TemporaryFile(/tmp/multipartBody4518654756782996013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232013059,"filename":"image_09042025_21_41_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21d3f48ba1c075b8c881e650bb752142.jpg","text":"TemporaryFile(/tmp/multipartBody3388617488508276659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232013059,"filename":"image_09042025_21_41_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350910209","file1":"1350910128","file0":"1350910076","file4":"1350910316","file5":"1350910394","file3":"1350910285"},"map_files_photo_id_array":[{"photo_id":"1350910394","filename":"file5"},{"photo_id":"1350910209","filename":"file2"},{"photo_id":"1350910316","filename":"file4"},{"photo_id":"1350910128","filename":"file1"},{"photo_id":"1350910076","filename":"file0"},{"photo_id":"1350910285","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350910128":["hashtag1","hashtag2"]},{"1350910209":["hashtag1","hashtag2"]},{"1350910394":["hashtag1","hashtag2"]},{"1350910076":["hashtag1","hashtag2"]},{"1350910316":["hashtag1","hashtag2"]},{"1350910285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350910128, 1350910209, 1350910394, 1350910076, 1350910316, 1350910285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63569355010986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:53:32.701648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_56_10380.jpg', '/home/pi/Desktop/images/09042025/21/41/image_09042025_21_42_06_10351.jpg', '/home/pi/Desktop/images/09042025/21/42/image_09042025_21_42_26_10499.jpg', '/home/pi/Desktop/images/09042025/21/42/image_09042025_21_42_36_9387.jpg', '/home/pi/Desktop/images/09042025/21/42/image_09042025_21_42_46_10353.jpg', '/home/pi/Desktop/images/09042025/21/42/image_09042025_21_42_56_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/41/image_09042025_21_41_56_10380.jpg
/home/pi/Desktop/images/09042025/21/41/image_09042025_21_42_06_10351.jpg
/home/pi/Desktop/images/09042025/21/42/image_09042025_21_42_26_10499.jpg
/home/pi/Desktop/images/09042025/21/42/image_09042025_21_42_36_9387.jpg
/home/pi/Desktop/images/09042025/21/42/image_09042025_21_42_46_10353.jpg
/home/pi/Desktop/images/09042025/21/42/image_09042025_21_42_56_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":["1350910864","1350910977","1350910740","1350911018","1350910772","1350910808"],"photo_ids_order":["1350910740","1350910772","1350910808","1350910864","1350910977","1350911018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2bdd3af0bc0b10b83f5ef78201dc63d.jpg","text":"TemporaryFile(/tmp/multipartBody1319545230846427815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232073182,"filename":"image_09042025_21_42_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/4/9/d74c57dcb1a85417ad61c50cdfa6dbdf.jpg","text":"TemporaryFile(/tmp/multipartBody9105274729529288364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232073182,"filename":"image_09042025_21_42_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bcc94b45a38cc86a8856cc08076deebd.jpg","text":"TemporaryFile(/tmp/multipartBody2018729346657668045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232073182,"filename":"image_09042025_21_41_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/4/9/0f2e2f7facac5c61fbdccd81798d94aa.jpg","text":"TemporaryFile(/tmp/multipartBody4079962233289209957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232073182,"filename":"image_09042025_21_42_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/720ade286b18f37ee2e0a1e01953e606.jpg","text":"TemporaryFile(/tmp/multipartBody3707156886174930715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232073182,"filename":"image_09042025_21_42_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/4/9/128d42515b3ffd84fa51c3e052f7c593.jpg","text":"TemporaryFile(/tmp/multipartBody778545533671162385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232073182,"filename":"image_09042025_21_42_26_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350910808","file1":"1350910772","file0":"1350910740","file4":"1350910977","file5":"1350911018","file3":"1350910864"},"map_files_photo_id_array":[{"photo_id":"1350911018","filename":"file5"},{"photo_id":"1350910808","filename":"file2"},{"photo_id":"1350910977","filename":"file4"},{"photo_id":"1350910772","filename":"file1"},{"photo_id":"1350910740","filename":"file0"},{"photo_id":"1350910864","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350910864":["hashtag1","hashtag2"]},{"1350910977":["hashtag1","hashtag2"]},{"1350910740":["hashtag1","hashtag2"]},{"1350911018":["hashtag1","hashtag2"]},{"1350910772":["hashtag1","hashtag2"]},{"1350910808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350910864, 1350910977, 1350910740, 1350911018, 1350910772, 1350910808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00563931465149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:54:32.983486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/43/image_09042025_21_43_16_10375.jpg', '/home/pi/Desktop/images/09042025/21/43/image_09042025_21_43_27_10415.jpg', '/home/pi/Desktop/images/09042025/21/43/image_09042025_21_43_46_10445.jpg', '/home/pi/Desktop/images/09042025/21/43/image_09042025_21_43_56_9455.jpg', '/home/pi/Desktop/images/09042025/21/43/image_09042025_21_44_06_10425.jpg', '/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_16_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/43/image_09042025_21_43_16_10375.jpg
/home/pi/Desktop/images/09042025/21/43/image_09042025_21_43_27_10415.jpg
/home/pi/Desktop/images/09042025/21/43/image_09042025_21_43_46_10445.jpg
/home/pi/Desktop/images/09042025/21/43/image_09042025_21_43_56_9455.jpg
/home/pi/Desktop/images/09042025/21/43/image_09042025_21_44_06_10425.jpg
/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_16_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":["1350911382","1350911358","1350911285","1350911369","1350911258","1350911308"],"photo_ids_order":["1350911258","1350911285","1350911308","1350911358","1350911369","1350911382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56f68c801897fab253be102f1c71cca6.jpg","text":"TemporaryFile(/tmp/multipartBody6308350176257742023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232133453,"filename":"image_09042025_21_44_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/4/9/cddfcc83b37d7a884a23df82a8ce9194.jpg","text":"TemporaryFile(/tmp/multipartBody6371378470498450862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232133453,"filename":"image_09042025_21_43_56_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a0e060da020f1f8a29d783adbd4e8a10.jpg","text":"TemporaryFile(/tmp/multipartBody4906589506261397619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232133453,"filename":"image_09042025_21_43_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/93ba01821cb9b0c675a2eac35becafd1.jpg","text":"TemporaryFile(/tmp/multipartBody8134348671209526656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232133453,"filename":"image_09042025_21_44_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c2026c54a49dd1385a6ea43d741d34bb.jpg","text":"TemporaryFile(/tmp/multipartBody151588761925616765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232133453,"filename":"image_09042025_21_43_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cb6693d67f7f544060f1c35bb038d1f.jpg","text":"TemporaryFile(/tmp/multipartBody541005335126028845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232133453,"filename":"image_09042025_21_43_46_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350911308","file1":"1350911285","file0":"1350911258","file4":"1350911369","file5":"1350911382","file3":"1350911358"},"map_files_photo_id_array":[{"photo_id":"1350911382","filename":"file5"},{"photo_id":"1350911308","filename":"file2"},{"photo_id":"1350911369","filename":"file4"},{"photo_id":"1350911285","filename":"file1"},{"photo_id":"1350911258","filename":"file0"},{"photo_id":"1350911358","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350911382":["hashtag1","hashtag2"]},{"1350911358":["hashtag1","hashtag2"]},{"1350911285":["hashtag1","hashtag2"]},{"1350911369":["hashtag1","hashtag2"]},{"1350911258":["hashtag1","hashtag2"]},{"1350911308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350911382, 1350911358, 1350911285, 1350911369, 1350911258, 1350911308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81281065940857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:55:32.179638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_26_10386.jpg', '/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_36_10343.jpg', '/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_46_9362.jpg', '/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_56_10373.jpg', '/home/pi/Desktop/images/09042025/21/44/image_09042025_21_45_07_10444.jpg', '/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_16_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_26_10386.jpg
/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_36_10343.jpg
/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_46_9362.jpg
/home/pi/Desktop/images/09042025/21/44/image_09042025_21_44_56_10373.jpg
/home/pi/Desktop/images/09042025/21/44/image_09042025_21_45_07_10444.jpg
/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_16_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":["1350911868","1350911812","1350911760","1350911670","1350911618","1350911569"],"photo_ids_order":["1350911569","1350911618","1350911670","1350911760","1350911812","1350911868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6ef2a8b91d7437dbcd2edea91552d26.jpg","text":"TemporaryFile(/tmp/multipartBody6406980725129971491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232192653,"filename":"image_09042025_21_45_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0eed1e5e6bada557ef6d39759cb1be1b.jpg","text":"TemporaryFile(/tmp/multipartBody4820750640530435165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232192653,"filename":"image_09042025_21_45_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/4/9/809a6bc2ea362793fcbeb2111d08e8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4325354706162260177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232192653,"filename":"image_09042025_21_44_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aa477ab1dbdce7255e8886db5623d24c.jpg","text":"TemporaryFile(/tmp/multipartBody54948476954889283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232192653,"filename":"image_09042025_21_44_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/4/9/73c6d2a775516ef0d03f76ebcfe0b4b5.jpg","text":"TemporaryFile(/tmp/multipartBody431160953741834800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232192653,"filename":"image_09042025_21_44_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/4/9/9b9fa7814581b340014855f76f6f58dd.jpg","text":"TemporaryFile(/tmp/multipartBody2061042413840179309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232192653,"filename":"image_09042025_21_44_26_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350911670","file1":"1350911618","file0":"1350911569","file4":"1350911812","file5":"1350911868","file3":"1350911760"},"map_files_photo_id_array":[{"photo_id":"1350911868","filename":"file5"},{"photo_id":"1350911670","filename":"file2"},{"photo_id":"1350911812","filename":"file4"},{"photo_id":"1350911618","filename":"file1"},{"photo_id":"1350911569","filename":"file0"},{"photo_id":"1350911760","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350911868":["hashtag1","hashtag2"]},{"1350911812":["hashtag1","hashtag2"]},{"1350911760":["hashtag1","hashtag2"]},{"1350911670":["hashtag1","hashtag2"]},{"1350911618":["hashtag1","hashtag2"]},{"1350911569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350911868, 1350911812, 1350911760, 1350911670, 1350911618, 1350911569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11193251609802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:56:32.373886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_26_10486.jpg', '/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_36_9430.jpg', '/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_46_10459.jpg', '/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_56_9389.jpg', '/home/pi/Desktop/images/09042025/21/45/image_09042025_21_46_06_10365.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_16_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_26_10486.jpg
/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_36_9430.jpg
/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_46_10459.jpg
/home/pi/Desktop/images/09042025/21/45/image_09042025_21_45_56_9389.jpg
/home/pi/Desktop/images/09042025/21/45/image_09042025_21_46_06_10365.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_16_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":["1350912135","1350912414","1350912117","1350912213","1350912388","1350912246"],"photo_ids_order":["1350912117","1350912135","1350912213","1350912246","1350912388","1350912414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96c64b1f82eb1bd1eb2da77e6ef16644.jpg","text":"TemporaryFile(/tmp/multipartBody310093294233684690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232252839,"filename":"image_09042025_21_45_36_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5a4b38d66848d74a3c62416afa9c28ee.jpg","text":"TemporaryFile(/tmp/multipartBody1287915923461305952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232252839,"filename":"image_09042025_21_46_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/4/9/c076f9cec33961c7d6141218c25306eb.jpg","text":"TemporaryFile(/tmp/multipartBody3969657727350617102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232252839,"filename":"image_09042025_21_45_26_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73b714cc20393cef5fc58f9353b4aa70.jpg","text":"TemporaryFile(/tmp/multipartBody8603772786332079947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232252839,"filename":"image_09042025_21_45_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/4/9/0ce59cf04964a45e45098e61d8f653a6.jpg","text":"TemporaryFile(/tmp/multipartBody4272670819267811491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232252839,"filename":"image_09042025_21_46_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/4/9/0e3b062f3e984c7ef4fa8cc63001213b.jpg","text":"TemporaryFile(/tmp/multipartBody400057078379848799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232252839,"filename":"image_09042025_21_45_56_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350912213","file1":"1350912135","file0":"1350912117","file4":"1350912388","file5":"1350912414","file3":"1350912246"},"map_files_photo_id_array":[{"photo_id":"1350912414","filename":"file5"},{"photo_id":"1350912213","filename":"file2"},{"photo_id":"1350912388","filename":"file4"},{"photo_id":"1350912135","filename":"file1"},{"photo_id":"1350912117","filename":"file0"},{"photo_id":"1350912246","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350912135":["hashtag1","hashtag2"]},{"1350912414":["hashtag1","hashtag2"]},{"1350912117":["hashtag1","hashtag2"]},{"1350912213":["hashtag1","hashtag2"]},{"1350912388":["hashtag1","hashtag2"]},{"1350912246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350912135, 1350912414, 1350912117, 1350912213, 1350912388, 1350912246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.20839166641235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 22:57:32.631618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_26_9367.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_36_10468.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_46_9369.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_56_10372.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_47_07_10428.jpg', '/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_16_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_26_9367.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_36_10468.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_46_9369.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_56_10372.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_47_07_10428.jpg
/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_16_9359.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 marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 22:59:03.659063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_26_9367.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_36_10468.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_46_9369.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_56_10372.jpg', '/home/pi/Desktop/images/09042025/21/46/image_09042025_21_47_07_10428.jpg', '/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_16_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_26_9367.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_36_10468.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_46_9369.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_46_56_10372.jpg
/home/pi/Desktop/images/09042025/21/46/image_09042025_21_47_07_10428.jpg
/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_16_9359.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":["1350913317","1350913342","1350913491","1350913389","1350913362","1350913209"],"photo_ids_order":["1350913209","1350913317","1350913342","1350913362","1350913389","1350913491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/692f8a3f10700ec9ea3a5b0c2e9235b3.jpg","text":"TemporaryFile(/tmp/multipartBody645558493704742366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232404278,"filename":"image_09042025_21_46_36_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/28f5cb5c2f531d843dee4b6341488b7e.jpg","text":"TemporaryFile(/tmp/multipartBody4670846078032427736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232404278,"filename":"image_09042025_21_46_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/4/9/477c6082f471ccd756417aa15afb8dcc.jpg","text":"TemporaryFile(/tmp/multipartBody5562476600382940248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232404278,"filename":"image_09042025_21_47_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/05b60266ec3dfbe71822faca18ed01db.jpg","text":"TemporaryFile(/tmp/multipartBody3262941760706482042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232404278,"filename":"image_09042025_21_47_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/4/9/5a5c981b0553bde83fdfec3b3c24fd59.jpg","text":"TemporaryFile(/tmp/multipartBody8696514251853274125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232404278,"filename":"image_09042025_21_46_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/4/9/43a6b36f11568868f06aec38b0225395.jpg","text":"TemporaryFile(/tmp/multipartBody8788206361163424963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232404278,"filename":"image_09042025_21_46_26_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350913342","file1":"1350913317","file0":"1350913209","file4":"1350913389","file5":"1350913491","file3":"1350913362"},"map_files_photo_id_array":[{"photo_id":"1350913491","filename":"file5"},{"photo_id":"1350913342","filename":"file2"},{"photo_id":"1350913389","filename":"file4"},{"photo_id":"1350913317","filename":"file1"},{"photo_id":"1350913209","filename":"file0"},{"photo_id":"1350913362","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350913317":["hashtag1","hashtag2"]},{"1350913342":["hashtag1","hashtag2"]},{"1350913491":["hashtag1","hashtag2"]},{"1350913389":["hashtag1","hashtag2"]},{"1350913362":["hashtag1","hashtag2"]},{"1350913209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350913317, 1350913342, 1350913491, 1350913389, 1350913362, 1350913209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.5563850402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:00:32.575763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_26_10448.jpg', '/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_36_9364.jpg', '/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_46_10353.jpg', '/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_56_10366.jpg', '/home/pi/Desktop/images/09042025/21/47/image_09042025_21_48_06_9336.jpg', '/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_16_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_26_10448.jpg
/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_36_9364.jpg
/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_46_10353.jpg
/home/pi/Desktop/images/09042025/21/47/image_09042025_21_47_56_10366.jpg
/home/pi/Desktop/images/09042025/21/47/image_09042025_21_48_06_9336.jpg
/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_16_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":["1350913750","1350913726","1350913705","1350913698","1350913692","1350913800"],"photo_ids_order":["1350913692","1350913698","1350913705","1350913726","1350913750","1350913800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/96b09cdac7de520a985438da5136d52c.jpg","text":"TemporaryFile(/tmp/multipartBody1451602246402826570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232493038,"filename":"image_09042025_21_48_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/4/9/5fa5d9a362990a712e9c88d0a185166d.jpg","text":"TemporaryFile(/tmp/multipartBody6561816389589981096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232493038,"filename":"image_09042025_21_47_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/4/9/20949005cd5df8062f50cdbcfa199e16.jpg","text":"TemporaryFile(/tmp/multipartBody6911837405710729571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232493038,"filename":"image_09042025_21_47_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/4/9/dd02f31d65dfe5c072dad1067b487bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5241538140688122848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232493038,"filename":"image_09042025_21_47_36_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bcd452af71ce63dffe8b0fcdf28e935c.jpg","text":"TemporaryFile(/tmp/multipartBody3434793018160244395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232493038,"filename":"image_09042025_21_47_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/4/9/268a675369148cba0581244c19e57465.jpg","text":"TemporaryFile(/tmp/multipartBody8322252587038123177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232493038,"filename":"image_09042025_21_48_16_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350913705","file1":"1350913698","file0":"1350913692","file4":"1350913750","file5":"1350913800","file3":"1350913726"},"map_files_photo_id_array":[{"photo_id":"1350913800","filename":"file5"},{"photo_id":"1350913705","filename":"file2"},{"photo_id":"1350913750","filename":"file4"},{"photo_id":"1350913698","filename":"file1"},{"photo_id":"1350913692","filename":"file0"},{"photo_id":"1350913726","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350913750":["hashtag1","hashtag2"]},{"1350913726":["hashtag1","hashtag2"]},{"1350913705":["hashtag1","hashtag2"]},{"1350913698":["hashtag1","hashtag2"]},{"1350913692":["hashtag1","hashtag2"]},{"1350913800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350913750, 1350913726, 1350913705, 1350913698, 1350913692, 1350913800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.279937982559204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:01:32.899498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_26_9470.jpg', '/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_36_10352.jpg', '/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_46_10374.jpg', '/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_56_9362.jpg', '/home/pi/Desktop/images/09042025/21/48/image_09042025_21_49_06_10423.jpg', '/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_16_10102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_26_9470.jpg
/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_36_10352.jpg
/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_46_10374.jpg
/home/pi/Desktop/images/09042025/21/48/image_09042025_21_48_56_9362.jpg
/home/pi/Desktop/images/09042025/21/48/image_09042025_21_49_06_10423.jpg
/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_16_10102.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350914216","1350914126","1350914341","1350914065","1350914274","1350913986"],"photo_ids_order":["1350913986","1350914065","1350914126","1350914216","1350914274","1350914341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6fdadeaadcf1b19588e7d24d7d2b70c8.jpg","text":"TemporaryFile(/tmp/multipartBody5891008524511853049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232553365,"filename":"image_09042025_21_48_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d4dc257ffa112088c8e55e06f08b58e5.jpg","text":"TemporaryFile(/tmp/multipartBody4673794964200465387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232553365,"filename":"image_09042025_21_48_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/4/9/8536a310a8f0f559391e8073a027a378.jpg","text":"TemporaryFile(/tmp/multipartBody3078640402573241601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232553365,"filename":"image_09042025_21_49_16_10102.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b868b8028b7b9cf75ca140ed18a1392c.jpg","text":"TemporaryFile(/tmp/multipartBody7168461781526249796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232553365,"filename":"image_09042025_21_48_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/4/9/2dadf40de970eddf8a05a3560511cbe3.jpg","text":"TemporaryFile(/tmp/multipartBody7619414386526527504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232553365,"filename":"image_09042025_21_49_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7bc549e2d915912f325d96705d9ce448.jpg","text":"TemporaryFile(/tmp/multipartBody5152109129671901209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232553365,"filename":"image_09042025_21_48_26_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350914126","file1":"1350914065","file0":"1350913986","file4":"1350914274","file5":"1350914341","file3":"1350914216"},"map_files_photo_id_array":[{"photo_id":"1350914341","filename":"file5"},{"photo_id":"1350914126","filename":"file2"},{"photo_id":"1350914274","filename":"file4"},{"photo_id":"1350914065","filename":"file1"},{"photo_id":"1350913986","filename":"file0"},{"photo_id":"1350914216","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350914216":["hashtag1","hashtag2"]},{"1350914126":["hashtag1","hashtag2"]},{"1350914341":["hashtag1","hashtag2"]},{"1350914065":["hashtag1","hashtag2"]},{"1350914274":["hashtag1","hashtag2"]},{"1350913986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350914216, 1350914126, 1350914341, 1350914065, 1350914274, 1350913986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18451404571533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:02:32.998667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_26_9349.jpg', '/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_36_10352.jpg', '/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_46_10383.jpg', '/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_56_9371.jpg', '/home/pi/Desktop/images/09042025/21/49/image_09042025_21_50_06_10474.jpg', '/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_16_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_26_9349.jpg
/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_36_10352.jpg
/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_46_10383.jpg
/home/pi/Desktop/images/09042025/21/49/image_09042025_21_49_56_9371.jpg
/home/pi/Desktop/images/09042025/21/49/image_09042025_21_50_06_10474.jpg
/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_16_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":["1350915247","1350915049","1350914784","1350914865","1350915440","1350915521"],"photo_ids_order":["1350914784","1350914865","1350915049","1350915247","1350915440","1350915521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0b161c42b8baaa14df625b0b59a7f751.jpg","text":"TemporaryFile(/tmp/multipartBody219398092151399952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232613477,"filename":"image_09042025_21_49_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/32a17583489f6587d6a78601469ce03a.jpg","text":"TemporaryFile(/tmp/multipartBody8725423055966746315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232613477,"filename":"image_09042025_21_49_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/39e5d4d11bfaf043d0d7f21988419bca.jpg","text":"TemporaryFile(/tmp/multipartBody1744508298860300797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232613477,"filename":"image_09042025_21_49_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/4/9/12860713866c7ae2a858dd46c6d6e113.jpg","text":"TemporaryFile(/tmp/multipartBody4707588821504471583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232613477,"filename":"image_09042025_21_49_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/4/9/166de36fc97a7fabcb12325a85789a24.jpg","text":"TemporaryFile(/tmp/multipartBody5965311906557053313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232613477,"filename":"image_09042025_21_50_06_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a52583377b09d9cf940e509b2a054f08.jpg","text":"TemporaryFile(/tmp/multipartBody4893233927097016559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232613477,"filename":"image_09042025_21_50_16_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350915049","file1":"1350914865","file0":"1350914784","file4":"1350915440","file5":"1350915521","file3":"1350915247"},"map_files_photo_id_array":[{"photo_id":"1350915521","filename":"file5"},{"photo_id":"1350915049","filename":"file2"},{"photo_id":"1350915440","filename":"file4"},{"photo_id":"1350914865","filename":"file1"},{"photo_id":"1350914784","filename":"file0"},{"photo_id":"1350915247","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350915247":["hashtag1","hashtag2"]},{"1350915049":["hashtag1","hashtag2"]},{"1350914784":["hashtag1","hashtag2"]},{"1350914865":["hashtag1","hashtag2"]},{"1350915440":["hashtag1","hashtag2"]},{"1350915521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350915247, 1350915049, 1350914784, 1350914865, 1350915440, 1350915521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91044330596924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:03:32.260205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_26_10377.jpg', '/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_36_10372.jpg', '/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_46_9340.jpg', '/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_56_10397.jpg', '/home/pi/Desktop/images/09042025/21/50/image_09042025_21_51_07_10463.jpg', '/home/pi/Desktop/images/09042025/21/51/image_09042025_21_51_16_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_26_10377.jpg
/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_36_10372.jpg
/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_46_9340.jpg
/home/pi/Desktop/images/09042025/21/50/image_09042025_21_50_56_10397.jpg
/home/pi/Desktop/images/09042025/21/50/image_09042025_21_51_07_10463.jpg
/home/pi/Desktop/images/09042025/21/51/image_09042025_21_51_16_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":["1350916362","1350916044","1350915999","1350915950","1350916171","1350916273"],"photo_ids_order":["1350915950","1350915999","1350916044","1350916171","1350916273","1350916362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11d6b59e306503f59b163bc2cd91a387.jpg","text":"TemporaryFile(/tmp/multipartBody2413318176267009182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232672730,"filename":"image_09042025_21_51_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aeeb552abb4782624d062088fcc412ac.jpg","text":"TemporaryFile(/tmp/multipartBody514025457658176132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232672730,"filename":"image_09042025_21_50_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8304181205d8145b7f775eb1dafd430e.jpg","text":"TemporaryFile(/tmp/multipartBody6126922410350746286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232672730,"filename":"image_09042025_21_50_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/4/9/f95090ca47563c35e8bba852f4d5ce41.jpg","text":"TemporaryFile(/tmp/multipartBody9099435308220920817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232672730,"filename":"image_09042025_21_50_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/4/9/87b221e4b65d30afd4ebbb60076d514a.jpg","text":"TemporaryFile(/tmp/multipartBody7148075937423098333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232672730,"filename":"image_09042025_21_50_56_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b67f48785fcffa68dbb3a8b5a6035a90.jpg","text":"TemporaryFile(/tmp/multipartBody1964433754913574839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232672730,"filename":"image_09042025_21_51_07_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350916044","file1":"1350915999","file0":"1350915950","file4":"1350916273","file5":"1350916362","file3":"1350916171"},"map_files_photo_id_array":[{"photo_id":"1350916362","filename":"file5"},{"photo_id":"1350916044","filename":"file2"},{"photo_id":"1350916273","filename":"file4"},{"photo_id":"1350915999","filename":"file1"},{"photo_id":"1350915950","filename":"file0"},{"photo_id":"1350916171","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350916362":["hashtag1","hashtag2"]},{"1350916044":["hashtag1","hashtag2"]},{"1350915999":["hashtag1","hashtag2"]},{"1350915950":["hashtag1","hashtag2"]},{"1350916171":["hashtag1","hashtag2"]},{"1350916273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350916362, 1350916044, 1350915999, 1350915950, 1350916171, 1350916273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.476370096206665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:04:32.378368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/51/image_09042025_21_51_26_10496.jpg', '/home/pi/Desktop/images/09042025/21/51/image_09042025_21_51_36_9445.jpg', '/home/pi/Desktop/images/09042025/21/51/image_09042025_21_51_46_10421.jpg', '/home/pi/Desktop/images/09042025/21/52/image_09042025_21_52_26_9370.jpg', '/home/pi/Desktop/images/09042025/21/52/image_09042025_21_52_36_10364.jpg', '/home/pi/Desktop/images/09042025/21/52/image_09042025_21_52_56_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/51/image_09042025_21_51_26_10496.jpg
/home/pi/Desktop/images/09042025/21/51/image_09042025_21_51_36_9445.jpg
/home/pi/Desktop/images/09042025/21/51/image_09042025_21_51_46_10421.jpg
/home/pi/Desktop/images/09042025/21/52/image_09042025_21_52_26_9370.jpg
/home/pi/Desktop/images/09042025/21/52/image_09042025_21_52_36_10364.jpg
/home/pi/Desktop/images/09042025/21/52/image_09042025_21_52_56_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":["1350917064","1350916878","1350916728","1350917006","1350916826","1350916792"],"photo_ids_order":["1350916728","1350916792","1350916826","1350916878","1350917006","1350917064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/109a29ce2b9bcbb1ac4b8e748f662931.jpg","text":"TemporaryFile(/tmp/multipartBody2470974695407985341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232732845,"filename":"image_09042025_21_52_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/41ffc0438a73394c7408c313d9119282.jpg","text":"TemporaryFile(/tmp/multipartBody8028592362862133872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232732845,"filename":"image_09042025_21_52_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/4/9/eedf6ae521d2961c2c1f58c5d9b52939.jpg","text":"TemporaryFile(/tmp/multipartBody2505388476508921350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232732845,"filename":"image_09042025_21_51_26_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d160b4a68b18c06118476752a2463009.jpg","text":"TemporaryFile(/tmp/multipartBody6651507714761927911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232732845,"filename":"image_09042025_21_52_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/4/9/2e20745689211dc9b7a992bfbf15bf0a.jpg","text":"TemporaryFile(/tmp/multipartBody3889569178441051471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232732845,"filename":"image_09042025_21_51_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/4/9/5949d1db76ce50d124348903ef24cdc1.jpg","text":"TemporaryFile(/tmp/multipartBody2841106005103109894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232732845,"filename":"image_09042025_21_51_36_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350916826","file1":"1350916792","file0":"1350916728","file4":"1350917006","file5":"1350917064","file3":"1350916878"},"map_files_photo_id_array":[{"photo_id":"1350917064","filename":"file5"},{"photo_id":"1350916826","filename":"file2"},{"photo_id":"1350917006","filename":"file4"},{"photo_id":"1350916792","filename":"file1"},{"photo_id":"1350916728","filename":"file0"},{"photo_id":"1350916878","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350917064":["hashtag1","hashtag2"]},{"1350916878":["hashtag1","hashtag2"]},{"1350916728":["hashtag1","hashtag2"]},{"1350917006":["hashtag1","hashtag2"]},{"1350916826":["hashtag1","hashtag2"]},{"1350916792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350917064, 1350916878, 1350916728, 1350917006, 1350916826, 1350916792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.206599235534668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:05:32.635601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/52/image_09042025_21_53_06_10496.jpg', '/home/pi/Desktop/images/09042025/21/53/image_09042025_21_53_16_9370.jpg', '/home/pi/Desktop/images/09042025/21/53/image_09042025_21_53_56_10458.jpg', '/home/pi/Desktop/images/09042025/21/53/image_09042025_21_54_06_9356.jpg', '/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_16_10345.jpg', '/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_26_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/52/image_09042025_21_53_06_10496.jpg
/home/pi/Desktop/images/09042025/21/53/image_09042025_21_53_16_9370.jpg
/home/pi/Desktop/images/09042025/21/53/image_09042025_21_53_56_10458.jpg
/home/pi/Desktop/images/09042025/21/53/image_09042025_21_54_06_9356.jpg
/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_16_10345.jpg
/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_26_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350917553","1350917653","1350917713","1350917737","1350917688","1350917611"],"photo_ids_order":["1350917553","1350917611","1350917653","1350917688","1350917713","1350917737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/209e747715cc5f0b1323dedca78a00f2.jpg","text":"TemporaryFile(/tmp/multipartBody1836037402898695696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232793104,"filename":"image_09042025_21_53_06_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d7a216c3d5f6c939e1c85a773dd78558.jpg","text":"TemporaryFile(/tmp/multipartBody4627535837681536354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232793104,"filename":"image_09042025_21_53_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/4/9/19e12eeedbd8577a68cf487864032b58.jpg","text":"TemporaryFile(/tmp/multipartBody6636638713729756071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232793104,"filename":"image_09042025_21_54_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/4/9/1ae5215591dffc9782322e8fbd130215.jpg","text":"TemporaryFile(/tmp/multipartBody3501266326598509061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232793104,"filename":"image_09042025_21_54_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/4/9/54abaa8fe2115c9dfa113b1ad5f1111f.jpg","text":"TemporaryFile(/tmp/multipartBody4597689709872817023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232793104,"filename":"image_09042025_21_54_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/4/9/4ddcaea8079c92ddd3b650e8a60ab369.jpg","text":"TemporaryFile(/tmp/multipartBody2785910526112133498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232793104,"filename":"image_09042025_21_53_16_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350917653","file1":"1350917611","file0":"1350917553","file4":"1350917713","file5":"1350917737","file3":"1350917688"},"map_files_photo_id_array":[{"photo_id":"1350917737","filename":"file5"},{"photo_id":"1350917653","filename":"file2"},{"photo_id":"1350917713","filename":"file4"},{"photo_id":"1350917611","filename":"file1"},{"photo_id":"1350917553","filename":"file0"},{"photo_id":"1350917688","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350917553":["hashtag1","hashtag2"]},{"1350917653":["hashtag1","hashtag2"]},{"1350917713":["hashtag1","hashtag2"]},{"1350917737":["hashtag1","hashtag2"]},{"1350917688":["hashtag1","hashtag2"]},{"1350917611":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350917553, 1350917653, 1350917713, 1350917737, 1350917688, 1350917611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90235137939453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:06:32.842837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_36_9349.jpg', '/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_46_10367.jpg', '/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_56_9416.jpg', '/home/pi/Desktop/images/09042025/21/54/image_09042025_21_55_06_10356.jpg', '/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_16_10425.jpg', '/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_26_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_36_9349.jpg
/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_46_10367.jpg
/home/pi/Desktop/images/09042025/21/54/image_09042025_21_54_56_9416.jpg
/home/pi/Desktop/images/09042025/21/54/image_09042025_21_55_06_10356.jpg
/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_16_10425.jpg
/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_26_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":["1350918354","1350918584","1350918210","1350918476","1350918736","1350918634"],"photo_ids_order":["1350918210","1350918354","1350918476","1350918584","1350918634","1350918736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2faf7f373e5038199ca3fe72f5e9521d.jpg","text":"TemporaryFile(/tmp/multipartBody731563973698891830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232853310,"filename":"image_09042025_21_54_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/4/9/4cfa058571db8f0b91286db50d975534.jpg","text":"TemporaryFile(/tmp/multipartBody4750035471365464816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232853310,"filename":"image_09042025_21_55_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/4/9/095b22e2190c694bbfaf128fc27c5bdd.jpg","text":"TemporaryFile(/tmp/multipartBody5219804554742043922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232853310,"filename":"image_09042025_21_54_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/4/9/3ec371eaabfff1db5600b8cf39f20a64.jpg","text":"TemporaryFile(/tmp/multipartBody5833019577960282121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232853310,"filename":"image_09042025_21_54_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/4/9/91a90fcbf50e4794277542c5f2d94fce.jpg","text":"TemporaryFile(/tmp/multipartBody2655500453410611319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232853310,"filename":"image_09042025_21_55_26_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/133c6daf861a85c2cbd8f60465cecaa7.jpg","text":"TemporaryFile(/tmp/multipartBody3575833005819474367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232853310,"filename":"image_09042025_21_55_16_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350918476","file1":"1350918354","file0":"1350918210","file4":"1350918634","file5":"1350918736","file3":"1350918584"},"map_files_photo_id_array":[{"photo_id":"1350918736","filename":"file5"},{"photo_id":"1350918476","filename":"file2"},{"photo_id":"1350918634","filename":"file4"},{"photo_id":"1350918354","filename":"file1"},{"photo_id":"1350918210","filename":"file0"},{"photo_id":"1350918584","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350918354":["hashtag1","hashtag2"]},{"1350918584":["hashtag1","hashtag2"]},{"1350918210":["hashtag1","hashtag2"]},{"1350918476":["hashtag1","hashtag2"]},{"1350918736":["hashtag1","hashtag2"]},{"1350918634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350918354, 1350918584, 1350918210, 1350918476, 1350918736, 1350918634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.368898153305054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:07:33.006103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_36_10364.jpg', '/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_47_10429.jpg', '/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_56_9348.jpg', '/home/pi/Desktop/images/09042025/21/55/image_09042025_21_56_06_10517.jpg', '/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_16_9452.jpg', '/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_26_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_36_10364.jpg
/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_47_10429.jpg
/home/pi/Desktop/images/09042025/21/55/image_09042025_21_55_56_9348.jpg
/home/pi/Desktop/images/09042025/21/55/image_09042025_21_56_06_10517.jpg
/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_16_9452.jpg
/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_26_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":["1350919684","1350919552","1350919596","1350919383","1350919650","1350919737"],"photo_ids_order":["1350919383","1350919552","1350919596","1350919650","1350919684","1350919737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f48bf257c20f3e9df6d58b345a1b93fd.jpg","text":"TemporaryFile(/tmp/multipartBody3038343890028069919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232913474,"filename":"image_09042025_21_56_16_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f733bbfc683b428de48391af3a997e54.jpg","text":"TemporaryFile(/tmp/multipartBody1573212121694740874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232913474,"filename":"image_09042025_21_55_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/4/9/75630e4c8154628c8d430b5831f6d8d1.jpg","text":"TemporaryFile(/tmp/multipartBody1216644536963297845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232913474,"filename":"image_09042025_21_55_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/4/9/6d818696c4f298b304979586bd4b10b6.jpg","text":"TemporaryFile(/tmp/multipartBody1811073228022083878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232913474,"filename":"image_09042025_21_55_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/4/9/c740af8569b7bc82c585759a00f18686.jpg","text":"TemporaryFile(/tmp/multipartBody6520137116754657469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232913474,"filename":"image_09042025_21_56_06_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e6a3aa38fbabcf8797d9fca5a5b750f.jpg","text":"TemporaryFile(/tmp/multipartBody6284930771561616160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232913474,"filename":"image_09042025_21_56_26_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350919596","file1":"1350919552","file0":"1350919383","file4":"1350919684","file5":"1350919737","file3":"1350919650"},"map_files_photo_id_array":[{"photo_id":"1350919737","filename":"file5"},{"photo_id":"1350919596","filename":"file2"},{"photo_id":"1350919684","filename":"file4"},{"photo_id":"1350919552","filename":"file1"},{"photo_id":"1350919383","filename":"file0"},{"photo_id":"1350919650","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350919684":["hashtag1","hashtag2"]},{"1350919552":["hashtag1","hashtag2"]},{"1350919596":["hashtag1","hashtag2"]},{"1350919383":["hashtag1","hashtag2"]},{"1350919650":["hashtag1","hashtag2"]},{"1350919737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350919684, 1350919552, 1350919596, 1350919383, 1350919650, 1350919737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70914435386658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:08:32.251368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_36_9388.jpg', '/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_46_10377.jpg', '/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_56_10378.jpg', '/home/pi/Desktop/images/09042025/21/56/image_09042025_21_57_06_9370.jpg', '/home/pi/Desktop/images/09042025/21/57/image_09042025_21_57_16_10378.jpg', '/home/pi/Desktop/images/09042025/21/57/image_09042025_21_57_26_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_36_9388.jpg
/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_46_10377.jpg
/home/pi/Desktop/images/09042025/21/56/image_09042025_21_56_56_10378.jpg
/home/pi/Desktop/images/09042025/21/56/image_09042025_21_57_06_9370.jpg
/home/pi/Desktop/images/09042025/21/57/image_09042025_21_57_16_10378.jpg
/home/pi/Desktop/images/09042025/21/57/image_09042025_21_57_26_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":["1350920238","1350920194","1350920266","1350920215","1350920289","1350920175"],"photo_ids_order":["1350920175","1350920194","1350920215","1350920238","1350920266","1350920289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0e6dc35a7f590b5002eef6a093d1e668.jpg","text":"TemporaryFile(/tmp/multipartBody912926677009663565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232972743,"filename":"image_09042025_21_57_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b21dc360e6b0044430ee2e0104cb4b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7678590715665977285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232972743,"filename":"image_09042025_21_56_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c61ecfb7927fabfdb7d102376a1b921.jpg","text":"TemporaryFile(/tmp/multipartBody7915830212034251055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232972743,"filename":"image_09042025_21_57_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/672579cd49a9baf56dfcd45bcb3b8c50.jpg","text":"TemporaryFile(/tmp/multipartBody565333781571967802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232972743,"filename":"image_09042025_21_56_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d194ff6f5997b6951de0c29dc9249156.jpg","text":"TemporaryFile(/tmp/multipartBody5914341730468030075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232972743,"filename":"image_09042025_21_57_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d56de92e4f4751a70ae74b044571f77.jpg","text":"TemporaryFile(/tmp/multipartBody7175744035236235542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744232972743,"filename":"image_09042025_21_56_36_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350920215","file1":"1350920194","file0":"1350920175","file4":"1350920266","file5":"1350920289","file3":"1350920238"},"map_files_photo_id_array":[{"photo_id":"1350920289","filename":"file5"},{"photo_id":"1350920215","filename":"file2"},{"photo_id":"1350920266","filename":"file4"},{"photo_id":"1350920194","filename":"file1"},{"photo_id":"1350920175","filename":"file0"},{"photo_id":"1350920238","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350920238":["hashtag1","hashtag2"]},{"1350920194":["hashtag1","hashtag2"]},{"1350920266":["hashtag1","hashtag2"]},{"1350920215":["hashtag1","hashtag2"]},{"1350920289":["hashtag1","hashtag2"]},{"1350920175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350920238, 1350920194, 1350920266, 1350920215, 1350920289, 1350920175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69963073730469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:09:32.509322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/57/image_09042025_21_57_46_10477.jpg', '/home/pi/Desktop/images/09042025/21/57/image_09042025_21_57_56_9421.jpg', '/home/pi/Desktop/images/09042025/21/57/image_09042025_21_58_06_10479.jpg', '/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_16_9361.jpg', '/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_26_10378.jpg', '/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_37_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/57/image_09042025_21_57_46_10477.jpg
/home/pi/Desktop/images/09042025/21/57/image_09042025_21_57_56_9421.jpg
/home/pi/Desktop/images/09042025/21/57/image_09042025_21_58_06_10479.jpg
/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_16_9361.jpg
/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_26_10378.jpg
/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_37_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350920628","1350920774","1350920677","1350920551","1350920713","1350920595"],"photo_ids_order":["1350920551","1350920595","1350920628","1350920677","1350920713","1350920774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8b67143c8cb6959f4cce90839cdfef9b.jpg","text":"TemporaryFile(/tmp/multipartBody115080187512042208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233032971,"filename":"image_09042025_21_58_06_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/488471d6b210c1fec1a5c6f3dc310427.jpg","text":"TemporaryFile(/tmp/multipartBody6351308238584121778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233032971,"filename":"image_09042025_21_58_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/4/9/8f3df0c65edbf8f98201363344ea0fe4.jpg","text":"TemporaryFile(/tmp/multipartBody8278565699721556801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233032971,"filename":"image_09042025_21_58_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/4/9/a259f081781f5a35f8ff8d0b3362c1dd.jpg","text":"TemporaryFile(/tmp/multipartBody8452217958067570442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233032971,"filename":"image_09042025_21_57_46_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e4775299ec489c5ac0a7717b60b6723f.jpg","text":"TemporaryFile(/tmp/multipartBody6983310020496637567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233032971,"filename":"image_09042025_21_58_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/82779a292bdaff5355badef19276c19c.jpg","text":"TemporaryFile(/tmp/multipartBody7556250779492375765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233032971,"filename":"image_09042025_21_57_56_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350920628","file1":"1350920595","file0":"1350920551","file4":"1350920713","file5":"1350920774","file3":"1350920677"},"map_files_photo_id_array":[{"photo_id":"1350920774","filename":"file5"},{"photo_id":"1350920628","filename":"file2"},{"photo_id":"1350920713","filename":"file4"},{"photo_id":"1350920595","filename":"file1"},{"photo_id":"1350920551","filename":"file0"},{"photo_id":"1350920677","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350920628":["hashtag1","hashtag2"]},{"1350920774":["hashtag1","hashtag2"]},{"1350920677":["hashtag1","hashtag2"]},{"1350920551":["hashtag1","hashtag2"]},{"1350920713":["hashtag1","hashtag2"]},{"1350920595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350920628, 1350920774, 1350920677, 1350920551, 1350920713, 1350920595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83982276916504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:10:32.735457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_46_9357.jpg', '/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_56_10449.jpg', '/home/pi/Desktop/images/09042025/21/58/image_09042025_21_59_06_9424.jpg', '/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_16_10360.jpg', '/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_27_10467.jpg', '/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_36_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_46_9357.jpg
/home/pi/Desktop/images/09042025/21/58/image_09042025_21_58_56_10449.jpg
/home/pi/Desktop/images/09042025/21/58/image_09042025_21_59_06_9424.jpg
/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_16_10360.jpg
/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_27_10467.jpg
/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_36_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350921230","1350921221","1350921112","1350921198","1350921225","1350921216"],"photo_ids_order":["1350921112","1350921198","1350921216","1350921221","1350921225","1350921230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fdb49b2b68eef37310020d22f71f100e.jpg","text":"TemporaryFile(/tmp/multipartBody2451750893129740420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233093228,"filename":"image_09042025_21_59_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/4/9/7b8fe218f1483ee1ce9ca10f4cc84f63.jpg","text":"TemporaryFile(/tmp/multipartBody2149608886821976390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233093228,"filename":"image_09042025_21_59_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6d09fa2d91fdda925f46d05bf62e3e8f.jpg","text":"TemporaryFile(/tmp/multipartBody4866293560564781426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233093228,"filename":"image_09042025_21_58_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a5bed50531eb4441df48a6ff3a81ed9a.jpg","text":"TemporaryFile(/tmp/multipartBody1444368500585461177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233093228,"filename":"image_09042025_21_58_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/4/9/73369431de9b198971b0bc4b59f329b9.jpg","text":"TemporaryFile(/tmp/multipartBody7225407509693904448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233093228,"filename":"image_09042025_21_59_27_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dcb9c4c3ce3bd5bd5efce5e01adffddd.jpg","text":"TemporaryFile(/tmp/multipartBody2942605469345964124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233093228,"filename":"image_09042025_21_59_06_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350921216","file1":"1350921198","file0":"1350921112","file4":"1350921225","file5":"1350921230","file3":"1350921221"},"map_files_photo_id_array":[{"photo_id":"1350921230","filename":"file5"},{"photo_id":"1350921216","filename":"file2"},{"photo_id":"1350921225","filename":"file4"},{"photo_id":"1350921198","filename":"file1"},{"photo_id":"1350921112","filename":"file0"},{"photo_id":"1350921221","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350921230":["hashtag1","hashtag2"]},{"1350921221":["hashtag1","hashtag2"]},{"1350921112":["hashtag1","hashtag2"]},{"1350921198":["hashtag1","hashtag2"]},{"1350921225":["hashtag1","hashtag2"]},{"1350921216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350921230, 1350921221, 1350921112, 1350921198, 1350921225, 1350921216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.52142596244812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:11:34.207420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_46_10450.jpg', '/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_56_9355.jpg', '/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_15_10077.jpg', '/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_25_10365.jpg', '/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_36_10427.jpg', '/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_45_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_46_10450.jpg
/home/pi/Desktop/images/09042025/21/59/image_09042025_21_59_56_9355.jpg
/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_15_10077.jpg
/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_25_10365.jpg
/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_36_10427.jpg
/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_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":["1350921275","1350921269","1350921265","1350921270","1350921267","1350921272"],"photo_ids_order":["1350921265","1350921267","1350921269","1350921270","1350921272","1350921275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f41f4a3bb067ed90fd7ae057f4cae402.jpg","text":"TemporaryFile(/tmp/multipartBody4427593821059788378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233154707,"filename":"image_09042025_22_01_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/4/9/c938c008af52b187c191af547133bbed.jpg","text":"TemporaryFile(/tmp/multipartBody3089803599917679333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233154707,"filename":"image_09042025_22_01_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0802f5fca3ac1f6f777c48577ebc2546.jpg","text":"TemporaryFile(/tmp/multipartBody2561413275981273405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233154707,"filename":"image_09042025_21_59_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/4/9/cc2e61ba3c737795bb9c94cc6a1af078.jpg","text":"TemporaryFile(/tmp/multipartBody111907285691165921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233154707,"filename":"image_09042025_22_01_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/4/9/fbf1fbc31f57b752791d7ea1d37727a5.jpg","text":"TemporaryFile(/tmp/multipartBody565502610126490783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233154707,"filename":"image_09042025_21_59_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/4/9/e086bcc30e5c59847e10fab699ba0b91.jpg","text":"TemporaryFile(/tmp/multipartBody8101908461906721659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233154707,"filename":"image_09042025_22_01_36_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350921269","file1":"1350921267","file0":"1350921265","file4":"1350921272","file5":"1350921275","file3":"1350921270"},"map_files_photo_id_array":[{"photo_id":"1350921275","filename":"file5"},{"photo_id":"1350921269","filename":"file2"},{"photo_id":"1350921272","filename":"file4"},{"photo_id":"1350921267","filename":"file1"},{"photo_id":"1350921265","filename":"file0"},{"photo_id":"1350921270","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350921275":["hashtag1","hashtag2"]},{"1350921269":["hashtag1","hashtag2"]},{"1350921265":["hashtag1","hashtag2"]},{"1350921270":["hashtag1","hashtag2"]},{"1350921267":["hashtag1","hashtag2"]},{"1350921272":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350921275, 1350921269, 1350921265, 1350921270, 1350921267, 1350921272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.81909942626953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:12:32.196707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_55_10393.jpg', '/home/pi/Desktop/images/09042025/22/01/image_09042025_22_02_06_10359.jpg', '/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_15_9333.jpg', '/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_25_10374.jpg', '/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_35_9352.jpg', '/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_45_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/01/image_09042025_22_01_55_10393.jpg
/home/pi/Desktop/images/09042025/22/01/image_09042025_22_02_06_10359.jpg
/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_15_9333.jpg
/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_25_10374.jpg
/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_35_9352.jpg
/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_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":["1350921425","1350921347","1350921480","1350921576","1350921354","1350921398"],"photo_ids_order":["1350921347","1350921354","1350921398","1350921425","1350921480","1350921576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fd2eae6a36e6f103f3d02850bcd9c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody7223391802488476083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233212702,"filename":"image_09042025_22_02_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/4/9/22aa5afd47d9ec2d4c3c2fb6e9e34d74.jpg","text":"TemporaryFile(/tmp/multipartBody3334733979561660128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233212702,"filename":"image_09042025_22_01_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b21fa148a54289c02a1eb12bf3939348.jpg","text":"TemporaryFile(/tmp/multipartBody76805589380285540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233212702,"filename":"image_09042025_22_02_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e158a687c4bbfa85a8847b50f0c43a15.jpg","text":"TemporaryFile(/tmp/multipartBody6447854990477260769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233212702,"filename":"image_09042025_22_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/4/9/92c9ee0c99b0efab81582e5d64d445e1.jpg","text":"TemporaryFile(/tmp/multipartBody4885109864881762285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233212702,"filename":"image_09042025_22_02_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/4/9/5a3cdb4285d59dd04d36ea846fd65ae3.jpg","text":"TemporaryFile(/tmp/multipartBody6144834227234799594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233212702,"filename":"image_09042025_22_02_15_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350921398","file1":"1350921354","file0":"1350921347","file4":"1350921480","file5":"1350921576","file3":"1350921425"},"map_files_photo_id_array":[{"photo_id":"1350921576","filename":"file5"},{"photo_id":"1350921398","filename":"file2"},{"photo_id":"1350921480","filename":"file4"},{"photo_id":"1350921354","filename":"file1"},{"photo_id":"1350921347","filename":"file0"},{"photo_id":"1350921425","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350921425":["hashtag1","hashtag2"]},{"1350921347":["hashtag1","hashtag2"]},{"1350921480":["hashtag1","hashtag2"]},{"1350921576":["hashtag1","hashtag2"]},{"1350921354":["hashtag1","hashtag2"]},{"1350921398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350921425, 1350921347, 1350921480, 1350921576, 1350921354, 1350921398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.20697808265686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:13:32.393762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_55_10378.jpg', '/home/pi/Desktop/images/09042025/22/02/image_09042025_22_03_05_9406.jpg', '/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_15_10480.jpg', '/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_25_9363.jpg', '/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_35_10378.jpg', '/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/02/image_09042025_22_02_55_10378.jpg
/home/pi/Desktop/images/09042025/22/02/image_09042025_22_03_05_9406.jpg
/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_15_10480.jpg
/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_25_9363.jpg
/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_35_10378.jpg
/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_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":["1350922031","1350922001","1350921973","1350921940","1350921891","1350921989"],"photo_ids_order":["1350921891","1350921940","1350921973","1350921989","1350922001","1350922031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0be67d7892aea04b1fe28030b35603d0.jpg","text":"TemporaryFile(/tmp/multipartBody1341673247965273827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233272858,"filename":"image_09042025_22_03_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/4/9/efd4bcceb6b73fb290eef19fa478c125.jpg","text":"TemporaryFile(/tmp/multipartBody5127812151026686896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233272858,"filename":"image_09042025_22_03_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f208529f911538c57767d15cab830d9.jpg","text":"TemporaryFile(/tmp/multipartBody7751579098997427537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233272858,"filename":"image_09042025_22_03_15_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0a86ca6e9bd0889a422a4176f802aa6d.jpg","text":"TemporaryFile(/tmp/multipartBody1655733254037886593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233272858,"filename":"image_09042025_22_03_05_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/08ffe3ff7b078d590bffdbdb5fc0b1a1.jpg","text":"TemporaryFile(/tmp/multipartBody5260581502785723863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233272858,"filename":"image_09042025_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/4/9/e1a2afbfb3c01b7199947358834e0955.jpg","text":"TemporaryFile(/tmp/multipartBody2470296011762999722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233272858,"filename":"image_09042025_22_03_25_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350921973","file1":"1350921940","file0":"1350921891","file4":"1350922001","file5":"1350922031","file3":"1350921989"},"map_files_photo_id_array":[{"photo_id":"1350922031","filename":"file5"},{"photo_id":"1350921973","filename":"file2"},{"photo_id":"1350922001","filename":"file4"},{"photo_id":"1350921940","filename":"file1"},{"photo_id":"1350921891","filename":"file0"},{"photo_id":"1350921989","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350922031":["hashtag1","hashtag2"]},{"1350922001":["hashtag1","hashtag2"]},{"1350921973":["hashtag1","hashtag2"]},{"1350921940":["hashtag1","hashtag2"]},{"1350921891":["hashtag1","hashtag2"]},{"1350921989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350922031, 1350922001, 1350921973, 1350921940, 1350921891, 1350921989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2276771068573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:14:32.589309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_55_9388.jpg', '/home/pi/Desktop/images/09042025/22/03/image_09042025_22_04_05_10451.jpg', '/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_16_10366.jpg', '/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_25_9363.jpg', '/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_35_10355.jpg', '/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_45_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/03/image_09042025_22_03_55_9388.jpg
/home/pi/Desktop/images/09042025/22/03/image_09042025_22_04_05_10451.jpg
/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_16_10366.jpg
/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_25_9363.jpg
/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_35_10355.jpg
/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_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":["1350922442","1350922418","1350922396","1350922467","1350922362","1350922493"],"photo_ids_order":["1350922362","1350922396","1350922418","1350922442","1350922467","1350922493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/352f0823ec6743dbc5fdfdc9d94ae75b.jpg","text":"TemporaryFile(/tmp/multipartBody148454696268158720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233333051,"filename":"image_09042025_22_04_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/13783ba0122a8170b71105a1109d1be3.jpg","text":"TemporaryFile(/tmp/multipartBody1724100409258383591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233333051,"filename":"image_09042025_22_04_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/628e9784b4428542d128694cc13ee1ea.jpg","text":"TemporaryFile(/tmp/multipartBody79979225336857926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233333051,"filename":"image_09042025_22_04_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/4/9/062d991cfb428ac1f8ea4d07c32ed6f4.jpg","text":"TemporaryFile(/tmp/multipartBody7075317206020109478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233333051,"filename":"image_09042025_22_04_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5735a9f05a7b8d40554147361b87e4fe.jpg","text":"TemporaryFile(/tmp/multipartBody2807458717847704391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233333051,"filename":"image_09042025_22_03_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7aef1b9afff61fa80e2351ce052ed659.jpg","text":"TemporaryFile(/tmp/multipartBody6883219772994304724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233333051,"filename":"image_09042025_22_04_45_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350922418","file1":"1350922396","file0":"1350922362","file4":"1350922467","file5":"1350922493","file3":"1350922442"},"map_files_photo_id_array":[{"photo_id":"1350922493","filename":"file5"},{"photo_id":"1350922418","filename":"file2"},{"photo_id":"1350922467","filename":"file4"},{"photo_id":"1350922396","filename":"file1"},{"photo_id":"1350922362","filename":"file0"},{"photo_id":"1350922442","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350922442":["hashtag1","hashtag2"]},{"1350922418":["hashtag1","hashtag2"]},{"1350922396":["hashtag1","hashtag2"]},{"1350922467":["hashtag1","hashtag2"]},{"1350922362":["hashtag1","hashtag2"]},{"1350922493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350922442, 1350922418, 1350922396, 1350922467, 1350922362, 1350922493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.994602918624878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:15:32.834754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_55_10418.jpg', '/home/pi/Desktop/images/09042025/22/04/image_09042025_22_05_06_10358.jpg', '/home/pi/Desktop/images/09042025/22/05/image_09042025_22_05_15_9347.jpg', '/home/pi/Desktop/images/09042025/22/05/image_09042025_22_05_25_10445.jpg', '/home/pi/Desktop/images/09042025/22/05/image_09042025_22_05_36_10355.jpg', '/home/pi/Desktop/images/09042025/22/05/image_09042025_22_06_05_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/04/image_09042025_22_04_55_10418.jpg
/home/pi/Desktop/images/09042025/22/04/image_09042025_22_05_06_10358.jpg
/home/pi/Desktop/images/09042025/22/05/image_09042025_22_05_15_9347.jpg
/home/pi/Desktop/images/09042025/22/05/image_09042025_22_05_25_10445.jpg
/home/pi/Desktop/images/09042025/22/05/image_09042025_22_05_36_10355.jpg
/home/pi/Desktop/images/09042025/22/05/image_09042025_22_06_05_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350922696","1350922680","1350922686","1350922674","1350922682","1350922670"],"photo_ids_order":["1350922670","1350922674","1350922680","1350922682","1350922686","1350922696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3e322707f2ef213e132bbdccd65bff0.jpg","text":"TemporaryFile(/tmp/multipartBody2611358251330407800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233393303,"filename":"image_09042025_22_06_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/4/9/2e7948d09f7ab56be8dd19b110c397fd.jpg","text":"TemporaryFile(/tmp/multipartBody2763110979990809648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233393303,"filename":"image_09042025_22_05_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/aa97d3da1dd84196e4edfb6f1386f6bb.jpg","text":"TemporaryFile(/tmp/multipartBody4638913936739455864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233393303,"filename":"image_09042025_22_05_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/4/9/fd360aa26bc5b80f7d412bc1c0d4e78c.jpg","text":"TemporaryFile(/tmp/multipartBody7615041649672103512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233393303,"filename":"image_09042025_22_05_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1966919e16bff0f7756e5f87ee372916.jpg","text":"TemporaryFile(/tmp/multipartBody733003929527478656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233393303,"filename":"image_09042025_22_05_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/4/9/a8216e0d680f7f1b9bff3e14f3a7006f.jpg","text":"TemporaryFile(/tmp/multipartBody977765854261083356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233393303,"filename":"image_09042025_22_04_55_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350922680","file1":"1350922674","file0":"1350922670","file4":"1350922686","file5":"1350922696","file3":"1350922682"},"map_files_photo_id_array":[{"photo_id":"1350922696","filename":"file5"},{"photo_id":"1350922680","filename":"file2"},{"photo_id":"1350922686","filename":"file4"},{"photo_id":"1350922674","filename":"file1"},{"photo_id":"1350922670","filename":"file0"},{"photo_id":"1350922682","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350922696":["hashtag1","hashtag2"]},{"1350922680":["hashtag1","hashtag2"]},{"1350922686":["hashtag1","hashtag2"]},{"1350922674":["hashtag1","hashtag2"]},{"1350922682":["hashtag1","hashtag2"]},{"1350922670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350922696, 1350922680, 1350922686, 1350922674, 1350922682, 1350922670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95604586601257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:16:32.999697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_15_10407.jpg', '/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_26_10356.jpg', '/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_35_9423.jpg', '/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_45_10366.jpg', '/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_55_9359.jpg', '/home/pi/Desktop/images/09042025/22/06/image_09042025_22_07_05_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_15_10407.jpg
/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_26_10356.jpg
/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_35_9423.jpg
/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_45_10366.jpg
/home/pi/Desktop/images/09042025/22/06/image_09042025_22_06_55_9359.jpg
/home/pi/Desktop/images/09042025/22/06/image_09042025_22_07_05_10347.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":["1350923011","1350923113","1350923041","1350922887","1350922962","1350922908"],"photo_ids_order":["1350922887","1350922908","1350922962","1350923011","1350923041","1350923113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e006dd62f953240585123a1070969500.jpg","text":"TemporaryFile(/tmp/multipartBody6423151008581710522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233453467,"filename":"image_09042025_22_06_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/4/9/f458fc2d82fa2e577809b5bb6d26dacd.jpg","text":"TemporaryFile(/tmp/multipartBody2779639942793203621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233453467,"filename":"image_09042025_22_07_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/4/9/5a3bbdf3a3527f4e4909128938856a2b.jpg","text":"TemporaryFile(/tmp/multipartBody4995284547165560074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233453467,"filename":"image_09042025_22_06_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/4/9/9d5272e654939c4180a1fd8b80eac9b6.jpg","text":"TemporaryFile(/tmp/multipartBody6703898512127454010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233453467,"filename":"image_09042025_22_06_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/4/9/65d96084031d9a4d37a205fd176fd5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7973664174250790057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233453467,"filename":"image_09042025_22_06_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/4/9/addd0dc4285240a5f9ef9c28d0442880.jpg","text":"TemporaryFile(/tmp/multipartBody7510553352061202093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233453467,"filename":"image_09042025_22_06_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350922962","file1":"1350922908","file0":"1350922887","file4":"1350923041","file5":"1350923113","file3":"1350923011"},"map_files_photo_id_array":[{"photo_id":"1350923113","filename":"file5"},{"photo_id":"1350922962","filename":"file2"},{"photo_id":"1350923041","filename":"file4"},{"photo_id":"1350922908","filename":"file1"},{"photo_id":"1350922887","filename":"file0"},{"photo_id":"1350923011","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350923011":["hashtag1","hashtag2"]},{"1350923113":["hashtag1","hashtag2"]},{"1350923041":["hashtag1","hashtag2"]},{"1350922887":["hashtag1","hashtag2"]},{"1350922962":["hashtag1","hashtag2"]},{"1350922908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350923011, 1350923113, 1350923041, 1350922887, 1350922962, 1350922908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.11461353302002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 23:17:42.247101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_16_10454.jpg', '/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_25_9352.jpg', '/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_35_10409.jpg', '/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_45_9356.jpg', '/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_55_10367.jpg', '/home/pi/Desktop/images/09042025/22/07/image_09042025_22_08_06_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_16_10454.jpg
/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_25_9352.jpg
/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_35_10409.jpg
/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_45_9356.jpg
/home/pi/Desktop/images/09042025/22/07/image_09042025_22_07_55_10367.jpg
/home/pi/Desktop/images/09042025/22/07/image_09042025_22_08_06_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":["1350923196","1350923175","1350923220","1350923243","1350923284","1350923266"],"photo_ids_order":["1350923175","1350923196","1350923220","1350923243","1350923266","1350923284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ea651a359cf9616fab59afd258b9b35.jpg","text":"TemporaryFile(/tmp/multipartBody1539332008419737039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233522716,"filename":"image_09042025_22_07_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/4/9/7fca3a3c202df38b0fcc357c6e320a07.jpg","text":"TemporaryFile(/tmp/multipartBody3960997940310787422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233522716,"filename":"image_09042025_22_07_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/4/9/844efd0f0bc350141619b3f546747c41.jpg","text":"TemporaryFile(/tmp/multipartBody7452785642508657502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233522716,"filename":"image_09042025_22_07_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/4/9/eb2d27d4392929ed27982ba92c484701.jpg","text":"TemporaryFile(/tmp/multipartBody7361172077303582010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233522716,"filename":"image_09042025_22_07_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/4/9/6df60eeb7613fc89cd8a85422a3b5826.jpg","text":"TemporaryFile(/tmp/multipartBody6204429127091713216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233522716,"filename":"image_09042025_22_08_06_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/999c100a45c2d1cf9081fe97a57ed26f.jpg","text":"TemporaryFile(/tmp/multipartBody6883419674128348121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233522716,"filename":"image_09042025_22_07_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350923220","file1":"1350923196","file0":"1350923175","file4":"1350923266","file5":"1350923284","file3":"1350923243"},"map_files_photo_id_array":[{"photo_id":"1350923284","filename":"file5"},{"photo_id":"1350923220","filename":"file2"},{"photo_id":"1350923266","filename":"file4"},{"photo_id":"1350923196","filename":"file1"},{"photo_id":"1350923175","filename":"file0"},{"photo_id":"1350923243","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350923196":["hashtag1","hashtag2"]},{"1350923175":["hashtag1","hashtag2"]},{"1350923220":["hashtag1","hashtag2"]},{"1350923243":["hashtag1","hashtag2"]},{"1350923284":["hashtag1","hashtag2"]},{"1350923266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350923196, 1350923175, 1350923220, 1350923243, 1350923284, 1350923266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22272562980652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:18:32.565105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_15_9338.jpg', '/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_25_10423.jpg', '/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_36_10352.jpg', '/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_45_9369.jpg', '/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_56_10439.jpg', '/home/pi/Desktop/images/09042025/22/08/image_09042025_22_09_05_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_15_9338.jpg
/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_25_10423.jpg
/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_36_10352.jpg
/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_45_9369.jpg
/home/pi/Desktop/images/09042025/22/08/image_09042025_22_08_56_10439.jpg
/home/pi/Desktop/images/09042025/22/08/image_09042025_22_09_05_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350923605","1350923457","1350923421","1350923502","1350923549","1350923599"],"photo_ids_order":["1350923421","1350923457","1350923502","1350923549","1350923599","1350923605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/78072b76ccafd78e21c3d5b49fcc1363.jpg","text":"TemporaryFile(/tmp/multipartBody3727211503034037944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233573043,"filename":"image_09042025_22_09_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/4/9/8080aacfd5c14a6936e9d7c1213165bf.jpg","text":"TemporaryFile(/tmp/multipartBody4053642912462657463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233573043,"filename":"image_09042025_22_08_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/4/9/fd703033c1bae21bc88778f00f723913.jpg","text":"TemporaryFile(/tmp/multipartBody1563515738869440363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233573043,"filename":"image_09042025_22_08_15_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0608db893d3292e662dd9d23b776f5af.jpg","text":"TemporaryFile(/tmp/multipartBody7399839006743241047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233573043,"filename":"image_09042025_22_08_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/4/9/84fafdd1fdc96ba881f1dc2bc5150ea8.jpg","text":"TemporaryFile(/tmp/multipartBody6036013470097778219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233573043,"filename":"image_09042025_22_08_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/4/9/670fa793c0050ea688c47acd6e8e8ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6289069986122247189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233573043,"filename":"image_09042025_22_08_56_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350923502","file1":"1350923457","file0":"1350923421","file4":"1350923599","file5":"1350923605","file3":"1350923549"},"map_files_photo_id_array":[{"photo_id":"1350923605","filename":"file5"},{"photo_id":"1350923502","filename":"file2"},{"photo_id":"1350923599","filename":"file4"},{"photo_id":"1350923457","filename":"file1"},{"photo_id":"1350923421","filename":"file0"},{"photo_id":"1350923549","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350923605":["hashtag1","hashtag2"]},{"1350923457":["hashtag1","hashtag2"]},{"1350923421":["hashtag1","hashtag2"]},{"1350923502":["hashtag1","hashtag2"]},{"1350923549":["hashtag1","hashtag2"]},{"1350923599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350923605, 1350923457, 1350923421, 1350923502, 1350923549, 1350923599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.159503698349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:19:32.771191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_15_10425.jpg', '/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_25_9442.jpg', '/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_35_10358.jpg', '/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_45_10352.jpg', '/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_55_9341.jpg', '/home/pi/Desktop/images/09042025/22/09/image_09042025_22_10_05_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_15_10425.jpg
/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_25_9442.jpg
/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_35_10358.jpg
/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_45_10352.jpg
/home/pi/Desktop/images/09042025/22/09/image_09042025_22_09_55_9341.jpg
/home/pi/Desktop/images/09042025/22/09/image_09042025_22_10_05_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350924177","1350924258","1350924306","1350924003","1350923934","1350924080"],"photo_ids_order":["1350923934","1350924003","1350924080","1350924177","1350924258","1350924306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0c285423d245e228b4905eddb72e5d83.jpg","text":"TemporaryFile(/tmp/multipartBody8501997156450448232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233633282,"filename":"image_09042025_22_09_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/4/9/b0b837ebaddf95ae5e044258bee7c5f1.jpg","text":"TemporaryFile(/tmp/multipartBody1523437317806323586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233633282,"filename":"image_09042025_22_09_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/4/9/03dba62b25561342f43d2112b7a04e81.jpg","text":"TemporaryFile(/tmp/multipartBody2014306557209370513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233633282,"filename":"image_09042025_22_10_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/4/9/eb7337d8b8493ae6ae2434e19c1af399.jpg","text":"TemporaryFile(/tmp/multipartBody1595058812505405496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233633282,"filename":"image_09042025_22_09_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/4/9/a66c144971a7bbcb461d6eaf4451a129.jpg","text":"TemporaryFile(/tmp/multipartBody5173405944734759392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233633282,"filename":"image_09042025_22_09_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/4/9/25cdb30676c491e89389ea65bc2b7268.jpg","text":"TemporaryFile(/tmp/multipartBody6542635829421224808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233633282,"filename":"image_09042025_22_09_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350924080","file1":"1350924003","file0":"1350923934","file4":"1350924258","file5":"1350924306","file3":"1350924177"},"map_files_photo_id_array":[{"photo_id":"1350924306","filename":"file5"},{"photo_id":"1350924080","filename":"file2"},{"photo_id":"1350924258","filename":"file4"},{"photo_id":"1350924003","filename":"file1"},{"photo_id":"1350923934","filename":"file0"},{"photo_id":"1350924177","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350924177":["hashtag1","hashtag2"]},{"1350924258":["hashtag1","hashtag2"]},{"1350924306":["hashtag1","hashtag2"]},{"1350924003":["hashtag1","hashtag2"]},{"1350923934":["hashtag1","hashtag2"]},{"1350924080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350924177, 1350924258, 1350924306, 1350924003, 1350923934, 1350924080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.397915840148926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:20:32.925506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_16_10393.jpg', '/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_25_9385.jpg', '/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_35_10455.jpg', '/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_45_9384.jpg', '/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_55_10383.jpg', '/home/pi/Desktop/images/09042025/22/10/image_09042025_22_11_06_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_16_10393.jpg
/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_25_9385.jpg
/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_35_10455.jpg
/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_45_9384.jpg
/home/pi/Desktop/images/09042025/22/10/image_09042025_22_10_55_10383.jpg
/home/pi/Desktop/images/09042025/22/10/image_09042025_22_11_06_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350924931","1350925038","1350924675","1350925361","1350925165","1350924862"],"photo_ids_order":["1350924675","1350924862","1350924931","1350925038","1350925165","1350925361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d26cf79625dd411d88980a04fe1ff68a.jpg","text":"TemporaryFile(/tmp/multipartBody7993775184998123494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233693390,"filename":"image_09042025_22_10_35_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef20f6dc604496009a81dfb61d632763.jpg","text":"TemporaryFile(/tmp/multipartBody1485055851604792841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233693390,"filename":"image_09042025_22_10_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/4/9/e4f2f9529aecedbc89f51bfba1b71960.jpg","text":"TemporaryFile(/tmp/multipartBody7291434389007404892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233693390,"filename":"image_09042025_22_10_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/4/9/181652379cc88ab656472d7fe7f6fee8.jpg","text":"TemporaryFile(/tmp/multipartBody6297181332713623853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233693390,"filename":"image_09042025_22_11_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/4/9/1bb2608571afef2fa634bea27b858796.jpg","text":"TemporaryFile(/tmp/multipartBody3814818306121896254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233693390,"filename":"image_09042025_22_10_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/4/9/4daa7001004ee284a2f3a71594c7539d.jpg","text":"TemporaryFile(/tmp/multipartBody6698225987793973936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233693390,"filename":"image_09042025_22_10_25_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350924931","file1":"1350924862","file0":"1350924675","file4":"1350925165","file5":"1350925361","file3":"1350925038"},"map_files_photo_id_array":[{"photo_id":"1350925361","filename":"file5"},{"photo_id":"1350924931","filename":"file2"},{"photo_id":"1350925165","filename":"file4"},{"photo_id":"1350924862","filename":"file1"},{"photo_id":"1350924675","filename":"file0"},{"photo_id":"1350925038","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350924931":["hashtag1","hashtag2"]},{"1350925038":["hashtag1","hashtag2"]},{"1350924675":["hashtag1","hashtag2"]},{"1350925361":["hashtag1","hashtag2"]},{"1350925165":["hashtag1","hashtag2"]},{"1350924862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350924931, 1350925038, 1350924675, 1350925361, 1350925165, 1350924862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44582748413086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:21:33.098560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_15_9407.jpg', '/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_26_10474.jpg', '/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_35_9356.jpg', '/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_45_10453.jpg', '/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_56_10391.jpg', '/home/pi/Desktop/images/09042025/22/11/image_09042025_22_12_05_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_15_9407.jpg
/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_26_10474.jpg
/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_35_9356.jpg
/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_45_10453.jpg
/home/pi/Desktop/images/09042025/22/11/image_09042025_22_11_56_10391.jpg
/home/pi/Desktop/images/09042025/22/11/image_09042025_22_12_05_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":["1350926167","1350926632","1350926257","1350926338","1350926518","1350926404"],"photo_ids_order":["1350926167","1350926257","1350926338","1350926404","1350926518","1350926632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49e2b74181a4b1e0a9d7a5f041f3a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4946909797343595803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233753560,"filename":"image_09042025_22_11_15_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38c99675c342a314931d2c8825e6b23a.jpg","text":"TemporaryFile(/tmp/multipartBody8169426290540247297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233753560,"filename":"image_09042025_22_12_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c6824ac11bd635343fdf1c93f41a551f.jpg","text":"TemporaryFile(/tmp/multipartBody1083947500901623246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233753560,"filename":"image_09042025_22_11_26_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4fdc3076ca6fe514dc434fcd7f1aabe2.jpg","text":"TemporaryFile(/tmp/multipartBody271305759963776778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233753560,"filename":"image_09042025_22_11_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/4/9/a98996fc067ea10c1364b9808d19cd2d.jpg","text":"TemporaryFile(/tmp/multipartBody4342199368100792770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233753560,"filename":"image_09042025_22_11_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/4/9/b4acc3a5271a1ef1cf94bea20c8e140e.jpg","text":"TemporaryFile(/tmp/multipartBody5155856854955244306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233753560,"filename":"image_09042025_22_11_45_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350926338","file1":"1350926257","file0":"1350926167","file4":"1350926518","file5":"1350926632","file3":"1350926404"},"map_files_photo_id_array":[{"photo_id":"1350926632","filename":"file5"},{"photo_id":"1350926338","filename":"file2"},{"photo_id":"1350926518","filename":"file4"},{"photo_id":"1350926257","filename":"file1"},{"photo_id":"1350926167","filename":"file0"},{"photo_id":"1350926404","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350926167":["hashtag1","hashtag2"]},{"1350926632":["hashtag1","hashtag2"]},{"1350926257":["hashtag1","hashtag2"]},{"1350926338":["hashtag1","hashtag2"]},{"1350926518":["hashtag1","hashtag2"]},{"1350926404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350926167, 1350926632, 1350926257, 1350926338, 1350926518, 1350926404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39396071434021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:22:32.354289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_15_10411.jpg', '/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_25_9459.jpg', '/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_35_10484.jpg', '/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_45_9352.jpg', '/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_55_10387.jpg', '/home/pi/Desktop/images/09042025/22/12/image_09042025_22_13_06_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_15_10411.jpg
/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_25_9459.jpg
/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_35_10484.jpg
/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_45_9352.jpg
/home/pi/Desktop/images/09042025/22/12/image_09042025_22_12_55_10387.jpg
/home/pi/Desktop/images/09042025/22/12/image_09042025_22_13_06_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":["1350927370","1350927328","1350927238","1350927186","1350927284","1350927123"],"photo_ids_order":["1350927123","1350927186","1350927238","1350927284","1350927328","1350927370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/527e18ae2164bb419b33c037f02f3e93.jpg","text":"TemporaryFile(/tmp/multipartBody8773444159091209964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233812823,"filename":"image_09042025_22_13_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/640a5cdce4a48c866da58d3a9aeeca7e.jpg","text":"TemporaryFile(/tmp/multipartBody8501220603922103397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233812823,"filename":"image_09042025_22_12_55_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d6839fab70d24192bcd5b9e0cb00c906.jpg","text":"TemporaryFile(/tmp/multipartBody1596897190701225523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233812823,"filename":"image_09042025_22_12_35_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/735dbabc3226510c88c97b28de3dd9f8.jpg","text":"TemporaryFile(/tmp/multipartBody4780047170612944689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233812823,"filename":"image_09042025_22_12_25_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94f66beeeef2792ea7d5f67857b46e00.jpg","text":"TemporaryFile(/tmp/multipartBody3233842796778099808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233812823,"filename":"image_09042025_22_12_45_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d966220635121e70906ae71a8446ef2b.jpg","text":"TemporaryFile(/tmp/multipartBody1004348245235782585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233812823,"filename":"image_09042025_22_12_15_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350927238","file1":"1350927186","file0":"1350927123","file4":"1350927328","file5":"1350927370","file3":"1350927284"},"map_files_photo_id_array":[{"photo_id":"1350927370","filename":"file5"},{"photo_id":"1350927238","filename":"file2"},{"photo_id":"1350927328","filename":"file4"},{"photo_id":"1350927186","filename":"file1"},{"photo_id":"1350927123","filename":"file0"},{"photo_id":"1350927284","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350927370":["hashtag1","hashtag2"]},{"1350927328":["hashtag1","hashtag2"]},{"1350927238":["hashtag1","hashtag2"]},{"1350927186":["hashtag1","hashtag2"]},{"1350927284":["hashtag1","hashtag2"]},{"1350927123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350927370, 1350927328, 1350927238, 1350927186, 1350927284, 1350927123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54951810836792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:23:32.529074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_15_9339.jpg', '/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_25_10412.jpg', '/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_36_10367.jpg', '/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_45_9514.jpg', '/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_56_10369.jpg', '/home/pi/Desktop/images/09042025/22/13/image_09042025_22_14_05_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_15_9339.jpg
/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_25_10412.jpg
/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_36_10367.jpg
/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_45_9514.jpg
/home/pi/Desktop/images/09042025/22/13/image_09042025_22_13_56_10369.jpg
/home/pi/Desktop/images/09042025/22/13/image_09042025_22_14_05_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":["1350927956","1350927842","1350927760","1350927726","1350927890","1350927804"],"photo_ids_order":["1350927726","1350927760","1350927804","1350927842","1350927890","1350927956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2bb095286844ee89048a795ee21e5898.jpg","text":"TemporaryFile(/tmp/multipartBody7485068612694245392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233872999,"filename":"image_09042025_22_14_05_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c47a479671aa9d43d55c1309aed94905.jpg","text":"TemporaryFile(/tmp/multipartBody3498863613924408496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233872999,"filename":"image_09042025_22_13_45_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b91590f50fcdce6c4521cbbbee9d4822.jpg","text":"TemporaryFile(/tmp/multipartBody7341267630478199110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233872999,"filename":"image_09042025_22_13_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/4/9/3427a21d362b3e0db451558075e9486a.jpg","text":"TemporaryFile(/tmp/multipartBody1557553048938642542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233872999,"filename":"image_09042025_22_13_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/4/9/fd6779fa711580c81873f65388795939.jpg","text":"TemporaryFile(/tmp/multipartBody3651243366004427958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233872999,"filename":"image_09042025_22_13_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/4/9/efd35216c638962c026e89c5f5299a76.jpg","text":"TemporaryFile(/tmp/multipartBody7419522565425039723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233872999,"filename":"image_09042025_22_13_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350927804","file1":"1350927760","file0":"1350927726","file4":"1350927890","file5":"1350927956","file3":"1350927842"},"map_files_photo_id_array":[{"photo_id":"1350927956","filename":"file5"},{"photo_id":"1350927804","filename":"file2"},{"photo_id":"1350927890","filename":"file4"},{"photo_id":"1350927760","filename":"file1"},{"photo_id":"1350927726","filename":"file0"},{"photo_id":"1350927842","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350927956":["hashtag1","hashtag2"]},{"1350927842":["hashtag1","hashtag2"]},{"1350927760":["hashtag1","hashtag2"]},{"1350927726":["hashtag1","hashtag2"]},{"1350927890":["hashtag1","hashtag2"]},{"1350927804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350927956, 1350927842, 1350927760, 1350927726, 1350927890, 1350927804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01410746574402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:24:32.789245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_15_10442.jpg', '/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_25_9410.jpg', '/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_35_10360.jpg', '/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_46_10432.jpg', '/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_55_9375.jpg', '/home/pi/Desktop/images/09042025/22/14/image_09042025_22_15_05_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_15_10442.jpg
/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_25_9410.jpg
/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_35_10360.jpg
/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_46_10432.jpg
/home/pi/Desktop/images/09042025/22/14/image_09042025_22_14_55_9375.jpg
/home/pi/Desktop/images/09042025/22/14/image_09042025_22_15_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":["1350928072","1350928114","1350928068","1350928077","1350928059","1350928085"],"photo_ids_order":["1350928059","1350928068","1350928072","1350928077","1350928085","1350928114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ab41281c80bbb483a9c93120f86b686f.jpg","text":"TemporaryFile(/tmp/multipartBody7434997595302506924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233933263,"filename":"image_09042025_22_14_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/93297b65dbcbbfac5960665b9329e75f.jpg","text":"TemporaryFile(/tmp/multipartBody6752905252898604367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233933263,"filename":"image_09042025_22_15_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/4/9/a0f62e73065e3674b1847a818d429cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6460828285118228289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233933263,"filename":"image_09042025_22_14_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/4/9/5565c9897a698cc46fae825d30781b56.jpg","text":"TemporaryFile(/tmp/multipartBody5810879726535570659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233933263,"filename":"image_09042025_22_14_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/4/9/2a71c7dd1f83efc0baa8f092e0cb6551.jpg","text":"TemporaryFile(/tmp/multipartBody2885260184743602127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233933263,"filename":"image_09042025_22_14_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/4/9/1bcf143b56001281cdaf98f5f508a053.jpg","text":"TemporaryFile(/tmp/multipartBody7125022803762354454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233933263,"filename":"image_09042025_22_14_55_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350928072","file1":"1350928068","file0":"1350928059","file4":"1350928085","file5":"1350928114","file3":"1350928077"},"map_files_photo_id_array":[{"photo_id":"1350928114","filename":"file5"},{"photo_id":"1350928072","filename":"file2"},{"photo_id":"1350928085","filename":"file4"},{"photo_id":"1350928068","filename":"file1"},{"photo_id":"1350928059","filename":"file0"},{"photo_id":"1350928077","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350928072":["hashtag1","hashtag2"]},{"1350928114":["hashtag1","hashtag2"]},{"1350928068":["hashtag1","hashtag2"]},{"1350928077":["hashtag1","hashtag2"]},{"1350928059":["hashtag1","hashtag2"]},{"1350928085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350928072, 1350928114, 1350928068, 1350928077, 1350928059, 1350928085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.212143182754517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:25:33.101275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_16_10362.jpg', '/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_25_9371.jpg', '/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_36_10470.jpg', '/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_45_9354.jpg', '/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_55_10417.jpg', '/home/pi/Desktop/images/09042025/22/15/image_09042025_22_16_06_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_16_10362.jpg
/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_25_9371.jpg
/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_36_10470.jpg
/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_45_9354.jpg
/home/pi/Desktop/images/09042025/22/15/image_09042025_22_15_55_10417.jpg
/home/pi/Desktop/images/09042025/22/15/image_09042025_22_16_06_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":["1350928495","1350928405","1350928490","1350928472","1350928373","1350928448"],"photo_ids_order":["1350928373","1350928405","1350928448","1350928472","1350928490","1350928495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1778345bfe0cb12129555c793c773f9b.jpg","text":"TemporaryFile(/tmp/multipartBody205411382379444878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233993583,"filename":"image_09042025_22_16_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/4/9/2f8ca4a5415ebaa90504e1955a9dfd66.jpg","text":"TemporaryFile(/tmp/multipartBody7628802678203091036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233993583,"filename":"image_09042025_22_15_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d5e92771b8d0af111982630dc7ff936.jpg","text":"TemporaryFile(/tmp/multipartBody1018514396441659454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233993583,"filename":"image_09042025_22_15_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/4/9/851811b50eca24f848f263122b030ec3.jpg","text":"TemporaryFile(/tmp/multipartBody8019819042196019261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233993583,"filename":"image_09042025_22_15_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/4/9/0166f4ee7e32794d4b31d23d44503327.jpg","text":"TemporaryFile(/tmp/multipartBody7669346757315053453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233993583,"filename":"image_09042025_22_15_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4a0eb7befbb0cb4b0dc64ab7ec7544ff.jpg","text":"TemporaryFile(/tmp/multipartBody5782826835099126593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744233993583,"filename":"image_09042025_22_15_36_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350928448","file1":"1350928405","file0":"1350928373","file4":"1350928490","file5":"1350928495","file3":"1350928472"},"map_files_photo_id_array":[{"photo_id":"1350928495","filename":"file5"},{"photo_id":"1350928448","filename":"file2"},{"photo_id":"1350928490","filename":"file4"},{"photo_id":"1350928405","filename":"file1"},{"photo_id":"1350928373","filename":"file0"},{"photo_id":"1350928472","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350928495":["hashtag1","hashtag2"]},{"1350928405":["hashtag1","hashtag2"]},{"1350928490":["hashtag1","hashtag2"]},{"1350928472":["hashtag1","hashtag2"]},{"1350928373":["hashtag1","hashtag2"]},{"1350928448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350928495, 1350928405, 1350928490, 1350928472, 1350928373, 1350928448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.7750723361969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:26:32.310793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_15_9346.jpg', '/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_26_10466.jpg', '/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_35_9435.jpg', '/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_45_10471.jpg', '/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_55_9359.jpg', '/home/pi/Desktop/images/09042025/22/16/image_09042025_22_17_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_15_9346.jpg
/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_26_10466.jpg
/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_35_9435.jpg
/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_45_10471.jpg
/home/pi/Desktop/images/09042025/22/16/image_09042025_22_16_55_9359.jpg
/home/pi/Desktop/images/09042025/22/16/image_09042025_22_17_05_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":["1350928636","1350928609","1350928596","1350928647","1350928652","1350928655"],"photo_ids_order":["1350928596","1350928609","1350928636","1350928647","1350928652","1350928655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3a221861ccd8ee79d2efdcd865e6e87.jpg","text":"TemporaryFile(/tmp/multipartBody2212189523356203343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234052773,"filename":"image_09042025_22_16_35_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f7db3abb1ce5f48fdd83c86161f53ace.jpg","text":"TemporaryFile(/tmp/multipartBody7935832400129024731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234052773,"filename":"image_09042025_22_16_26_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5db94b88e253d7bbd8a3dfb9fb5be71c.jpg","text":"TemporaryFile(/tmp/multipartBody4888492314826168535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234052773,"filename":"image_09042025_22_16_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/4/9/b5040d7675c94aaa1ea04948dd0fd5b9.jpg","text":"TemporaryFile(/tmp/multipartBody4485286610789984110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234052773,"filename":"image_09042025_22_16_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/4/9/4b1688c548659c8427e55b3e6685d3f8.jpg","text":"TemporaryFile(/tmp/multipartBody2890317083340697188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234052773,"filename":"image_09042025_22_16_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/4/9/afc196abf2d38e88656d180c123066e8.jpg","text":"TemporaryFile(/tmp/multipartBody6157762180981935065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234052773,"filename":"image_09042025_22_17_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350928636","file1":"1350928609","file0":"1350928596","file4":"1350928652","file5":"1350928655","file3":"1350928647"},"map_files_photo_id_array":[{"photo_id":"1350928655","filename":"file5"},{"photo_id":"1350928636","filename":"file2"},{"photo_id":"1350928652","filename":"file4"},{"photo_id":"1350928609","filename":"file1"},{"photo_id":"1350928596","filename":"file0"},{"photo_id":"1350928647","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350928636":["hashtag1","hashtag2"]},{"1350928609":["hashtag1","hashtag2"]},{"1350928596":["hashtag1","hashtag2"]},{"1350928647":["hashtag1","hashtag2"]},{"1350928652":["hashtag1","hashtag2"]},{"1350928655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350928636, 1350928609, 1350928596, 1350928647, 1350928652, 1350928655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40471577644348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:27:32.469903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_16_10444.jpg', '/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_25_9376.jpg', '/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_35_10412.jpg', '/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_45_9369.jpg', '/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_55_10372.jpg', '/home/pi/Desktop/images/09042025/22/17/image_09042025_22_18_05_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_16_10444.jpg
/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_25_9376.jpg
/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_35_10412.jpg
/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_45_9369.jpg
/home/pi/Desktop/images/09042025/22/17/image_09042025_22_17_55_10372.jpg
/home/pi/Desktop/images/09042025/22/17/image_09042025_22_18_05_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":["1350928753","1350928735","1350928729","1350928737","1350928740","1350928763"],"photo_ids_order":["1350928729","1350928735","1350928737","1350928740","1350928753","1350928763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1c97f58ad4d32b316749001ca9f3f6db.jpg","text":"TemporaryFile(/tmp/multipartBody5339392760034465974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234112953,"filename":"image_09042025_22_17_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/4/9/aac90ca28ac93cfc45c70f125258995c.jpg","text":"TemporaryFile(/tmp/multipartBody4570200164882981121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234112953,"filename":"image_09042025_22_17_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/4/9/dfa856894c05c255bbf690fbda404c42.jpg","text":"TemporaryFile(/tmp/multipartBody4330044754278279987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234112953,"filename":"image_09042025_22_17_16_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a95b33d5a7a74b9eff23c8c4eb4e0182.jpg","text":"TemporaryFile(/tmp/multipartBody3795884491134017737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234112953,"filename":"image_09042025_22_17_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/4/9/443a2e7614135ef194701b8e0c57e0c8.jpg","text":"TemporaryFile(/tmp/multipartBody7027103644936358298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234112953,"filename":"image_09042025_22_17_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/4/9/77a9b07fe739f6cb873511f9fc0dee01.jpg","text":"TemporaryFile(/tmp/multipartBody910761068636853329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234112953,"filename":"image_09042025_22_18_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350928737","file1":"1350928735","file0":"1350928729","file4":"1350928753","file5":"1350928763","file3":"1350928740"},"map_files_photo_id_array":[{"photo_id":"1350928763","filename":"file5"},{"photo_id":"1350928737","filename":"file2"},{"photo_id":"1350928753","filename":"file4"},{"photo_id":"1350928735","filename":"file1"},{"photo_id":"1350928729","filename":"file0"},{"photo_id":"1350928740","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350928753":["hashtag1","hashtag2"]},{"1350928735":["hashtag1","hashtag2"]},{"1350928729":["hashtag1","hashtag2"]},{"1350928737":["hashtag1","hashtag2"]},{"1350928740":["hashtag1","hashtag2"]},{"1350928763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350928753, 1350928735, 1350928729, 1350928737, 1350928740, 1350928763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.109859466552734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:28:32.722487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_15_9329.jpg', '/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_25_10382.jpg', '/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_36_10430.jpg', '/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_45_9381.jpg', '/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_55_10434.jpg', '/home/pi/Desktop/images/09042025/22/18/image_09042025_22_19_05_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_15_9329.jpg
/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_25_10382.jpg
/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_36_10430.jpg
/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_45_9381.jpg
/home/pi/Desktop/images/09042025/22/18/image_09042025_22_18_55_10434.jpg
/home/pi/Desktop/images/09042025/22/18/image_09042025_22_19_05_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":["1350928840","1350928842","1350928845","1350928847","1350928856","1350928835"],"photo_ids_order":["1350928835","1350928840","1350928842","1350928845","1350928847","1350928856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb977b99770c0b83b1cfd0ed9ecf7064.jpg","text":"TemporaryFile(/tmp/multipartBody250323394632834728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234173261,"filename":"image_09042025_22_18_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/4/9/6954594001df68eb36c1772888f7b42c.jpg","text":"TemporaryFile(/tmp/multipartBody1142449272838233143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234173261,"filename":"image_09042025_22_18_36_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/da73d2578282351366e1b7618dc6b12d.jpg","text":"TemporaryFile(/tmp/multipartBody19148992874497104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234173261,"filename":"image_09042025_22_18_45_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a6e87ddcd455f125ec040bfaff615269.jpg","text":"TemporaryFile(/tmp/multipartBody6309813617663374483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234173261,"filename":"image_09042025_22_18_55_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b2a5b8b4f93294a8913f3c68d794d8f6.jpg","text":"TemporaryFile(/tmp/multipartBody682320557913496395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234173261,"filename":"image_09042025_22_19_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1b43e2b6a2c36debdde67c9f9fc65bb.jpg","text":"TemporaryFile(/tmp/multipartBody2895980197076543706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234173261,"filename":"image_09042025_22_18_15_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350928842","file1":"1350928840","file0":"1350928835","file4":"1350928847","file5":"1350928856","file3":"1350928845"},"map_files_photo_id_array":[{"photo_id":"1350928856","filename":"file5"},{"photo_id":"1350928842","filename":"file2"},{"photo_id":"1350928847","filename":"file4"},{"photo_id":"1350928840","filename":"file1"},{"photo_id":"1350928835","filename":"file0"},{"photo_id":"1350928845","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350928840":["hashtag1","hashtag2"]},{"1350928842":["hashtag1","hashtag2"]},{"1350928845":["hashtag1","hashtag2"]},{"1350928847":["hashtag1","hashtag2"]},{"1350928856":["hashtag1","hashtag2"]},{"1350928835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350928840, 1350928842, 1350928845, 1350928847, 1350928856, 1350928835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1074116230011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:29:33.008424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_15_10376.jpg', '/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_26_10430.jpg', '/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_35_9374.jpg', '/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_45_10368.jpg', '/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_55_9447.jpg', '/home/pi/Desktop/images/09042025/22/19/image_09042025_22_20_05_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_15_10376.jpg
/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_26_10430.jpg
/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_35_9374.jpg
/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_45_10368.jpg
/home/pi/Desktop/images/09042025/22/19/image_09042025_22_19_55_9447.jpg
/home/pi/Desktop/images/09042025/22/19/image_09042025_22_20_05_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":["1350929005","1350929020","1350929008","1350929022","1350929001","1350929012"],"photo_ids_order":["1350929001","1350929005","1350929008","1350929012","1350929020","1350929022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d15d071d0eea0e740ce40c07d2dac144.jpg","text":"TemporaryFile(/tmp/multipartBody4613153870097924416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234233475,"filename":"image_09042025_22_19_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/4/9/48bc1d7a388cf94151dd6dc63e2f3384.jpg","text":"TemporaryFile(/tmp/multipartBody6966197794111807888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234233475,"filename":"image_09042025_22_19_55_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/66cea7a7e6e436dfc28564a49ede2d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2066141901862620501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234233475,"filename":"image_09042025_22_19_35_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/109a5c3c770d413be5427dc2b1cf24df.jpg","text":"TemporaryFile(/tmp/multipartBody6195133279404620989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234233475,"filename":"image_09042025_22_20_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/4/9/bb5afcde87d2f8dce279b67cb299a0f0.jpg","text":"TemporaryFile(/tmp/multipartBody8245750052800774341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234233475,"filename":"image_09042025_22_19_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/4/9/6b49111eeba8377ca7ccb7b3741c307e.jpg","text":"TemporaryFile(/tmp/multipartBody8356220154351458684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234233475,"filename":"image_09042025_22_19_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350929008","file1":"1350929005","file0":"1350929001","file4":"1350929020","file5":"1350929022","file3":"1350929012"},"map_files_photo_id_array":[{"photo_id":"1350929022","filename":"file5"},{"photo_id":"1350929008","filename":"file2"},{"photo_id":"1350929020","filename":"file4"},{"photo_id":"1350929005","filename":"file1"},{"photo_id":"1350929001","filename":"file0"},{"photo_id":"1350929012","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350929005":["hashtag1","hashtag2"]},{"1350929020":["hashtag1","hashtag2"]},{"1350929008":["hashtag1","hashtag2"]},{"1350929022":["hashtag1","hashtag2"]},{"1350929001":["hashtag1","hashtag2"]},{"1350929012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350929005, 1350929020, 1350929008, 1350929022, 1350929001, 1350929012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.666539669036865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:30:32.162395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_16_10450.jpg', '/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_25_9358.jpg', '/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_35_10346.jpg', '/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_46_10373.jpg', '/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_55_9346.jpg', '/home/pi/Desktop/images/09042025/22/20/image_09042025_22_21_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_16_10450.jpg
/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_25_9358.jpg
/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_35_10346.jpg
/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_46_10373.jpg
/home/pi/Desktop/images/09042025/22/20/image_09042025_22_20_55_9346.jpg
/home/pi/Desktop/images/09042025/22/20/image_09042025_22_21_05_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":["1350929146","1350929199","1350929253","1350929171","1350929225","1350929123"],"photo_ids_order":["1350929123","1350929146","1350929171","1350929199","1350929225","1350929253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de13860ba75ef5056490d3c63e1347cb.jpg","text":"TemporaryFile(/tmp/multipartBody3822845659240550691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234292638,"filename":"image_09042025_22_20_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/4/9/1ca699e1ebb9458734882c2ce95cf302.jpg","text":"TemporaryFile(/tmp/multipartBody814687784732188309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234292638,"filename":"image_09042025_22_20_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/4/9/1dcae9d031f0a4e33f6832f1d9b33fc6.jpg","text":"TemporaryFile(/tmp/multipartBody9183471324531379186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234292638,"filename":"image_09042025_22_21_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/4/9/e59bcbe63f6b3d1d877aa125b186e610.jpg","text":"TemporaryFile(/tmp/multipartBody8800223910698555620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234292638,"filename":"image_09042025_22_20_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/51757369bf770ae4b396cb2062551e1e.jpg","text":"TemporaryFile(/tmp/multipartBody9133653975551228661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234292638,"filename":"image_09042025_22_20_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/4/9/4a91f1b1ea5de556bf8e898780c5861c.jpg","text":"TemporaryFile(/tmp/multipartBody5322386959671958912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234292638,"filename":"image_09042025_22_20_16_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350929171","file1":"1350929146","file0":"1350929123","file4":"1350929225","file5":"1350929253","file3":"1350929199"},"map_files_photo_id_array":[{"photo_id":"1350929253","filename":"file5"},{"photo_id":"1350929171","filename":"file2"},{"photo_id":"1350929225","filename":"file4"},{"photo_id":"1350929146","filename":"file1"},{"photo_id":"1350929123","filename":"file0"},{"photo_id":"1350929199","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350929146":["hashtag1","hashtag2"]},{"1350929199":["hashtag1","hashtag2"]},{"1350929253":["hashtag1","hashtag2"]},{"1350929171":["hashtag1","hashtag2"]},{"1350929225":["hashtag1","hashtag2"]},{"1350929123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350929146, 1350929199, 1350929253, 1350929171, 1350929225, 1350929123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90745306015015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:31:32.350033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_15_9334.jpg', '/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_25_10489.jpg', '/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_36_10362.jpg', '/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_45_9371.jpg', '/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_55_10363.jpg', '/home/pi/Desktop/images/09042025/22/21/image_09042025_22_22_05_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_15_9334.jpg
/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_25_10489.jpg
/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_36_10362.jpg
/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_45_9371.jpg
/home/pi/Desktop/images/09042025/22/21/image_09042025_22_21_55_10363.jpg
/home/pi/Desktop/images/09042025/22/21/image_09042025_22_22_05_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350929920","1350930070","1350929944","1350930148","1350929810","1350929980"],"photo_ids_order":["1350929810","1350929920","1350929944","1350929980","1350930070","1350930148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b0a0bf829e9b111c44a4070047502876.jpg","text":"TemporaryFile(/tmp/multipartBody4937202120167837702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234352815,"filename":"image_09042025_22_21_25_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e56a1daba2998105de519036741d1d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2068906515376781669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234352815,"filename":"image_09042025_22_21_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/4/9/05896bd289331bcbf3381d9207e77c3f.jpg","text":"TemporaryFile(/tmp/multipartBody564189316965183861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234352815,"filename":"image_09042025_22_21_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/4/9/4a7e1b4d2c34b44b041fe7261bfeb903.jpg","text":"TemporaryFile(/tmp/multipartBody7155221778113269384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234352815,"filename":"image_09042025_22_22_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd07a982f612c401285538e175610549.jpg","text":"TemporaryFile(/tmp/multipartBody3739267922133469301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234352815,"filename":"image_09042025_22_21_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/471b12927b2f3fe6e69b0a873a123028.jpg","text":"TemporaryFile(/tmp/multipartBody4842228186520503420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234352815,"filename":"image_09042025_22_21_45_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350929944","file1":"1350929920","file0":"1350929810","file4":"1350930070","file5":"1350930148","file3":"1350929980"},"map_files_photo_id_array":[{"photo_id":"1350930148","filename":"file5"},{"photo_id":"1350929944","filename":"file2"},{"photo_id":"1350930070","filename":"file4"},{"photo_id":"1350929920","filename":"file1"},{"photo_id":"1350929810","filename":"file0"},{"photo_id":"1350929980","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350929920":["hashtag1","hashtag2"]},{"1350930070":["hashtag1","hashtag2"]},{"1350929944":["hashtag1","hashtag2"]},{"1350930148":["hashtag1","hashtag2"]},{"1350929810":["hashtag1","hashtag2"]},{"1350929980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350929920, 1350930070, 1350929944, 1350930148, 1350929810, 1350929980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.38730001449585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:32:32.550605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_15_10382.jpg', '/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_26_10458.jpg', '/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_35_9383.jpg', '/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_45_10538.jpg', '/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_55_9355.jpg', '/home/pi/Desktop/images/09042025/22/22/image_09042025_22_23_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_15_10382.jpg
/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_26_10458.jpg
/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_35_9383.jpg
/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_45_10538.jpg
/home/pi/Desktop/images/09042025/22/22/image_09042025_22_22_55_9355.jpg
/home/pi/Desktop/images/09042025/22/22/image_09042025_22_23_05_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":["1350930518","1350930544","1350930427","1350930596","1350930572","1350930473"],"photo_ids_order":["1350930427","1350930473","1350930518","1350930544","1350930572","1350930596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5f25585759efddf2c0449b122571abcd.jpg","text":"TemporaryFile(/tmp/multipartBody4458173678894615493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234413188,"filename":"image_09042025_22_22_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/4/9/661cdf3966ec10094785045f29dadc93.jpg","text":"TemporaryFile(/tmp/multipartBody1528299922608104441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234413188,"filename":"image_09042025_22_22_45_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/77d628763da3cf7f737b921263f9ed32.jpg","text":"TemporaryFile(/tmp/multipartBody4153068055914380873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234413188,"filename":"image_09042025_22_22_15_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d05fb48c1582ccffe2fe4fb695835d0.jpg","text":"TemporaryFile(/tmp/multipartBody7964301937972359931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234413188,"filename":"image_09042025_22_23_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8e963e73a2f5fca6a014c26e1927184.jpg","text":"TemporaryFile(/tmp/multipartBody1952593202103253180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234413188,"filename":"image_09042025_22_22_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/4/9/6a227bfe043d1017373c41859179cd10.jpg","text":"TemporaryFile(/tmp/multipartBody918635921828630896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234413188,"filename":"image_09042025_22_22_26_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350930518","file1":"1350930473","file0":"1350930427","file4":"1350930572","file5":"1350930596","file3":"1350930544"},"map_files_photo_id_array":[{"photo_id":"1350930596","filename":"file5"},{"photo_id":"1350930518","filename":"file2"},{"photo_id":"1350930572","filename":"file4"},{"photo_id":"1350930473","filename":"file1"},{"photo_id":"1350930427","filename":"file0"},{"photo_id":"1350930544","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350930518":["hashtag1","hashtag2"]},{"1350930544":["hashtag1","hashtag2"]},{"1350930427":["hashtag1","hashtag2"]},{"1350930596":["hashtag1","hashtag2"]},{"1350930572":["hashtag1","hashtag2"]},{"1350930473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350930518, 1350930544, 1350930427, 1350930596, 1350930572, 1350930473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81396436691284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:33:32.861540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_16_10442.jpg', '/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_25_9436.jpg', '/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_36_10431.jpg', '/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_45_9353.jpg', '/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_55_10461.jpg', '/home/pi/Desktop/images/09042025/22/23/image_09042025_22_24_05_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_16_10442.jpg
/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_25_9436.jpg
/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_36_10431.jpg
/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_45_9353.jpg
/home/pi/Desktop/images/09042025/22/23/image_09042025_22_23_55_10461.jpg
/home/pi/Desktop/images/09042025/22/23/image_09042025_22_24_05_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":["1350931129","1350931009","1350930916","1350930984","1350930954","1350931099"],"photo_ids_order":["1350930916","1350930954","1350930984","1350931009","1350931099","1350931129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8aeb63f6c133bcac2190587ed241862d.jpg","text":"TemporaryFile(/tmp/multipartBody8016504609672483780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234473324,"filename":"image_09042025_22_24_05_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/189088fea8869050722c8327adc33012.jpg","text":"TemporaryFile(/tmp/multipartBody9132763239986316076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234473324,"filename":"image_09042025_22_23_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/4/9/c727c68f5a8a75041b9e3496c14c8c36.jpg","text":"TemporaryFile(/tmp/multipartBody7802588851170423765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234473324,"filename":"image_09042025_22_23_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/69fa1a9def8fbed7402857959e2d204f.jpg","text":"TemporaryFile(/tmp/multipartBody7534902689804004711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234473324,"filename":"image_09042025_22_23_36_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c69273bc31799c115fc8cd99c15ad5d.jpg","text":"TemporaryFile(/tmp/multipartBody7712880997628462939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234473324,"filename":"image_09042025_22_23_25_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/525649e4f8ceab3090df605257b7285b.jpg","text":"TemporaryFile(/tmp/multipartBody7892764044599249731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234473324,"filename":"image_09042025_22_23_55_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350930984","file1":"1350930954","file0":"1350930916","file4":"1350931099","file5":"1350931129","file3":"1350931009"},"map_files_photo_id_array":[{"photo_id":"1350931129","filename":"file5"},{"photo_id":"1350930984","filename":"file2"},{"photo_id":"1350931099","filename":"file4"},{"photo_id":"1350930954","filename":"file1"},{"photo_id":"1350930916","filename":"file0"},{"photo_id":"1350931009","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350931129":["hashtag1","hashtag2"]},{"1350931009":["hashtag1","hashtag2"]},{"1350930916":["hashtag1","hashtag2"]},{"1350930984":["hashtag1","hashtag2"]},{"1350930954":["hashtag1","hashtag2"]},{"1350931099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350931129, 1350931009, 1350930916, 1350930984, 1350930954, 1350931099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.137818813323975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:34:32.996380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_15_10499.jpg', '/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_26_10373.jpg', '/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_35_9339.jpg', '/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_45_10376.jpg', '/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_55_9351.jpg', '/home/pi/Desktop/images/09042025/22/24/image_09042025_22_25_05_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_15_10499.jpg
/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_26_10373.jpg
/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_35_9339.jpg
/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_45_10376.jpg
/home/pi/Desktop/images/09042025/22/24/image_09042025_22_24_55_9351.jpg
/home/pi/Desktop/images/09042025/22/24/image_09042025_22_25_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":["1350931342","1350931333","1350931312","1350931329","1350931323","1350931317"],"photo_ids_order":["1350931312","1350931317","1350931323","1350931329","1350931333","1350931342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ecb408a6b9207b58bd3734cace964b68.jpg","text":"TemporaryFile(/tmp/multipartBody6902140960415608997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234533473,"filename":"image_09042025_22_25_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/4/9/10564ab6f2d6a31b109d7c13cbce9827.jpg","text":"TemporaryFile(/tmp/multipartBody2376855476772398268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234533473,"filename":"image_09042025_22_24_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5d88eb57f0d4058aabe555d92111a606.jpg","text":"TemporaryFile(/tmp/multipartBody7651111973008561712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234533473,"filename":"image_09042025_22_24_15_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b47ddc82fe14798f7268b1c57a7dca79.jpg","text":"TemporaryFile(/tmp/multipartBody7850312357829721527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234533473,"filename":"image_09042025_22_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/4/9/3f5f96b7a23501f224799acf3513b228.jpg","text":"TemporaryFile(/tmp/multipartBody3563489151518142787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234533473,"filename":"image_09042025_22_24_35_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ccf0fc2ee753b918dec9df9ae8139dec.jpg","text":"TemporaryFile(/tmp/multipartBody1554045564396841427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234533473,"filename":"image_09042025_22_24_26_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350931323","file1":"1350931317","file0":"1350931312","file4":"1350931333","file5":"1350931342","file3":"1350931329"},"map_files_photo_id_array":[{"photo_id":"1350931342","filename":"file5"},{"photo_id":"1350931323","filename":"file2"},{"photo_id":"1350931333","filename":"file4"},{"photo_id":"1350931317","filename":"file1"},{"photo_id":"1350931312","filename":"file0"},{"photo_id":"1350931329","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350931342":["hashtag1","hashtag2"]},{"1350931333":["hashtag1","hashtag2"]},{"1350931312":["hashtag1","hashtag2"]},{"1350931329":["hashtag1","hashtag2"]},{"1350931323":["hashtag1","hashtag2"]},{"1350931317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350931342, 1350931333, 1350931312, 1350931329, 1350931323, 1350931317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79469680786133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:35:33.148018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_16_10440.jpg', '/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_25_9344.jpg', '/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_35_10434.jpg', '/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_46_10363.jpg', '/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_55_9366.jpg', '/home/pi/Desktop/images/09042025/22/25/image_09042025_22_26_05_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_16_10440.jpg
/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_25_9344.jpg
/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_35_10434.jpg
/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_46_10363.jpg
/home/pi/Desktop/images/09042025/22/25/image_09042025_22_25_55_9366.jpg
/home/pi/Desktop/images/09042025/22/25/image_09042025_22_26_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":["1350931459","1350931519","1350931414","1350931568","1350931490","1350931547"],"photo_ids_order":["1350931414","1350931459","1350931490","1350931519","1350931547","1350931568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8709403c042373f047e33ce5950139ab.jpg","text":"TemporaryFile(/tmp/multipartBody9168423027368278903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234593614,"filename":"image_09042025_22_25_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/4/9/af7bfc8a36e6582e22924d60803bbe3a.jpg","text":"TemporaryFile(/tmp/multipartBody7037356490250785706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234593614,"filename":"image_09042025_22_25_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/4/9/bac33241533a3b55c6db35de1baf7c80.jpg","text":"TemporaryFile(/tmp/multipartBody8223070936997873663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234593614,"filename":"image_09042025_22_25_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/4/9/fac68b61bd0d8710646f21af4fd7952b.jpg","text":"TemporaryFile(/tmp/multipartBody3072082160425918847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234593614,"filename":"image_09042025_22_26_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/4/9/fa33a21ea4f608213b689712b901547a.jpg","text":"TemporaryFile(/tmp/multipartBody4669852425758129766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234593614,"filename":"image_09042025_22_25_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/630fc43340a1474f8b0008800f108d7a.jpg","text":"TemporaryFile(/tmp/multipartBody194721853743651715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234593614,"filename":"image_09042025_22_25_55_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350931490","file1":"1350931459","file0":"1350931414","file4":"1350931547","file5":"1350931568","file3":"1350931519"},"map_files_photo_id_array":[{"photo_id":"1350931568","filename":"file5"},{"photo_id":"1350931490","filename":"file2"},{"photo_id":"1350931547","filename":"file4"},{"photo_id":"1350931459","filename":"file1"},{"photo_id":"1350931414","filename":"file0"},{"photo_id":"1350931519","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350931459":["hashtag1","hashtag2"]},{"1350931519":["hashtag1","hashtag2"]},{"1350931414":["hashtag1","hashtag2"]},{"1350931568":["hashtag1","hashtag2"]},{"1350931490":["hashtag1","hashtag2"]},{"1350931547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350931459, 1350931519, 1350931414, 1350931568, 1350931490, 1350931547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9825713634491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:36:32.350372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_15_9327.jpg', '/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_25_10372.jpg', '/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_36_10521.jpg', '/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_45_9342.jpg', '/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_55_10369.jpg', '/home/pi/Desktop/images/09042025/22/26/image_09042025_22_27_05_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_15_9327.jpg
/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_25_10372.jpg
/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_36_10521.jpg
/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_45_9342.jpg
/home/pi/Desktop/images/09042025/22/26/image_09042025_22_26_55_10369.jpg
/home/pi/Desktop/images/09042025/22/26/image_09042025_22_27_05_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":["1350931761","1350931763","1350931742","1350931715","1350931712","1350931759"],"photo_ids_order":["1350931712","1350931715","1350931742","1350931759","1350931761","1350931763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1419cf0e81d7c68e6f56a55b592b219a.jpg","text":"TemporaryFile(/tmp/multipartBody4636706221933456590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234652921,"filename":"image_09042025_22_26_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9f60e036c15b99969e6c0d9edd9574ce.jpg","text":"TemporaryFile(/tmp/multipartBody3460190683262867941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234652921,"filename":"image_09042025_22_27_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/4/9/65db14e978c8f6d7b368018182257d6a.jpg","text":"TemporaryFile(/tmp/multipartBody4383532656815302540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234652921,"filename":"image_09042025_22_26_36_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e0fab38447316ff670c7a8f6c7bdc75.jpg","text":"TemporaryFile(/tmp/multipartBody4991093388295325383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234652921,"filename":"image_09042025_22_26_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/4/9/51ce1ee08759635f983e95fc00c912d6.jpg","text":"TemporaryFile(/tmp/multipartBody4000500472634144841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234652921,"filename":"image_09042025_22_26_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/4/9/f5ab47da7cd8ca118b87911964f85dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4333303024628537441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234652921,"filename":"image_09042025_22_26_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350931742","file1":"1350931715","file0":"1350931712","file4":"1350931761","file5":"1350931763","file3":"1350931759"},"map_files_photo_id_array":[{"photo_id":"1350931763","filename":"file5"},{"photo_id":"1350931742","filename":"file2"},{"photo_id":"1350931761","filename":"file4"},{"photo_id":"1350931715","filename":"file1"},{"photo_id":"1350931712","filename":"file0"},{"photo_id":"1350931759","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350931761":["hashtag1","hashtag2"]},{"1350931763":["hashtag1","hashtag2"]},{"1350931742":["hashtag1","hashtag2"]},{"1350931715":["hashtag1","hashtag2"]},{"1350931712":["hashtag1","hashtag2"]},{"1350931759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350931761, 1350931763, 1350931742, 1350931715, 1350931712, 1350931759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.651447057724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:37:32.478689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_15_10356.jpg', '/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_26_10440.jpg', '/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_35_9347.jpg', '/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_45_10463.jpg', '/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_55_9363.jpg', '/home/pi/Desktop/images/09042025/22/27/image_09042025_22_28_05_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_15_10356.jpg
/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_26_10440.jpg
/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_35_9347.jpg
/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_45_10463.jpg
/home/pi/Desktop/images/09042025/22/27/image_09042025_22_27_55_9363.jpg
/home/pi/Desktop/images/09042025/22/27/image_09042025_22_28_05_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350931924","1350931920","1350931917","1350931926","1350931905","1350931898"],"photo_ids_order":["1350931898","1350931905","1350931917","1350931920","1350931924","1350931926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef0f49cb453adb1cd031197f24f30341.jpg","text":"TemporaryFile(/tmp/multipartBody474645995642493757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234712949,"filename":"image_09042025_22_27_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e2da588c8bf441093e0f5e1d013fabe.jpg","text":"TemporaryFile(/tmp/multipartBody5064664766517828644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234712949,"filename":"image_09042025_22_27_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/4/9/181f764534592d5c3f49bb404b3de58d.jpg","text":"TemporaryFile(/tmp/multipartBody4060192973509174313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234712949,"filename":"image_09042025_22_27_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/4/9/1ed9326ea138afe8c87186d58168442d.jpg","text":"TemporaryFile(/tmp/multipartBody44257250645095760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234712949,"filename":"image_09042025_22_28_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49de97d13c43ffd9668ebdde3a0d2284.jpg","text":"TemporaryFile(/tmp/multipartBody6735318119794156821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234712949,"filename":"image_09042025_22_27_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbefed380ab9196940b58b4d16d58d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2963174151344875596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234712949,"filename":"image_09042025_22_27_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350931917","file1":"1350931905","file0":"1350931898","file4":"1350931924","file5":"1350931926","file3":"1350931920"},"map_files_photo_id_array":[{"photo_id":"1350931926","filename":"file5"},{"photo_id":"1350931917","filename":"file2"},{"photo_id":"1350931924","filename":"file4"},{"photo_id":"1350931905","filename":"file1"},{"photo_id":"1350931898","filename":"file0"},{"photo_id":"1350931920","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350931924":["hashtag1","hashtag2"]},{"1350931920":["hashtag1","hashtag2"]},{"1350931917":["hashtag1","hashtag2"]},{"1350931926":["hashtag1","hashtag2"]},{"1350931905":["hashtag1","hashtag2"]},{"1350931898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350931924, 1350931920, 1350931917, 1350931926, 1350931905, 1350931898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.841710805892944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:38:32.834481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_16_10410.jpg', '/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_25_9345.jpg', '/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_35_10442.jpg', '/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_46_10367.jpg', '/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_55_9361.jpg', '/home/pi/Desktop/images/09042025/22/28/image_09042025_22_29_06_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_16_10410.jpg
/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_25_9345.jpg
/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_35_10442.jpg
/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_46_10367.jpg
/home/pi/Desktop/images/09042025/22/28/image_09042025_22_28_55_9361.jpg
/home/pi/Desktop/images/09042025/22/28/image_09042025_22_29_06_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":["1350931997","1350931976","1350931975","1350931969","1350931984","1350931963"],"photo_ids_order":["1350931963","1350931969","1350931975","1350931976","1350931984","1350931997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1749209bd002084b17049ea3d21c801e.jpg","text":"TemporaryFile(/tmp/multipartBody3102346917199821565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234773308,"filename":"image_09042025_22_29_06_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ffb7d39f91f147ff0539f829ac9ce5a2.jpg","text":"TemporaryFile(/tmp/multipartBody7830128235929997414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234773308,"filename":"image_09042025_22_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/4/9/6bdcfcb0c42278540683bd6da7be012b.jpg","text":"TemporaryFile(/tmp/multipartBody6825318021943217954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234773308,"filename":"image_09042025_22_28_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/4/9/5c5bf6b018935acf1f8bc30626097259.jpg","text":"TemporaryFile(/tmp/multipartBody8233392795401082455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234773308,"filename":"image_09042025_22_28_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/4/9/c711546e7247097d32d0d5e5dcff50bf.jpg","text":"TemporaryFile(/tmp/multipartBody118284999069470254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234773308,"filename":"image_09042025_22_28_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/4/9/f6bf2dd48aac9e572e9c7ce3727ac771.jpg","text":"TemporaryFile(/tmp/multipartBody27841621170217374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234773308,"filename":"image_09042025_22_28_16_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350931975","file1":"1350931969","file0":"1350931963","file4":"1350931984","file5":"1350931997","file3":"1350931976"},"map_files_photo_id_array":[{"photo_id":"1350931997","filename":"file5"},{"photo_id":"1350931975","filename":"file2"},{"photo_id":"1350931984","filename":"file4"},{"photo_id":"1350931969","filename":"file1"},{"photo_id":"1350931963","filename":"file0"},{"photo_id":"1350931976","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350931997":["hashtag1","hashtag2"]},{"1350931976":["hashtag1","hashtag2"]},{"1350931975":["hashtag1","hashtag2"]},{"1350931969":["hashtag1","hashtag2"]},{"1350931984":["hashtag1","hashtag2"]},{"1350931963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350931997, 1350931976, 1350931975, 1350931969, 1350931984, 1350931963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90653443336487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:39:32.141994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_15_9357.jpg', '/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_25_10438.jpg', '/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_36_10351.jpg', '/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_45_9364.jpg', '/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_55_10365.jpg', '/home/pi/Desktop/images/09042025/22/29/image_09042025_22_30_05_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_15_9357.jpg
/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_25_10438.jpg
/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_36_10351.jpg
/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_45_9364.jpg
/home/pi/Desktop/images/09042025/22/29/image_09042025_22_29_55_10365.jpg
/home/pi/Desktop/images/09042025/22/29/image_09042025_22_30_05_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350932091","1350932141","1350932086","1350932095","1350932137","1350932104"],"photo_ids_order":["1350932086","1350932091","1350932095","1350932104","1350932137","1350932141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b7990db5582952a1cde44a02bd265ac.jpg","text":"TemporaryFile(/tmp/multipartBody1425344116762017342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234832613,"filename":"image_09042025_22_29_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/4/9/4e1155b3b85cd1c692943c12f01bfac4.jpg","text":"TemporaryFile(/tmp/multipartBody886293597684506301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234832613,"filename":"image_09042025_22_30_05_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ef0ac278da8d3f8f073e2701356e6d43.jpg","text":"TemporaryFile(/tmp/multipartBody2178092722279923494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234832613,"filename":"image_09042025_22_29_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/4/9/463e5dd64f7672580cb188d7d8d4752a.jpg","text":"TemporaryFile(/tmp/multipartBody1638283014939661591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234832613,"filename":"image_09042025_22_29_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/edbbaf503621c8894247fb2550b069c9.jpg","text":"TemporaryFile(/tmp/multipartBody9075375712989753187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234832613,"filename":"image_09042025_22_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/4/9/5d4defd26ec818d9c99bc965d785c646.jpg","text":"TemporaryFile(/tmp/multipartBody7113124976704930529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234832613,"filename":"image_09042025_22_29_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350932095","file1":"1350932091","file0":"1350932086","file4":"1350932137","file5":"1350932141","file3":"1350932104"},"map_files_photo_id_array":[{"photo_id":"1350932141","filename":"file5"},{"photo_id":"1350932095","filename":"file2"},{"photo_id":"1350932137","filename":"file4"},{"photo_id":"1350932091","filename":"file1"},{"photo_id":"1350932086","filename":"file0"},{"photo_id":"1350932104","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350932091":["hashtag1","hashtag2"]},{"1350932141":["hashtag1","hashtag2"]},{"1350932086":["hashtag1","hashtag2"]},{"1350932095":["hashtag1","hashtag2"]},{"1350932137":["hashtag1","hashtag2"]},{"1350932104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350932091, 1350932141, 1350932086, 1350932095, 1350932137, 1350932104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03068828582764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:40:32.283967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_15_10391.jpg', '/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_26_10437.jpg', '/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_35_9354.jpg', '/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_45_10417.jpg', '/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_55_9361.jpg', '/home/pi/Desktop/images/09042025/22/30/image_09042025_22_31_05_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_15_10391.jpg
/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_26_10437.jpg
/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_35_9354.jpg
/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_45_10417.jpg
/home/pi/Desktop/images/09042025/22/30/image_09042025_22_30_55_9361.jpg
/home/pi/Desktop/images/09042025/22/30/image_09042025_22_31_05_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350932358","1350932366","1350932363","1350932371","1350932329","1350932338"],"photo_ids_order":["1350932329","1350932338","1350932358","1350932363","1350932366","1350932371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6beaeb2428849c015f18ef153c22ceee.jpg","text":"TemporaryFile(/tmp/multipartBody5542505642414673694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234892759,"filename":"image_09042025_22_30_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/4/9/349699c6cf2b740014cd4e723421cf4d.jpg","text":"TemporaryFile(/tmp/multipartBody8383960663578090545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234892759,"filename":"image_09042025_22_30_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/4/9/54fc9f80708812fc401fae1aa81705ea.jpg","text":"TemporaryFile(/tmp/multipartBody110590671156190327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234892759,"filename":"image_09042025_22_30_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/4/9/50266532f6d11c3a79dcd64bb571355e.jpg","text":"TemporaryFile(/tmp/multipartBody6101616511086121625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234892759,"filename":"image_09042025_22_31_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/4/9/f033d5e92271afd11c5acbd5b27f4459.jpg","text":"TemporaryFile(/tmp/multipartBody1431063250639773934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234892759,"filename":"image_09042025_22_30_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/4/9/b6ab5e243751b4fc937e53ea5dff15da.jpg","text":"TemporaryFile(/tmp/multipartBody4743015092058542778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234892759,"filename":"image_09042025_22_30_26_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350932358","file1":"1350932338","file0":"1350932329","file4":"1350932366","file5":"1350932371","file3":"1350932363"},"map_files_photo_id_array":[{"photo_id":"1350932371","filename":"file5"},{"photo_id":"1350932358","filename":"file2"},{"photo_id":"1350932366","filename":"file4"},{"photo_id":"1350932338","filename":"file1"},{"photo_id":"1350932329","filename":"file0"},{"photo_id":"1350932363","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350932358":["hashtag1","hashtag2"]},{"1350932366":["hashtag1","hashtag2"]},{"1350932363":["hashtag1","hashtag2"]},{"1350932371":["hashtag1","hashtag2"]},{"1350932329":["hashtag1","hashtag2"]},{"1350932338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350932358, 1350932366, 1350932363, 1350932371, 1350932329, 1350932338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.041624784469604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:41:32.505737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_16_10425.jpg', '/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_25_9355.jpg', '/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_35_10492.jpg', '/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_45_9362.jpg', '/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_55_10359.jpg', '/home/pi/Desktop/images/09042025/22/31/image_09042025_22_32_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_16_10425.jpg
/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_25_9355.jpg
/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_35_10492.jpg
/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_45_9362.jpg
/home/pi/Desktop/images/09042025/22/31/image_09042025_22_31_55_10359.jpg
/home/pi/Desktop/images/09042025/22/31/image_09042025_22_32_05_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":["1350932547","1350932657","1350932537","1350932578","1350932530","1350932641"],"photo_ids_order":["1350932530","1350932537","1350932547","1350932578","1350932641","1350932657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6a8bb7eee71a4ed3b466ae2bd741ffda.jpg","text":"TemporaryFile(/tmp/multipartBody3638916253046494006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234952968,"filename":"image_09042025_22_31_35_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/98524ac6ceac95bce3bb89936cd20ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2774180142929838237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234952968,"filename":"image_09042025_22_32_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/4/9/bdf250e0a60c77be86f58de8ffaf1d59.jpg","text":"TemporaryFile(/tmp/multipartBody8069057362892173126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234952968,"filename":"image_09042025_22_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/4/9/0585490089aa5133b20e218fd7dc809a.jpg","text":"TemporaryFile(/tmp/multipartBody1736544507312325788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234952968,"filename":"image_09042025_22_31_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a1f6c983ecdd079ca351b5bb640e1a42.jpg","text":"TemporaryFile(/tmp/multipartBody6148161057037735537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234952968,"filename":"image_09042025_22_31_16_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94a2fd91badaf6b705a69fe78aae1587.jpg","text":"TemporaryFile(/tmp/multipartBody1476191876694452196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744234952968,"filename":"image_09042025_22_31_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350932547","file1":"1350932537","file0":"1350932530","file4":"1350932641","file5":"1350932657","file3":"1350932578"},"map_files_photo_id_array":[{"photo_id":"1350932657","filename":"file5"},{"photo_id":"1350932547","filename":"file2"},{"photo_id":"1350932641","filename":"file4"},{"photo_id":"1350932537","filename":"file1"},{"photo_id":"1350932530","filename":"file0"},{"photo_id":"1350932578","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350932547":["hashtag1","hashtag2"]},{"1350932657":["hashtag1","hashtag2"]},{"1350932537":["hashtag1","hashtag2"]},{"1350932578":["hashtag1","hashtag2"]},{"1350932530":["hashtag1","hashtag2"]},{"1350932641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350932547, 1350932657, 1350932537, 1350932578, 1350932530, 1350932641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17060422897339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:42:32.871992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_15_9370.jpg', '/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_25_10419.jpg', '/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_36_10351.jpg', '/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_45_9356.jpg', '/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_55_10384.jpg', '/home/pi/Desktop/images/09042025/22/32/image_09042025_22_33_05_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_15_9370.jpg
/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_25_10419.jpg
/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_36_10351.jpg
/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_45_9356.jpg
/home/pi/Desktop/images/09042025/22/32/image_09042025_22_32_55_10384.jpg
/home/pi/Desktop/images/09042025/22/32/image_09042025_22_33_05_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":["1350932898","1350932859","1350932847","1350932876","1350932842","1350932911"],"photo_ids_order":["1350932842","1350932847","1350932859","1350932876","1350932898","1350932911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5e583ee50fff27e454daf16dc2a78b05.jpg","text":"TemporaryFile(/tmp/multipartBody3528017695963879330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235013351,"filename":"image_09042025_22_32_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c35818efb64b9999f26aed4815670df3.jpg","text":"TemporaryFile(/tmp/multipartBody1876037075207082998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235013351,"filename":"image_09042025_22_32_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/4/9/5f7acf79dc29c09d786971510294adab.jpg","text":"TemporaryFile(/tmp/multipartBody7086178423747041588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235013351,"filename":"image_09042025_22_32_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/4/9/3bcdb3dce923be8447b7503e7e2669d4.jpg","text":"TemporaryFile(/tmp/multipartBody2121657516555086486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235013351,"filename":"image_09042025_22_32_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/4/9/2ac3636174e95e2c6fda8a0445a01175.jpg","text":"TemporaryFile(/tmp/multipartBody3694307150165330759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235013351,"filename":"image_09042025_22_32_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/4/9/f91851d4c83074e2a433562a8d3e4e05.jpg","text":"TemporaryFile(/tmp/multipartBody8104598943009324066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235013351,"filename":"image_09042025_22_33_05_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350932859","file1":"1350932847","file0":"1350932842","file4":"1350932898","file5":"1350932911","file3":"1350932876"},"map_files_photo_id_array":[{"photo_id":"1350932911","filename":"file5"},{"photo_id":"1350932859","filename":"file2"},{"photo_id":"1350932898","filename":"file4"},{"photo_id":"1350932847","filename":"file1"},{"photo_id":"1350932842","filename":"file0"},{"photo_id":"1350932876","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350932898":["hashtag1","hashtag2"]},{"1350932859":["hashtag1","hashtag2"]},{"1350932847":["hashtag1","hashtag2"]},{"1350932876":["hashtag1","hashtag2"]},{"1350932842":["hashtag1","hashtag2"]},{"1350932911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350932898, 1350932859, 1350932847, 1350932876, 1350932842, 1350932911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01637625694275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:43:32.146500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_15_10342.jpg', '/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_26_10428.jpg', '/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_35_9456.jpg', '/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_45_10365.jpg', '/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_55_9364.jpg', '/home/pi/Desktop/images/09042025/22/33/image_09042025_22_34_05_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_15_10342.jpg
/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_26_10428.jpg
/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_35_9456.jpg
/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_45_10365.jpg
/home/pi/Desktop/images/09042025/22/33/image_09042025_22_33_55_9364.jpg
/home/pi/Desktop/images/09042025/22/33/image_09042025_22_34_05_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350933030","1350933164","1350933026","1350933073","1350933139","1350933162"],"photo_ids_order":["1350933026","1350933030","1350933073","1350933139","1350933162","1350933164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/af976b0376cf552edd8e53a63d5ce0d3.jpg","text":"TemporaryFile(/tmp/multipartBody994153422752269268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235072616,"filename":"image_09042025_22_33_26_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/abf32757259ea26e7ae2bad2ac7e7258.jpg","text":"TemporaryFile(/tmp/multipartBody3579923714045146839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235072616,"filename":"image_09042025_22_34_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/4/9/9aa9f3dbf6c38347a543be54f6c81b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5116625842619709912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235072616,"filename":"image_09042025_22_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/4/9/1c44e1679722cf11761eb86879d63883.jpg","text":"TemporaryFile(/tmp/multipartBody5243546790767209121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235072616,"filename":"image_09042025_22_33_35_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/86e61ad0f6e1a0cf448396e29477ecd5.jpg","text":"TemporaryFile(/tmp/multipartBody7505691298316085129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235072616,"filename":"image_09042025_22_33_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/4/9/435e73454e5dfddd74f6ad936155d36d.jpg","text":"TemporaryFile(/tmp/multipartBody1860596523800923983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235072616,"filename":"image_09042025_22_33_55_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350933073","file1":"1350933030","file0":"1350933026","file4":"1350933162","file5":"1350933164","file3":"1350933139"},"map_files_photo_id_array":[{"photo_id":"1350933164","filename":"file5"},{"photo_id":"1350933073","filename":"file2"},{"photo_id":"1350933162","filename":"file4"},{"photo_id":"1350933030","filename":"file1"},{"photo_id":"1350933026","filename":"file0"},{"photo_id":"1350933139","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350933030":["hashtag1","hashtag2"]},{"1350933164":["hashtag1","hashtag2"]},{"1350933026":["hashtag1","hashtag2"]},{"1350933073":["hashtag1","hashtag2"]},{"1350933139":["hashtag1","hashtag2"]},{"1350933162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350933030, 1350933164, 1350933026, 1350933073, 1350933139, 1350933162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.108567237854004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:44:32.326635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_16_10443.jpg', '/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_25_9364.jpg', '/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_35_10460.jpg', '/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_45_9842.jpg', '/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_56_10388.jpg', '/home/pi/Desktop/images/09042025/22/34/image_09042025_22_35_05_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_16_10443.jpg
/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_25_9364.jpg
/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_35_10460.jpg
/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_45_9842.jpg
/home/pi/Desktop/images/09042025/22/34/image_09042025_22_34_56_10388.jpg
/home/pi/Desktop/images/09042025/22/34/image_09042025_22_35_05_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":["1350933194","1350933215","1350933190","1350933220","1350933202","1350933198"],"photo_ids_order":["1350933190","1350933194","1350933198","1350933202","1350933215","1350933220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d9f5adc721161682cb3c1e69c07554f4.jpg","text":"TemporaryFile(/tmp/multipartBody814777134302160562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235132792,"filename":"image_09042025_22_34_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/4/9/2e23da99f6663d1ecd1cb0a95fd6821d.jpg","text":"TemporaryFile(/tmp/multipartBody8404319292318443591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235132792,"filename":"image_09042025_22_34_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/4/9/ac1510932ea423c09d94531063af8697.jpg","text":"TemporaryFile(/tmp/multipartBody4469674919109663169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235132792,"filename":"image_09042025_22_34_16_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/34e8bc65bd2997d596e2cbadc56ec9d2.jpg","text":"TemporaryFile(/tmp/multipartBody1132483767181446706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235132792,"filename":"image_09042025_22_35_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0fec6eebaa889e84066f7cf75fba87bb.jpg","text":"TemporaryFile(/tmp/multipartBody3304997028468855205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235132792,"filename":"image_09042025_22_34_45_9842.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e28ddc9f5f6ec6df9908bd0eb47be31b.jpg","text":"TemporaryFile(/tmp/multipartBody3369484021097226339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235132792,"filename":"image_09042025_22_34_35_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350933198","file1":"1350933194","file0":"1350933190","file4":"1350933215","file5":"1350933220","file3":"1350933202"},"map_files_photo_id_array":[{"photo_id":"1350933220","filename":"file5"},{"photo_id":"1350933198","filename":"file2"},{"photo_id":"1350933215","filename":"file4"},{"photo_id":"1350933194","filename":"file1"},{"photo_id":"1350933190","filename":"file0"},{"photo_id":"1350933202","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350933194":["hashtag1","hashtag2"]},{"1350933215":["hashtag1","hashtag2"]},{"1350933190":["hashtag1","hashtag2"]},{"1350933220":["hashtag1","hashtag2"]},{"1350933202":["hashtag1","hashtag2"]},{"1350933198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350933194, 1350933215, 1350933190, 1350933220, 1350933202, 1350933198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.643486738204956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:45:32.500252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_15_10427.jpg', '/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_25_9451.jpg', '/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_35_10433.jpg', '/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_45_9452.jpg', '/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_55_10404.jpg', '/home/pi/Desktop/images/09042025/22/35/image_09042025_22_36_06_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_15_10427.jpg
/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_25_9451.jpg
/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_35_10433.jpg
/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_45_9452.jpg
/home/pi/Desktop/images/09042025/22/35/image_09042025_22_35_55_10404.jpg
/home/pi/Desktop/images/09042025/22/35/image_09042025_22_36_06_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":["1350933441","1350933402","1350933327","1350933452","1350933463","1350933471"],"photo_ids_order":["1350933327","1350933402","1350933441","1350933452","1350933463","1350933471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d48fbd4de29fae7813587adc3fa656c1.jpg","text":"TemporaryFile(/tmp/multipartBody2676239515698239835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235193012,"filename":"image_09042025_22_35_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5194aad2f63e695a9ab7d21999b0c0e9.jpg","text":"TemporaryFile(/tmp/multipartBody2061634272952816240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235193012,"filename":"image_09042025_22_35_25_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/593068196f2dbb6bd0cbfadca5545780.jpg","text":"TemporaryFile(/tmp/multipartBody1046081588628047167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235193012,"filename":"image_09042025_22_35_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/4/9/ae5ad4765f85949997400e08f5a0173d.jpg","text":"TemporaryFile(/tmp/multipartBody962037471988365739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235193012,"filename":"image_09042025_22_35_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/4/9/3026c7c3c6f4c8eec8cb2944a2d8ba50.jpg","text":"TemporaryFile(/tmp/multipartBody1543678037468357546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235193012,"filename":"image_09042025_22_35_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/4/9/04e0152c19964270033b4ceccc568f26.jpg","text":"TemporaryFile(/tmp/multipartBody4920280848148578019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235193012,"filename":"image_09042025_22_36_06_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350933441","file1":"1350933402","file0":"1350933327","file4":"1350933463","file5":"1350933471","file3":"1350933452"},"map_files_photo_id_array":[{"photo_id":"1350933471","filename":"file5"},{"photo_id":"1350933441","filename":"file2"},{"photo_id":"1350933463","filename":"file4"},{"photo_id":"1350933402","filename":"file1"},{"photo_id":"1350933327","filename":"file0"},{"photo_id":"1350933452","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350933441":["hashtag1","hashtag2"]},{"1350933402":["hashtag1","hashtag2"]},{"1350933327":["hashtag1","hashtag2"]},{"1350933452":["hashtag1","hashtag2"]},{"1350933463":["hashtag1","hashtag2"]},{"1350933471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350933441, 1350933402, 1350933327, 1350933452, 1350933463, 1350933471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.181450843811035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:46:32.717740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_15_9360.jpg', '/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_25_10450.jpg', '/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_35_9381.jpg', '/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_45_10414.jpg', '/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_55_10359.jpg', '/home/pi/Desktop/images/09042025/22/36/image_09042025_22_37_05_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_15_9360.jpg
/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_25_10450.jpg
/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_35_9381.jpg
/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_45_10414.jpg
/home/pi/Desktop/images/09042025/22/36/image_09042025_22_36_55_10359.jpg
/home/pi/Desktop/images/09042025/22/36/image_09042025_22_37_05_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350933710","1350933490","1350933568","1350933496","1350933658","1350933774"],"photo_ids_order":["1350933490","1350933496","1350933568","1350933658","1350933710","1350933774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5df5f4a87bc35d69014afcd9f9238658.jpg","text":"TemporaryFile(/tmp/multipartBody4315390261034480603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235253195,"filename":"image_09042025_22_36_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/4/9/e728bed1244f68ad0ae70e6370c24b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5725053928250332405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235253195,"filename":"image_09042025_22_36_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2457b1933f9c0f7b1720c2e7a9109edc.jpg","text":"TemporaryFile(/tmp/multipartBody8806843791152184947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235253195,"filename":"image_09042025_22_36_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c61aba84e78db9cb8f977e795f04c163.jpg","text":"TemporaryFile(/tmp/multipartBody5595501801610879342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235253195,"filename":"image_09042025_22_36_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/4/9/c892e6cb3b503b0a95612de4fa8905ba.jpg","text":"TemporaryFile(/tmp/multipartBody616947862267211194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235253195,"filename":"image_09042025_22_36_45_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/303d68248a17eb4157a896aee016d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody162103855495264249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235253195,"filename":"image_09042025_22_37_05_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350933568","file1":"1350933496","file0":"1350933490","file4":"1350933710","file5":"1350933774","file3":"1350933658"},"map_files_photo_id_array":[{"photo_id":"1350933774","filename":"file5"},{"photo_id":"1350933568","filename":"file2"},{"photo_id":"1350933710","filename":"file4"},{"photo_id":"1350933496","filename":"file1"},{"photo_id":"1350933490","filename":"file0"},{"photo_id":"1350933658","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350933710":["hashtag1","hashtag2"]},{"1350933490":["hashtag1","hashtag2"]},{"1350933568":["hashtag1","hashtag2"]},{"1350933496":["hashtag1","hashtag2"]},{"1350933658":["hashtag1","hashtag2"]},{"1350933774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350933710, 1350933490, 1350933568, 1350933496, 1350933658, 1350933774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.824628591537476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:47:32.937130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_15_10489.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_26_10373.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_35_9359.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_45_10364.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_55_9364.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_38_05_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_15_10489.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_26_10373.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_35_9359.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_45_10364.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_55_9364.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_38_05_10367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38614726066589355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-09 23:47:43.087961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_15_10489.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_26_10373.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_35_9359.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_45_10364.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_55_9364.jpg', '/home/pi/Desktop/images/09042025/22/37/image_09042025_22_38_05_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_15_10489.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_26_10373.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_35_9359.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_45_10364.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_37_55_9364.jpg
/home/pi/Desktop/images/09042025/22/37/image_09042025_22_38_05_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350934229","1350934202","1350934192","1350934198","1350934225","1350934102"],"photo_ids_order":["1350934102","1350934192","1350934198","1350934202","1350934225","1350934229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/830c361e391fb145ff05b6d2249adb10.jpg","text":"TemporaryFile(/tmp/multipartBody6948199635415730466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235323551,"filename":"image_09042025_22_38_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/4/9/10296aaf3763a3f051f785097cd230ce.jpg","text":"TemporaryFile(/tmp/multipartBody8656909632002269510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235323551,"filename":"image_09042025_22_37_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/386868b1e5673942e53015d4a41ffb42.jpg","text":"TemporaryFile(/tmp/multipartBody6703016872975126093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235323551,"filename":"image_09042025_22_37_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/4/9/c840c87bacefea2ce09b5b46f3f2e1c3.jpg","text":"TemporaryFile(/tmp/multipartBody4625170920934259074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235323551,"filename":"image_09042025_22_37_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9371b3d9c0379faabb27f8750215e4aa.jpg","text":"TemporaryFile(/tmp/multipartBody1885090590481417966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235323551,"filename":"image_09042025_22_37_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8372d38a649bd6492ff56da05d72ae4.jpg","text":"TemporaryFile(/tmp/multipartBody1163800308651559466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235323551,"filename":"image_09042025_22_37_15_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350934198","file1":"1350934192","file0":"1350934102","file4":"1350934225","file5":"1350934229","file3":"1350934202"},"map_files_photo_id_array":[{"photo_id":"1350934229","filename":"file5"},{"photo_id":"1350934198","filename":"file2"},{"photo_id":"1350934225","filename":"file4"},{"photo_id":"1350934192","filename":"file1"},{"photo_id":"1350934102","filename":"file0"},{"photo_id":"1350934202","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350934229":["hashtag1","hashtag2"]},{"1350934202":["hashtag1","hashtag2"]},{"1350934192":["hashtag1","hashtag2"]},{"1350934198":["hashtag1","hashtag2"]},{"1350934225":["hashtag1","hashtag2"]},{"1350934102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350934229, 1350934202, 1350934192, 1350934198, 1350934225, 1350934102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.651302337646484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:48:32.211359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_16_10397.jpg', '/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_25_9477.jpg', '/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_36_10462.jpg', '/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_45_9357.jpg', '/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_55_10432.jpg', '/home/pi/Desktop/images/09042025/22/38/image_09042025_22_39_06_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_16_10397.jpg
/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_25_9477.jpg
/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_36_10462.jpg
/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_45_9357.jpg
/home/pi/Desktop/images/09042025/22/38/image_09042025_22_38_55_10432.jpg
/home/pi/Desktop/images/09042025/22/38/image_09042025_22_39_06_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350934326","1350934337","1350934340","1350934334","1350934417","1350934329"],"photo_ids_order":["1350934326","1350934329","1350934334","1350934337","1350934340","1350934417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d8ff6e0c1393b934ffcf556af7a44b6.jpg","text":"TemporaryFile(/tmp/multipartBody3960466822299078242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235372688,"filename":"image_09042025_22_38_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56063c2eba2e26de14f7e9d91e456585.jpg","text":"TemporaryFile(/tmp/multipartBody1348298184332106324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235372688,"filename":"image_09042025_22_38_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/4/9/fa5af8673e240920a70964777187f713.jpg","text":"TemporaryFile(/tmp/multipartBody1735189399659319636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235372688,"filename":"image_09042025_22_38_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/407a4e22f8037797775c566501a6a745.jpg","text":"TemporaryFile(/tmp/multipartBody6544753540816723331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235372688,"filename":"image_09042025_22_38_36_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d1ad9b91e468789a4ad529e1e0d0e926.jpg","text":"TemporaryFile(/tmp/multipartBody1170734019594969636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235372688,"filename":"image_09042025_22_39_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f10f417c8916a6fc2e4951ea3068f81.jpg","text":"TemporaryFile(/tmp/multipartBody9188248257756641552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235372688,"filename":"image_09042025_22_38_25_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350934334","file1":"1350934329","file0":"1350934326","file4":"1350934340","file5":"1350934417","file3":"1350934337"},"map_files_photo_id_array":[{"photo_id":"1350934417","filename":"file5"},{"photo_id":"1350934334","filename":"file2"},{"photo_id":"1350934340","filename":"file4"},{"photo_id":"1350934329","filename":"file1"},{"photo_id":"1350934326","filename":"file0"},{"photo_id":"1350934337","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350934326":["hashtag1","hashtag2"]},{"1350934337":["hashtag1","hashtag2"]},{"1350934340":["hashtag1","hashtag2"]},{"1350934334":["hashtag1","hashtag2"]},{"1350934417":["hashtag1","hashtag2"]},{"1350934329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350934326, 1350934337, 1350934340, 1350934334, 1350934417, 1350934329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89470887184143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:49:32.263514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_15_9339.jpg', '/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_25_10422.jpg', '/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_35_9441.jpg', '/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_45_10355.jpg', '/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_56_10427.jpg', '/home/pi/Desktop/images/09042025/22/39/image_09042025_22_40_05_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_15_9339.jpg
/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_25_10422.jpg
/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_35_9441.jpg
/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_45_10355.jpg
/home/pi/Desktop/images/09042025/22/39/image_09042025_22_39_56_10427.jpg
/home/pi/Desktop/images/09042025/22/39/image_09042025_22_40_05_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":["1350934602","1350934586","1350934571","1350934604","1350934590","1350934548"],"photo_ids_order":["1350934548","1350934571","1350934586","1350934590","1350934602","1350934604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55dc4ebcde38ef3411afb589909d2442.jpg","text":"TemporaryFile(/tmp/multipartBody1105953055682778135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235432738,"filename":"image_09042025_22_39_56_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c40246be9199df9396c96872043aea71.jpg","text":"TemporaryFile(/tmp/multipartBody5867375330878281578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235432738,"filename":"image_09042025_22_39_35_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7d723b0e2645017cfae9882ede50fc82.jpg","text":"TemporaryFile(/tmp/multipartBody8439245824637305208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235432738,"filename":"image_09042025_22_39_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/49d394b7a6116e26dfbb0b3368708fcf.jpg","text":"TemporaryFile(/tmp/multipartBody3462515152340847185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235432738,"filename":"image_09042025_22_40_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a47208ecd54d6ec5d24bee2426092ac.jpg","text":"TemporaryFile(/tmp/multipartBody5863686704560045417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235432738,"filename":"image_09042025_22_39_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/4/9/3f0e1aae71796f2bc5ab2daf8f54412f.jpg","text":"TemporaryFile(/tmp/multipartBody9051486078356834977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235432738,"filename":"image_09042025_22_39_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350934586","file1":"1350934571","file0":"1350934548","file4":"1350934602","file5":"1350934604","file3":"1350934590"},"map_files_photo_id_array":[{"photo_id":"1350934604","filename":"file5"},{"photo_id":"1350934586","filename":"file2"},{"photo_id":"1350934602","filename":"file4"},{"photo_id":"1350934571","filename":"file1"},{"photo_id":"1350934548","filename":"file0"},{"photo_id":"1350934590","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350934602":["hashtag1","hashtag2"]},{"1350934586":["hashtag1","hashtag2"]},{"1350934571":["hashtag1","hashtag2"]},{"1350934604":["hashtag1","hashtag2"]},{"1350934590":["hashtag1","hashtag2"]},{"1350934548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350934602, 1350934586, 1350934571, 1350934604, 1350934590, 1350934548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24797987937927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:50:32.724810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_15_10405.jpg', '/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_25_9366.jpg', '/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_35_10359.jpg', '/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_46_10467.jpg', '/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_55_9376.jpg', '/home/pi/Desktop/images/09042025/22/40/image_09042025_22_41_06_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_15_10405.jpg
/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_25_9366.jpg
/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_35_10359.jpg
/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_46_10467.jpg
/home/pi/Desktop/images/09042025/22/40/image_09042025_22_40_55_9376.jpg
/home/pi/Desktop/images/09042025/22/40/image_09042025_22_41_06_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350934691","1350934646","1350934672","1350934654","1350934638","1350934635"],"photo_ids_order":["1350934635","1350934638","1350934646","1350934654","1350934672","1350934691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9b9a645a7e41de6d9c79b9067afea9cb.jpg","text":"TemporaryFile(/tmp/multipartBody1553450640019723018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235493285,"filename":"image_09042025_22_41_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/4/9/9578bd3dd387315aa6396b1762e5b45f.jpg","text":"TemporaryFile(/tmp/multipartBody8947856202121014779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235493285,"filename":"image_09042025_22_40_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/4/9/5fd79fcd614cd43a72fd1720bf4e14ab.jpg","text":"TemporaryFile(/tmp/multipartBody2812285495863660485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235493285,"filename":"image_09042025_22_40_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7e01062de7871fd5afb09d7ec25aa446.jpg","text":"TemporaryFile(/tmp/multipartBody3588126094009216437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235493285,"filename":"image_09042025_22_40_46_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c74d3d0621a4a71fcf10c554de53abf4.jpg","text":"TemporaryFile(/tmp/multipartBody2506448175772039522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235493285,"filename":"image_09042025_22_40_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8fb0c3b5459ba4281ab6045cb7f00afb.jpg","text":"TemporaryFile(/tmp/multipartBody4839705465241259642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235493285,"filename":"image_09042025_22_40_15_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350934646","file1":"1350934638","file0":"1350934635","file4":"1350934672","file5":"1350934691","file3":"1350934654"},"map_files_photo_id_array":[{"photo_id":"1350934691","filename":"file5"},{"photo_id":"1350934646","filename":"file2"},{"photo_id":"1350934672","filename":"file4"},{"photo_id":"1350934638","filename":"file1"},{"photo_id":"1350934635","filename":"file0"},{"photo_id":"1350934654","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350934691":["hashtag1","hashtag2"]},{"1350934646":["hashtag1","hashtag2"]},{"1350934672":["hashtag1","hashtag2"]},{"1350934654":["hashtag1","hashtag2"]},{"1350934638":["hashtag1","hashtag2"]},{"1350934635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350934691, 1350934646, 1350934672, 1350934654, 1350934638, 1350934635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68275237083435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:51:32.917872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_15_9341.jpg', '/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_25_10373.jpg', '/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_36_10463.jpg', '/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_45_9364.jpg', '/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_55_10377.jpg', '/home/pi/Desktop/images/09042025/22/41/image_09042025_22_42_05_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_15_9341.jpg
/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_25_10373.jpg
/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_36_10463.jpg
/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_45_9364.jpg
/home/pi/Desktop/images/09042025/22/41/image_09042025_22_41_55_10377.jpg
/home/pi/Desktop/images/09042025/22/41/image_09042025_22_42_05_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":["1350934805","1350934756","1350934726","1350934828","1350934737","1350934731"],"photo_ids_order":["1350934726","1350934731","1350934737","1350934756","1350934805","1350934828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c4d40fbe330ec94eb2337afb44a636a.jpg","text":"TemporaryFile(/tmp/multipartBody1535901210241067773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235553386,"filename":"image_09042025_22_41_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/4/9/5b4a44e2327ead1848f985f664bf5385.jpg","text":"TemporaryFile(/tmp/multipartBody2976819041083335461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235553386,"filename":"image_09042025_22_41_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/4/9/3bf276a360a12b625e9a7a7b95574c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8252712329881928105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235553386,"filename":"image_09042025_22_41_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/4/9/5c1ae72e8518cc55aa2564f4e23c5dc8.jpg","text":"TemporaryFile(/tmp/multipartBody2496710917903492760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235553386,"filename":"image_09042025_22_42_05_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b087062cbd89f00c4d82841c97cc2043.jpg","text":"TemporaryFile(/tmp/multipartBody3505467305067968281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235553386,"filename":"image_09042025_22_41_36_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ba5ceb92a34c81120bf4f1569f50a015.jpg","text":"TemporaryFile(/tmp/multipartBody4110918295911406365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235553386,"filename":"image_09042025_22_41_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350934737","file1":"1350934731","file0":"1350934726","file4":"1350934805","file5":"1350934828","file3":"1350934756"},"map_files_photo_id_array":[{"photo_id":"1350934828","filename":"file5"},{"photo_id":"1350934737","filename":"file2"},{"photo_id":"1350934805","filename":"file4"},{"photo_id":"1350934731","filename":"file1"},{"photo_id":"1350934726","filename":"file0"},{"photo_id":"1350934756","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350934805":["hashtag1","hashtag2"]},{"1350934756":["hashtag1","hashtag2"]},{"1350934726":["hashtag1","hashtag2"]},{"1350934828":["hashtag1","hashtag2"]},{"1350934737":["hashtag1","hashtag2"]},{"1350934731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350934805, 1350934756, 1350934726, 1350934828, 1350934737, 1350934731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88309931755066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:52:32.125811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_15_10373.jpg', '/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_26_10416.jpg', '/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_35_9346.jpg', '/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_45_10420.jpg', '/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_56_10368.jpg', '/home/pi/Desktop/images/09042025/22/42/image_09042025_22_43_05_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_15_10373.jpg
/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_26_10416.jpg
/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_35_9346.jpg
/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_45_10420.jpg
/home/pi/Desktop/images/09042025/22/42/image_09042025_22_42_56_10368.jpg
/home/pi/Desktop/images/09042025/22/42/image_09042025_22_43_05_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":["1350935144","1350935138","1350935051","1350935098","1350935080","1350935056"],"photo_ids_order":["1350935051","1350935056","1350935080","1350935098","1350935138","1350935144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f280595d20396bc892ef6301c179a81a.jpg","text":"TemporaryFile(/tmp/multipartBody2957072414563729868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235612589,"filename":"image_09042025_22_43_05_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/37924d2e19c597aa055f6ec5a2ce3b4e.jpg","text":"TemporaryFile(/tmp/multipartBody2433732921888681161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235612589,"filename":"image_09042025_22_42_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1a0c6c00a64cab22b8574e681e351b2e.jpg","text":"TemporaryFile(/tmp/multipartBody1410817312423146367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235612589,"filename":"image_09042025_22_42_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/17abb4f475379652abab1121e3ee8ed4.jpg","text":"TemporaryFile(/tmp/multipartBody8697319937395028902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235612589,"filename":"image_09042025_22_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/4/9/90804b375214bed8370ebe135ef7a0c0.jpg","text":"TemporaryFile(/tmp/multipartBody3589755410363311707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235612589,"filename":"image_09042025_22_42_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/4/9/774f6dbd5949e74adf23d6eeb3ed4174.jpg","text":"TemporaryFile(/tmp/multipartBody523303432410231564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235612589,"filename":"image_09042025_22_42_26_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350935080","file1":"1350935056","file0":"1350935051","file4":"1350935138","file5":"1350935144","file3":"1350935098"},"map_files_photo_id_array":[{"photo_id":"1350935144","filename":"file5"},{"photo_id":"1350935080","filename":"file2"},{"photo_id":"1350935138","filename":"file4"},{"photo_id":"1350935056","filename":"file1"},{"photo_id":"1350935051","filename":"file0"},{"photo_id":"1350935098","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350935144":["hashtag1","hashtag2"]},{"1350935138":["hashtag1","hashtag2"]},{"1350935051":["hashtag1","hashtag2"]},{"1350935098":["hashtag1","hashtag2"]},{"1350935080":["hashtag1","hashtag2"]},{"1350935056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350935144, 1350935138, 1350935051, 1350935098, 1350935080, 1350935056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97681784629822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:53:32.392378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_16_10370.jpg', '/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_25_9376.jpg', '/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_35_10427.jpg', '/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_46_10352.jpg', '/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_55_9351.jpg', '/home/pi/Desktop/images/09042025/22/43/image_09042025_22_44_06_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_16_10370.jpg
/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_25_9376.jpg
/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_35_10427.jpg
/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_46_10352.jpg
/home/pi/Desktop/images/09042025/22/43/image_09042025_22_43_55_9351.jpg
/home/pi/Desktop/images/09042025/22/43/image_09042025_22_44_06_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350935246","1350935228","1350935292","1350935218","1350935285","1350935288"],"photo_ids_order":["1350935218","1350935228","1350935246","1350935285","1350935288","1350935292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/303bbe701002f11718ce561f4da2e571.jpg","text":"TemporaryFile(/tmp/multipartBody6571813927363566317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235672873,"filename":"image_09042025_22_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/4/9/c222d54d23f64f2d28289cd174242075.jpg","text":"TemporaryFile(/tmp/multipartBody944897395727557135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235672873,"filename":"image_09042025_22_43_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/4/9/a86b574fd3c632c829f2c68a10c72d0f.jpg","text":"TemporaryFile(/tmp/multipartBody9186707274298024647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235672873,"filename":"image_09042025_22_44_06_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/94b6bdb46d5aaf8dcaeea5e3ac5a4e09.jpg","text":"TemporaryFile(/tmp/multipartBody6964617846896443860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235672873,"filename":"image_09042025_22_43_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cf1ca2c9b7799df4ae83c9a802260e73.jpg","text":"TemporaryFile(/tmp/multipartBody6259755240487746000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235672873,"filename":"image_09042025_22_43_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/4/9/f898f17a18176e6722091a6a17b49e08.jpg","text":"TemporaryFile(/tmp/multipartBody1557921732248851875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235672873,"filename":"image_09042025_22_43_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350935246","file1":"1350935228","file0":"1350935218","file4":"1350935288","file5":"1350935292","file3":"1350935285"},"map_files_photo_id_array":[{"photo_id":"1350935292","filename":"file5"},{"photo_id":"1350935246","filename":"file2"},{"photo_id":"1350935288","filename":"file4"},{"photo_id":"1350935228","filename":"file1"},{"photo_id":"1350935218","filename":"file0"},{"photo_id":"1350935285","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350935246":["hashtag1","hashtag2"]},{"1350935228":["hashtag1","hashtag2"]},{"1350935292":["hashtag1","hashtag2"]},{"1350935218":["hashtag1","hashtag2"]},{"1350935285":["hashtag1","hashtag2"]},{"1350935288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350935246, 1350935228, 1350935292, 1350935218, 1350935285, 1350935288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1048846244812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:54:32.534316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_15_9373.jpg', '/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_25_10433.jpg', '/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_35_9879.jpg', '/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_46_10357.jpg', '/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_55_9363.jpg', '/home/pi/Desktop/images/09042025/22/44/image_09042025_22_45_05_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_15_9373.jpg
/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_25_10433.jpg
/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_35_9879.jpg
/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_46_10357.jpg
/home/pi/Desktop/images/09042025/22/44/image_09042025_22_44_55_9363.jpg
/home/pi/Desktop/images/09042025/22/44/image_09042025_22_45_05_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":["1350935402","1350935407","1350935416","1350935394","1350935397","1350935412"],"photo_ids_order":["1350935394","1350935397","1350935402","1350935407","1350935412","1350935416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8122734222b08b0b50bbf65de9df14e5.jpg","text":"TemporaryFile(/tmp/multipartBody4420620240157047829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235733002,"filename":"image_09042025_22_44_35_9879.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a2bb6bf1429e027a5835ff0992ce6a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3027780417796673664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235733002,"filename":"image_09042025_22_44_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/4/9/8c9fc8156f2d6885e740cf0c086782c9.jpg","text":"TemporaryFile(/tmp/multipartBody1493893926340516188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235733002,"filename":"image_09042025_22_45_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c92280f5f28efc14f172735cee76e1d8.jpg","text":"TemporaryFile(/tmp/multipartBody891368639722926572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235733002,"filename":"image_09042025_22_44_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/4/9/e01e74aeea912dd7327462688cf1464d.jpg","text":"TemporaryFile(/tmp/multipartBody8868206051163822372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235733002,"filename":"image_09042025_22_44_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7c93ec57052b9eb602de711eb9882650.jpg","text":"TemporaryFile(/tmp/multipartBody2616789335253671923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235733002,"filename":"image_09042025_22_44_55_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350935402","file1":"1350935397","file0":"1350935394","file4":"1350935412","file5":"1350935416","file3":"1350935407"},"map_files_photo_id_array":[{"photo_id":"1350935416","filename":"file5"},{"photo_id":"1350935402","filename":"file2"},{"photo_id":"1350935412","filename":"file4"},{"photo_id":"1350935397","filename":"file1"},{"photo_id":"1350935394","filename":"file0"},{"photo_id":"1350935407","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350935402":["hashtag1","hashtag2"]},{"1350935407":["hashtag1","hashtag2"]},{"1350935416":["hashtag1","hashtag2"]},{"1350935394":["hashtag1","hashtag2"]},{"1350935397":["hashtag1","hashtag2"]},{"1350935412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350935402, 1350935407, 1350935416, 1350935394, 1350935397, 1350935412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51966643333435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:55:32.692025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_16_10340.jpg', '/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_25_9370.jpg', '/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_35_10424.jpg', '/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_45_9351.jpg', '/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_55_10380.jpg', '/home/pi/Desktop/images/09042025/22/45/image_09042025_22_46_06_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_16_10340.jpg
/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_25_9370.jpg
/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_35_10424.jpg
/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_45_9351.jpg
/home/pi/Desktop/images/09042025/22/45/image_09042025_22_45_55_10380.jpg
/home/pi/Desktop/images/09042025/22/45/image_09042025_22_46_06_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350935555","1350935634","1350935736","1350935565","1350935570","1350936026"],"photo_ids_order":["1350935555","1350935565","1350935570","1350935634","1350935736","1350936026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d67006171d0308e6dee8804a9118b9e7.jpg","text":"TemporaryFile(/tmp/multipartBody587111267744065627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235793165,"filename":"image_09042025_22_45_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/4/9/d4ea6d6ad34f76749ff213f52bc45ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5331389894807107861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235793165,"filename":"image_09042025_22_45_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/4/9/c382c4644428a1c76ae7e67c1d649d4b.jpg","text":"TemporaryFile(/tmp/multipartBody7350370524310014359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235793165,"filename":"image_09042025_22_45_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/4/9/eddeb18c0285419dd4fb4c82c419c10d.jpg","text":"TemporaryFile(/tmp/multipartBody1318081302979662651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235793165,"filename":"image_09042025_22_45_25_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0daa39b45432a0f1faa015a7399ae0c0.jpg","text":"TemporaryFile(/tmp/multipartBody5776439691774540317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235793165,"filename":"image_09042025_22_45_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/4/9/1d17ca8b37042f8f755ea25a66ecaefe.jpg","text":"TemporaryFile(/tmp/multipartBody4040535254756744820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235793165,"filename":"image_09042025_22_46_06_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350935570","file1":"1350935565","file0":"1350935555","file4":"1350935736","file5":"1350936026","file3":"1350935634"},"map_files_photo_id_array":[{"photo_id":"1350936026","filename":"file5"},{"photo_id":"1350935570","filename":"file2"},{"photo_id":"1350935736","filename":"file4"},{"photo_id":"1350935565","filename":"file1"},{"photo_id":"1350935555","filename":"file0"},{"photo_id":"1350935634","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350935555":["hashtag1","hashtag2"]},{"1350935634":["hashtag1","hashtag2"]},{"1350935736":["hashtag1","hashtag2"]},{"1350935565":["hashtag1","hashtag2"]},{"1350935570":["hashtag1","hashtag2"]},{"1350936026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350935555, 1350935634, 1350935736, 1350935565, 1350935570, 1350936026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93332481384277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:56:32.937184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_15_9436.jpg', '/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_25_10372.jpg', '/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_35_9346.jpg', '/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_45_10360.jpg', '/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_56_10381.jpg', '/home/pi/Desktop/images/09042025/22/46/image_09042025_22_47_05_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_15_9436.jpg
/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_25_10372.jpg
/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_35_9346.jpg
/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_45_10360.jpg
/home/pi/Desktop/images/09042025/22/46/image_09042025_22_46_56_10381.jpg
/home/pi/Desktop/images/09042025/22/46/image_09042025_22_47_05_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350936256","1350936252","1350936300","1350936359","1350936287","1350936254"],"photo_ids_order":["1350936252","1350936254","1350936256","1350936287","1350936300","1350936359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b5434741c94e3c1f2d6b47ab4e04221.jpg","text":"TemporaryFile(/tmp/multipartBody1458124418103709629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235853424,"filename":"image_09042025_22_46_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/4/9/87ff0b67d05e3eb994d9ad11c416c2ab.jpg","text":"TemporaryFile(/tmp/multipartBody5476184349335738232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235853424,"filename":"image_09042025_22_46_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/4/9/ea588883e6884f905c33927b58f86468.jpg","text":"TemporaryFile(/tmp/multipartBody3493651168565889402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235853424,"filename":"image_09042025_22_46_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e7fedf80148aa3795b2b5e01dd6f963c.jpg","text":"TemporaryFile(/tmp/multipartBody3164684436668368102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235853424,"filename":"image_09042025_22_47_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/4/9/504f59288eb7aad9649019708c676cce.jpg","text":"TemporaryFile(/tmp/multipartBody7275037619635433444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235853424,"filename":"image_09042025_22_46_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/4/9/327472952beda02b20a1b2da0459686d.jpg","text":"TemporaryFile(/tmp/multipartBody2467707610283784262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744235853424,"filename":"image_09042025_22_46_25_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350936256","file1":"1350936254","file0":"1350936252","file4":"1350936300","file5":"1350936359","file3":"1350936287"},"map_files_photo_id_array":[{"photo_id":"1350936359","filename":"file5"},{"photo_id":"1350936256","filename":"file2"},{"photo_id":"1350936300","filename":"file4"},{"photo_id":"1350936254","filename":"file1"},{"photo_id":"1350936252","filename":"file0"},{"photo_id":"1350936287","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1350936256":["hashtag1","hashtag2"]},{"1350936252":["hashtag1","hashtag2"]},{"1350936300":["hashtag1","hashtag2"]},{"1350936359":["hashtag1","hashtag2"]},{"1350936287":["hashtag1","hashtag2"]},{"1350936254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1350936256, 1350936252, 1350936300, 1350936359, 1350936287, 1350936254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.646411657333374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-09 23:57:33.105031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_15_10346.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_26_10429.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_35_9350.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_45_10460.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_55_9369.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_48_05_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_15_10346.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_26_10429.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_35_9350.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_45_10460.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_55_9369.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_48_05_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
